CN103532852A - Routing scheduling method, routing scheduling device and network equipment - Google Patents

Routing scheduling method, routing scheduling device and network equipment Download PDF

Info

Publication number
CN103532852A
CN103532852A CN201310474001.5A CN201310474001A CN103532852A CN 103532852 A CN103532852 A CN 103532852A CN 201310474001 A CN201310474001 A CN 201310474001A CN 103532852 A CN103532852 A CN 103532852A
Authority
CN
China
Prior art keywords
domain name
routing
address
route
scheduling
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
CN201310474001.5A
Other languages
Chinese (zh)
Other versions
CN103532852B (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310474001.5A priority Critical patent/CN103532852B/en
Publication of CN103532852A publication Critical patent/CN103532852A/en
Application granted granted Critical
Publication of CN103532852B publication Critical patent/CN103532852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a routing scheduling method, a routing scheduling device and network equipment. Dynamic adjustment is added on the basis of static routing, and the dynamic adjustment added on the basis of static routing is not completely equivalent to dynamic routing. The routing scheduling method, the routing scheduling device and the network equipment are especially suitable for home routing systems, and are capable of improving the efficiency of traffic scheduling and convenient to manage. The routing scheduling method comprises the following steps of receiving a domain name resolution request, and acquiring a domain name from the domain name resolution request; acquiring an IP (Internet protocol) address which corresponds to the domain name when the domain name belongs to a domain name list; adding the IP address to a current routing table to form a target routing table; performing traffic scheduling processing on the target routing table to obtain routing which corresponds to the IP address.

Description

A kind of routing scheduling method, device and the network equipment
Technical field
The disclosure is directed to computer and communication technical field, especially about a kind of routing scheduling method, device and the network equipment.
Background technology
The Internet is the result that the means by computer information technology interknit by the above terminal of two computers or two, client, service end, and people can mutually send with the friend far away from thousands of miles away mail, jointly complete a job, amusement jointly.
A visual plant in the Internet is exactly router.Router (Router) is the equipment that connects each local area network (LAN), wide area network in internet, and its groundwork is exactly to find an optimal transmission paths for each Frame through router, and these data are sent to object website effectively.As can be seen here, selecting the strategy of optimal path is that routing algorithm is the key point of router.In order to complete this work, the related data of in store various transmission paths in router, when routing table (Routing Table) is for Route Selection.Draw an analogy, routing table, just as the map of our every day use, identifies various routes, and the flag information of in store subnet in routing table is, the contents such as name of the number of web router and next router.Routing table can be fixedly installed by system manager, also can be on-the-fly modified by system, can automatically be adjusted by router, also can be by host computer control.
In correlation technique, (a kind of can be for the equipment of connecting Internet under home environment for the wireless router in family, by Wireless Fidelity WIFI lift-off technology, by other WIFI equipment in family, not wanting netting twine can network), set in advance route in router and the assignment of traffic volume of each route, total flow is assigned to respectively on corresponding circuit, route in this router traffic scheduling method adopts static state setting (being fixedly installed by system manager), for the 4th edition IPv4 address of Internet protocol, and even the huge internet environment of Internet protocol sixth version IPv6 number of addresses, will cause inefficiency, management inconvenience, scheduling is problem accurately not.Therefore, how to solve static routing under complex environment carry out inefficiency that flow scheduling brings, management inconvenience, scheduling precisely problem become technical problem urgently to be resolved hurrily at present.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of routing scheduling method, device and the network equipment, on the basis of static routing, increases dynamically and adjusts, not exclusively be equal to again dynamic routing, especially be applicable to family's route system, improve the efficiency of flow scheduling, and convenient management.
On the one hand, the disclosure provides a kind of routing scheduling method, comprising:
The request of acceptance domain name analysis is obtained domain name from domain name analysis request;
When domain name belongs to domain name list, obtain the IP address that domain name is corresponding;
Described IP address is joined in current routing table and forms target routing lists;
Described target routing lists is carried out to flow scheduling processing, obtain route corresponding to described IP address.
In the disclosure, by judging whether domain name belongs to the preset domain name list (domain name in this domain name list, to adopt dynamic dispatching method of the present disclosure to carry out the domain name of flow scheduling), when domain name belongs to preset domain name list, illustrate that this domain name need to adopt dynamic dispatching method of the present disclosure to carry out flow scheduling, thereby IP address corresponding to this domain name dynamically can be joined in current routing table and form target routing lists, target routing lists is carried out to flow scheduling processing, and then route corresponding to acquisition IP address, thereby realize accurately routing scheduling fast, improved dispatching efficiency, more adapt to family's route system.
Described method also comprises:
When domain name does not belong to domain name list, obtain the IP address that domain name is corresponding;
Obtain default route corresponding to described IP address.
In the disclosure, when this domain name does not belong to preset domain name list, according to current static scheduling strategy, be still that this domain name is distributed route.
Described described target routing lists is carried out to flow scheduling processing, obtains route corresponding to described IP address, comprising:
The routing rules corresponding according to domain name classification, carries out flow scheduling processing to described target routing lists;
Obtain route corresponding to described IP address.
The disclosure provides a kind of method of target routing lists being carried out to flow scheduling processing.
After route corresponding to the described IP of described acquisition address, described method also comprises:
Untapped route in default duration in statistics target routing lists;
From target routing lists, remove untapped route in described default duration.
In the disclosure, can original route in certain hour be removed according to expired strategy, reduce route quantity, thereby reduce scheduling cost, improve the operational efficiency of the network equipment.
Before the request of described acceptance domain name analysis, described method also comprises:
Obtain the domain name list that user arranges; Or
According to default data mining algorithm, generate domain name list; Or
Obtain the domain name list that external program generates.
The disclosure provides the multiple method of obtaining or generate domain name list.
On the other hand, the disclosure provides a kind of routing scheduling device, comprising:
Determination module for the request of acceptance domain name analysis, obtains domain name from domain name analysis request;
The first acquisition module, when belonging to domain name list when domain name, obtains the IP address that domain name is corresponding;
Processing module, forms target routing lists for described IP address is joined to current routing table;
The second acquisition module, for described target routing lists is carried out to flow scheduling processing, obtains route corresponding to described IP address.
Described routing scheduling device also comprises:
The 3rd acquisition module, for when domain name does not belong to domain name list, obtains the IP address that domain name is corresponding;
The 4th acquisition module, for obtaining default route corresponding to described IP address.
Described the second acquisition module comprises:
Processing unit, the routing rules for corresponding according to domain name classification, carries out flow scheduling processing to described target routing lists;
Acquiring unit, for obtaining route corresponding to described IP address.
Described routing scheduling device also comprises:
Statistical module, after obtaining route corresponding to described IP address at described the second acquisition module, untapped route in default duration in statistics target routing lists;
Remove module, for remove untapped route in described default duration from target routing lists.
Described routing scheduling device also comprises:
The 5th acquisition module, for before the request of described determination module acceptance domain name analysis, obtains the domain name list that user arranges; Or
Generation module, for before the request of described determination module acceptance domain name analysis, generates domain name list according to default data mining algorithm; Or
The 6th acquisition module, for before the request of described determination module acceptance domain name analysis, obtains the domain name list that external program generates.
On the other hand, the disclosure provides a kind of network equipment, the network equipment includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
The request of acceptance domain name analysis is obtained domain name from domain name analysis request;
When domain name belongs to domain name list, obtain the IP address that domain name is corresponding;
Described IP address is joined in current routing table and forms target routing lists;
Described target routing lists is carried out to flow scheduling processing, obtain route corresponding to described IP address.
Should be understood that, it is only exemplary that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the disclosure, forms the application's a part, does not form restriction of the present disclosure.In the accompanying drawings:
Fig. 1 is the exemplary process diagram of routing scheduling method in the embodiment of the present invention;
Fig. 2 is the exemplary block diagram of a kind of method detailed of routing scheduling in the embodiment of the present invention;
Fig. 3 is the exemplary block diagram of the another kind of method detailed of routing scheduling in the embodiment of the present invention;
Fig. 4 is the main exemplary block diagram of route dispatching device in the embodiment of the present invention;
Fig. 5 is the first detailed example structure chart of route dispatching device in the embodiment of the present invention;
Fig. 6 is the exemplary block diagram of the second acquisition module in the embodiment of the present invention;
Fig. 7 is the second detailed example structure chart of route dispatching device in the embodiment of the present invention;
Fig. 8 is the third detailed example structure chart of route dispatching device in the embodiment of the present invention;
Fig. 9 is the 4th kind of detailed example structure chart of route dispatching device in the embodiment of the present invention;
Figure 10 is the 5th kind of detailed example structure chart of route dispatching device in the embodiment of the present invention;
Figure 11 is the structural representation of the network equipment in the embodiment of the present invention.
By above-mentioned accompanying drawing, the embodiment that the disclosure is clear and definite has been shown, will there is more detailed description hereinafter.These accompanying drawings and text description are not in order to limit the scope of disclosure design by any mode, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearer, below in conjunction with execution mode and accompanying drawing, the disclosure is described in further details.At this, exemplary embodiment of the present disclosure and explanation thereof are used for explaining the disclosure, but not as to restriction of the present disclosure.
Disclosure embodiment provides a kind of routing scheduling method, device and the network equipment, below in conjunction with accompanying drawing, the disclosure is elaborated.
In disclosure embodiment, by judging whether domain name belongs to the preset domain name list (domain name in this domain name list, to adopt dynamic dispatching method of the present disclosure to carry out the domain name of flow scheduling), when domain name belongs to preset domain name list, illustrate that this domain name need to adopt dynamic dispatching method of the present disclosure to carry out flow scheduling, thereby can be by IP(Internet Protocol corresponding to this domain name, Internet protocol) address dynamically joins in current routing table and forms target routing lists, target routing lists is carried out to flow scheduling processing, and then route corresponding to acquisition IP address, thereby realize accurately routing scheduling fast, improved dispatching efficiency, more adapt to family's route system.And when this domain name does not belong to preset domain name list, according to current static scheduling strategy (being fixedly installed in advance by system manager the route that domain name will adopt), be still that this domain name is distributed route.
In one embodiment, as shown in Figure 1, a kind of routing scheduling method comprises the following steps:
In step 101, the request of acceptance domain name analysis is obtained domain name from this domain name mapping request, and the method for the present embodiment is for network equipments such as routers.
In domain name mapping request, generally include the domain name of wanting request analysis, can send to the network equipment by client or browser, by the network equipment, from this domain name mapping request, obtain domain name.
In step 102, when domain name belongs to domain name list, obtain IP address corresponding to domain name.
Wherein, the domain name in preset domain name list, is to adopt dynamic dispatching method of the present disclosure to carry out the domain name of flow scheduling.
In one embodiment, this preset domain name list can obtain or generate before execution step 101.Such as before execution step 101, obtain the domain name list that user arranges, or generate domain name list according to default data mining algorithm, or obtain the domain name list that external program generates.Certainly, domain name list can also obtain by another way, will not enumerate herein.
When domain name belongs to domain name list, the network equipment can be sent to this domain name domain name resolution server, and (domain name resolution server has been stored the one-to-one relationship of domain name and IP address, a corresponding IP address of domain name), by domain name resolution server, resolve this domain name, and obtain IP address corresponding to this domain name that domain name resolution server returns.
When domain name does not belong to domain name list, obtain IP address corresponding to domain name; Obtain default route corresponding to IP address.
In step 103, IP address is joined in current routing table and forms target routing lists.
The network equipment obtains the information such as subnet mask corresponding to this IP address, gateway according to IP address information, using these information as a route, join in current routing table, forms target routing lists.
In step 104, target routing lists is carried out to flow scheduling processing, obtain route corresponding to IP address.
Wherein, target routing lists is carried out to flow scheduling processing can adopt flow scheduling algorithm to realize, for example, link state algorithm (being also called short path priority algorithm) spreads to routing iinformation each node of network, but each network equipment only sends the part of describing its own linking status in routing table.In distance vector algorithms (being also called bellman-ford algorithm), each network equipment sends all or part of of routing table, but only issues its neighbours.That is to say, link state algorithm sends less lastest imformation everywhere, and distance vector algorithms only sends more lastest imformation etc. to the adjacent network equipment.
In one embodiment, step 104 may be embodied as: the routing rules corresponding according to domain name classification, carries out flow scheduling processing to target routing lists.Wherein, routing rules corresponding to domain name classification refers to classifies to domain name, the corresponding a kind of routing rules of domain name of each classification; Such as the domain name of setting with edu belongs to educational institution's class domain name, all domain names that belong to educational institution's class domain name are all carried out flow scheduling processing according to same routing rules.
In step 104, after obtaining route corresponding to IP address, can also or can also carry out other operation according to this route according to this route acquisition webpage corresponding with this IP address.
In one embodiment, after step 104, also can comprise steps A 1-A2:
Untapped route in default duration in steps A 1, statistics target routing lists.
Steps A 2, from target routing lists, remove untapped route in default duration.
Can for example, in certain hour (3 hours) original route be removed according to expired strategy, reduce route quantity, thereby reduce scheduling cost, improve the operational efficiency of the network equipment.
In one embodiment, also can comprise step B1-B2:
Step B1, when domain name does not belong to domain name list, obtain IP address corresponding to domain name.
Step B2, obtain default route corresponding to IP address.
That is,, when domain name does not belong to above-mentioned domain name list, according to static scheduling strategy (being fixedly installed in advance by system manager the route that domain name will adopt), distribute route.Now, need the network equipment that this domain name is sent to domain name resolution server, by domain name resolution server, resolve this domain name, obtain IP address corresponding to this domain name that domain name resolution server returns, from default routing table (default router table), obtain route corresponding to this IP address.
In disclosure embodiment, according to preset domain name list, realize accurately scheduling, improve dispatching efficiency, and original route in certain hour is removed, reduced route quantity, thereby reduce scheduling cost, improve the operational efficiency of the network equipment, in addition, domain name is resolved to obtain IP address corresponding to this domain name to be realized by domain name resolution server, IP address corresponding to all domain names of renewal that can be instant in real time due to domain name resolution server (comprises and increases emerging domain name and corresponding IP address thereof, and domain name and corresponding IP address thereof are carried out to real-time update to keep consistent with real data), thereby more accurate and reliable to the parsing of domain name, can adapt to the situation that some domain names frequently change its parsing, some CDN(Content Delivery Network for example, content distributing network) dynamic load scheduling, thereby solve traditional static routing scheduling mode the problem of scheduling cannot be provided for similar CDN.
More than introduce the multiple implementation of each link in the embodiment shown in Fig. 1, below by several embodiment, introduced in detail implementation procedure.
Embodiment mono-
In embodiment mono-, when domain name belongs to preset domain name list, IP address corresponding to domain name joined and in current routing table, carry out dynamic dispatching; When domain name does not belong to preset domain name list, according to static routing processing method, dispatch.As shown in Figure 2, a kind of routing scheduling method comprises the following steps:
In step 201, router obtains the domain name list that user arranges, and the method for the present embodiment one is for network equipments such as routers.
Also can be to generate domain name list according to default data mining algorithm; Or, can be also to obtain the domain name list that external program generates.
In step 202, the request of router acceptance domain name analysis is obtained domain name from this domain name mapping request.
In step 203, router judges whether domain name belongs to preset domain name list, if so, continues execution step 204; Otherwise continue execution step 207.
In step 204, router obtains IP address corresponding to domain name, continues execution step 205.
In step 205, router joins IP address corresponding to domain name in current routing table and forms target routing lists.
In step 206, the routing rules that router is corresponding according to domain name classification, carries out flow scheduling processing to target routing lists, obtains route corresponding to IP address, finishes this flow process.
In step 207, router obtains IP address corresponding to domain name, continues execution step 208.
In step 208, router obtains as the default route in this IP address, finishes this flow process.
In the present embodiment one, when domain name belongs to preset domain name list, IP address corresponding to domain name joined and in current routing table, carry out dynamic dispatching; When domain name does not belong to preset domain name list, according to static routing processing method, dispatch, on the basis of static routing, increase dynamically and adjust, be not exclusively equal to again dynamic routing table, more adapt to family's route system.
Embodiment bis-
In embodiment bis-, for example, in certain hour (3 hours) original route can be removed, reduce route quantity, thereby reduce scheduling cost, improve the operational efficiency of the network equipment.As shown in Figure 3, routing scheduling method comprises the following steps:
In step 301, router obtains the domain name list that user arranges, and the method for the present embodiment two is for network equipments such as routers.
In step 302, the request of router acceptance domain name analysis is obtained domain name from this domain name mapping request.
In step 303, router judges whether domain name belongs to preset domain name list, if so, continues execution step 304.
In step 304, router obtains IP address corresponding to domain name.
In step 305, router joins IP address in current routing table and forms target routing lists.
In step 306, the routing rules that router is corresponding according to domain name classification, carries out flow scheduling processing to target routing lists, obtains route corresponding to IP address.
In step 307, untapped route in default duration in router statistics target routing lists.
In step 308, router is removed untapped route in default duration from target routing lists.
In the present embodiment two, original route in certain hour is removed, reduced route quantity, thereby reduce scheduling cost, improve the operational efficiency of the network equipment.
By above description, understood routing scheduling method implementation procedure, this process can be realized by device, below internal structure and the function of device is introduced.
In one embodiment, as shown in Figure 4, a kind of routing scheduling device comprises: determination module 401, the first acquisition module 402, processing module 403 and the second acquisition module 404.
Determination module 401 for the request of acceptance domain name analysis, obtains domain name from this domain name mapping request;
The first acquisition module 402, when belonging to domain name list when domain name, obtains IP address corresponding to domain name;
Processing module 403, forms target routing lists for IP address is joined to current routing table;
The second acquisition module 404, for target routing lists is carried out to flow scheduling processing, obtains route corresponding to IP address.
In one embodiment, as shown in Figure 5, the routing scheduling device that above-mentioned Fig. 4 shows also can comprise: the 3rd acquisition module 501 and the 4th acquisition module 502.
The 3rd acquisition module 501, for when domain name does not belong to domain name list, obtains IP address corresponding to domain name;
The 4th acquisition module 502, for obtaining default route corresponding to IP address.
In one embodiment, as shown in Figure 6, above-mentioned the second acquisition module 404 can comprise: processing unit 601 and acquiring unit 602.
Processing unit 601, the routing rules for corresponding according to domain name classification, carries out flow scheduling processing to target routing lists;
Acquiring unit 602, for obtaining route corresponding to IP address.
In one embodiment, as shown in Figure 7, the routing scheduling device that above-mentioned Fig. 4 shows also can comprise: statistical module 701 and removing module 702.
Statistical module 701, for after the second acquisition module 404 obtains route corresponding to IP address, untapped route in default duration in statistics target routing lists;
Remove module 702, for remove untapped route in default duration from target routing lists.
In one embodiment, as shown in Figure 8, the routing scheduling device that above-mentioned Fig. 4 shows also can comprise: the 5th acquisition module 801.
The 5th acquisition module 801, for before determination module 401 acceptance domain name analysis requests, obtains the domain name list that user arranges.
In one embodiment, as shown in Figure 9, the routing scheduling device that above-mentioned Fig. 4 shows also can comprise: generation module 901.
Generation module 901, for before determination module 401 acceptance domain name analysis requests, generates domain name list according to default data mining algorithm.
In one embodiment, as shown in figure 10, the routing scheduling device that above-mentioned Fig. 4 shows also can comprise: the 6th acquisition module 1001.
The 6th acquisition module 1001, for before determination module 401 acceptance domain name analysis requests, obtains the domain name list that external program generates.
Figure 11 is the structural representation of the network equipment in the embodiment of the present invention.This network equipment 1000 can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) 1922(for example, one or more processors) and memory 1932, the storage medium 1930(of one or more storage application programs 1942 or data 1944 one or more mass memory units for example).Wherein, memory 1932 and storage medium 1930 can be of short duration storage or storage lastingly.The program that is stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in the network equipment.Further, central processing unit 1922 can be set to communicate by letter with storage medium 1930, carries out a series of command operatings in storage medium 1930 on the network equipment 1900.
The network equipment 1000 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, Windows ServerTM for example, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
The network equipment 1000, can be the network equipments such as router, it includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
The request of acceptance domain name analysis is obtained domain name from domain name mapping request;
When domain name belongs to domain name list, obtain IP address corresponding to domain name;
IP address is joined in current routing table and forms target routing lists;
Target routing lists is carried out to flow scheduling processing, obtain route corresponding to IP address.
Memory can also comprise the instruction of carrying out following operation:
When domain name does not belong to domain name list, obtain IP address corresponding to domain name;
Obtain default route corresponding to IP address.
Memory can also comprise the instruction of carrying out following operation:
Target routing lists is carried out to flow scheduling processing, obtains route corresponding to IP address, comprising:
The routing rules corresponding according to domain name classification, carries out flow scheduling processing to target routing lists;
Obtain route corresponding to IP address.
Memory can also comprise the instruction of carrying out following operation:
After obtaining route corresponding to IP address, method also comprises:
Untapped route in default duration in statistics target routing lists;
From target routing lists, remove untapped route in default duration.
Memory can also comprise the instruction of carrying out following operation:
Before the request of acceptance domain name analysis, method also comprises:
Obtain the domain name list that user arranges; Or
According to default data mining algorithm, generate domain name list; Or
Obtain the domain name list that external program generates.
In disclosure embodiment, according to preset domain name list, realize accurately scheduling, improve dispatching efficiency, and original route in certain hour is removed, reduced route quantity, thereby reduce scheduling cost, improve the operational efficiency of the network equipment, in addition, domain name is resolved to obtain IP address corresponding to this domain name to be realized by domain name resolution server, IP address corresponding to all domain names of renewal that can be instant in real time due to domain name resolution server (comprises and increases emerging domain name and corresponding IP address thereof, and domain name and corresponding IP address thereof are carried out to real-time update to keep consistent with real data), thereby more accurate and reliable to the parsing of domain name, can adapt to the situation that some domain names frequently change its parsing, some CDN(Content Delivery Network for example, content distributing network) dynamic load scheduling, thereby solve traditional static routing scheduling mode the problem of scheduling cannot be provided for similar CDN.
In addition, typically, the mobile terminal described in the disclosure can be various hand-held terminal devices, such as mobile phone, PDA(Personal Digital Assistant) etc., and therefore protection range of the present disclosure should not be defined as the mobile terminal of certain particular type.
In addition, according to method of the present disclosure, can also be implemented as the computer program of being carried out by central processor CPU.When this computer program is carried out by CPU, carry out the above-mentioned functions limiting in method of the present disclosure.
In addition, said method step and system unit also can utilize controller and realize for storing the computer readable storage devices of the computer program that makes controller realize above-mentioned steps or Elementary Function.
In addition, should be understood that, computer readable storage devices as herein described (for example, memory) can be volatile memory or nonvolatile memory, or can comprise volatile memory and nonvolatile memory.And nonrestrictive, nonvolatile memory can comprise read-only memory (ROM), programming ROM (PROM), electrically programmable ROM(EPROM as an example), electrically erasable programmable ROM(EEPROM) or flash memory.Volatile memory can comprise random-access memory (ram), and this RAM can serve as External Cache memory.As an example and nonrestrictive, RAM can obtain in a variety of forms, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM(DDR SDRAM), strengthen SDRAM(ESDRAM), synchronization link DRAM(SLDRAM) and direct Rambus RAM(DRRAM).The memory device of disclosed aspect is intended to include but not limited to the memory of these and other suitable type.
Those skilled in the art will also understand is that, in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps, may be implemented as electronic hardware, computer software or both combinations.For this interchangeability of hardware and software is clearly described, with regard to the function of various exemplary components, square, module, circuit and step, it has been carried out to general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way for every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present disclosure.
In conjunction with the described various illustrative logical blocks of disclosure herein, module and circuit, can utilize the following parts that are designed to carry out function described here to realize or carry out: general processor, digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete nextport hardware component NextPort or any combination of these parts.General processor can be microprocessor, but alternatively, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessor are in conjunction with DSP core or any other this configuration.
Step in conjunction with the described method of disclosure herein or algorithm can directly be included in the software module of carrying out in hardware, by processor or in the two combination.Software module can reside in the storage medium of RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor, make processor can be from this storage medium reading information or to this storage medium writing information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside in ASIC.ASIC can reside in user terminal.In an alternative, processor and storage medium can be used as discrete assembly and reside in user terminal.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If realized in software, described function can be transmitted on computer-readable medium or by computer-readable medium as one or more instructions or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media comprises and contributes to computer program to be sent to from a position any medium of another position.Storage medium can be can be by any usable medium of universal or special computer access.As an example and nonrestrictive, this computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage device or other magnetic storage apparatus, or can for carry or file layout be instruction or data structure required program code and can be by any other medium of universal or special computer or universal or special processor access.In addition, any connection can suitably be called computer-readable medium.For example, if with coaxial cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line or such as the wireless technology of infrared ray, radio and microwave come from website, server or other remote source send software, above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or include the definition at medium such as the wireless technology of infrared first, radio and microwave.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, disk rendering data magnetically conventionally wherein, and cd-rom using laser optics ground rendering data.The combination of foregoing also should be included in the scope of computer-readable medium.
Although disclosed content shows exemplary embodiment of the present disclosure above, it should be noted that under the prerequisite of the scope of the present disclosure that does not deviate from claim restriction, can carry out multiple change and modification.According to the function of the claim to a method of disclosed embodiment described herein, step and/or action, need not carry out with any particular order.In addition, although element of the present disclosure can be with individual formal description or requirement, also it is contemplated that a plurality of, unless be clearly restricted to odd number.
Above-described embodiment; object of the present disclosure, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only embodiment of the present disclosure; and be not used in and limit protection range of the present disclosure; all within spirit of the present disclosure and principle, any modification of making, be equal to replacement, improvement etc., within all should being included in protection range of the present disclosure.

Claims (11)

1. a routing scheduling method, is characterized in that, comprising:
The request of acceptance domain name analysis is obtained domain name from domain name analysis request;
When domain name belongs to domain name list, obtain the IP address that domain name is corresponding;
Described IP address is joined in current routing table and forms target routing lists;
Described target routing lists is carried out to flow scheduling processing, obtain route corresponding to described IP address.
2. routing scheduling method according to claim 1, is characterized in that, described method also comprises:
When domain name does not belong to domain name list, obtain the IP address that domain name is corresponding;
Obtain default route corresponding to described IP address.
3. routing scheduling method according to claim 1, is characterized in that, described described target routing lists is carried out to flow scheduling processing, obtains route corresponding to described IP address, comprising:
The routing rules corresponding according to domain name classification, carries out flow scheduling processing to described target routing lists;
Obtain route corresponding to described IP address.
4. routing scheduling method according to claim 1, is characterized in that, after route corresponding to the described IP of described acquisition address, described method also comprises:
Untapped route in default duration in statistics target routing lists;
From target routing lists, remove untapped route in described default duration.
5. routing scheduling method according to claim 1, is characterized in that, before the request of described acceptance domain name analysis, described method also comprises:
Obtain the domain name list that user arranges; Or
According to default data mining algorithm, generate domain name list; Or
Obtain the domain name list that external program generates.
6. a routing scheduling device, is characterized in that, comprising:
Determination module for the request of acceptance domain name analysis, obtains domain name from domain name analysis request;
The first acquisition module, when belonging to domain name list when domain name, obtains the IP address that domain name is corresponding;
Processing module, forms target routing lists for described IP address is joined to current routing table;
The second acquisition module, for described target routing lists is carried out to flow scheduling processing, obtains route corresponding to described IP address.
7. routing scheduling device according to claim 6, is characterized in that, described routing scheduling device also comprises:
The 3rd acquisition module, for when domain name does not belong to domain name list, obtains the IP address that domain name is corresponding;
The 4th acquisition module, for obtaining default route corresponding to described IP address.
8. routing scheduling device according to claim 6, is characterized in that, described the second acquisition module comprises:
Processing unit, the routing rules for corresponding according to domain name classification, carries out flow scheduling processing to described target routing lists;
Acquiring unit, for obtaining route corresponding to described IP address.
9. routing scheduling device according to claim 6, is characterized in that, described routing scheduling device also comprises:
Statistical module, after obtaining route corresponding to described IP address at described the second acquisition module, untapped route in default duration in statistics target routing lists;
Remove module, for remove untapped route in described default duration from target routing lists.
10. routing scheduling device according to claim 6, is characterized in that, described routing scheduling device also comprises:
The 5th acquisition module, for before the request of described determination module acceptance domain name analysis, obtains the domain name list that user arranges; Or
Generation module, for before the request of described determination module acceptance domain name analysis, generates domain name list according to default data mining algorithm; Or
The 6th acquisition module, for before the request of described determination module acceptance domain name analysis, obtains the domain name list that external program generates.
11. 1 kinds of network equipments, it is characterized in that, the network equipment includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
The request of acceptance domain name analysis is obtained domain name from domain name analysis request;
When domain name belongs to domain name list, obtain the IP address that domain name is corresponding;
Described IP address is joined in current routing table and forms target routing lists;
Described target routing lists is carried out to flow scheduling processing, obtain route corresponding to described IP address.
CN201310474001.5A 2013-10-11 2013-10-11 A kind of routing scheduling method, device and the network equipment Active CN103532852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310474001.5A CN103532852B (en) 2013-10-11 2013-10-11 A kind of routing scheduling method, device and the network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310474001.5A CN103532852B (en) 2013-10-11 2013-10-11 A kind of routing scheduling method, device and the network equipment

