CN106982238A - A kind of method, policy control center and main frame for distributing network path resource - Google Patents
A kind of method, policy control center and main frame for distributing network path resource Download PDFInfo
- Publication number
- CN106982238A CN106982238A CN201610031378.7A CN201610031378A CN106982238A CN 106982238 A CN106982238 A CN 106982238A CN 201610031378 A CN201610031378 A CN 201610031378A CN 106982238 A CN106982238 A CN 106982238A
- Authority
- CN
- China
- Prior art keywords
- path
- information
- policy control
- control center
- physical path
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
Abstract
The embodiment of the invention discloses a kind of method, policy control center and main frame for distributing network path resource, the distribution according to need for realizing route resource.Present invention method includes:The policy control center RX path resource allocation request, the path resources distribution request includes bandwidth demand;The policy control center is according to the routing information of every physical path, it is determined that there is the available physical path of remaining bandwidth;The policy control center according to the bandwidth demand and it is described use physical path, it is determined that for the path resources distribution request correspondence business virtual route information set;The policy control center sends the set of the virtual route information to the main frame, the set of the virtual route information is used for the main frame and determines corresponding virtual route according to the information of at least two virtual routes, and the data of the business are transmitted in the physical path where the corresponding virtual route.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of method for distributing network path resource, policy control center with
And main frame.
Background technology
In IT field, storage area network (Storage Area Network, abbreviation SAN) is using optical-fibre channel (Fibre
Channel, abbreviation FC) technology, storage array and main frame are connected by fibre channel media, foundation is exclusively used in data storage
Local Area Network.Typical networking is that multiple host is connected by interchanger with same storage array.Main frame is reliable in order to be lifted
Property, clustered node number is stepped up;Main frame also becomes increasingly to the link (commonly referred to as path) between storage array simultaneously
It is many.With the increase of clustered node and path number, interacted between each host link, space Zone modes are drawn based on static state
Path management scheme can't realizing route resource distribution according to need and adjust, it is difficult to meet service quality (Quality of
Service, QoS) requirement.
In SAN network communication system, main frame is connected with storage array by interchanger.In initial configuration, pass through people
Work draws Zone modes and carries out path resources static allocation, and path resources are fixed, and the path resources used on same main frame are phases
With.When business change needs resource to adjust or path failure causes original path resources (such as bandwidth, number of path) not enough, nothing
Method is adjusted on demand to path resources.In the case of interchanger or matrix ports Limited Number, multiplexed port can only be passed through
To reach path redundancy, reliability is lifted.
Multiple host accesses same storage resource simultaneously, shares interchanger and matrix ports, and the application of different main frames is each
Differ, also different to reliability and quality of service requirement, then required path resources (such as bandwidth, time delay) are also different, therefore,
If Mobile state adjustment can be gone forward side by side according to different application distribution according to need path resources, reliability requirement can be met, QoS again can
It is guaranteed.
The content of the invention
It is real the embodiments of the invention provide a kind of method, policy control center and main frame for distributing network path resource
The distribution according to need of existing path resources.
First aspect of the embodiment of the present invention provides a kind of method for distributing network path resource, and methods described is applied to storage
Local Area Network SAN system, the SAN system includes policy control center, main frame, interchanger and storage device, wherein, it is described to hand over
The each uplink port and each downlink port changed planes distinguish intercommunication, and the main frame is exchanged with the storage device by described
Machine is communicated to connect, and the main frame accesses the storage resource of the storage device by physical path, the physical path include from
Stored in host port, interchanger uplink port, the path of interchanger downlink port to storage device, the policy control center
The routing information of every physical path, methods described includes:
The policy control center RX path resource allocation request, the path resources distribution request is needed including bandwidth
Ask;The policy control center is according to the routing information of every physical path, it is determined that there is the available entity of remaining bandwidth
Path;The policy control center according to the bandwidth demand and it is described use physical path, it is determined that for the path resources
The set of the virtual route information of distribution request correspondence business, the set of the virtual route information includes using entity from described
The information of at least two virtual routes configured in path;The policy control center sends the virtual road to the main frame
The set of footpath information, the set of the virtual route information is used for information of the main frame according at least two virtual routes
Corresponding virtual route is determined, the data of the business are transmitted in the physical path where the corresponding virtual route.
In embodiments of the present invention, policy control center configures the information of virtual route according to path resources distribution request,
The set of virtual route information is sent to main frame, main frame determines virtual route according to the information of virtual route, in virtual route institute
Physical path on transmission services data, realize the distribution according to need of path resources.
With reference to the embodiment of the present invention in a first aspect, in the first possible realization of the first aspect of the embodiment of the present invention
In mode, the policy control center is sent to the main frame after the set of the virtual route information, and methods described is also wrapped
Include:The routing information of physical path described in the policy control center renewal belonging at least two virtual routes.
In embodiments of the present invention, after policy control center sends the set of virtual route information to main frame, institute is updated
State the routing information of the physical path belonging at least two virtual routes, the convenient request of path resources next time configuration path money
Source.
With reference to the embodiment of the present invention in a first aspect, in second of possible realization of the first aspect of the embodiment of the present invention
In mode, after the routing information of the physical path described in the policy control center renewal belonging at least two virtual routes,
Methods described also includes:
The physical path information that the state that the policy control center reception main frame is reported changes, the state
The physical path information changed by the Host Detection to;The policy control center changes according to the state
The routing information of physical path belonging to the physical path information of change, at least two virtual routes, update after entity road
The routing information in footpath, it is determined that the routing information in the target entity path for taking over the physical path that the state changes,
And the information in destination virtual path is configured from the target entity path;The policy control center is sent to the main frame
The information in the destination virtual path, the information in the destination virtual path determines the destination virtual road for the main frame
Footpath, transmits the data of the business on the target entity path where the destination virtual path;The policy control center
Update the routing information in the target entity path.
In embodiments of the present invention, can be into policy control when the state of Host Detection to physical path changes
The physical path information that heart uploaded state changes, policy control center is reconfigured at path resources.
With reference to the embodiment of the present invention in a first aspect, in the third possible realization of the first aspect of the embodiment of the present invention
In mode, the path resources distribution request also includes the first request type and request path number, and first request type is used
The preferential condition of reliability need to be met in the virtual route for being designated as the business configuration;
The policy control center is according to the routing information of every physical path, it is determined that there is the available of remaining bandwidth
Physical path, including:The policy control center is according to first request type, the bandwidth demand and the request path
Number determines the average bandwidth needed for every virtual route to be configured;The policy control center is according to every physical path
Routing information, determines that remaining bandwidth is not less than the available physical path of the average bandwidth;
The policy control center according to the bandwidth demand and it is described use physical path, it is determined that for the path money
The set of the virtual route information of source distribution request correspondence business, the set of the virtual route information is included from described with real
The information of at least two virtual routes configured in body path, including:The policy control center according to the bandwidth demand,
The request path number and it is described use physical path, it is determined that for the path resources distribution request correspondence business virtual road
The set of footpath information, the set of the virtual route information include from it is described can be with being configured in physical path no less than described
The information of the virtual route of request path number.
In embodiments of the present invention, because each uplink port and each downlink port on interchanger are intercommunications,
If so there is the physical path that there is remaining bandwidth, policy control center can be handled according to path resources distribution request, then be passed
Defeated other business, realize the efficient utilization of resource, and the first request type that path resources request includes is used to be designated as industry
The virtual route of business configuration need to meet the preferential condition of reliability, i.e., request path number is paid the utmost attention to, SCC is according to path resources
The bandwidth demand and request path number included is asked, the average bandwidth of every virtual route to be configured is first determined, further according to every
The routing information of bar physical path, determines that remaining bandwidth is more than or equal to the available physical path of average bandwidth, from available entity road
The set for the virtual route information for meeting request path number is configured in footpath, the set of the virtual route information is sent out to main frame
Send, main frame determines the virtual route of correspondence business according to the set of virtual route information, the data for transmitting the business are met
Reliability preferential condition, realizes the distribution according to need of path resources.
With reference to the embodiment of the present invention in a first aspect, in the 4th kind of possible realization of the first aspect of the embodiment of the present invention
In mode, the path resources distribution request also includes the second request type, and second request type is described for being designated as
The virtual route of business configuration need to meet the condition of quality of service precedence;
The policy control center is according to the routing information of every physical path, it is determined that there is the available of remaining bandwidth
Physical path, including:Believed according to the path of second request type and every physical path at the policy control center
Breath, policy control center determines that remaining bandwidth is more than the available physical path of the first preset threshold value;
The policy control center according to the bandwidth demand and it is described use physical path, it is determined that for it is described request pair
The set of the virtual route information of business is answered, the set of the virtual route information includes being configured with physical path from described
The information of at least two virtual routes gone out, including:The policy control center from it is described can be with determining to be used in physical path
The set of the virtual route information of the request correspondence business, the set of the virtual route information is included from available physical path
In the information of virtual route that configures, and bandwidth summation in the set of the virtual route information meets the bandwidth need
Ask.
In embodiments of the present invention, because each uplink port and each downlink port on interchanger are intercommunications,
If so there is the physical path that there is remaining bandwidth, policy control center can be handled according to path resources distribution request, then be passed
Defeated other business, realize the efficient utilization of resource, and the second request type that path resources request includes is used to be designated as industry
The virtual route of business configuration need to meet the condition of quality of service precedence, i.e., bandwidth demand is paid the utmost attention to, and SCC is first provided according to path
Bandwidth demand and the routing information of every physical path that source request includes, it is determined that more than or equal to the available reality of the bandwidth demand
Body path, then the set of the virtual route information for asking correspondence business is determined from available physical path, meet service
The preferential condition of quality, realizes the distribution according to need of resource.
With reference to the embodiment of the present invention in a first aspect, in the 5th kind of possible realization of the first aspect of the embodiment of the present invention
In mode, the policy control center according to the bandwidth demand, the request path number and it is described use physical path, it is determined that
For the set of the virtual route information of path resources distribution request correspondence business, including:The policy control Central Radical
According to the bandwidth demand, the request path number and it is described use physical path, from the domain of influence factor be less than the second preset threshold value
Available physical path in determine for it is described request correspondence business virtual route information set.
In embodiments of the present invention, when policy control center configuration virtual route, the selection domain of influence factor is less
Physical path is configured, and main frame is when transmission services by influenceed will be smaller.
With reference to the embodiment of the present invention in a first aspect, in the 6th kind of possible realization of the first aspect of the embodiment of the present invention
In mode, the policy control center can use the virtual route determined in physical path for the request correspondence business from described
The set of information, including:The policy control center is from the domain of influence factor is less than the available physical path of the 3rd preset threshold value
It is determined that the set of the virtual route information for the request correspondence business.
In embodiments of the present invention, when policy control center configuration virtual route, the selection domain of influence factor is less
Physical path is configured, and main frame is when transmission services by influenceed will be smaller.
Optionally, with reference to the embodiment of the present invention in a first aspect, the 7th kind in the first aspect of the embodiment of the present invention can
In the implementation of energy, the path resources distribution request also includes the first request type and request path number, and described first please
The virtual route that seeking type is used to be designated as the business configuration need to meet the preferential condition of reliability;
The policy control center is according to the routing information of every physical path, it is determined that there is the available of remaining bandwidth
Physical path, the policy control center according to the bandwidth demand and it is described use physical path, it is determined that for the path
The set of the virtual route information of resource allocation request correspondence business, the set of the virtual route information includes using from described
The information of at least two virtual routes configured in physical path, including:
The policy control center is determined according to first request type, the bandwidth demand and the request path number
The first average bandwidth needed for the first virtual route to be configured;
The policy control center determines remaining bandwidth not less than described according to the routing information of every physical path
The available physical path of the first of first average bandwidth;
When the number of path of the described first available physical path is less than the request path number, the policy control center from
The information of first virtual route is configured in described first available physical path, the described first available physical path is residue
Bandwidth is not less than the physical path of first average bandwidth;
The policy control center updates the bandwidth demand and the request path number, the bandwidth demand updated and
The request path number of renewal, the bandwidth demand of the renewal is equal in the information of the bandwidth demand and first virtual route
Bandwidth summation difference, the request path number of the renewal is not less than the request path number and the first virtual route number
Difference;
The policy control center determines to wait to match somebody with somebody according to the bandwidth demand of the renewal and the request path number of the renewal
The second average bandwidth needed for the second virtual route put;
The policy control center configures the information of second virtual route from the described second available physical path,
Described second available physical path is the physical path that remaining bandwidth is not less than second average bandwidth;
The policy control center according to the bandwidth demand, the request path number and it is described use physical path, really
Surely it is used for the set of the virtual route information of path resources distribution request correspondence business, the set of the virtual route information
The information of information and second virtual route including first virtual route.
Optionally, with reference to the embodiment of the present invention in a first aspect, the 8th kind in the first aspect of the embodiment of the present invention can
In the implementation of energy, the path resources distribution request also includes the second request type, and second request type is used to refer to
The condition of quality of service precedence need to be met by being shown as the virtual route of the business configuration;
The policy control center is according to the routing information of every physical path, it is determined that there is the available of remaining bandwidth
Physical path, including:
The policy control center according to second request type and the routing information of every physical path, it is determined that
Remaining bandwidth is more than or equal to the available physical path of the bandwidth demand;
The policy control center according to the bandwidth demand and it is described use physical path, it is determined that for it is described request pair
The set of the virtual route information of business is answered, the set of the virtual route information includes being configured with physical path from described
The information of at least two virtual routes gone out, including:
The policy control center can use the virtual road determined in physical path for the request correspondence business from described
The set of footpath information, the set of the virtual route information includes that void can be used with one configured in physical path from described
Intend the information in path and the information of a standby virtual route.
Optionally, with reference to the embodiment of the present invention in a first aspect, the 9th kind in the first aspect of the embodiment of the present invention can
In the implementation of energy,
The policy control center can use the virtual road determined in physical path for the request correspondence business from described
The set of footpath information, including:
The policy control center determines to be used in the available physical path from the domain of influence factor less than the 4th preset threshold value
The set of the virtual route information of the request correspondence business.
Optionally, with reference to the embodiment of the present invention in a first aspect, the tenth kind in the first aspect of the embodiment of the present invention can
In the implementation of energy,
The policy control center can use the virtual road determined in physical path for the request correspondence business from described
The set of footpath information, including:
The policy control center can be with determining to be used for the request from the domain of influence factor minimum two in physical path
The set of the virtual route information of correspondence business.
Second aspect of the embodiment of the present invention provides a kind of method for distributing network path resource, and methods described is applied to storage
Local Area Network SAN system, the SAN system includes policy control center, main frame, interchanger and storage device, wherein, it is described to hand over
The each uplink port and each downlink port changed planes distinguish intercommunication, and the main frame is exchanged with the storage device by described
Machine is communicated to connect, and the main frame accesses the storage resource of the storage device by physical path, the physical path include from
Stored in host port, interchanger uplink port, the path of interchanger downlink port to storage device, the policy control center
The routing information of every physical path, methods described includes:The main frame receives the void that the policy control center is sent
Intend the set of routing information, the set of the virtual route information uses physical path including the policy control center from described
In the information of at least two virtual routes that configures;The information determination pair of the main frame at least two virtual routes according to
The virtual route answered, transmits the data of the business in the physical path where the corresponding virtual route.
In embodiments of the present invention, the information for the virtual route that main frame is sent according to policy control center determines virtual road
Footpath, the data of transmission services in the physical path where virtual route, realizes the distribution according to need of path resources.
With reference to the second aspect of the embodiment of the present invention, in the first possible realization of the second aspect of the embodiment of the present invention
In mode, when the Host Detection changes to the state for having physical path, the main frame obtains the state and changed
The physical path information of change;The physical path that the main frame reports the state to change to the policy control center is believed
Breath.
In embodiments of the present invention, Host Detection to the state for having physical path change when, can be to policy control
The physical path information that center uploaded state changes, policy control center is reconfigured at path resources.
With reference to the second aspect of the embodiment of the present invention, in second of possible realization of the second aspect of the embodiment of the present invention
In mode, the main frame receives the information in the destination virtual path that the policy control center is sent;The main frame is according to described
The information in destination virtual path determines corresponding virtual route, is uploaded in the target entity path where the destination virtual path
The data of the defeated business.
In embodiments of the present invention, Host Detection to the state for having physical path change when, can be to policy control
The physical path information that center uploaded state changes, policy control center is reconfigured at path resources, it is ensured that the data of business
Transmission.
The third aspect of the embodiment of the present invention provides a kind of policy control center, and the policy control center applications are in memory block
Domain network SAN system, the SAN system includes policy control center, main frame, interchanger and storage device, wherein, it is described to exchange
The each uplink port and each downlink port of machine distinguish intercommunication, and the main frame passes through the interchanger with the storage device
Communication connection, the main frame accesses the storage resource of the storage device by physical path, and the physical path is included from master
Stored in generator terminal mouth, interchanger uplink port, the path of interchanger downlink port to storage device, the policy control center every
The routing information of bar physical path, including:
First receiving module, for RX path resource allocation request, the path resources distribution request is needed including bandwidth
Ask;
First determining module, for the routing information according to every physical path, it is determined that there is remaining bandwidth can
Use physical path;
Second determining module, for the available entity road according to the bandwidth demand and first determining module determination
Footpath, it is determined that the set of the virtual route information for path resources distribution request correspondence business, the virtual route information
Set include that from described the information of at least two virtual routes configured in physical path can be used;
Sending module, the set for sending the virtual route information that second determining module is determined to the main frame,
The set of the virtual route information is used for the main frame and determines corresponding void according to the information of at least two virtual routes
Intend path, the data of the business are transmitted in the physical path where the corresponding virtual route.
With reference to the third aspect of the embodiment of the present invention, in the first possible realization of the third aspect of the embodiment of the present invention
In mode, the policy control center also includes:
Update module, the routing information for updating the physical path belonging at least two virtual routes.
With reference to the third aspect of the embodiment of the present invention, in second of possible realization of the third aspect of the embodiment of the present invention
In mode,
First receiving module, is additionally operable to receive the physical path information that the state that the main frame reports changes,
The physical path information that the state changes by the Host Detection to;
Second determining module, is additionally operable to the entity road changed according to the state that first receiving module is received
The routing information of physical path belonging to footpath information, at least two virtual routes, update after physical path path letter
Breath, it is determined that the routing information in the target entity path for taking over the physical path that the state changes, and from the mesh
The information in destination virtual path is configured in mark physical path;
The sending module, is additionally operable to send the information in the destination virtual path, the destination virtual to the main frame
The information in path determines the destination virtual path for the main frame, the target entity road where the destination virtual path
The data of the business are transmitted on footpath;
The update module, is additionally operable to update the routing information in the target entity path that the sending module is sent.
With reference to the third aspect of the embodiment of the present invention, in the third possible realization of the third aspect of the embodiment of the present invention
In mode, the path resources distribution request also includes the first request type and request path number, and first request type is used
The preferential condition of reliability need to be met in the virtual route for being designated as the business configuration;
First determining module, including:
First determining unit, for true according to first request type, the bandwidth demand and the request path number
Average bandwidth needed for fixed every virtual route to be configured;
Second determining unit, for the routing information according to every physical path, determines that remaining bandwidth is not less than institute
State the available physical path of the average bandwidth of the first determining unit determination;
Second determining module, specifically for according to the bandwidth demand, the request path number and described second true
The available physical path that order member is determined, it is determined that the virtual route information of business is corresponded to for the path resources distribution request
Set, the set of the virtual route information includes that the request path can be no less than with what is configured in physical path from described
The information of several virtual routes.
With reference to the third aspect of the embodiment of the present invention, in the 4th kind of possible realization of the third aspect of the embodiment of the present invention
In mode, it is characterised in that the path resources distribution request also includes the second request type, second request type is used for
The condition of quality of service precedence need to be met by being designated as the virtual route of the business configuration;
First determining module, specifically for the path according to second request type and every physical path
Information, determines that remaining bandwidth is more than the available physical path of the first preset threshold value;
Second determining module, specifically for from it is described can with determined in physical path be used for it is described request correspondence business
Virtual route information set, the set of the virtual route information includes the virtual road that is configured from available physical path
Bandwidth summation in the information in footpath, and the set of the virtual route information meets the bandwidth demand.
With reference to the third aspect of the embodiment of the present invention, in the 5th kind of possible realization of the third aspect of the embodiment of the present invention
In mode,
Second determining module includes, the available entity road specifically for being less than the 3rd preset threshold value from the domain of influence factor
The set of the virtual route information for the request correspondence business is determined in footpath.
With reference to the third aspect of the embodiment of the present invention, in the 6th kind of possible realization of the third aspect of the embodiment of the present invention
In mode,
Second determining module includes, the available entity road specifically for being less than the 3rd preset threshold value from the domain of influence factor
The set of the virtual route information for the request correspondence business is determined in footpath.
Optionally, with reference to the third aspect of the embodiment of the present invention, the 7th kind in the third aspect of the embodiment of the present invention can
In the implementation of energy,
First determining module, specifically for the policy control center according to first request type, the band
Wide demand and the request path number determine the first average bandwidth needed for the first virtual route to be configured;The policy control
Center determines that remaining bandwidth can not less than the first of first average bandwidth according to the routing information of every physical path
Use physical path;
The policy control center determines to wait to match somebody with somebody according to the bandwidth demand of the renewal and the request path number of the renewal
The second average bandwidth needed for the second virtual route put;Match somebody with somebody from the described second available physical path at the policy control center
The information of second virtual route is put out, the described second available physical path is that remaining bandwidth is not less than second average band
Wide physical path;
Second determining module, specifically for being less than the request road when the number of path of the described first available physical path
During the number of footpath, the policy control center configures the information of first virtual route from the described first available physical path,
Described first available physical path is the physical path that remaining bandwidth is not less than first average bandwidth;
The policy control center according to the bandwidth demand, the request path number and it is described use physical path, really
Surely it is used for the set of the virtual route information of path resources distribution request correspondence business, the set of the virtual route information
The information of information and second virtual route including first virtual route.
Optionally, with reference to the third aspect of the embodiment of the present invention, the 8th kind in the third aspect of the embodiment of the present invention can
In the implementation of energy,
First determining module, specifically for the policy control center according to second request type and described every
The routing information of bar physical path, determines that remaining bandwidth is more than or equal to the available physical path of the bandwidth demand;
Second determining module, specifically for the policy control center from it is described can be with determining to be used in physical path
The set of the virtual route information of the request correspondence business, the set of the virtual route information includes using entity from described
The information and the information of a standby virtual route in the available virtual path configured in path.
Optionally, with reference to the third aspect of the embodiment of the present invention, the 9th kind in the third aspect of the embodiment of the present invention can
In the implementation of energy,
Second determining module, is less than the 4th preset threshold value specifically for the policy control center from the domain of influence factor
Available physical path in determine for it is described request correspondence business virtual route information set.
Optionally, with reference to the third aspect of the embodiment of the present invention, the tenth kind in the third aspect of the embodiment of the present invention can
In the implementation of energy,
Second determining module, can be with fact from two of domain of influence factor minimum specifically for the policy control center
The set of the virtual route information for the request correspondence business is determined in body path.
Fourth aspect of the embodiment of the present invention provides a kind of main frame, it is characterised in that the main frame is applied to storage area network
Network SAN system, the SAN system includes policy control center, main frame, interchanger and storage device, wherein, the interchanger
Each uplink port and each downlink port distinguish intercommunication, and the main frame passes through the switch communication with the storage device
Connection, the main frame accesses the storage resource of the storage device by physical path, and the physical path is included from host side
Every reality is stored in mouth, interchanger uplink port, the path of interchanger downlink port to storage device, the policy control center
The routing information in body path, including:
Receiving module, the set for receiving the virtual route information that the policy control center is sent, the void
Intend routing information set include the policy control center from it is described can with least two configured in physical path virtually
The information in path;
Determining module, the information at least two virtual routes according to determines corresponding virtual route, described
The data of the business are transmitted in physical path where corresponding virtual route.
With reference to the fourth aspect of the embodiment of the present invention, in the first possible realization of the fourth aspect of the embodiment of the present invention
In mode, the main frame also includes:
Detection module, when being changed for detecting the state of physical path, the main frame obtains the state hair
The raw physical path information changed;
Reporting module, the reality that the state for reporting the detection module detection to the policy control center changes
Body routing information.
With reference to the fourth aspect of the embodiment of the present invention, in second of possible realization of the fourth aspect of the embodiment of the present invention
In mode, the receiving module is additionally operable to the information in the destination virtual path that the policy control center is sent;
The determining module, is additionally operable to determine corresponding virtual route according to the information in the destination virtual path, in institute
State the data that the business is transmitted on the target entity path where destination virtual path.
The aspect of the embodiment of the present invention the 5th provides a kind of policy control center, including:Receiver, processor and transmitter;
The receiver, for RX path resource allocation request, the path resources distribution request includes bandwidth demand;
The processor, for the routing information according to every physical path, it is determined that there is the available of remaining bandwidth
Physical path;According to the bandwidth demand and it is described use physical path, it is determined that for the path resources distribution request correspondence
The set of the virtual route information of business, the set of the virtual route information includes to be configured with physical path from described
At least two virtual routes information;
The transmitter, the set for sending the virtual route information to the main frame, the virtual route information
Set be used for main frame information of at least two virtual routes according to and determine corresponding virtual route, in the correspondence
Virtual route where physical path on transmit the data of the business.
Optionally, in some embodiments of the present invention, processor is additionally operable to update the reality belonging at least two virtual routes
The routing information in body path.
Optionally, in some embodiments of the present invention,
The receiver, is additionally operable to the physical path information that the state that Receiving Host reports changes, and state changes
The physical path information of change by Host Detection to;
The processor, the physical path information that state changes for being additionally operable to be received according to receiver, at least two
The routing information of physical path belonging to virtual route, update after physical path routing information, it is determined that for successor status
The routing information in the target entity path of the physical path changed, and configure from target entity path destination virtual road
The information in footpath;Update the routing information in the target entity path sent.
The transmitter, the information in destination virtual path is sent to main frame, and the information in destination virtual path is true for main frame
Set the goal virtual route, the data of transmission services on the target entity path where destination virtual path;
Optionally, in some embodiments of the present invention,
The processor, be additionally operable to according to the first request type, bandwidth demand and request path number determine every it is to be configured
Average bandwidth needed for virtual route;According to the routing information of every physical path, determine that remaining bandwidth is determined not less than first
The available physical path for the average bandwidth that unit is determined;Determined according to bandwidth demand, request path number and the second determining unit
Physical path can be used, it is determined that the set of the virtual route information for path resources distribution request correspondence business, virtual route letter
The set of breath includes the information of the virtual route no less than request path number configured from available physical path.
Optionally, in some embodiments of the present invention,
The processor, specifically for the routing information according to the second request type and every physical path, it is determined that remaining
Band is wider than the available physical path of the first preset threshold value;Determined from available physical path for asking the virtual of correspondence business
The set of routing information, the set of virtual route information includes the information of the virtual route configured from available physical path,
And the bandwidth summation in the set of virtual route information meets bandwidth demand.
Optionally, in some embodiments of the present invention,
The processor, specifically for determining to use in being less than the available physical path of the 3rd preset threshold value from the domain of influence factor
In the set of the virtual route information of request correspondence business.
Optionally, in some embodiments of the present invention,
The processor, specifically for determining to use in being less than the available physical path of the 3rd preset threshold value from the domain of influence factor
In the set of the virtual route information of request correspondence business.
The aspect of the embodiment of the present invention the 6th provides a kind of main frame, including:Receiver and processor;
The receiver, the set for receiving the virtual route information that the policy control center is sent is described
The set of virtual route information includes the policy control center can use at least two void configured in physical path from described
Intend the information in path;
The processor, the information at least two virtual routes according to determines corresponding virtual route, in institute
State the data that the business is transmitted in the physical path where corresponding virtual route.
Optionally, in some embodiments of the present invention,
The processor, when being additionally operable to detect the state of physical path and changing, main frame obtains state and changed
The physical path information of change;The physical path information changed to policy control center uploaded state.
Optionally, in some embodiments of the present invention,
The receiver, is additionally operable to the information in the destination virtual path of policy control center transmission;
The processor, is additionally operable to determine corresponding virtual route according to the information in destination virtual path, in destination virtual
The data of transmission services on target entity path where path.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
When policy control center RX path resource allocation request, wherein, the path resources distribution request includes band
Wide demand, the policy control center is according to the routing information of every physical path of storage, it is determined that there is remaining bandwidth can
With physical path, the policy control center according to the bandwidth demand and it is described use physical path, it is determined that for it is described please
The set of the virtual route information of correspondence business is asked, the policy control center sends the virtual route information to the main frame
Set, the virtual route information set be used for the main frame according to the information of at least one virtual route determine pair
The virtual route answered, the data of the business are transmitted in the physical path where the corresponding virtual route, road is realized
The distribution according to need of footpath resource.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to institute in embodiment and description of the prior art
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is one embodiment of the method for distribution network path resource in the embodiment of the present invention;
Fig. 2 is the schematic diagram of networking change in the embodiment of the present invention;
Fig. 3 is the schematic diagram of the routing information management of physical path in the embodiment of the present invention;
Fig. 4 is a schematic diagram of networking in the embodiment of the present invention;
Fig. 5 is physical path and the relation schematic diagram of virtual route in the embodiment of the present invention;
Fig. 6 is the schematic diagram of virtual route information in the embodiment of the present invention;
It is physical path schematic diagram where virtual route that main frame 1 is configured in the embodiment of the present invention that Fig. 7, which is,;
Fig. 8 is another embodiment of the method for distribution network path resource in the embodiment of the present invention;
It is physical path schematic diagram where virtual route that main frame 2 is configured in the embodiment of the present invention that Fig. 9, which is,;
Figure 10 is another embodiment of the method for distribution network path resource in the embodiment of the present invention;
Figure 11 is the virtual route schematic diagram of initial configuration in the embodiment of the present invention;
Figure 12 is the virtual route schematic diagram that reconfigures in the embodiment of the present invention;
Figure 13 is one embodiment schematic diagram of tactful control centre in the embodiment of the present invention;
Figure 14 is one embodiment schematic diagram of main frame in the embodiment of the present invention;
Figure 15 is another embodiment schematic diagram of tactful control centre in the embodiment of the present invention;
Figure 16 is another embodiment schematic diagram of main frame in the embodiment of the present invention.
Embodiment
The embodiments of the invention provide a kind of method, policy control center and main frame for distributing network path resource, use
The bandwidth demand included in policy control center according to the resource allocation request received, is configured in available physical path
Virtual route set corresponding with bandwidth demand, the distribution according to need of realizing route resource.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model that the present invention is protected
Enclose.
In the prior art, in storage area network (Storage Area Network, abbreviation SAN) system, main frame with
Storage device is connected by interchanger.In initial configuration, path resources static allocation, road are carried out by manually drawing Zone modes
Footpath resource is fixed, and the path resources used on same main frame are identicals.When business change needs resource to adjust or path event
When barrier causes original path resources (such as bandwidth, number of path) not enough, it is impossible to which path resources are adjusted on demand;In interchanger or
In the case that storage device port number is limited, path redundancy can only be reached by multiplexed port, reliability is lifted.
In technical solution of the present invention, in storage area network (Storage Area Network, abbreviation SAN) system,
Including policy control center (Strategy Control Center, SCC), main frame, interchanger and storage device, wherein, exchange
The each uplink port and each downlink port of machine distinguish intercommunication, and main frame is connected with storage device by switch communication, main
Machine accesses the storage resource of storage device by physical path, and physical path includes from host port, interchanger uplink port, handed over
Downlink port change planes to the path of storage device, the routing information of every physical path is stored in policy control center;Work as strategy
During control centre's RX path resource allocation request, policy control center according to the routing information of every physical path of storage,
It is determined that there is the available physical path of remaining bandwidth, because path resources distribution request includes bandwidth demand, policy control center
The set of the virtual route information for asking correspondence business is determined according to bandwidth demand, network path resource is realized on demand
Distribution.
In embodiments of the present invention, the type of resource allocation request is generally divided into the first request type and the second request class
Type, the virtual route that the first request type is used to be designated as business configuration need to meet the preferential condition of reliability, the second request class
The virtual route that type is used to be designated as business configuration need to meet the preferential condition of reliability, also when Host Detection physical path
When state changes, meeting reporting policy control centre, path resources of reallocating are said respectively to this several situation below
It is bright.
First, the type of resource allocation request is the first request type, and the first request type is used to be designated as business configuration
Virtual route need to meet the preferential condition of reliability, referring to Fig. 1, distributing the method for network path resource in the embodiment of the present invention
One embodiment include:
101st, policy control center RX path resource allocation request, path resources distribution request includes bandwidth demand, the
One request type and request path number, the first request type is used to being designated as the virtual route of business configuration, and need to meet reliability excellent
First condition;
In the present embodiment, main frame includes starter, and storage device includes array target device, each uplink port of interchanger
Distinguish intercommunication with each downlink port, before the RX path resource allocation request of policy control center, main frame builds entity
The routing information in path (Entity Path, EP) and reporting policy control centre, the routing information of a physical path include master
Machine sequence number (Host Serial Number, HSN), starter uniquely represents (World Wide Name, WWN), array target
Device uniquely represents (World Wide Name, WWN) that controller numbering, interface card is numbered, switch ports themselves number, remaining bandwidth,
The information such as state, refer to changes of the Fig. 2 to networking and understand.When policy control center SCC receives the road of physical path
During the information of footpath, made a distinction according to host sequence HSN, the routing information of physical path is stored in path-containers (Path
Container, PCN) in, it refer to Fig. 3 and the routing information of physical path understood.
Policy control center receives the path resources distribution request that keeper, user or application program are initiated, herein
Resource allocation request is initialization path resource allocation request, and the path resources distribution request (uses total_ including bandwidth demand
Req_bw is represented), the first request type (being represented with req_type) and request path number (being represented with req_path_num), it is actual
The information such as controller distribution can also be included in, the virtual route that the first request type is used to be designated as business configuration need to expire
The preferential condition of sufficient reliability, i.e. request path number is paid the utmost attention to.
Assuming that networking is as shown in figure 4, resource allocation request is to have two on the configuration path resource of main frame 1, every main frame herein
Individual host bus adaptor (Host Bus Adapter, HBA) card, all switch ports themselves are in a Zone, each port
Being capable of intercommunication, every main frame to the initial strip having between storage device in 16 available physical paths, every physical path
Pardon and be set to 800M, when initial, the domain of influence factor in every physical path is all 0, domain of influence factor starter port, battle array
Row object machine port, switch ports themselves access times sum represent that the domain of influence factor is bigger, represent that coverage is wider.It is real
Physical path number typically can be more in the application scenarios of border, two main frame common memory device ports, it is assumed that path resources herein
Total_req_bw=320M in distribution request, req_path_num=16.
102nd, policy control center determines every void to be configured according to the first request type, bandwidth demand and request path number
Intend the average bandwidth needed for path;
In the present embodiment, after the RX path resource allocation request of policy control center, according to path resources distribution request
The first request type, bandwidth demand and the request path number that include determine the average band needed for every virtual route to be configured
Width is, it is necessary to which explanation, request path number is exactly virtual route number to be configured, then being averaged needed for every virtual route to be configured
With a width of:
Avg_bw=total_req_bw/req_path_num=320M/16=20M
103rd, policy control center determines that remaining bandwidth is not less than average bandwidth according to the routing information of every physical path
Available physical path;
In the present embodiment, policy control center determines every virtual route to be configured according to bandwidth demand and request path number
After required average bandwidth, further according to the routing information of every physical path, determine that remaining bandwidth is more than average bandwidth can
Use physical path.The routing information of above-mentioned 1 corresponding 16 physical path of main frame is preserved at policy control center, as shown in table 1,
Table 1 is the size of remaining bandwidth in the routing information of physical path and the domain of influence factor, in practical application in policy control
The routing information for the physical path that the heart is preserved typically can be more more than 16.
Physical path EP | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
Remaining bandwidth (M) | 800 | 800 | 800 | 800 | 800 | 800 | 800 | 800 | 800 | 800 | 800 | 800 | 800 | 800 | 800 | 800 |
The domain of influence factor | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Table 1
Learnt by table 1, the available physical path that remaining bandwidth is more than 20M is EP1 to EP16, it is necessary to explanation, every
Physical path can be mapped to a plurality of virtual route (Virtual Path, VP), i.e., be made up of a plurality of virtual route, physical path band
Wide BWep is equal to each virtual route bandwidth BW vp sums:Wherein, BWep presentation-entity path bandwidth,
BWvp represents virtual route bandwidth, and n is virtual route number, refer to Fig. 5 and the relation of physical path and virtual route is managed
Solution.
It should be noted that routing information of the policy control center according to every physical path, determines that remaining bandwidth is more than
There is following several situations equal to the available physical path of average bandwidth.
(1) there is the available physical path that remaining bandwidth is not less than average bandwidth, and can be expired with the number of path of physical path
Sufficient request path number;
Such as above-mentioned table 1, then perform step 104, policy control center configures the letter of virtual route from available physical path
Breath, the corresponding virtual route number of information of virtual route meets request path number.
(2) there is the available physical path that remaining bandwidth is not less than average bandwidth, but the number of path of physical path can be used not
Meet request path number;
It is assumed that the remaining bandwidth that policy control center is preserved in the routing information of 1 corresponding 16 physical path of main frame is:
EP1 remaining bandwidth is 200M, and EP2 remaining bandwidths are 100M, and remaining 14 paths (EP3~EP16) remaining bandwidth is 80M.Road
Bandwidth demand and request path number in the resource allocation request of footpath are 800M and 8.
Allocation plan is as follows:
First average bandwidth of policy control center calculation virtual route to be configured is 800M/8=100M, it is determined that being not less than
100M the first available physical path is EP1 and EP2, performs step 104, carries out first round configuration, policy control center first from
The information of a width of 100M of 2 bands virtual route is configured in EP1 and EP2;Because request path number and bandwidth demand are all also not
Path resources distribution request is met, so change bandwidth demand and request path number, bandwidth demand and request path after change
Number is changed into 600M and 7, then the average bandwidth of the virtual route to be configured after change is that 600M/7 is about 86M, without tape remaining
Width is not less than 86M available physical path, so change request path number again for 8, then the average bandwidth of virtual route to be configured
For 600M/8=75M, there is second available physical path of the remaining bandwidth not less than 75M, perform step 104, carry out second and take turns
Configuration, optional 8 physical paths configure the information of 8 virtual routes from second available physical path EP3~EP16.So
The virtual route number of last policy control center configuration has 2+8=10 bars, and bandwidth also meets 2*100+8*75=800M bandwidth
Demand.
It should be noted that optional 8 physical paths configure 8 void in second available physical path EP3~EP16
When intending the information in path, the influence of the domain of influence factor can be generally also considered, that is, select less 8 physical paths of the domain of influence factor
The information of 8 virtual routes is configured, certainly, when the first available physical path configures the information of virtual route, it is also contemplated that shadow
The domain factor is rung, still, considers that the domain of influence factor does not all influence in the first available physical path, because not obtaining other choosings
Select.
(3) the available physical path that remaining bandwidth is not less than average bandwidth is not present.
If being not less than the available physical path of average bandwidth in the absence of remaining bandwidth, policy control center change request road
Footpath number, in this case, change request path number are all to increase the quantity of request path number, then further according to bandwidth demand and more
Request path number after changing determines the first average bandwidth, then determines that remaining bandwidth is not less than the available entity road of the first average bandwidth
Footpath, performs step 104, and the information of virtual route is configured from available physical path.
104th, policy control center is according to bandwidth demand, request path number and available physical path, it is determined that for path money
The set of the virtual route information of source distribution request correspondence business, the set of virtual route information is included from available physical path
The information of the virtual route no less than request path number configured;
In the present embodiment, policy control center determines that remaining bandwidth is more than according to the routing information of every physical path
After the available physical path of average bandwidth, policy control center is 320M further according to bandwidth demand, and request path number is 16,
It can be EP1 to EP16 with physical path, configure the information of virtual route, often can be with configuring virtual road in physical path from one
After the information in footpath, configured physical path is set to configured state, is so in order to avoid in same resource point
With in request, same physical path repeats configuration virtual route, after configuration enough 16 virtual routes, then by physical path
On configured state remove, it is ensured that policy control center according to next resource allocation request configure virtual route.
In embodiments of the present invention, configure the routing information of 1 virtual route from EP1, referred to as VP1 ... ... from
EP16 configures the routing information of 1 virtual route, referred to as VP16, so, the collection of virtual route information be combined into VP1,
VP2 ... ..., VP16 }, wherein each VP includes interface type, the topology information in path, the information such as time delay, for identifying void
Intend path.Path topology information, which includes starter port (WWN, bandwidth, access times), switch ports themselves, (numbering, bandwidth, to be made
With number of times), array target device port (WWN, array SN, controller, bandwidth, interface card numbering, access times), refer to Fig. 6
Virtual route information is understood.
It should be noted that because physical path herein is all initial, remaining bandwidth is initial value, the domain of influence
The factor is all 0, and in practical application, the remaining bandwidth in physical path is not necessarily initial value, may have been used to transmit industry
Business occupies the bandwidth in physical path, and the domain of influence factor is also varied from accordingly, then, match somebody with somebody from available physical path
When putting virtual route, it may be considered that the domain of influence factor, the domain of influence factor can not also be considered, still, in actual applications, generally
The size of the domain of influence factor can be considered, be usually to determine to be used for request pair in the smaller available physical path of the domain of influence factor
The set of the virtual route information of business is answered, the set of virtual route information is many including what is configured from available physical path
In the information of the virtual route of request path number.
105th, policy control center sends the set of virtual route information to main frame, and the set of virtual route information is used to lead
Machine determines corresponding virtual route according to the information of at least two virtual routes, the physical path where corresponding virtual route
The data of upper transmission services;
In the present embodiment, policy control center is according to the first request type, bandwidth demand, request path number and available entity
Path, it is determined that after the set of virtual route information for asking correspondence business, policy control center sends virtual to main frame
The set of routing information, the set of virtual route information determines corresponding for main frame according to the information of at least one virtual route
Virtual route, corresponding virtual route is used for the data of transmission services, i.e. policy control center and sends virtual route letter to main frame
The set { VP1, VP2 ... ..., VP16 } of breath.
106th, policy control center updates the routing information of the physical path belonging at least two virtual routes.
In the present embodiment because policy control center to main frame send virtual route information set after, void can be recorded
Intend the information in the set of routing information, so, policy control center can be entered to the routing information of the physical path preserved before
Row updates, as long as being configured with the available physical path of the information of virtual route, and the information of the available physical path will be entered
Row updates, the routing information of the physical path after being updated as shown in table 2 for main frame 1.
Physical path EP | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
Remaining bandwidth (M) | 640 | 640 | 640 | 640 | 640 | 640 | 640 | 640 | 640 | 640 | 640 | 640 | 640 | 640 | 640 | 640 |
The domain of influence factor | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 |
Two HBA cards of main frame 1 are present after 8 reuses, enough 16 virtual routes of configuration, surplus in every physical path
It is remaining with a width of 800-20*8=640M, and the domain of influence factor in every physical path is it is to be understood that refer to Fig. 4 progress
Understand, the domain of influence factor in the corresponding each physical path of main frame 1 is changed into 20, because the starter port on main frame 1 reuses 8
Secondary, the interchanger uplink port that main frame 1 is connected is there is also 8 reuses, because uplink port and the downlink port intercommunication of interchanger,
So each downlink port of interchanger is reused 2 times, the array target device port of storage device is also to reuse 2 times, so main frame 1
The domain of influence factor in corresponding every physical path is 8+8+2+2=20;And the shadow in the corresponding every physical path of main frame 2
Ring the domain factor and be changed into 4, particularly due in the corresponding physical path of main frame 2, the uplink port of starter port and interchanger is all
Do not use, the array target device port on the downlink port and storage device of interchanger is public with main frame 1, there are 2 weights
With so the domain of influence factor in the corresponding every physical path of main frame 2 is 2+2=4.
The routing information of 1 corresponding 16 physical path of main frame is updated as shown in table 2 by policy control center, 2 pairs of main frame
In the routing information for 16 physical paths answered, the domain of influence factor in every physical path is updated to 4.
107th, main frame receives the set for the virtual route information that policy control center is sent, the set bag of virtual route information
Include the information at least two virtual routes that policy control center is configured from available physical path;
In the present embodiment, policy control center is sent to main frame after the set of virtual route information, and main frame receives strategy
The set for the virtual route information that control centre sends, the set of virtual route information includes policy control center from available entity
The information of at least two virtual routes configured configured in path, the collection of the virtual route information be combined into VP1,
VP2 ... ..., VP16 }.
108th, main frame determines corresponding at least two virtual routes according to the information of at least two virtual routes, on virtual road
The data of transmission services in physical path where footpath.
In the present embodiment, the set of virtual route information includes policy control center and configured from available physical path
At least two virtual routes information, the information of every virtual route is to that should have a virtual route, where virtual route
Physical path on transmission services data;I.e. according to the set { VP1, VP2 ... ..., VP16 } of virtual route information determination pair
The virtual route answered, and the physical path where virtual route is used for the data of transmission services for { EP1, EP2 ... ..., EP16 },
It should be noted that when physical path is transmission services on { EP1, EP2 ... ..., EP16 }, shared bandwidth is virtual
The bandwidth in path, is learnt by above-mentioned, and a width of 20M of the band of transmission services in every physical path, main frame is visited by physical path
When asking the resource of storage device, resource in storage device also can subdivision preserve, it is assumed that the resource in storage device, which is divided into, deposits
Store up logic unit 1 (LUN1), storage logical units 2 (LUN2), storage logical units 3 (LUN3), storage logical units 4
(LUN4) and main frame 1 according to protocol rule access be LUN1 resource, refer to Fig. 7 is understood, so main frame 1 passes through
Physical path EP4, EP1 ..., EP15, EP16 access LUN1 resource.
If it should be noted that main frame 1 as defined in protocol rule can access storage device LUN2, LUN3 or LUN4's
Resource, then, main frame 1 can access LUN2, LUN3 or LUN4 money by physical path EP4, EP1 ..., EP15, EP16
Source.
In embodiments of the present invention, because each uplink port and each downlink port on interchanger are intercommunications,
If so there is the physical path that there is remaining bandwidth, policy control center can be handled according to path resources distribution request, then be passed
Defeated other business, realize the efficient utilization of resource, and the first request type that path resources request includes is used to be designated as industry
The virtual route of business configuration need to meet the preferential condition of reliability, i.e., request path number is paid the utmost attention to, SCC is according to path resources
The bandwidth demand and request path number included is asked, the average bandwidth of every virtual route to be configured is first determined, further according to every
The routing information of bar physical path, determines that remaining bandwidth is more than or equal to the available physical path of average bandwidth, from available entity road
The set for the virtual route information for meeting request path number is configured in footpath, the set of the virtual route information is sent out to main frame
Send, main frame determines the virtual route of correspondence business according to the set of virtual route information, the data for transmitting the business are met
Reliability preferential condition, realizes the distribution according to need of path resources.
2nd, the type of resource allocation request is the second request type, and the second request type is used to be designated as business configuration
Virtual route need to meet the condition of quality of service precedence, referring to Fig. 8, distributing the side of network path resource in the embodiment of the present invention
Another embodiment of method includes:
801st, policy control center RX path resource allocation request, path resources distribution request includes bandwidth demand, the
Two request types, the virtual route that the second request type is used to be designated as business configuration need to meet the condition of quality of service precedence;
In the present embodiment, main frame includes starter, and storage device includes array target device, each uplink port of interchanger
Distinguish intercommunication with each downlink port, before the RX path resource allocation request of policy control center, main frame builds entity
The routing information in path (Entity Path, EP) and reporting policy control centre, the routing information of a physical path include master
Machine sequence number (Host Serial Number, HSN), starter uniquely represents (World Wide Name, WWN), array target
Device uniquely represents (World Wide Name, WWN) that controller numbering, interface card is numbered, switch ports themselves number, remaining bandwidth,
The information such as state, refer to changes of the Fig. 2 to networking and understand.When policy control center SCC receives the road of physical path
During the information of footpath, made a distinction according to host sequence HSN, the routing information of physical path is stored in path-containers (Path
Container, PCN) in, it refer to Fig. 3 and the routing information of physical path understood.
Policy control center receives the path resources distribution request that keeper, user or application program are initiated, the path
Resource allocation request includes bandwidth demand (being represented with total_req_bw) and the second request type (being represented with req_type), real
The information such as controller distribution can also be included in the application of border, the virtual route that the second request type is used to be designated as business configuration is needed
The condition of quality of service precedence, i.e. bandwidth demand is met to pay the utmost attention to.
Assuming that networking is as shown in figure 4, resource allocation request is to have two on the configuration path resource of main frame 2, every main frame herein
Individual host bus adaptor (Host Bus Adapter, HBA) card, all switch ports themselves are in a Zone, each port
Can intercommunication, every main frame is to there is physical path in 16 available physical paths, practical application scene between storage device
Number typically can be more, and physical path EP1 remaining bandwidth is 80M, and EP2 remaining bandwidth is 70M, and EP3 remaining bandwidth is
10M, EP4 remaining bandwidth 200M, remaining physical path (EP5~EP16) remaining bandwidth are 60M.Two main frame common memories are set
Standby port, it is assumed that total_req_bw=400M in path resources distribution request herein.
802nd, policy control center is according to the second request type and the routing information of every physical path, policy control center
Determine that remaining bandwidth is more than the available physical path of the first preset threshold value;
In the present embodiment, after the RX path resource allocation request of policy control center, policy control center is first according to the
The routing information of two request types and every physical path, determines that remaining bandwidth is more than the available entity road of the first preset threshold value
Footpath, in fact, the first preset threshold value here is set to the size of bandwidth demand first, policy control center first determines whether to deposit
It is more than or equal to the available physical path of bandwidth demand in remaining bandwidth, if in the presence of, policy control center from available physical path
The information of middle configuration virtual route;If being not present, policy control center is matched somebody with somebody from the larger available physical path of remaining bandwidth
Put the information of virtual route.Table 3 is the letter of the remaining bandwidth for 2 corresponding 16 physical paths of main frame that policy control center is preserved
Breath.
Physical path EP | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
Remaining bandwidth (M) | 80 | 50 | 60 | 60 | 200 | 10 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 |
Table 3
803rd, policy control center determines the virtual route information for asking correspondence business from available physical path
Set, the set of virtual route information includes the information of the virtual route configured from available physical path, and virtual route
Bandwidth summation in the set of information meets bandwidth demand.
In the present embodiment, as shown in table 3, be the corresponding physical path of main frame 2 routing information in remaining bandwidth because
The virtual route that asking the second request type is used to be designated as business configuration need to meet the condition of quality of service precedence, so, plan
Slightly control centre determines that EP5 remaining bandwidth is maximum, and the information VP1 of a virtual route is configured from EP5, bandwidth demand is updated
For 400-200=200M, setting EP5 is configured state;Determine that EP1 remaining bandwidth is maximum again, a void is configured from EP1
Intend the information VP2 in path, renewal bandwidth demand is 200-80=120M, and setting EP1 is configured state;Remaining bandwidth is determined again
Maximum available physical path, is EP3, EP4, EP7~EP16, any two physical paths from EP3, EP4, EP7~EP16
The information VP3 and VP4 of one virtual route of upper each configuration, renewal bandwidth demand is 120-120=0M, meets bandwidth demand, this
In select EP3 and EP7 to configure the information of virtual route, settings EP3 and EP7 is configured state, is to sum up learnt, policy control center
The collection of the virtual route information of determination is combined into { VP1, VP2, VP3, VP4 }.
It should be noted that when the information of virtual route is configured from physical path, generally further accounting for the domain of influence factor
Size, that is, select remaining bandwidth larger and the less available physical path of the domain of influence factor configure the information of virtual route.And it is empty
The information VP for intending path is an abbreviation, and each VP includes interface type, the topology information in path, the information, use such as time delay
In mark virtual route.Path topology information include starter port (WWN, bandwidth, access times), switch ports themselves (numbering,
Bandwidth, access times), array target device port (WWN, array SN, controller, bandwidth, interface card numbering, access times), please
Virtual route information is understood with reference to Fig. 6.
804th, policy control center sends the set of virtual route information to main frame, and the set of virtual route information is used to lead
Machine determines corresponding virtual route according to the information of at least two virtual routes, the physical path where corresponding virtual route
The data of upper transmission services.
In the present embodiment, policy control center determines the virtual route for asking correspondence business from available physical path
After the set of information, the set of virtual route information is sent to main frame, the set of virtual route information is used for main frame according to extremely
The information of few two virtual routes determines corresponding virtual route, and industry is transmitted in the physical path where corresponding virtual route
The data of business.I.e. policy control center sends the set { VP1, VP2, VP3, VP4 } of virtual route information to main frame 2.
It should be noted that in actual applications, bandwidth need can have been met with the remaining bandwidth of physical path when one
When asking, the information that a virtual route is configured in physical path can be used from this, policy control center can also be available real from other
A standby virtual route is reconfigured in body path.
805th, policy control center updates the routing information of the physical path belonging at least two virtual routes.
In the present embodiment because policy control center to main frame send virtual route information set after, void can be recorded
Intend the information in the set of routing information, so, policy control center can be entered to the routing information of the physical path preserved before
Row updates, as long as being configured with the available physical path of the information of virtual route, and the information of the available physical path will be entered
Row updates, the routing information of the physical path after being updated as shown in table 4 for main frame 2.
Physical path EP | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
Remaining bandwidth (M) | 0 | 50 | 0 | 60 | 0 | 10 | 0 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 |
Table 4
806th, main frame receives the set for the virtual route information that policy control center is sent, the set bag of virtual route information
Include the information at least two virtual routes that policy control center is configured from available physical path;
In the present embodiment, policy control center is sent to main frame after the set of virtual route information, and main frame receives strategy
The set for the virtual route information that control centre sends, the set of virtual route information includes policy control center from available entity
The information of at least two virtual routes configured configured in path, the collection of the virtual route information be combined into VP1, VP2,
VP3, VP4 }.
807th, main frame determines corresponding at least two virtual routes according to the information of at least two virtual routes, on virtual road
The data of transmission services in physical path where footpath.
In the present embodiment, the set of virtual route information includes policy control center and configured from available physical path
At least two virtual routes information, the information of every virtual route is to that should have a virtual route, where virtual route
Physical path on transmission services data;Correspondence is determined according to the set { VP1, VP2, VP3, VP4 } of virtual route information
Virtual route, and physical path where virtual route for { EP5, EP1, EP3, EP7 } be used for transmission services data, it is necessary to
Illustrate, when physical path is transmission services on { EP5, EP1, EP3, EP7 }, shared bandwidth is virtual route
Bandwidth, when main frame accesses the resource of storage device by physical path because resource in storage device also can subdivision preserve,
Assuming that the resource in storage device is divided into storage logical units 1 (LUN1), storage logical units 2 (LUN2), storage logical units 3
(LUN3), storage logical units 4 (LUN4) and main frame 2 according to protocol rule access be LUN2 resource, refer to Fig. 9 and enter
Row understands, so main frame 2 accesses LUN2 resource by physical path EP1, EP3, EP5, EP7.
In embodiments of the present invention, because each uplink port and each downlink port on interchanger are intercommunications,
If so there is the physical path that there is remaining bandwidth, policy control center can be handled according to path resources distribution request, then be passed
Defeated other business, realize the efficient utilization of resource, and the second request type that path resources request includes is used to be designated as industry
The virtual route of business configuration need to meet the condition of quality of service precedence, i.e., bandwidth demand is paid the utmost attention to, and SCC is first provided according to path
Bandwidth demand and the routing information of every physical path that source request includes, it is determined that more than or equal to the available reality of the bandwidth demand
Body path, then the set of the virtual route information for asking correspondence business is determined from available physical path, meet service
The preferential condition of quality, realizes the distribution according to need of resource.
3rd, Host Detection to the state of physical path change when, referring to Fig. 10, distributing net in the embodiment of the present invention
Another embodiment of the method for network path resources includes:
1001st, when Host Detection to state change when, main frame obtains the physical path information that changes of state;
In the present embodiment, networking is as shown in figure 4, main frame 1 and main frame 2 have two HBA cards respectively, and all switch ports themselves are put
In a Zone, each port can intercommunication, main frame is to having 16 available physical paths, practical application between storage device
Physical path number typically can be more in scene, illustrate here just for main frame 1, it is assumed that had initial configuration on main frame 1
Path resources, initial path resource allocation request is:Bandwidth demand meets 200M, and request path number is 8, every virtual route
Average bandwidth meets 25M demand, and the path resources of initial configuration are:Main frame accesses LUN1 virtual routes correspondence in storage device
Physical path be VP1:HBA1-P1-P9-T1, VP2:HBA2-P8-P10-T5, VP3:HBA1-P1-P14-T3, VP4:HBA2-
P8-P13-T7, it is VP1 that main frame, which accesses the corresponding physical path of LUN2 virtual routes in storage device,:HBA1-P1-P11-T2,
VP2:HBA2-P8-P16-T4, VP3:HBA1-P1-P12-T6, VP4:HBA2-P6-P16-T8, as shown in figure 11, main frame 1 is
The resource of several equipment is deposited with these path access.
When Host Detection to state change when, main frame obtains the physical path information that changes of state;Here
Described physical path state changes, including the port failure in physical path, or the resource of physical path surpasses
Load.Illustrated herein for the situation that physical path breaks down, it is assumed that broken down when main frame 1 detects t1 port
When, i.e. the data of transmission services are unable on physical path EP1, the path that main frame 1 accesses LUN1 in storage device is changed into 3, visit
Ask that the path of LUN2 in storage device is unaffected, main frame 1 obtains the routing information of the physical path broken down, referred to as
EP1。
1002nd, the physical path information that main frame changes to policy control center uploaded state;
In the present embodiment, main frame is obtained after the physical path information that state changes, and is reported to policy control center
Physical path the information EP1, EP1 that state changes are a simple statement, and EP1 includes detecting the port letter broken down
The information such as breath, amount of bandwidth.
1003rd, the physical path information that the state that policy control center Receiving Host is reported changes, state changes
The physical path information of change by Host Detection to;
In the present embodiment, after the physical path information that main frame changes to policy control center uploaded state, strategy
The physical path information EP1 that the state that control centre's Receiving Host is reported changes, the physical path letter that state changes
Breath is by Host Detection to being detected here by main frame 1.
1004th, belonging to policy control center changes according to state physical path information, at least two virtual routes
Physical path routing information, update after physical path routing information, it is determined that the reality changed for successor status
The routing information in the target entity path in body path, and configure from target entity path the information in destination virtual path;
In the present embodiment, after the physical path information that the state that policy control center Receiving Host is reported changes,
The routing information of physical path belonging to the physical path information that is changed according to state, at least two virtual routes, update
The routing information of physical path afterwards, it is determined that the path in the target entity path of the physical path changed for successor status
Information, and configure from target entity path the information in destination virtual path.
Policy control center the information of initial configuration path resources is searched according to the routing information EP1 in faulty entity path
EP1:HBA1-P1-P9-T1, according to the routing information of every physical path after renewal, it is determined that for taking over faulty entity path
Target entity path routing information, and configure from target entity path the information in destination virtual path, it is assumed here that
From target entity path EP5:The destination virtual path made on HBA1-P1-P11-T2 is VP5, the band in destination virtual path
Width meets initial configuration virtual route 25M bandwidth demand.
1005th, policy control center sends the information in destination virtual path to main frame, and the information in destination virtual path is used for
Main frame determines destination virtual path, the data of transmission services on the target entity path where destination virtual path;
In the present embodiment, policy control center sends the information in destination virtual path, the letter in destination virtual path to main frame
Cease and determine destination virtual path for main frame, the data of transmission services on the target entity path where destination virtual path;
I.e. the information in destination virtual path is VP5, and VP5 is a simple statement.
1006th, policy control center updates the routing information in target entity path;
In the present embodiment, policy control center is sent to main frame after the information in destination virtual path, then more fresh target is real
The routing information in body path, that is, the information such as the remaining bandwidth changed on target entity path EP5 and the domain of influence factor.
1007th, main frame receives the information in the destination virtual path that policy control center is sent;
In the present embodiment, policy control center is sent to main frame after the information in destination virtual path, and main frame 1 receives strategy
The information in the destination virtual path that control centre sends, as VP5.
1008th, main frame determines corresponding virtual route according to the information in destination virtual path, where destination virtual path
Target entity path on transmission services data.
In the present embodiment, the information in the destination virtual path that policy control center is sent is received, main frame is according to destination virtual
The information in path determines corresponding virtual route, the number of transmission services on the target entity path where destination virtual path
According to.The information in destination virtual path is VP5, and the virtual route VP1 broken down, destination virtual path institute are substituted on main frame 1
Physical path be EP5, so, the VP1 after replacement:HBA1-P1-P11-T2, in this target reality of HBA1-P1-P11-T2
Storage device LUN1 resource is accessed on body path, the dash area referred in Figure 12 is understood.
It should be noted that in embodiments of the present invention, step 1001 to 1008 is in Fig. 1 embodiments corresponding with Fig. 8
On the basis of realize.
In embodiments of the present invention, when the Host Detection changes to the state for having physical path, the main frame
Obtain the physical path information that the state changes;The main frame reports the state to occur to the policy control center
The physical path informational strategy control centre of change is further according to the routing information of the physical path after renewal and the road of initial configuration
The information of footpath resource is reconfigured at the information in destination virtual path, and to the information of main frame feedback target virtual route, main frame is in target
The data of transmission services in physical path where virtual route, it is ensured that the transmission of business datum.
The policy control center in the embodiment of the present invention and main frame are described below, policy control center applications are in depositing
Storage area domain network SAN system, SAN system includes policy control center, main frame, interchanger and storage device, wherein, interchanger
Each uplink port and each downlink port distinguish intercommunication, and main frame is connected with storage device by switch communication, and main frame leads to
The storage resource that physical path accesses storage device is crossed, physical path is included from host port, interchanger uplink port, interchanger
Downlink port stores the routing information of every physical path to the path of storage device in policy control center.
Referring to one embodiment of tactful control centre in Figure 13, the embodiment of the present invention includes:
First receiving module 1301, for RX path resource allocation request, path resources distribution request is needed including bandwidth
Ask;
First determining module 1302, for the routing information according to every physical path, it is determined that there is remaining bandwidth can
Use physical path;
Second determining module 1303, for according to bandwidth demand and the first determining module determination available physical path, really
Surely it is used for the set of the virtual route information of path resources distribution request correspondence business, the set of virtual route information is included from can
With the information of at least two virtual routes configured in physical path;
Sending module 1304, the set for sending the virtual route information that the second determining module is determined to main frame, virtually
The set of routing information determines corresponding virtual route for main frame according to the information of at least two virtual routes, in corresponding void
The data of transmission services in physical path where plan path.
Optionally, in some embodiments of the invention, policy control center also includes:
Update module 1305, the routing information for updating the physical path belonging at least two virtual routes.
Optionally, in some embodiments of the invention,
First receiving module 1301, is additionally operable to the physical path information that the state that Receiving Host reports changes, state
The physical path information changed by Host Detection to;
Second determining module 1303, is additionally operable to the physical path letter changed according to the state that the first receiving module is received
Breath, the routing information of physical path belonging at least two virtual routes, update after physical path routing information, it is determined that with
The routing information in the target entity path of the physical path changed in successor status, and configured from target entity path
The information in destination virtual path;
Sending module 1304, is additionally operable to send the information in destination virtual path to main frame, and the information in destination virtual path is used
Destination virtual path is determined in main frame, the data of transmission services on the target entity path where destination virtual path;
Update module 1305, is additionally operable to update the routing information in the target entity path that sending module is sent.
Optionally, in some embodiments of the invention, path resources distribution request also includes the first request type and please
Number of path is sought, the virtual route that the first request type is used to be designated as business configuration need to meet the preferential condition of reliability;
First determining module 1302, including:
First determining unit, for according to the first request type, bandwidth demand and request path number determine every it is to be configured
Average bandwidth needed for virtual route;
Second determining unit, for the routing information according to every physical path, determines that remaining bandwidth is true not less than first
The available physical path for the average bandwidth that order member is determined;
Second determining module 1303, specifically for what is determined according to bandwidth demand, request path number and the second determining unit
Physical path can be used, it is determined that the set of the virtual route information for path resources distribution request correspondence business, virtual route letter
The set of breath includes the information of the virtual route no less than request path number configured from available physical path.
Optionally, in some embodiments of the invention, path resources distribution request also includes the second request type, second
The virtual route that request type is used to be designated as business configuration need to meet the condition of quality of service precedence;
First determining module 1302, specifically for the routing information according to the second request type and every physical path, really
Determine the available physical path that remaining bandwidth is more than the first preset threshold value;
Second determining module 1303, specifically for determining the virtual road for asking correspondence business from available physical path
The set of footpath information, the set of virtual route information includes the information of the virtual route configured from available physical path, and
Bandwidth summation in the set of virtual route information meets bandwidth demand.
Optionally, in some embodiments of the invention,
Second determining module 1303, in being less than the available physical path of the 3rd preset threshold value from the domain of influence factor
It is determined that the set of the virtual route information for asking correspondence business.
Optionally, in some embodiments of the invention,
Second determining module 1303, in being less than the available physical path of the 3rd preset threshold value from the domain of influence factor
It is determined that the set of the virtual route information for asking correspondence business.
In embodiments of the present invention, policy control center RX path resource allocation request, please according to path resources distribution
The routing information for the physical path stored of summing configures the information of virtual route for main frame, and virtual route information is sent to main frame
Set, realizes the distribution according to need of path resources.
Referring to one embodiment of main frame in Figure 14, the embodiment of the present invention includes:
Receiving module 1401, the set of the virtual route information for receiving the transmission of policy control center, virtual route letter
The set of breath includes the information at least two virtual routes that policy control center is configured from available physical path;
Determining module 1402, corresponding virtual route is determined for the information according at least two virtual routes, in correspondence
Virtual route where physical path on transmission services data.
Optionally, in some embodiments of the invention, main frame also includes:
Detection module 1403, when being changed for detecting the state of physical path, main frame obtains state and changed
The physical path information of change;
Reporting module 1404, the entity road that the state for reporting detection module to detect to policy control center changes
Footpath information.
Optionally, in some embodiments of the invention,
Receiving module 1401, is additionally operable to the information in the destination virtual path of policy control center transmission;
Determining module 1402, is additionally operable to determine corresponding virtual route according to the information in destination virtual path, empty in target
The data of transmission services on target entity path where plan path.
In embodiments of the present invention, the set for the virtual route information that main frame is sent according to policy control center, it is determined that pair
The virtual route answered, can in the physical path where virtual route transmission services data.
Referring to another embodiment of tactful control centre in Figure 15, the embodiment of the present invention includes:
Policy control center includes receiver 1501, processor 1502 and transmitter 1503;
Receiver 1501, for RX path resource allocation request, path resources distribution request includes bandwidth demand;
Processor 1502, for the routing information according to every physical path, it is determined that there is the available entity of remaining bandwidth
Path;According to bandwidth demand and available physical path, it is determined that the virtual route letter for path resources distribution request correspondence business
The set of breath, the set of virtual route information includes the letter of at least two virtual routes configured from available physical path
Breath;
Transmitter 1503, the set for sending virtual route information to main frame, the set of virtual route information is used to lead
Machine determines corresponding virtual route according to the information of at least two virtual routes, the physical path where corresponding virtual route
The data of upper transmission services.
Optionally, in some embodiments of the present invention, processor 1502 is additionally operable to update belonging at least two virtual routes
Physical path routing information.
Optionally, in some embodiments of the present invention,
Receiver 1501, is additionally operable to the physical path information that the state that Receiving Host reports changes, and state changes
The physical path information of change by Host Detection to;
Processor 1502, the physical path information that state changes for being additionally operable to be received according to receiver, at least two
The routing information of physical path belonging to virtual route, update after physical path routing information, it is determined that for successor status
The routing information in the target entity path of the physical path changed, and configure from target entity path destination virtual road
The information in footpath;Update the routing information in the target entity path sent.
Transmitter 1503, the information in destination virtual path is sent to main frame, and the information in destination virtual path is true for main frame
Set the goal virtual route, the data of transmission services on the target entity path where destination virtual path;
Optionally, in some embodiments of the present invention,
Processor 1502, be additionally operable to according to the first request type, bandwidth demand and request path number determine every it is to be configured
Average bandwidth needed for virtual route;According to the routing information of every physical path, determine that remaining bandwidth is determined not less than first
The available physical path for the average bandwidth that unit is determined;Determined according to bandwidth demand, request path number and the second determining unit
Physical path can be used, it is determined that the set of the virtual route information for path resources distribution request correspondence business, virtual route letter
The set of breath includes the information of the virtual route no less than request path number configured from available physical path.
Optionally, in some embodiments of the present invention,
Processor 1502, specifically for the routing information according to the second request type and every physical path, it is determined that remaining
Band is wider than the available physical path of the first preset threshold value;Determined from available physical path for asking the virtual of correspondence business
The set of routing information, the set of virtual route information includes the information of the virtual route configured from available physical path,
And the bandwidth summation in the set of virtual route information meets bandwidth demand.
Optionally, in some embodiments of the present invention,
Processor 1502, specifically for determining to use in being less than the available physical path of the 3rd preset threshold value from the domain of influence factor
In the set of the virtual route information of request correspondence business.
Optionally, in some embodiments of the present invention,
Processor 1502, specifically for determining to use in being less than the available physical path of the 3rd preset threshold value from the domain of influence factor
In the set of the virtual route information of request correspondence business.
Referring to another embodiment of main frame in Figure 16, the embodiment of the present invention includes:
Main frame includes:Receiver 1601 and processor 1602;
Receiver 1601, the set of the virtual route information for receiving the transmission of policy control center, virtual route information
Set include the information at least two virtual routes that policy control center is configured from available physical path;
Processor 1602, determines corresponding virtual route, corresponding for the information according at least two virtual routes
The data of transmission services in physical path where virtual route.
Optionally, in some embodiments of the present invention,
Processor 1602, when being additionally operable to detect the state of physical path and changing, main frame obtains state and changed
The physical path information of change;The physical path information changed to policy control center uploaded state.
Optionally, in some embodiments of the present invention,
Receiver 1601, is additionally operable to the information in the destination virtual path of policy control center transmission;
Processor 1602, is additionally operable to determine corresponding virtual route according to the information in destination virtual path, in destination virtual
The data of transmission services on target entity path where path.
Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing, "
The (if present)s such as four " are for distinguishing similar object, without for describing specific order or precedence.It should manage
The data that solution is so used can be exchanged in the appropriate case, so that the embodiments described herein can be with except illustrating herein
Or the order beyond the content of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that
Covering is non-exclusive to be included, for example, containing process, method, system, product or the equipment of series of steps or unit need not limit
In those steps or unit for clearly listing, but may include not list clearly or for these processes, method, production
Product or the intrinsic other steps of equipment or unit.
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, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (20)
1. a kind of method for distributing network path resource, it is characterised in that methods described is applied to storage area network SAN system
System, the SAN system include policy control center, main frame, interchanger and storage device, wherein, the interchanger it is each on
Row port and each downlink port distinguish intercommunication, and the main frame is connected with the storage device by the switch communication,
The main frame accesses the storage resource of the storage device by physical path, and the physical path includes from host port, handed over
Change planes uplink port, the path of interchanger downlink port to storage device, every entity road is stored in the policy control center
The routing information in footpath, methods described includes:
The policy control center RX path resource allocation request, the path resources distribution request includes bandwidth demand;
The policy control center is according to the routing information of every physical path, it is determined that there is the available entity of remaining bandwidth
Path;
The policy control center according to the bandwidth demand and it is described use physical path, it is determined that for path resources point
The set of virtual route information with request correspondence business, the set of the virtual route information includes using entity road from described
The information of at least two virtual routes configured in footpath;
The policy control center sends the set of the virtual route information, the collection of the virtual route information to the main frame
Share the information of at least two virtual routes according in the main frame and determine corresponding virtual route, in the corresponding void
The data of the business are transmitted in physical path where plan path.
2. according to the method described in claim 1, it is characterised in that the policy control center sends the void to the main frame
After the set for intending routing information, methods described also includes:
The routing information of physical path described in the policy control center renewal belonging at least two virtual routes.
3. method according to claim 2, it is characterised in that the policy control center updates described at least two virtually
After the routing information of physical path belonging to path, methods described also includes:
The physical path information that the state that the policy control center reception main frame is reported changes, the state occurs
The physical path information of change by the Host Detection to;
Physical path information that the policy control center changes according to the state, at least two virtual route institutes
The routing information of the physical path of category, update after physical path routing information, it is determined that changing for taking over the state
The routing information in the target entity path of the physical path of change, and configure destination virtual path from the target entity path
Information;
The policy control center sends the information in the destination virtual path, the letter in the destination virtual path to the main frame
Cease and determine the destination virtual path for the main frame, transmitted on the target entity path where the destination virtual path
The data of the business;
The policy control center updates the routing information in the target entity path.
4. according to any described methods of claim 1-3, it is characterised in that the path resources distribution request also includes first
Request type and request path number, first request type is used to being designated as the virtual route of the business configuration, and need to meet can
By the preferential condition of property;
The policy control center is according to the routing information of every physical path, it is determined that there is the available entity of remaining bandwidth
Path, including:
The policy control center determines every according to first request type, the bandwidth demand and the request path number
Average bandwidth needed for virtual route to be configured;
The policy control center determines remaining bandwidth not less than described average according to the routing information of every physical path
The available physical path of bandwidth;
The policy control center according to the bandwidth demand and it is described use physical path, it is determined that for path resources point
The set of virtual route information with request correspondence business, the set of the virtual route information includes using entity road from described
The information of at least two virtual routes configured in footpath, including:
The policy control center according to the bandwidth demand, the request path number and it is described use physical path, it is determined that with
In the set of the virtual route information of path resources distribution request correspondence business, the set of the virtual route information includes
The information of the virtual route no less than the request path number configured in physical path can be used from described.
5. according to any described methods of claim 1-3, it is characterised in that the path resources distribution request also includes second
Request type, the virtual route that second request type is used to be designated as the business configuration need to meet quality of service precedence
Condition;
The policy control center is according to the routing information of every physical path, it is determined that there is the available entity of remaining bandwidth
Path, including:
The policy control center is according to second request type and the routing information of every physical path, policy control
Center determines that remaining bandwidth is more than the available physical path of the first preset threshold value;
The policy control center according to the bandwidth demand and it is described use physical path, it is determined that for it is described request correspondence industry
The set of the virtual route information of business, the set of the virtual route information include from it is described can be with being configured in physical path
The information of at least two virtual routes, including:
It can be believed from described with the virtual route for the request correspondence business is determined in physical path at the policy control center
The set of breath, the set of the virtual route information includes the information of the virtual route configured from available physical path, and
Bandwidth summation in the set of the virtual route information meets the bandwidth demand.
6. method according to claim 4, it is characterised in that the policy control center is according to the bandwidth demand, institute
Request path number is stated and described with physical path, it is determined that the virtual route for path resources distribution request correspondence business
The set of information, including:
The policy control center according to the bandwidth demand, the request path number and it is described use physical path, from influence
The domain factor is less than the virtual route information determined in the available physical path of the second preset threshold value for the request correspondence business
Set.
7. method according to claim 5, it is characterised in that the policy control center is from described with physical path
It is determined that the set of the virtual route information for the request correspondence business, including:
The policy control center is determined for described in the available physical path from the domain of influence factor less than the 3rd preset threshold value
The set of the virtual route information of request correspondence business.
8. a kind of method for distributing network path resource, it is characterised in that methods described is applied to storage area network SAN system
System, the SAN system include policy control center, main frame, interchanger and storage device, wherein, the interchanger it is each on
Row port and each downlink port distinguish intercommunication, and the main frame is connected with the storage device by the switch communication,
The main frame accesses the storage resource of the storage device by physical path, and the physical path includes from host port, handed over
Change planes uplink port, the path of interchanger downlink port to storage device, every entity road is stored in the policy control center
The routing information in footpath, methods described includes:
The main frame receives the set for the virtual route information that the policy control center is sent, the virtual route information
Set include the policy control center and can use the information of at least two virtual routes configured in physical path from described;
The main frame determines corresponding virtual route according to the information of at least two virtual routes, described corresponding virtual
The data of the business are transmitted in physical path where path.
9. method according to claim 8, it is characterised in that methods described also includes:
When the Host Detection changes to the state for having physical path, the main frame obtains what the state changed
Physical path information;
The main frame reports the physical path information that the state changes to the policy control center.
10. method according to claim 9, it is characterised in that methods described also includes:
The main frame receives the information in the destination virtual path that the policy control center is sent;
The main frame determines corresponding virtual route according to the information in the destination virtual path, in the destination virtual path institute
Target entity path on transmit the data of the business.
11. a kind of policy control center, it is characterised in that the policy control center applications in storage area network SAN system,
The SAN system includes policy control center, main frame, interchanger and storage device, wherein, each upstream ends of the interchanger
Mouth and each downlink port distinguish intercommunication, and the main frame is connected with the storage device by the switch communication, described
Main frame accesses the storage resource of the storage device by physical path, and the physical path is included from host port, interchanger
Every physical path is stored in the path of uplink port, interchanger downlink port to storage device, the policy control center
Routing information, including:
First receiving module, for RX path resource allocation request, the path resources distribution request includes bandwidth demand;
First determining module, for the routing information according to every physical path, it is determined that there is the available reality of remaining bandwidth
Body path;
Second determining module, for according to the bandwidth demand and first determining module determination available physical path, really
Surely it is used for the set of the virtual route information of path resources distribution request correspondence business, the set of the virtual route information
Including the information of at least two virtual routes configured in physical path can be used from described;
Sending module, the set for sending the virtual route information that second determining module is determined to the main frame is described
The set of virtual route information is used for the main frame and determines corresponding virtual road according to the information of at least two virtual routes
Footpath, transmits the data of the business in the physical path where the corresponding virtual route.
12. policy control center according to claim 11, it is characterised in that the policy control center also includes:
Update module, the routing information for updating the physical path belonging at least two virtual routes.
13. policy control center according to claim 12, it is characterised in that
First receiving module, is additionally operable to receive the physical path information that the state that the main frame reports changes, described
The physical path information that state changes by the Host Detection to;
Second determining module, is additionally operable to the physical path letter changed according to the state that first receiving module is received
Breath, the routing information of physical path belonging at least two virtual routes, update after physical path routing information, really
The fixed routing information for being used to take over the target entity path for the physical path that the state changes, and from the target entity
The information in destination virtual path is configured on path;
The sending module, is additionally operable to send the information in the destination virtual path, the destination virtual path to the main frame
Information determine the destination virtual path for the main frame, on the target entity path where the destination virtual path
Transmit the data of the business;
The update module, is additionally operable to update the routing information in the target entity path that the sending module is sent.
14. according to any described policy control centers of claim 11-13, it is characterised in that the path resources distribution please
Asking also includes the first request type and request path number, and first request type is used to be designated as the virtual of the business configuration
Path need to meet the preferential condition of reliability;
First determining module, including:
First determining unit, it is every for being determined according to first request type, the bandwidth demand and the request path number
Average bandwidth needed for bar virtual route to be configured;
Second determining unit, for the routing information according to every physical path, determines remaining bandwidth not less than described the
The available physical path for the average bandwidth that one determining unit is determined;
Second determining module, it is single specifically for being determined according to the bandwidth demand, the request path number and described second
The available physical path that member is determined, it is determined that the collection of the virtual route information for path resources distribution request correspondence business
Close, the set of the virtual route information includes that the request path number can be no less than with what is configured in physical path from described
Virtual route information.
15. according to any described policy control centers of claim 11-13, it is characterised in that the path resources distribution please
Asking also includes the second request type, and the virtual route that second request type is used to be designated as the business configuration need to meet clothes
The preferential condition of quality of being engaged in;
First determining module, specifically for being believed according to the path of second request type and every physical path
Breath, determines that remaining bandwidth is more than the available physical path of the first preset threshold value;
Second determining module, specifically for the void determined in physical path for the request correspondence business can be used from described
Intend the set of routing information, the set of the virtual route information includes the virtual route configured from available physical path
Bandwidth summation in information, and the set of the virtual route information meets the bandwidth demand.
16. policy control center according to claim 14, it is characterised in that
Second determining module includes, in being less than the available physical path of the 3rd preset threshold value from the domain of influence factor
It is determined that the set of the virtual route information for the request correspondence business.
17. policy control center according to claim 15, it is characterised in that
Second determining module includes, in being less than the available physical path of the 3rd preset threshold value from the domain of influence factor
It is determined that the set of the virtual route information for the request correspondence business.
18. a kind of main frame, it is characterised in that the main frame is applied to storage area network SAN system, the SAN system includes
Policy control center, main frame, interchanger and storage device, wherein, each uplink port and each downstream end of the interchanger
Mouth all distinguishes intercommunication, and the main frame is connected with the storage device by the switch communication, and the main frame passes through entity road
Footpath accesses the storage resource of the storage device, and the physical path is included from host port, interchanger uplink port, interchanger
Downlink port stores the routing information of every physical path to the path of storage device in the policy control center, including:
Receiving module, the set for receiving the virtual route information that the policy control center is sent, the virtual road
The set of footpath information includes the policy control center can use at least two virtual routes configured in physical path from described
Information;
Determining module, the information at least two virtual routes according to determines corresponding virtual route, in the correspondence
Virtual route where physical path on transmit the data of the business.
19. main frame according to claim 18, it is characterised in that the main frame also includes:
Detection module, when being changed for detecting the state of physical path, the main frame obtains the state and changed
The physical path information of change;
Reporting module, the entity road that the state for reporting the detection module detection to the policy control center changes
Footpath information.
20. main frame according to claim 19, it is characterised in that
The receiving module, is additionally operable to the information in the destination virtual path that the policy control center is sent;
The determining module, is additionally operable to determine corresponding virtual route according to the information in the destination virtual path, in the mesh
The data of the business are transmitted on target entity path where mark virtual route.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610031378.7A CN106982238B (en) | 2016-01-18 | 2016-01-18 | Method for distributing network path resources, policy control center and host |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610031378.7A CN106982238B (en) | 2016-01-18 | 2016-01-18 | Method for distributing network path resources, policy control center and host |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106982238A true CN106982238A (en) | 2017-07-25 |
CN106982238B CN106982238B (en) | 2020-07-28 |
Family
ID=59340170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610031378.7A Active CN106982238B (en) | 2016-01-18 | 2016-01-18 | Method for distributing network path resources, policy control center and host |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106982238B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108512761A (en) * | 2018-03-02 | 2018-09-07 | 咪咕文化科技有限公司 | File transmission dispatching method, management platform, request platform and storage medium |
CN111132316A (en) * | 2018-10-31 | 2020-05-08 | 维沃移动通信有限公司 | Resource allocation method, terminal equipment and network side equipment |
WO2021093477A1 (en) * | 2019-11-15 | 2021-05-20 | 华为技术有限公司 | Path planning method and device, and data transmission system |
CN112838987A (en) * | 2019-11-25 | 2021-05-25 | 中兴通讯股份有限公司 | OCH service route determining method, device and storage medium |
CN113162869A (en) * | 2021-05-19 | 2021-07-23 | 北京安信智通科技有限公司 | Transmission flow control method, device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968285A (en) * | 2005-11-14 | 2007-05-23 | 国际商业机器公司 | Method and system to assign paths to hosts in a network |
CN101207508A (en) * | 2006-12-19 | 2008-06-25 | 中兴通讯股份有限公司 | System and method for implementation of optical network band width distribution according to need |
CN103023803A (en) * | 2012-12-12 | 2013-04-03 | 华中科技大学 | Method and system for optimizing virtual links of fiber channel over Ethernet |
CN104937584A (en) * | 2012-12-19 | 2015-09-23 | 赛门铁克公司 | Providing optimized quality of service to prioritized virtual machines and applications based on quality of shared resources |
-
2016
- 2016-01-18 CN CN201610031378.7A patent/CN106982238B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968285A (en) * | 2005-11-14 | 2007-05-23 | 国际商业机器公司 | Method and system to assign paths to hosts in a network |
CN101207508A (en) * | 2006-12-19 | 2008-06-25 | 中兴通讯股份有限公司 | System and method for implementation of optical network band width distribution according to need |
CN103023803A (en) * | 2012-12-12 | 2013-04-03 | 华中科技大学 | Method and system for optimizing virtual links of fiber channel over Ethernet |
CN104937584A (en) * | 2012-12-19 | 2015-09-23 | 赛门铁克公司 | Providing optimized quality of service to prioritized virtual machines and applications based on quality of shared resources |
Non-Patent Citations (1)
Title |
---|
刘飞等: "一种面向SAN环境的Windows存储虚拟化***", 《小型微型计算机***》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108512761A (en) * | 2018-03-02 | 2018-09-07 | 咪咕文化科技有限公司 | File transmission dispatching method, management platform, request platform and storage medium |
CN108512761B (en) * | 2018-03-02 | 2021-08-06 | 咪咕文化科技有限公司 | File transmission scheduling method, management platform, request platform and storage medium |
CN111132316A (en) * | 2018-10-31 | 2020-05-08 | 维沃移动通信有限公司 | Resource allocation method, terminal equipment and network side equipment |
CN111132316B (en) * | 2018-10-31 | 2021-10-12 | 维沃移动通信有限公司 | Resource allocation method, terminal equipment and network side equipment |
WO2021093477A1 (en) * | 2019-11-15 | 2021-05-20 | 华为技术有限公司 | Path planning method and device, and data transmission system |
EP4047887A4 (en) * | 2019-11-15 | 2022-12-21 | Huawei Technologies Co., Ltd. | Path planning method and device, and data transmission system |
CN112838987A (en) * | 2019-11-25 | 2021-05-25 | 中兴通讯股份有限公司 | OCH service route determining method, device and storage medium |
CN113162869A (en) * | 2021-05-19 | 2021-07-23 | 北京安信智通科技有限公司 | Transmission flow control method, device and storage medium |
CN113162869B (en) * | 2021-05-19 | 2023-03-28 | 北京安信智通科技有限公司 | Transmission flow control method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106982238B (en) | 2020-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106982238A (en) | A kind of method, policy control center and main frame for distributing network path resource | |
CN102067533B (en) | Port grouping for association with virtual interfaces | |
CN101553768B (en) | Methods and devices for networking blade servers | |
US10027588B2 (en) | Dynamic load balancing under partial service conditions | |
CN102474454B (en) | Inter-node link aggregation system and method | |
US6345041B1 (en) | Method and apparatus for automatic load-balancing on multisegment devices | |
US7765283B2 (en) | Network provisioning in a distributed network management architecture | |
EP0753950B1 (en) | Adaptive repeater system | |
CN102571554B (en) | Methods and apparatus for forwarding-state transport in a distributed control plane | |
US20050201276A1 (en) | Method and system for allocating protection path resources | |
US20080181196A1 (en) | Link aggregation across multiple chassis | |
CN108282352A (en) | Manage the methods, devices and systems of network slice example | |
CN101692652A (en) | Method for preventing interrupt of traffics in aggregation link | |
CN102546384B (en) | Dynamic resource management method | |
CN108156041B (en) | Differentiated virtual optical network mapping method based on security perception | |
CN101001177A (en) | Single logical network interface for advanced load balancing and fail-over functionality | |
CN108337179B (en) | Link flow control method and device | |
CN101951665A (en) | Routing method of double-card mobile terminal and double-card mobile terminal | |
CN108964961A (en) | A kind of method, apparatus and system of management transmission network slice | |
CN108199976A (en) | Switching equipment, exchange system and the data transmission method for uplink of RapidIO networks | |
CN106936683A (en) | A kind of method and device for realizing tunnel configuration | |
CN110830394B (en) | Method for generating routing table based on RapidIO network | |
CN103534985B (en) | Service load allocating method, apparatus and communication system | |
CN103856449B (en) | A kind of access chassis node for creating multiple virtual access nodes | |
CN107612846A (en) | A kind of business datum adaptive transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220907 Address after: No. 1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan 610041 Patentee after: Chengdu Huawei Technologies Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |