CN103685021A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN103685021A
CN103685021A CN201410001574.0A CN201410001574A CN103685021A CN 103685021 A CN103685021 A CN 103685021A CN 201410001574 A CN201410001574 A CN 201410001574A CN 103685021 A CN103685021 A CN 103685021A
Authority
CN
China
Prior art keywords
router
data
destination address
address
module
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
CN201410001574.0A
Other languages
Chinese (zh)
Other versions
CN103685021B (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.)
Legendsec Technology Beijing Co ltd
Secworld Information Technology Beijing Co Ltd
Original Assignee
Netlegend Technology (beijing) Co Ltd
Secworld Information Technology Beijing 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 Netlegend Technology (beijing) Co Ltd, Secworld Information Technology Beijing Co Ltd filed Critical Netlegend Technology (beijing) Co Ltd
Priority to CN201410001574.0A priority Critical patent/CN103685021B/en
Publication of CN103685021A publication Critical patent/CN103685021A/en
Application granted granted Critical
Publication of CN103685021B publication Critical patent/CN103685021B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a data transmission method and a data transmission device. The data transmission method comprises the steps that a data transmission request is received, and transmission parameters are extracted from the data transmission request; the transmission parameters and the preset parameters are subjected to matching according to preset matching conditions, so that a router is selected according to results; the router is used for transmitting data. With the adoption of the data transmission method and the device, the problem in the prior art that various types of transmission links are used for data transmission, resulting in slow transmission speed is solved, and the effects of relieving network stress and accelerating transmission speed are realized.

Description

Data transmission method and device
Technical field
The present invention relates to data processing field, in particular to a kind of data transmission method and device.
Background technology
Strategy route is a kind ofly than based target network, to carry out route packet routing forwarding mechanism more flexibly.How router will determine by routing table that, to needing the packet of route to process, routing table has determined the down hop forwarding router of a packet.
ISP is Internet Service Provider, and ISP comprehensively provides the telecom operators of Internet access business, information service and value-added service to users.
In the existing routing module of traditional firewall and tactful routing module, a little less than tactful comparison of ingredients in strategy route, cannot support large group of objects, and domestic a plurality of operators' environment causes the demand of tactful route many at present, and different I SP address realm fragmentation is more serious, a little less than tactful composition due to tactful route, some goes to the flow Hui Zou Netcom of telecommunications, finally also to get back to telecommunications, not only use the netting twine of Netcom during transfer of data like this but also used the netting twine of telecommunications, will cause network congestion like this, network speed is very slow.
Many for the transmission link kind of transmitting data use in prior art, cause the slow problem of network speed, effective solution is not yet proposed at present.
Summary of the invention
Many for the transmission link kind of transmitting data use in correlation technique, cause the slow problem of network speed, effective solution is not yet proposed at present, for this reason, main purpose of the present invention is to provide a kind of data transmission method and device, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of data transmission method, the method comprises: receive data transfer request; From data transfer request, extract transformation parameter; According to preset matching condition, transformation parameter and parameter preset are mated and obtain corresponding router; Use router transmission data.
Further, transformation parameter comprises source address, destination address and time scheduling parameter, wherein, before receiving data transfer request, data transmission method also comprises: set up default ISP address table, wherein, the incidence relation of in store server and User IP in default ISP address table; Quote User IP in default ISP address table to obtain source address and destination address; According to source address, destination address and time scheduling parameter, generate and send data transfer request, wherein, time scheduling parameter is for determining the entry-into-force time of routing policy.
Further, according to preset matching condition, transformation parameter and parameter preset being mated to the step that obtains corresponding router comprises: use incidence relation to determine and source address and server corresponding to destination address; Service time, scheduling parameter was determined the routing policy with the corresponding entry-into-force time of current time; Use routing policy coupling to obtain the router corresponding with server.
Further, use routing policy to determine that the step of the router that server is corresponding comprises: to obtain the initial router corresponding with routing policy; Initial router is carried out to link detection, obtain initial router and whether successfully transmit data to the result of detection of destination address and obtain the RTT time; At initial router, successfully transmit data to destination address and the RTT time meet predetermined threshold value in the situation that, determine that initial router is router; At initial router, successfully do not transmit data to destination address or the RTT time do not meet predetermined threshold value in the situation that, return and carry out the step of obtaining the initial router corresponding with routing policy, until initial router successfully transmits data to destination address and RTT time, meet predetermined threshold value.
Further, when using routing policy coupling to obtain the router corresponding with server, obtain the route-map of router; Use the step of router transmission data to comprise: to use route-map to carry out load dispatch calculating, to determine the flow load of corresponding each router; Control router and transmit data according to flow load.
To achieve these goals, according to a further aspect in the invention, provide a kind of data transmission device, this device comprises: receiver module, for receiving data transfer request; The first extraction module, for extracting transformation parameter from data transfer request; Matching module, for mating transformation parameter and parameter preset to obtain corresponding router according to preset matching condition; Transport module, for being used router transmission data.
Further, transformation parameter comprises source address, destination address and time scheduling parameter, wherein, data transmission device also comprises: set up module, be used for setting up default ISP address table, wherein, the incidence relation of in store server and User IP in default ISP address table; Quote module, for the User IP of quoting default ISP address table to obtain source address and destination address; Request sending module, for generating and sending data transfer request according to source address, destination address and time scheduling parameter, wherein, time scheduling parameter is for determining the entry-into-force time of routing policy.
Further, matching module comprises: the first determination module, for using incidence relation to determine the server corresponding with source address and destination address; The second determination module, for service time scheduling parameter determine the routing policy with the corresponding entry-into-force time of current time; Matched sub-block, for being used routing policy coupling to obtain the router that server is corresponding.
Further, matched sub-block comprises: the second acquisition module, for obtaining the initial router corresponding with routing policy; Detecting module, for initial router is carried out to link detection, obtains initial router and whether successfully transmits data to the result of detection of destination address and obtain the RTT time; First determines submodule, for successfully transmitting data to destination address and the RTT time at initial router meet predetermined threshold value in the situation that, determines that initial router is router; Second determines submodule, for successfully not transmitting data to destination address or the RTT time at initial router do not meet predetermined threshold value in the situation that, return and carry out the step of obtaining the initial router corresponding with routing policy, until initial router successfully transmits data to destination address and RTT time, meet predetermined threshold value.
Further, the 3rd acquisition module, for when using routing policy coupling to obtain the router corresponding with server, obtains the route-map of router; Transport module comprises: computing module, for using route-map to carry out load dispatch calculating, to determine the flow load of corresponding each router; Control module, transmits data for controlling router according to flow load.
Adopt the present invention, after receiving data transfer request, from data transfer request, extract transformation parameter, then according to preset matching condition, transformation parameter and parameter preset are mated and obtain corresponding router, and use this router transmission data.Adopt the present invention, in the process of transfer of data, according to preset matching condition, transformation parameter is mated to the router obtaining should data transfer request optimum with parameter preset, thereby can reduce the link of use, can not cause the transfer of data of unnecessary data link, thereby alleviated widely network pressure, solved that in prior art, to transmit the transmission link kind that data are used many, caused the slow problem of network speed, realized the effect that alleviates network pressure, improves network speed.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the structural representation of the data transmission device of the embodiment of the present invention;
Fig. 2 is according to the flow chart of the data transmission method of the embodiment of the present invention;
Fig. 3 is according to the schematic diagram of the ISP address file of the embodiment of the present invention;
Fig. 4 is according to the schematic diagram of the default ISP address table of the generation of the embodiment of the present invention; And
Fig. 5 is according to the topological diagram of the usage data transmission method system of the embodiment of the present invention.
Embodiment
First, the part noun or the term that in the process that the embodiment of the present invention is described, occur are applicable to description below:
ICMP is Internet Control Message Protocol.It is a sub-protocol of TCP/IP protocol suite, for transmit control message between IP protocol host, router.Control message refers to the message of logical obstructed, the network such as whether main frame can reach, whether route is available of network itself, although these control messages transmitting user data not plays an important role for the transmission of user data.
RTT is Round Trip time, and round-trip delay is the time of a datagram 2 middle round trips on network, is the important parameter that affects TCP properties and characterization network operation situation.
In order to make those skilled in the art person understand better the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, the term " first " in specification of the present invention and claims and above-mentioned accompanying drawing, " second " etc. are for distinguishing similar object, and needn't be for describing specific order or precedence.The data that should be appreciated that such use suitably can exchanged in situation, so as embodiments of the invention described herein can with except diagram here or describe those order enforcement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, for example, those steps or unit that the process that has comprised series of steps or unit, method, system, product or equipment are not necessarily limited to clearly list, but can comprise clearly do not list or for these processes, method, product or equipment intrinsic other step or unit.
Fig. 1 is according to the structural representation of the data transmission device of the embodiment of the present invention.As shown in Figure 1, this device can comprise: receiver module 10, for receiving data transfer request; The first extraction module 30, for extracting transformation parameter from data transfer request; Matching module 50, for mating transformation parameter and parameter preset to obtain corresponding router according to preset matching condition; Transport module 70, for being used router transmission data.
Adopt the present invention, after receiving data transfer request, from data transfer request, extract transformation parameter, then according to preset matching condition, transformation parameter and parameter preset are mated and obtain corresponding router, and use this router transmission data.Adopt the present invention, in the process of transfer of data, according to preset matching condition, transformation parameter is mated to the router obtaining should data transfer request optimum with parameter preset, thereby can reduce the link of use, can not cause the transfer of data of unnecessary data link, thereby alleviated widely network pressure, solved that in prior art, to transmit the transmission link kind that data are used many, caused the slow problem of network speed, realized the effect that alleviates network pressure, improves network speed.
In the above embodiment of the present invention, transformation parameter comprises source address, destination address and time scheduling parameter, wherein, data transmission device also comprises: set up module, be used for setting up default ISP address table, wherein, the incidence relation of in store server and User IP in default ISP address table; Quote module, for the User IP of quoting default ISP address table to obtain source address and destination address; Request sending module, for generating and sending data transfer request according to source address, destination address and time scheduling parameter, wherein, time scheduling parameter is for determining the entry-into-force time of routing policy.
Particularly, in prior art, ISP address realm compares fragmentation, in order to allow or to forbid some IP, the IP of all permissions or the IP that forbids are defined in a file, then by the default form in object definition, ISP address file is imported, generate default ISP address table, in transformation parameter and parameter preset being mated to the process that obtains corresponding router according to preset matching condition, can quote the User IP in default ISP address table.
Above-mentioned ISP address file is notepad form, supports ip form: xx.xx.xx.xx/netmask position or xx.xx.xx.xx-xx.xx.xx.yy, as: 3.3.3.3/24 carriage return 4.4.4.4-4.4.100.100.This ISP address file is imported to the process that default form generates default ISP address table, user can obtain the address of storage ISP address file by clicking navigation button, after selected ISP address file, by importing button importing ISP address file, generate default ISP address table.
Particularly, in default ISP address table, can define est_isp, CN-ChianMobile_ISP, CN-ChinaTelcom_ISP and CN-UNICOM_ISP, wherein, CN-ChianMobile_ISP, CN-ChinaTelcom_ISP and CN-UNICOM_ISP are respectively the server of corresponding China Mobile, China Telecom and CHINAUNICOM.
According to the abovementioned embodiments of the present invention, matching module comprises: the first determination module, for using incidence relation to determine the server corresponding with source address and destination address; The second determination module, for service time scheduling parameter determine the routing policy with the corresponding entry-into-force time of current time; Matched sub-block, for being used routing policy coupling to obtain the router that server is corresponding.
Wherein, the preset matching Conditional Include in above-described embodiment: source address and destination address, service, time scheduling and the coupling that flows into interface.Particularly, source address and destination address can reference object definition in definition: group of addresses, address list, domain name list, default ISP address table (as the test_isp of definition and other three CN-ChianMobile_ISP, CN-ChinaTelcom_ISP, CN-UNICOM_ISP) are mated; Service Matching can be with the service in safety regulation, optional icmp, dns, http etc.
Wherein, icmp is Internet Control Message Protocol; DNS is domain name system (Domain Name System), is a kernel service of internet, and it can be used as the distributed data base that domain name and IP address are shone upon mutually.Http is HTML (Hypertext Markup Language), and the rule of communication mutually between be a kind of specified in more detail browser and Web server transmits the data transfer protocol of web documents by internet.
When the route selection strategy that time scheduling parameter in above-described embodiment can define appointment flexibly comes into force in section.Such as routing policy in certain time period of every day is effective etc.Thereby according to preset matching condition, transformation parameter and parameter preset are being mated while obtaining corresponding router, can determine the routing policy with the corresponding entry-into-force time of current time by time scheduling parameter.
By the time scheduling in above-described embodiment, can realize the different routing overhead mode of configuration in different time sections.
In the above embodiment of the present invention, matched sub-block comprises: the second acquisition module, for obtaining the initial router corresponding with routing policy; Detecting module, for initial router is carried out to link detection, obtains initial router and whether successfully transmits data to the result of detection of destination address and obtain the RTT time; First determines submodule, for successfully transmitting data to destination address and the RTT time at initial router meet predetermined threshold value in the situation that, determines that initial router is router; Second determines submodule, for successfully not transmitting data to destination address or the RTT time at initial router do not meet predetermined threshold value in the situation that, return and carry out the step of obtaining the initial router corresponding with routing policy, until initial router successfully transmits data to destination address and RTT time, meet predetermined threshold value.
Adopt the above embodiment of the present invention, initial router is carried out to link detection and comprise arp, ping detection, survey the router adding and whether can pass to and survey RTT time value, according to RTT time value, find out best route.Whether router can lead to and RTT value, can in the monitoring of intelligent route selection, check the rtt value of current state machine.By this method, the routing iinformation that can upgrade in time, is switched to optimum route in time.
Wherein, arp is address resolution protocol, is an ICP/IP protocol obtaining physical address.Ping is network diagnostic tool, also referred to as delay testing.Be an executable command under Windows system, utilize it can check whether network can be communicated with, to analyze decision network fault.
According to the abovementioned embodiments of the present invention, the 3rd acquisition module, for when using routing policy coupling to obtain the router corresponding with server, obtains the route-map of router; Transport module comprises: computing module, for using route-map to carry out load dispatch calculating, to determine the flow load of corresponding each router; Control module, transmits data for controlling router according to flow load.
Particularly, by said method, select corresponding router, and obtain corresponding route-map (being gateway information), wherein, gateway information comprises gateway address, weight, interface and metric, wherein weight is effective in WRR, weighting source address hash, weighting destination address hash and rate of discharge algorithm, particularly, rate of discharge algorithm is realized routing overhead according to weight size pro-rata uninterrupted, and every intelligent routing rule (being preset matching condition) comprises at most 16 gateway informations.
Wherein, metric is that routing algorithm is in order to determine the measurement standard of the optimal path that arrives destination, as path.Hash is Hash.
In the above embodiment of the present invention, can also use diversified multiple exit mode of loading, except supporting more common poll, as, WRR, backup, outside HASH even load algorithm, can also survey dynamically the outlet that exports the RTT time and select RTT optimum, or in proportion flow load be arrived to each outlet according to outlet device flow.
Fig. 2 is that the method comprises the steps: as shown in Figure 2 according to the flow chart of the data transmission method of the embodiment of the present invention
Step S202, receives data transfer request.
Step S204 extracts transformation parameter from data transfer request.
Step S206, mates transformation parameter and parameter preset to obtain corresponding router according to preset matching condition.
Step S208, is used router transmission data.
Adopt the present invention, after receiving data transfer request, from data transfer request, extract transformation parameter, then according to preset matching condition, transformation parameter and parameter preset are mated and obtain corresponding router, and use this router transmission data.Adopt the present invention, in the process of transfer of data, according to preset matching condition, transformation parameter is mated to the router obtaining should data transfer request optimum with parameter preset, thereby can reduce the link of use, can not cause the transfer of data of unnecessary data link, thereby alleviated widely network pressure, solved that in prior art, to transmit the transmission link kind that data are used many, caused the slow problem of network speed, realized the effect that alleviates network pressure, improves network speed.
In the above embodiment of the present invention, transformation parameter comprises source address, destination address and time scheduling parameter, wherein, before receiving data transfer request, data transmission method can also comprise: set up default ISP address table, wherein, the incidence relation of in store server and User IP in default ISP address table; Quote User IP in default ISP address table to obtain source address and destination address; According to source address, destination address and time scheduling parameter, generate and send data transfer request, wherein, time scheduling parameter is for determining the entry-into-force time of routing policy.
Particularly, in prior art, ISP address realm compares fragmentation, in order to allow or to forbid some IP, the IP of all permissions or the IP that forbids are defined in a file, then by the default form in object definition, ISP address file is imported, generate default ISP address table, in transformation parameter and parameter preset being mated to the process that obtains corresponding router according to preset matching condition, can quote the User IP in default ISP address table.
ISP address file as shown in Figure 3, this ISP address file is notepad form, supports ip form: xx.xx.xx.xx/netmask position or xx.xx.xx.xx-xx.xx.xx.yy, as: 3.3.3.3/24 carriage return 4.4.4.4-4.4.100.100.This ISP address file is imported to the process that default form generates default ISP address table, as shown in Figure 4, user can obtain the address of storage ISP address file by clicking navigation button, after selected ISP address file, by importing button importing ISP address file, generate default ISP address table.
Particularly, as shown in Figure 4, in default ISP address table, can define est_isp, CN-ChianMobile_ISP, CN-ChinaTelcom_ISP and CN-UNICOM_ISP, wherein, CN-ChianMobile_ISP, CN-ChinaTelcom_ISP and CN-UNICOM_ISP are respectively the server of corresponding China Mobile, China Telecom and CHINAUNICOM.
In the above-described embodiments, by edit key, can edit ISP address file, then the ISP address file after editing and updating be imported and generate default ISP address table.
According to the abovementioned embodiments of the present invention, according to preset matching condition, transformation parameter and parameter preset being mated to the step that obtains corresponding router comprises: use incidence relation to determine and source address and server corresponding to destination address; Service time, scheduling parameter was determined the routing policy with the corresponding entry-into-force time of current time; Use routing policy coupling to obtain the router that server is corresponding.
Wherein, the preset matching Conditional Include in above-described embodiment: the coupling of source address and destination address, service, inflow interface and meet the corresponding specific time scheduling parameter of above-mentioned matching condition.Particularly, source address and destination address define in can reference address object definition: group of addresses, address list, domain name list, default ISP address table (as the test_isp defining in Fig. 4 and other three CN-ChianMobile_ISP, CN-ChinaTelcom_ISP, CN-UNICOM_ISP) are mated; Service Matching can be with the service in safety regulation, optional icmp, dns, http etc.
Wherein, icmp is Internet Control Message Protocol; DNS is domain name system (Domain Name System), is a kernel service of internet, and it can be used as the distributed data base that domain name and IP address are shone upon mutually.Http is HTML (Hypertext Markup Language), and the rule of communication mutually between be a kind of specified in more detail browser and Web server transmits the data transfer protocol of web documents by internet.
When the route selection strategy that time scheduling parameter in above-described embodiment can define appointment flexibly comes into force in section.Such as routing policy in certain time period of every day is effective etc.Thereby according to preset matching condition, transformation parameter and parameter preset are being mated while obtaining corresponding router, can determine the routing policy with the corresponding entry-into-force time of current time by time scheduling parameter.
Particularly, in above-described embodiment, the coupling of source address and destination address, service, inflow interface is basic matching condition, if above-mentioned matching condition meets, this matching condition has some corresponding Advanced Options, and time scheduling and dispatching algorithm are exactly two in Advanced Options.
By the time scheduling in above-described embodiment, can realize the different routing overhead mode of configuration in different time sections.
According to the abovementioned embodiments of the present invention, use routing policy to determine that the step of the router that server is corresponding can comprise: to obtain the initial router corresponding with routing policy; Initial router is carried out to link detection, obtain initial router and whether successfully transmit data to the result of detection of destination address and obtain the RTT time; At initial router, successfully transmit data to destination address and the RTT time meet predetermined threshold value in the situation that, determine that initial router is router; At initial router, successfully do not transmit data to destination address or the RTT time do not meet predetermined threshold value in the situation that, return and carry out the step of obtaining the initial router corresponding with routing policy, until initial router successfully transmits data to destination address and RTT time, meet predetermined threshold value.
Adopt the above embodiment of the present invention, initial router is carried out to link detection and comprise arp, ping detection, survey the router adding and whether can pass to and survey RTT time value, according to RTT time value, find out best route.Whether router can lead to and RTT value, can in the monitoring of intelligent route selection, check the rtt value of current state machine.By this method, the routing iinformation that can upgrade in time, is switched to optimum route in time.
Wherein, arp is address resolution protocol, is an ICP/IP protocol obtaining physical address.Ping is network diagnostic tool, also referred to as delay testing.Be an executable command under Windows system, utilize it can check whether network can be communicated with, to analyze decision network fault.
In the above embodiment of the present invention, when using routing policy coupling to obtain the router corresponding with server, obtain the route-map of router; Use the step of router transmission data to comprise: to use route-map to carry out load dispatch calculating, to determine the flow load of corresponding each router; Control router and transmit data according to flow load.
Particularly, by said method, select corresponding router, and obtain corresponding route-map (being gateway information), wherein, gateway information comprises gateway address, weight, interface and metric, wherein weight is effective in WRR, weighting source address hash, weighting destination address hash and rate of discharge algorithm, particularly, rate of discharge algorithm is realized routing overhead according to weight size pro-rata uninterrupted, and every intelligent routing rule (being preset matching condition) comprises at most 16 gateway informations.
Wherein, metric is that routing algorithm is in order to determine the measurement standard of the optimal path that arrives destination, as path.Hash is Hash.
In the above embodiment of the present invention, can also use diversified multiple exit mode of loading, except supporting more common poll, as, WRR, backup, outside HASH even load algorithm, can also survey dynamically the outlet that exports the RTT time and select RTT optimum, or in proportion flow load be arrived to each outlet according to outlet device flow.
Particularly, routing algorithm: (weighting) poll, (weighting) source address hash, (weighting) destination address hash, random, backup and RTT are minimum.
Adopt the above embodiment of the present invention, can support the flow of telecommunications preferentially to walk telecommunications, go the flow of Netcom preferentially to walk Netcom.As shown in Figure 5, user is by switch and firewall access network, and GE1~GE7 is wherein the communication link (as netting twine) between respective switch, fire compartment wall and router, and the R1 to R6 in Fig. 5 is six routers.
Particularly, above-described embodiment support is carried out route to service, such as http(HTTP) and icmp(be Internet Control Message Protocol, it is a sub-protocol of TCP/IP protocol suite, main users is transmitted control message between IP main frame, router) must walk Netcom's line, the whole line loads of other flows; Routing overhead can be pressed weights and distribute bandwidth, also can be by interface assignment flow, such as 12 mouthfuls be 100,000,000 Telecommunication Lines, flow will be gone to 90M, 11Kou Shi 50M Netcom line, can only run 45M etc.; Or demand is that telecommunication line runs completely, and Netcom's circuit runs half.
And the above embodiment of the present invention also supports ISP address import and walk different routes etc. function according to different services.
It should be noted that, in the step shown in the flow chart of accompanying drawing, can in the computer system such as one group of computer executable instructions, carry out, and, although there is shown logical order in flow process, but in some cases, can carry out shown or described step with the order being different from herein.
As can be seen from the above description, the present invention has realized following technique effect:
The above embodiment of the present invention adopts fine-grained routing policy, support is source address to source IP(), object IP(is destination address), service, interface etc. are controlled, and wherein integrated ISP address set can be selected in IP address, also can this set be modified or be upgraded, thereby realize, according to ISP, carry out traffic forwarding, this function is widely used the in the situation that of current general many ISP route outlet; In above-described embodiment, adopt multiple multiple exit mode of loading, except supporting more common poll, WRR, backup, outside HASH even load algorithm, can also survey dynamically the outlet that exports the RTT time and select RTT optimum, or in proportion flow load be arrived to each outlet according to outlet device flow; To communication link is connective, survey, and the Failure And Recovery of real-time response link.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a data transmission method, is characterized in that, comprising:
Receive data transfer request;
From described data transfer request, extract transformation parameter;
According to preset matching condition, described transformation parameter and parameter preset are mated and obtain corresponding router;
Use described router transmission data.
2. data transmission method according to claim 1, is characterized in that, described transformation parameter comprises source address, destination address and time scheduling parameter, and wherein, before receiving data transfer request, described data transmission method also comprises:
Set up default ISP address table, wherein, the incidence relation of in store server and User IP in described default ISP address table;
Quote described User IP in described default ISP address table to obtain described source address and described destination address;
According to described source address, described destination address and described time scheduling parameter, generate and send described data transfer request,
Wherein, described time scheduling parameter is for determining the entry-into-force time of routing policy.
3. data transmission method according to claim 2, is characterized in that, according to preset matching condition, described transformation parameter and parameter preset is mated to the step that obtains corresponding router and comprises:
Use described incidence relation to determine the described server corresponding with described source address and described destination address;
Use described time scheduling parameter to determine the described routing policy with the corresponding described entry-into-force time of current time;
Use described routing policy coupling to obtain the described router corresponding with described server.
4. data transmission method according to claim 3, is characterized in that, uses described routing policy to determine that the step of the described router that described server is corresponding comprises:
Obtain the initial router corresponding with described routing policy;
Described initial router is carried out to link detection, obtain described initial router and whether successfully transmit data to the result of detection of described destination address and obtain the RTT time;
At described initial router, successfully transmit described data to described destination address and the described RTT time meet predetermined threshold value in the situation that, determine that described initial router is described router;
At described initial router, successfully do not transmit described data to described destination address or the described RTT time do not meet described predetermined threshold value in the situation that, return and carry out the step of obtaining the initial router corresponding with described routing policy, until described initial router successfully transmits described data to described destination address and described RTT time, meet described predetermined threshold value.
5. according to the data transmission method described in claim 3 or 4, it is characterized in that,
When using described routing policy coupling to obtain the described router corresponding with described server, obtain the route-map of described router;
Use the step of described router transmission data to comprise:
Use described route-map to carry out load dispatch calculating, to determine the corresponding flow load of router described in each;
Control described router and transmit described data according to described flow load.
6. a data transmission device, is characterized in that, comprising:
Receiver module, for receiving data transfer request;
The first extraction module, for extracting transformation parameter from described data transfer request;
Matching module, for mating described transformation parameter and parameter preset to obtain corresponding router according to preset matching condition;
Transport module, for being used described router transmission data.
7. data transmission device according to claim 6, is characterized in that, described transformation parameter comprises source address, destination address and time scheduling parameter, and wherein, described data transmission device also comprises:
Set up module, for setting up default ISP address table, wherein, the incidence relation of in store server and User IP in described default ISP address table;
Quote module, for the described User IP of quoting described default ISP address table to obtain described source address and described destination address;
Request sending module, for generating and sending described data transfer request according to described source address, described destination address and described time scheduling parameter,
Wherein, described time scheduling parameter is for determining the entry-into-force time of routing policy.
8. data transmission device according to claim 7, is characterized in that, described matching module comprises:
The first determination module, for being used described incidence relation to determine the described server corresponding with described source address and described destination address;
The second determination module, for being used described time scheduling parameter to determine the described routing policy with the corresponding described entry-into-force time of current time;
Matched sub-block, for being used described routing policy coupling to obtain the described router that described server is corresponding.
9. data transmission device according to claim 8, is characterized in that, described matched sub-block comprises:
The second acquisition module, for obtaining the initial router corresponding with described routing policy;
Detecting module, for described initial router is carried out to link detection, obtains described initial router and whether successfully transmits data to the result of detection of described destination address and obtain the RTT time;
First determines submodule, for successfully transmitting described data to described destination address and the described RTT time at described initial router meet predetermined threshold value in the situation that, determines that described initial router is described router;
Second determines submodule, for successfully not transmitting described data to described destination address or the described RTT time at described initial router do not meet described predetermined threshold value in the situation that, return and carry out the step of obtaining the initial router corresponding with described routing policy, until described initial router successfully transmits described data to described destination address and described RTT time, meet described predetermined threshold value.
10. data transmission device according to claim 8 or claim 9, is characterized in that,
The 3rd acquisition module, for when using described routing policy coupling to obtain the described router corresponding with described server, obtains the route-map of described router;
Described transport module comprises:
Computing module, for using described route-map to carry out load dispatch calculating, to determine the corresponding flow load of router described in each;
Control module, transmits described data for controlling described router according to described flow load.
CN201410001574.0A 2014-01-02 2014-01-02 Data transmission method and device Active CN103685021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410001574.0A CN103685021B (en) 2014-01-02 2014-01-02 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410001574.0A CN103685021B (en) 2014-01-02 2014-01-02 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN103685021A true CN103685021A (en) 2014-03-26
CN103685021B CN103685021B (en) 2019-03-19

