Movatterモバイル変換


[0]ホーム

URL:


CN108377221A - Call the method and device of routing algorithm - Google Patents

Call the method and device of routing algorithm
Download PDF

Info

Publication number
CN108377221A
CN108377221ACN201810156995.9ACN201810156995ACN108377221ACN 108377221 ACN108377221 ACN 108377221ACN 201810156995 ACN201810156995 ACN 201810156995ACN 108377221 ACN108377221 ACN 108377221A
Authority
CN
China
Prior art keywords
routing
algorithm
information
routing algorithm
user terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810156995.9A
Other languages
Chinese (zh)
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.)
Beijing Violet Heng Yue Network Technology Co Ltd
Original Assignee
Beijing Violet Heng Yue Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Violet Heng Yue Network Technology Co LtdfiledCriticalBeijing Violet Heng Yue Network Technology Co Ltd
Publication of CN108377221ApublicationCriticalpatent/CN108377221A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The present invention provides a kind of method and devices for calling routing algorithm, are related to the technical field of software defined network, and the method for the calling routing algorithm includes receiving at least two routing algorithm information;The routing algorithm information is shown respectively and is sent to the user terminal;The confirmation message that user terminal is sent is received, confirms the routing algorithm information of selection;According to the routing algorithm information, call the routing algorithm with computational algorithm path;The routing update information of the routing is obtained according to the SDN controllers northbound interface;According to the routing update information, searches again and route and receive the routing algorithm information.This method solve routing algorithms used in existing SDN frameworks to be difficult to meet the individual demand of client, and then influences the technical issues of SDN frameworks decontrol control, realizes client and fully enjoys the technique effect controlled SDN frameworks.

Description

Call the method and device of routing algorithm
Technical field
The present invention relates to software defined network technical fields, more particularly, to a kind of method and dress for calling routing algorithmIt sets.
Background technology
Software defined network (Software Defined Network, SDN) is a kind of new network framework.It utilizesControl plane and data surface in OpenFlow technology separated network equipment, software defined network SDN can ensure data reliabilityWhile, control is decontroled completely, to improve the flexibility and intelligence of network.
As traditional network architecture, transmission packet and data flow are also required to route network in SDN frameworks.Therefore, roadLargely determine whether SDN frameworks disclosure satisfy that the design needs of user by the quality of algorithm (or Routing Algorithm).
But there is also a degree of deficiencies for existing SDN technologies.Routing algorithm is difficult to used in current existing SDN frameworksMeet the individual demand of client, and then results in that SDN frameworks are limited cannot fully to decontrol control.
Invention content
In view of this, the purpose of the present invention is to provide a kind of method and device for calling routing algorithm, it is existing to alleviateHave SDN frameworks present in technology due to the limitation of routing algorithm and caused by the limited technical problem of control.
In a first aspect, an embodiment of the present invention provides a kind of method for calling routing algorithm, it is applied to SDN controllers, packetIt includes:Receive at least two routing algorithm information;
The routing algorithm information is shown respectively and is sent to the user terminal;
The confirmation message that user terminal is sent is received, confirms the routing algorithm information of selection;
According to the routing algorithm information, call the routing algorithm with computational algorithm path;
The routing update information of the routing is obtained according to the SDN controllers northbound interface;
According to the routing update information, searches again and route and receive the routing algorithm information.
With reference to first aspect, an embodiment of the present invention provides the first possible embodiments of first aspect, wherein instituteIt states and shows the routing algorithm information respectively and be sent to the user terminal, specifically include:
The algorithm list of at least two routing algorithms described in establishing;
The algorithm list is sent to user terminal.
With reference to first aspect, an embodiment of the present invention provides second of possible embodiments of first aspect, wherein instituteStating algorithm list includes:Algorithm title, the addresses URL and path estimated length.
With reference to first aspect, an embodiment of the present invention provides the third possible embodiments of first aspect, wherein instituteAfter stating the algorithm list step of at least two routing algorithms described in establishing, further include:
Verify whether the algorithm list includes the addresses URL, if not including the addresses URL, re-establishes the calculationMethod list.
With reference to first aspect, an embodiment of the present invention provides the 4th kind of possible embodiments of first aspect, wherein connectsThe confirmation message that user terminal is sent is received, the routing algorithm information of selection is confirmed, specifically includes:
Receive the confirmation message that user sends;
According to the confirmation message, the addresses URL of the routing algorithm information of selection are confirmed.
With reference to first aspect, an embodiment of the present invention provides the 5th kind of possible embodiments of first aspect, wherein instituteIt states according to the routing algorithm information, calls the routing algorithm with computational algorithm path, specifically include:
According to the addresses URL of the routing algorithm information, the routing algorithm is downloaded;
According to routing algorithm computational algorithm path.
With reference to first aspect, an embodiment of the present invention provides the 6th kind of possible embodiments of first aspect, wherein instituteIt states according to after routing algorithm computational algorithm path, further includes:
Delete routing algorithm file.
With reference to first aspect, an embodiment of the present invention provides the 7th kind of possible embodiments of first aspect, wherein instituteThe addresses URL according to the routing algorithm information are stated, after downloading the routing algorithm to the SDN controllers, further include:
If the download routing algorithm re-downloads the routing algorithm to the SDN failed controllers.
Second aspect, the embodiment of the present invention also provide one kind and having invoked routing algorithm device, including:Receiving module is used forReceive at least two routing algorithm information;
Sending module is shown, for showing the routing algorithm information respectively and being sent to the user terminal;
Validation of information module, the confirmation message for receiving user terminal transmission confirm the routing algorithm letter of selectionBreath;
Information calling module, for according to the routing algorithm information, calling the routing algorithm with computational algorithm path;
Routing update module, the routing update information for obtaining the routing according to the SDN controllers northbound interface;
Information receiving module, for according to the routing update information, searching again and routeing and receive the routing algorithmInformation.
In conjunction with second aspect, an embodiment of the present invention provides the first possible embodiments of second aspect, wherein instituteIt further includes that SDN opens algoritic module to state device to include, and for the addresses URL according to the routing algorithm information, inquires the roadBy algorithm information.
The embodiment of the present invention brings following advantageous effect:It is provided in an embodiment of the present invention call routing algorithm method andIn device, wherein this method is applied to SDN controllers, including:Receive at least two routing algorithm information;The road is shown respectivelyBy algorithm information and it is sent to the user terminal;The confirmation message that user terminal is sent is received, confirms the routing algorithm of selectionInformation;According to the routing algorithm information, call the routing algorithm with computational algorithm path.By display algorithm information and carryShow that user selects, the needs of user individual cannot be met by avoiding algorithm, and then the control for limiting SDN frameworks is askedTopic.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specificationIt obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages are in specification, claimsAnd specifically noted structure is realized and is obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinateAppended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior artEmbodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described belowAttached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative laborIt puts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of method flow diagram for calling routing algorithm that the embodiment of the present invention one provides;
Fig. 2 is a kind of method flow diagram calling routing algorithm provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of apparatus structure schematic diagram for calling routing algorithm that the embodiment of the present invention three provides;
Fig. 4 is another apparatus structure schematic diagram for calling routing algorithm that the embodiment of the present invention three provides.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present inventionTechnical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather thanWhole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premiseLower obtained every other embodiment, shall fall within the protection scope of the present invention.
Routing algorithm is difficult to meet users ' individualized requirement used in current existing SDN frameworks, results in SDN frameworks notIt can fully delegate power.Based on this, a kind of method, apparatus and system for calling routing algorithm provided in an embodiment of the present invention can be withBy the anticipation to routing algorithm, demand of the user to routing algorithm personalization ensure that.
For ease of understanding the present embodiment, first to a kind of calling routing algorithm disclosed in the embodiment of the present inventionMethod describes in detail.
Embodiment one:
Fig. 1 shows a kind of method flow diagram calling routing algorithm provided in an embodiment of the present invention, is applied to SDN and controlsDevice, this method include:
Step S101:Receive at least two routing algorithm information;
Wherein, above-mentioned two routing algorithms of reception are generally stored in SDN and open in algorithm function module.
Step S102:Above-mentioned routing algorithm information is shown respectively and is sent to the user terminal;
Specifically, SDN opens the algorithm list that algorithm function module establishes above-mentioned routing algorithm.Wherein algorithm list includesTitle, the addresses URL and the path estimated length of algorithm.The addresses URL are uniform resource locator.By the addresses URL, user is wholeEnd can obtain routing algorithm information.
It should be noted that user terminal can be the handheld device of user institute user, can also be that SDN controllers are externalDisplay device, user, which passes through, confirms the corresponding addresses URL of algorithm information, obtains routing algorithm information.
Step S103:The confirmation message that user terminal is sent is received, confirms the above-mentioned routing algorithm information of selection;
After user obtains above-mentioned algorithm information, above-mentioned algorithm information will be confirmed, and send confirmation message to SDNController.
SDN controllers confirm the addresses URL of the algorithm information according to confirmation message.
Step S104:According to above-mentioned routing algorithm information, call above-mentioned routing algorithm with computational algorithm path.
When SDN confirms the addresses URL of above-mentioned algorithm information, above-mentioned routing algorithm will be downloaded according to the addresses URL and will be controlled to SDNDevice will calculate and later using the path of above-mentioned routing algorithm.
Step S105:The routing update information of the routing is obtained according to the SDN controllers northbound interface.Routing makesIt may be changed with routing information in the process, and be also possible to have new routing addition, therefore SDN controllers are logicalSetting interval time is spent to carry out the update of the routing information in path.
Later, SDN controllers pass through step S106:According to the routing update information, searches again and route and receive instituteState routing algorithm information.In turn, SDN controllers realize the update of routing algorithm.
The method provided in an embodiment of the present invention for calling routing algorithm, receives at least two routing algorithm information first;SoIt shows above-mentioned routing algorithm information respectively afterwards and is sent to the user terminal;Then the confirmation message that user terminal is sent is received, reallyRecognize the above-mentioned routing algorithm information of selection;Finally according to above-mentioned routing algorithm information, call above-mentioned routing algorithm with computational algorithmPath.By display algorithm information and user is prompted to select, the needs of user individual cannot be met by avoiding algorithm, intoAnd the problem of limiting the control of SDN frameworks.
Embodiment two:
As shown in Fig. 2, an embodiment of the present invention provides the methods that another kind has invoked routing algorithm, including:
Step S201:Receive at least two routing algorithm information;
Wherein, above-mentioned two routing algorithms of reception are generally stored in SDN and open in algorithm function module.
Step S202:Establish the algorithm list of above-mentioned at least two routing algorithms;
Wherein, above-mentioned list algorithm includes:Algorithm title, the addresses URL and path estimated length.The addresses URL are unifiedResource Locator.By the addresses URL, user terminal can obtain routing algorithm information.
Path estimated length will be important appraisal standards that user considers to select above-mentioned algorithm.
It is noted herein that after establishing the algorithm list of routing algorithm, it is also necessary to verify above-mentioned algorithm listWhether include the addresses URL, if not including the above-mentioned addresses URL, re-establishes above-mentioned algorithm list.
Step S203:Above-mentioned algorithm list is sent to user terminal;
It should be noted that user terminal can be the handheld device of user institute user, can also be that SDN controllers are externalDisplay device, user, which passes through, confirms the corresponding addresses URL of algorithm information, obtains routing algorithm information.
Step S204:Receive the confirmation message that user terminal is sent;
After user obtains above-mentioned algorithm information, above-mentioned algorithm information will be confirmed, and send confirmation message to SDNController.
SDN controllers confirm the addresses URL of the algorithm information according to confirmation message.
Step S205:According to above-mentioned confirmation message, the addresses URL of the above-mentioned routing algorithm information of selection are confirmed.
Step S206:According to above-mentioned routing algorithm information, call above-mentioned routing algorithm with computational algorithm path
Specifically, after SDN controllers confirm the addresses URL for the above-mentioned algorithm information selected, above-mentioned routing algorithm is downloaded.
It is finished when calculating above-mentioned routing algorithm, routing algorithm file will be deleted.
Supplement is needed exist for, if above-mentioned download routing algorithm re-downloads above-mentioned road to above-mentioned SDN failed controllersBy algorithm.
Embodiment three
With reference to Fig. 3, an embodiment of the present invention provides a kind of apparatus structure schematic diagrams for calling routing algorithm.The device packetIt includes:
Receiving module 301, for receiving at least two routing algorithm information;
Sending module 302 is shown, for showing above-mentioned routing algorithm information respectively and being sent to the user terminal;
Validation of information module 303, the confirmation message for receiving user terminal transmission, confirms the above-mentioned routing algorithm of selectionInformation;
Information calling module 304, for according to above-mentioned routing algorithm information, calling above-mentioned routing algorithm with computational algorithm roadDiameter.
Routing update module 305, the routing update for obtaining the routing according to the SDN controllers northbound interface are believedBreath;
Information receiving module 306 route and receives the routing calculation for according to the routing update information, searching againMethod information.
Further, Fig. 4 shows another apparatus structure signal for calling routing algorithm provided in an embodiment of the present inventionFigure.Wherein, as shown in figure 4, the device of above-mentioned calling routing algorithm, which further includes SDN, opens algoritic module 307, for according to above-mentionedAbove-mentioned routing algorithm information is inquired in the addresses URL of routing algorithm information.
The calling routing algorithm provided in an embodiment of the present invention for calling the device of routing algorithm to be provided with above-described embodimentMethod technical characteristic having the same reaches identical technique effect so can also solve identical technical problem.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phaseEven ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It canCan also be electrical connection to be mechanical connection;It can be directly connected, can also indirectly connected through an intermediary, Ke YishiConnection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete conditionConcrete meaning in invention.
In the description of the present invention, it should be noted that term "center", "upper", "lower", "left", "right", "vertical",The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely toConvenient for the description present invention and simplify description, do not indicate or imply the indicated device or element must have a particular orientation,With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second "," third " is used for description purposes only, and is not understood to indicate or imply relative importance.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be withIt realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit,Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, in another example, multiple units or component canTo combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg forThe mutual coupling, direct-coupling or communication connection of opinion can be by some communication interfaces, device or unit it is indirectCoupling or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, you can be located at a place, or may be distributed over multipleIn network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can alsoIt is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent productIt is stored in the executable non-volatile computer read/write memory medium of a processor.Based on this understanding, of the inventionTechnical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other wordsThe form of product embodies, which is stored in a storage medium, including some instructions use so thatOne computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present inventionState all or part of step of method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random AccessMemory), magnetic disc or CD etc. are various to depositStore up the medium of program code.
Finally it should be noted that:Embodiment described above, only specific implementation mode of the invention, to illustrate the present inventionTechnical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hairIt is bright to be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the artIn the technical scope disclosed by the present invention, it can still modify to the technical solution recorded in previous embodiment or can be lightIt is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not makeThe essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover the protection in the present inventionWithin the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