Publications (2)

Publication Number Publication Date
CN103532852A true CN103532852A (en) 2014-01-22
CN103532852B CN103532852B (en) 2017-12-19

Family

ID=49934542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310474001.5A Active CN103532852B (en) 2013-10-11 2013-10-11 A kind of routing scheduling method, device and the network equipment

Country Status (1)

Country Link
CN (1) CN103532852B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015117337A1 (en) * 2014-07-18 2015-08-13 中兴通讯股份有限公司 Method and apparatus for setting network rule entry
CN104967590A (en) * 2014-09-18 2015-10-07 腾讯科技(深圳)有限公司 Method, apparatus and system for transmitting communication message
CN106603742A (en) * 2016-12-14 2017-04-26 北京邮电大学 IP address and domain name corresponding relationship update method and device
CN112311836A (en) * 2019-07-31 2021-02-02 华为技术有限公司 Method and related device for scheduling service node

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801972A (en) * 2003-06-10 2006-07-12 中兴通讯股份有限公司 Base station controller and its communication method
CN1937593A (en) * 2006-10-13 2007-03-28 中国移动通信集团公司 Method for realizing VPN multicast
CN101047609A (en) * 2007-05-08 2007-10-03 中国移动通信集团福建有限公司 Working flow route control device
CN102014173A (en) * 2010-11-01 2011-04-13 蓝汛网络科技(北京)有限公司 Domain name redirecting control method, module and system
CN102143243A (en) * 2010-10-28 2011-08-03 华为终端有限公司 Dynamic routing processing method and dynamic routing processing device and home gateway thereof
CN103037025A (en) * 2012-11-21 2013-04-10 哈尔滨理工大学 Multilink self-adaption domain name server (DNS) parsing method and device
US8422415B1 (en) * 2007-04-05 2013-04-16 Sprint Communications Company L.P. Maintaining path optimization during foreign agent handoff

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801972A (en) * 2003-06-10 2006-07-12 中兴通讯股份有限公司 Base station controller and its communication method
CN1937593A (en) * 2006-10-13 2007-03-28 中国移动通信集团公司 Method for realizing VPN multicast
US8422415B1 (en) * 2007-04-05 2013-04-16 Sprint Communications Company L.P. Maintaining path optimization during foreign agent handoff
CN101047609A (en) * 2007-05-08 2007-10-03 中国移动通信集团福建有限公司 Working flow route control device
CN102143243A (en) * 2010-10-28 2011-08-03 华为终端有限公司 Dynamic routing processing method and dynamic routing processing device and home gateway thereof
CN102014173A (en) * 2010-11-01 2011-04-13 蓝汛网络科技(北京)有限公司 Domain name redirecting control method, module and system
CN103037025A (en) * 2012-11-21 2013-04-10 哈尔滨理工大学 Multilink self-adaption domain name server (DNS) parsing method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015117337A1 (en) * 2014-07-18 2015-08-13 中兴通讯股份有限公司 Method and apparatus for setting network rule entry
CN105323173A (en) * 2014-07-18 2016-02-10 中兴通讯股份有限公司 Network rule entry setting method and device
CN104967590A (en) * 2014-09-18 2015-10-07 腾讯科技(深圳)有限公司 Method, apparatus and system for transmitting communication message
CN104967590B (en) * 2014-09-18 2017-10-27 腾讯科技(深圳)有限公司 A kind of methods, devices and systems for transmitting communication information
CN106603742A (en) * 2016-12-14 2017-04-26 北京邮电大学 IP address and domain name corresponding relationship update method and device
CN106603742B (en) * 2016-12-14 2019-04-26 北京邮电大学 A kind of update method and device of IP address and domain name corresponding relationship
CN112311836A (en) * 2019-07-31 2021-02-02 华为技术有限公司 Method and related device for scheduling service node