Family

ID=50321381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410001574.0A Active CN103685021B (en) 2014-01-02 2014-01-02 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN103685021B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941532A (en) * 2017-03-30 2017-07-11 北京奇艺世纪科技有限公司 A kind of data transmission method and device applied to distributed system
CN108781209A (en) * 2015-12-22 2018-11-09 赫思曼自动化控制有限公司 Network with partially unidirectional data transmission

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1201058A2 (en) * 1999-07-16 2002-05-02 Spyrus, Inc. Method and system for a policy enforcing module
CN1758632A (en) * 2005-11-11 2006-04-12 杭州华为三康技术有限公司 Method for selecting exit link according to flow and routing equipment of converting flow
CN1878149A (en) * 2006-07-11 2006-12-13 深圳市深信服电子科技有限公司 Automatic circuit-selecting method based on gateway/network bridge
CN101350772A (en) * 2008-09-08 2009-01-21 成都飞鱼星科技开发有限公司 Method for selecting line of router with multiple WAN interfaces, system and router
CN101510854A (en) * 2009-03-31 2009-08-19 杭州华三通信技术有限公司 Method, system and equipment for sharing business load
CN101686170A (en) * 2008-09-27 2010-03-31 重庆广用通信技术有限责任公司 Grading transmission quality assurance system based on multi-exit user routing
CN101808034A (en) * 2010-03-16 2010-08-18 杭州华三通信技术有限公司 Method and device for routing management
CN102006242A (en) * 2010-12-24 2011-04-06 山石网科通信技术(北京)有限公司 Routing method of router and router
CN103188169A (en) * 2011-12-30 2013-07-03 北京网康科技有限公司 Data flow guide method and data flow guide equipment based on application quality

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1201058A2 (en) * 1999-07-16 2002-05-02 Spyrus, Inc. Method and system for a policy enforcing module
CN1758632A (en) * 2005-11-11 2006-04-12 杭州华为三康技术有限公司 Method for selecting exit link according to flow and routing equipment of converting flow
CN1878149A (en) * 2006-07-11 2006-12-13 深圳市深信服电子科技有限公司 Automatic circuit-selecting method based on gateway/network bridge
CN101350772A (en) * 2008-09-08 2009-01-21 成都飞鱼星科技开发有限公司 Method for selecting line of router with multiple WAN interfaces, system and router
CN101686170A (en) * 2008-09-27 2010-03-31 重庆广用通信技术有限责任公司 Grading transmission quality assurance system based on multi-exit user routing
CN101510854A (en) * 2009-03-31 2009-08-19 杭州华三通信技术有限公司 Method, system and equipment for sharing business load
CN101808034A (en) * 2010-03-16 2010-08-18 杭州华三通信技术有限公司 Method and device for routing management
CN102006242A (en) * 2010-12-24 2011-04-06 山石网科通信技术(北京)有限公司 Routing method of router and router
CN103188169A (en) * 2011-12-30 2013-07-03 北京网康科技有限公司 Data flow guide method and data flow guide equipment based on application quality

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108781209A (en) * 2015-12-22 2018-11-09 赫思曼自动化控制有限公司 Network with partially unidirectional data transmission
CN108781209B (en) * 2015-12-22 2022-03-01 赫思曼自动化控制有限公司 Network with partially unidirectional data transmission
CN106941532A (en) * 2017-03-30 2017-07-11 北京奇艺世纪科技有限公司 A kind of data transmission method and device applied to distributed system

Also Published As

Publication number Publication date
CN103685021B (en) 2019-03-19

Similar Documents

Publication Publication Date Title
US20200296023A1 (en) Real-time application-driven synthetic probing
US10708146B2 (en) Data driven intent based networking approach using a light weight distributed SDN controller for delivering intelligent consumer experience
US9001688B2 (en) Dynamic balancing of a traffic mix for data center device testing
CN105634956B (en) A kind of message forwarding method, device and system
US9602185B2 (en) Communication terminal, communication control apparatus, communication system, communication control method, and program
US8850578B2 (en) Network intrusion detection
Zhang et al. Fair quantized congestion notification in data center networks
EP3449600A1 (en) A data driven intent based networking approach using a light weight distributed sdn controller for delivering intelligent consumer experiences
EP3110081B1 (en) Methods for controlling service chain of service flow
EP2425592A2 (en) Adaptive rate control based on overload signals
CN101640645B (en) Message transmission method and system
CN103262482A (en) Communication system, control device, node controlling method and program
KR101460048B1 (en) Method and apparatus for control of dynamic service chaining by using tagging
CN106656648B (en) Application flow dynamic protection method and system based on home gateway and home gateway
EP3941005A1 (en) Dynamic prediction and management of application service level agreements
US11811638B2 (en) Adaptable software defined wide area network application-specific probing
CN112954069A (en) Method, device and system for accessing mobile equipment to SD-WAN (secure digital-Wide area network)
EP3203693B1 (en) User message forwarding control method and processing node
CN102164077B (en) Bandwidth control method, device and router
CN113965508B (en) Dual path data transmission method, electronic device, and computer-readable storage medium
CN107222403A (en) A kind of data transmission method, system and electronic equipment
M. Abdelmoniem et al. Reducing latency in multi-tenant data centers via cautious congestion watch
EP2787699A1 (en) Data transmission method, device, and system
CN103685021A (en) Data transmission method and device
CN106789650B (en) Wide area network acceleration method and device based on IP

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 2nd Floor, Building 1, Yard 26, Xizhimenwai South Road, Xicheng District, Beijing, 100032

Patentee after: Qianxin Wangshen information technology (Beijing) Co.,Ltd.

Patentee after: Legendsec Technology (Beijing) Co.,Ltd.

Address before: 100085 1st floor, Section II, No.7 Kaifa Road, Shangdi Information Industry base, Haidian District, Beijing

Patentee before: LEGENDSEC INFORMATION TECHNOLOGY (BEIJING) Inc.

Patentee before: Legendsec Technology (Beijing) Co.,Ltd.