CN201810156995.9A2017-11-022018-02-24Call the method and device of routing algorithmPendingCN108377221A (en)

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
CN20171106280632017-11-02
CN2017110628062017-11-02

Publications (1)

Publication NumberPublication Date
CN108377221Atrue CN108377221A (en)2018-08-07

Family

ID=63017947

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810156995.9APendingCN108377221A (en)2017-11-022018-02-24Call the method and device of routing algorithm

Country Status (1)

CountryLink
CN (1)CN108377221A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20120163797A1 (en)*2009-09-032012-06-28Zte CorporationApparatus and method for rerouting multiple traffics
CN104253749A (en)*2014-09-182014-12-31华南理工大学Client distributed path computation method based on software defined network architecture
CN105656778A (en)*2014-11-112016-06-08中兴通讯股份有限公司Method for calling routing algorithm, SDN (Software Defined Networking) controller and SDN-OAF (Software Defined Network-Open Algorithm Function)
CN106685816A (en)*2015-11-102017-05-17中国电信股份有限公司Routing calculation method based on SDN, SDN controller, and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20120163797A1 (en)*2009-09-032012-06-28Zte CorporationApparatus and method for rerouting multiple traffics
CN104253749A (en)*2014-09-182014-12-31华南理工大学Client distributed path computation method based on software defined network architecture
CN105656778A (en)*2014-11-112016-06-08中兴通讯股份有限公司Method for calling routing algorithm, SDN (Software Defined Networking) controller and SDN-OAF (Software Defined Network-Open Algorithm Function)
CN106685816A (en)*2015-11-102017-05-17中国电信股份有限公司Routing calculation method based on SDN, SDN controller, and system

Similar Documents

PublicationPublication DateTitle
CN110995554A (en) Method, device and storage medium for configuring network access of smart home appliances
CN102685210B (en)Wireless routing equipment, mobile terminal, management system and method
CN105050202B (en)The session establishing method of mobile terminal actively accessed using Relay Server
CN105282003B (en)Establish the method and system and tunnel control device and virtual switch in tunnel
CN116668511B (en)Data processing method, network element equipment and readable storage medium
CN109152094A (en)Wireless network connecting method for terminal
CN103281797A (en)Mobile terminal and method of transmitting business data by same
CN101951665A (en)Routing method of double-card mobile terminal and double-card mobile terminal
CN110167092A (en)A kind of method and device of business migration
CN108141409A (en)Communication system, address notice device, communication control unit, terminal, communication means and program
CN113872835A (en) Method and device for equipment distribution network, server, smart home appliance equipment, terminal equipment
CN110933170A (en)Multi-device linkage control method and device of ZigBee gateway and storage medium
CN103220283A (en)Method, equipment and system for network sharing
CN104582011B (en)A kind of method and apparatus for mobile terminal to be connected to network
CN108833567B (en) Method, system and scheduling server for selecting optimal data transfer server
CN103796191A (en)Method, device and terminal for sending data to user terminal
CN104349202B (en)Video acquiring method and device
CN114448620A (en) Service path selection method and related equipment for multi-protocol quantum key distribution network
CN109587053A (en)Network shunt method and relevant device
CN105451215A (en)Communication method and electronic device
CN108377221A (en)Call the method and device of routing algorithm
CN108540519B (en)Balanced download control method and device
CN110161870A (en)A kind of internet of things equipment control method and system
CN105847286A (en) Method and device for acquiring multimedia files
CN105743929B (en)Terminal interaction method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20180807


[8]ページ先頭

©2009-2025 Movatter.jp