Also Published As

Publication number Publication date
CN103532852B (en) 2017-12-19

Similar Documents

Publication Publication Date Title
Liu et al. Efficient naming, addressing and profile services in Internet-of-Things sensory environments
CN110677405B (en) Data processing method and device, electronic equipment and storage medium
US10958725B2 (en) Systems and methods for distributing partial data to subnetworks
JP2019514297A (en) Device configuration method and apparatus based on network configuration protocol
US20130290563A1 (en) Answer augmentation system for authoritative dns servers
CN105144652A (en) Address resolution in software-defined networks
CN102165741A (en) Method for intercepting and searching host in IPV6 network
CN107547665B (en) Method, equipment and system for allocating DHCP (dynamic host configuration protocol) address
CN105450585A (en) Information transmission method and device
CN103607290A (en) Method and device for setting network connection parameters
CN104202439A (en) Addressing and access method, gateway and system
CN106921578A (en) The generation method and device of a kind of forwarding-table item
CN110012118B (en) Method and controller for providing Network Address Translation (NAT) service
CN103532852A (en) Routing scheduling method, routing scheduling device and network equipment
CN103634214A (en) Route information generating method and device
CN102281189A (en) Service implementation method and device based on private attribute of third-party equipment
CN103701673A (en) LAN (Local Area Network) equipment query method, device and router
CN105472054B (en) A kind of file transmitting method and access device
CN105635337A (en) Method for binding iOS device, iOS device and auxiliary device
CN104426816A (en) Virtual machine communication method and device
CN105357332B (en) A kind of method for network address translation and device
CN103051544B (en) Realize method and the access device of IPv4 private network access IPv6 network
CN103916489A (en) Method and system for resolving single-domain-name multi-IP domain name
Gómez-Cárdenas et al. A resource identity management strategy for combined fog-to-cloud systems
CN108141704B (en) Location identification of previous network message processors

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant