Resource task scheduling method for optical matrix network

A task scheduling, optical matrix technology, applied in the direction of network interconnection, data switching network, multiplexing system selection device, etc., can solve the problems of high time complexity, unsuitable for resource scheduling, etc. The effect of fast automatic scheduling and workload reduction

Inactive Publication Date: 2017-06-13
NAT COMP NETWORK & INFORMATION SECURITY MANAGEMENT CENT
6 Cites 0 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0007] Both of the above two methods have high time complexity and ...
View more

Method used

The present invention is a kind of resource task dispatching method facing optical matrix network, what to be solved is how to utilize optical matrix network equipment to realize the technical problem of flexible networking in cloud computing system, this method is through the equipment ma...
View more

Abstract

The invention discloses a resource task scheduling method for an optical matrix network. The method comprises the following steps: networking a network device in a cloud computing system and an optical matrix device; generating a virtual request network according to user demands; mapping the virtual request network into the optical matrix network to accomplish the resource task scheduling represented by the virtual request network so as to obtain a physical subnet having the same logic structure as the virtual request network, and finally feeding back the physical subnet to the user, wherein the resource task scheduling comprises two stages of device mapping and link mapping, virtual devices not occupying excessive ports are preferentially mapped by using a greedy strategy, and the links between the virtual devices are quickly matched depending on the attribute advantages of the optical matrix so as to find the physical subnet satisfying the user demands. By adoption of the method disclosed by the invention, automatic resource scheduling can be realized more quickly, moreover the accuracy is guaranteed, and a matchable physical device in the same optical matrix is preferentially selected with the utilization rate of the ports of the optical matrix as the starting point.

Application Domain

Multiplex system selection arrangementsNetworks interconnection

Technology Topic

Resource schedulingUser needs +7

Image

  • Resource task scheduling method for optical matrix network
  • Resource task scheduling method for optical matrix network
  • Resource task scheduling method for optical matrix network

Examples

  • Experimental program(1)

Example Embodiment

[0042] The present invention will be further described in detail below with reference to the drawings and embodiments.
[0043] Optical matrix network:
[0044] See figure 2 As shown, in the present invention, a plurality of optical matrix equipment (Optical Matrix Equipment) constitutes an optical matrix network (Optical Matrix Network). The optical matrix network is denoted as OMN, the optical matrix device is denoted as OME, and X optical matrix devices OME constitute an optical matrix network OMN. Any optical matrix device is marked as OME x , X represents the identification number of the optical matrix device, x∈X. The optical matrix network is represented in a collective form, that is, OMN = {OME 1 ,OME 2 ,...,OME x-1 ,OME x ,OME x+1 ,...,OME X }.
[0045] OME 1 Represents the first optical matrix device in the optical matrix network.
[0046] OME 2 Represents the second optical matrix device in the optical matrix network.
[0047] OME x Represents any optical matrix device in the optical matrix network.
[0048] OME x-1 Represents the optical matrix network and OME x The adjacent optical matrix device is referred to as the previous optical matrix device for short.
[0049] OME x+1 Represents the optical matrix network and OME x The other adjacent optical matrix device is referred to as the latter optical matrix device for short.
[0050] OME X Represents the last optical matrix device in the optical matrix network.
[0051] Any optical matrix equipment OME x There are the same number of input ports and output ports, that is, the total number of input ports is recorded as Y, and any input port is recorded as y; the total number of output ports is recorded as Z, and any output port is recorded as z, and Y=Z ;
[0052] Represents any optical matrix device OME in a collective form x The input port on is recorded as
[0053]
[0054] Indicates optical matrix equipment OME x The first input port on the
[0055] Indicates optical matrix equipment OME x The second input port on the
[0056] Indicates optical matrix equipment OME x Any input port on the
[0057] Indicates optical matrix equipment OME x Up and An adjacent input port, referred to as the previous input port;
[0058] Indicates optical matrix equipment OME x Up and The other adjacent input port is referred to as the latter input port for short;
[0059] Indicates optical matrix equipment OME x The last input port on the
[0060] Represents any optical matrix device OME in a collective form x The output port on is recorded as
[0061]
[0062] Indicates optical matrix equipment OME x The first output port on the
[0063] Indicates optical matrix equipment OME x The second output port on the
[0064] Indicates optical matrix equipment OME x Any output port on the
[0065] Indicates optical matrix equipment OME x Up and The adjacent output port is referred to as the previous output port for short;
[0066] Indicates optical matrix equipment OME x Up and The other adjacent output port is referred to as the latter output port for short;
[0067] Indicates optical matrix equipment OME x The last output port on the
[0068] Physical network (substrate network):
[0069] In the cloud computing system, such as figure 2 The physical network shown is represented by a directed weighted graph. The network devices in the cloud computing system may be optical matrix devices, routers, servers, and switches. The physical network is composed of optical matrix equipment, routers, servers and/or switches.
[0070] In the present invention, the physical network is a network formed by the connection of an optical matrix network and other non-optical matrix devices, and the physical network is represented in a collective form, which is denoted as S represents the sign of the physical network, G S Represents the physical network; N S Indicates that it belongs to the physical network G S A collection of physical equipment in Represents N S A collection of physical equipment attributes; L S Indicates that it belongs to the physical network G S A collection of physical links in the middle; Means belonging to L S A collection of physical link attributes. The following four sets are introduced in turn.
[0071] N S Indicates that it belongs to the physical network G S A collection of physical devices in the. Assuming physical network G S There are a total of K devices, k represents the identification number of any physical device, and k∈K.
[0072] Represents the first physical device in the physical network.
[0073] Represents the second physical device in the physical network.
[0074] Represents any physical device in the physical network.
[0075] Represents the physical network and An adjacent physical device is referred to as the previous physical device for short.
[0076] Represents the physical network and Another adjacent physical device is referred to as the latter physical device for short.
[0077] Represents the last physical device in the physical network.
[0078] Since the number of ports on each physical device is not necessarily the same, the input port and output port of the same physical device may not be the same. In the present invention, it is assumed to belong to N S The maximum number of input ports of all physical devices in is recorded as M, where m represents the identification number of the input port, any physical device The number of input ports is recorded as M k , For k≤K, there is M k ≤M Constant established. Represent any physical device in a set form The input port on the
[0079] Represents a physical device The first input port on the
[0080] Represents a physical device The second input port on the
[0081] Represents a physical device Any input port on the
[0082] Represents a physical device Up and An adjacent input port is recorded as the previous input port;
[0083] Represents a physical device Up and The other adjacent input port is recorded as the latter input port;
[0084] Represents a physical device The last input port on the
[0085] Suppose it belongs to N S The maximum number of output ports of all the physical devices in is recorded as W, w represents the identification number of the output port, any physical device The number of output ports is recorded as W k , For k≤K, there is W k ≤W Constant is established. Represent any physical device in a set form The output port on the
[0086]
[0087] Represents a physical device The first output port on the
[0088] Represents a physical device The second output port on the
[0089] Represents a physical device Any output port on the
[0090] Represents a physical device Up and The adjacent output port is recorded as the previous output port;
[0091] Represents a physical device Up and The other adjacent output port is recorded as the latter output port;
[0092] Represents a physical device The last input port on the
[0093] Represents N S A collection of physical device attributes. In the present invention, Type represents the type of the physical device in the physical network, Num represents the number of unoccupied ports of the physical device in the physical network, and Attribute represents the attribute of the unoccupied port of the physical device in the physical network. For any physical device The maximum number of non-occupied ports Num is recorded as M k +W k.
[0094] See figure 2 As shown, for example, Type includes optical matrix equipment, routers, servers, and switches, which can be recorded as Type ∈ {0,1,2,3} in the programming language. Mark Type=0 as an optical matrix device, Type=1 as a router, Type=2 as a server, and Type=3 as a switch. For example, the types of ports include GE (Gigabit Ethernet) interfaces and GPOS (Gigabit Packet Over SONET/SDH) interfaces. GE interfaces transmit Ethernet data packets, and GPOS interfaces transmit SDH data packets. Attribute includes 10GE, 10GPOS, 100GE, 2.5GPOS. It can be marked as Attribute∈{0,1,2,3}, Attribute=0 is marked as 10GE port, Attribute=1 is marked as 10GPOS port, Attribute=2 is marked as 100GE port, and Attribute=3 is marked as 2.5GPOS port.
[0095] Gigabit Ethernet is translated as Gigabit Ethernet.
[0096] Gigabit Packet Over SONET (synchronous optical network) is translated into Gigabit Synchronous Optical Network standard data packet.
[0097] Gigabit Packet Over SDH (synchronous digital hierarchy) is translated into Gigabit Synchronous Digital Series standard data packets.
[0098] use Said Type of physical device, use Said The number of non-occupied ports of physical devices, Said The properties of any one of the input ports, Said The attribute of any one of the output ports. For example, if Means the first physical device The type is router, Represents the first physical device The number of non-occupied ports is 2, Represents the first physical device The first input port is 10GPOS port, Represents the first physical device The first output port is a 10GE port.
[0099] L S Indicates that it belongs to the physical network G S A collection of physical links in the middle. In the present invention, a set form is used to represent links. Assuming there are T links in total, t represents the identification number of the physical link, then
[0100]
[0101] Represents the first physical link in the physical network. For example, Physical equipment With physical equipment Constitute a physical link, where, Is the output, It is the input terminal.
[0102] Represents the second physical link in the physical network. For example, Physical equipment With physical equipment Constitute a physical link, where, Is the output, It is the input terminal.
[0103] Represents any physical link in the physical network. For example, Physical equipment With physical equipment Constitute a physical link, where, Is the output, It is the input terminal. or Physical equipment With physical equipment Constitute a physical link, where, Is the output, It is the input terminal.
[0104] Indicates that the physical network and An adjacent physical link is referred to as the previous physical link for short.
[0105] Indicates that the physical network and Another adjacent physical link is referred to as the latter physical link for short.
[0106] Represents the last physical link in the physical network.
[0107] Among them, due to the physical network G S The link in is directional, that is: if then Means with The two connected endpoints are the same, but not the same link, and there is no restriction between link attributes.
[0108] Means belonging to L S A collection of physical link attributes. In the present invention, The elements contained and the The elements in the Attribute set are the same, if selected Have As in the above example, Attribute includes 10GE, 10GPOS, 100GE, 2.5GPOS, which can be marked as Attribute∈{0,1,2,3}, Attribute=0 is marked as 10GE port, Attribute=1 is marked as 10GPOS port, Attribute= 2 is marked as a 100GE port, and Attribute=3 is marked as a 2.5GPOS port. at this time, If Represents a physical link The attribute is 10GE, which forms a physical link Both ends of with The attribute of the used port is also 10GE.
[0109] Virtual request network:
[0110] In the present invention, the virtual request network is similar to the description of the physical network, and the virtual request network is described in the form of a collection, which is marked as R represents the logo of the virtual request network, G R Represents the virtual request network; N R Indicates that it belongs to the virtual request network G R A collection of virtual devices in Represents N R A collection of virtual device attributes; L R Indicates that it belongs to the virtual request network G R The collection of virtual links; Means belonging to L R A collection of virtual link attributes. The following four sets are introduced in turn.
[0111] N R Indicates that it belongs to the virtual request network G R A collection of virtual devices in the. Assuming virtual request network G R There are K'devices in total, k'represents the identification number of any virtual device, k'∈K'.
[0112]
[0113] Represents the first virtual device in the virtual request network.
[0114] Represents the second virtual device in the virtual request network.
[0115] Represents any virtual device in the virtual request network.
[0116] Represents the AND in the virtual request network The adjacent virtual device is referred to as the previous virtual device for short.
[0117] Represents the AND in the virtual request network Another adjacent virtual device is referred to as the latter virtual device for short.
[0118] Represents the last virtual device in the virtual request network.
[0119] Since the number of ports on each virtual device is not necessarily the same, the input port and output port of the same device may not be the same. In the present invention, it is assumed to belong to N R The maximum number of input ports of all virtual devices in is recorded as M′, m′ represents the identification number of the input port, any virtual device The number of input ports is recorded as M k′ , For k′≤K′, there is M k′ ≤M' is always established. Represent any virtual device in a set form The input port on the
[0120] Represents a virtual device The first input port on the
[0121] Represents a virtual device The second input port on the
[0122] Represents a virtual device Any input port on the
[0123] Represents a virtual device Up and An adjacent input port is recorded as the previous input port;
[0124] Represents a virtual device Up and The other adjacent input port is recorded as the latter input port;
[0125] Represents a virtual device The last input port on the
[0126] Suppose it belongs to N R The maximum number of output ports of all virtual devices in is W′, any virtual device The number of output ports is W k′ , For k′≤K′, there is W k′ ≤W′ is always established. Represent any virtual device in a set form The output port on the
[0127]
[0128] Represents a virtual device The first output port on the
[0129] Represents a virtual device The second output port on the
[0130] Represents a virtual device Any output port on the
[0131] Represents a virtual device Up and The adjacent output port is recorded as the previous output port;
[0132] Represents a virtual device Up and The other adjacent output port is recorded as the latter output port;
[0133] Represents a virtual device The last input port on the
[0134] Represents N R A collection of virtual device properties. In the present invention, Type' represents the type of the virtual device in the virtual request network, Num represents the number of non-occupied ports of the virtual device in the virtual request network and Attribute the attribute of the non-occupied port of the virtual device in the virtual request network. For any virtual device N R The maximum number of non-occupied ports Num is M k′ +W k′.
[0135] See image 3 As shown, for example, Type' includes routers, servers, and switches, and the programming language can be written as Type'∈{1,2,3}. Mark Type'=1 as a router, Type'=2 as a server, and Type'=3 as a switch. For example, the types of ports include GE (Gigabit Ethernet) interfaces and GPOS (Gigabit Packet Over SONET/SDH) interfaces. GE interfaces transmit Ethernet data packets, and GPOS interfaces transmit SDH data packets. Attribute includes 10GE, 10GPOS, 100GE, 2.5GPOS, which can be marked as Attribute∈{0,1,2,3}, Attribute=0 is marked as 10GE port, Attribute=1 is marked as 10GPOS port, Attribute=2 is marked as 100GE port Attribute=3 is marked as 2.5GPOS port.
[0136] use Said Type of virtual device, use Indicates the virtual device The number of non-occupied ports, Said The properties of any one of the input ports, Said The attribute of any one of the output ports. For example, if Means the first virtual device The type is router, Represents the first virtual device The number of non-occupied ports is 2, Represents the first virtual device The first output port is a 10GE port.
[0137] L R Indicates that it belongs to the virtual request network G R The collection of virtual links. In the present invention, a set form is used to represent links, assuming that there are T'links in total, and t'represents the identification number of the virtual link, then
[0138]
[0139] Represents the first virtual link in the virtual request network. For example, Physical equipment With physical equipment Constitute a physical link, where, Is the output, It is the input terminal.
[0140] Represents the second virtual link in the virtual request network. For example, Physical equipment With physical equipment Constitute a physical link, where, Is the output, It is the input terminal.
[0141] Represents any virtual link in the virtual request network. For example, Physical equipment With physical equipment Constitute a physical link, where, Is the output, It is the input terminal. or Physical equipment With physical equipment Constitute a physical link, where, Is the output, It is the input terminal.
[0142] Represents the virtual request network and The adjacent virtual link is referred to as the previous virtual link for short.
[0143] Represents the virtual request network and Another adjacent virtual link is referred to as the latter virtual link for short.
[0144] Represents the best virtual link in the virtual request network.
[0145] Among them, due to the virtual request network G R The link in is directional, that is: if then Means with The two connected endpoints are the same, but not the same link, and there is no restriction between link attributes.
[0146] Means belonging to L R A collection of virtual link attributes. In the present invention, The elements contained and the The elements in the Attribute set are the same, if selected Have As in the above example, Attribute includes 10GE, 10GPOS, 100GE, 2.5GPOS, which can be marked as Attribute∈{0,1,2,3}, Attribute=0 is marked as 10GE port, Attribute=1 is marked as 10GPOS port, Attribute= 2 is marked as a 100GE port, and Attribute=3 is marked as a 2.5GPOS port. at this time, If Represents a virtual link The attribute is 10GE, which forms a virtual link Both ends of with The attribute of the used port is also 10GE.
[0147] See Figure 4 As shown, the present invention proposes a resource task scheduling method for optical matrix networks, which includes the following steps:
[0148] Step 1: Network the network equipment in the cloud computing system with the optical matrix equipment;
[0149] The network devices in the cloud computing system are optical matrix devices, routers, servers and/or switches.
[0150] Step 2: Generate a virtual request network according to user needs;
[0151] The virtual request network is recorded as G R Represents the virtual request network; N R Indicates that it belongs to the virtual request network G R A collection of virtual devices in Represents N R A collection of virtual device attributes; L R Indicates that it belongs to the virtual request network G R The collection of virtual links; Means belonging to L R A collection of virtual link attributes.
[0152] Step 3: Map the virtual request network to the optical matrix network to complete the resource task scheduling represented by the virtual request network, thereby obtaining a physical subnet that is logically isomorphic with the virtual request network;
[0153] In the present invention, the resource task scheduling problem refers to the virtual request network generated by user demand By calling the experimental platform this physical network Corresponding equipment and resources in, generate a physical sub-network that is isomorphic to the virtual request network reflecting user needs Used to carry out experiments required by users. It can be described as G in formal language R →G S′ , Among them, effective scheduling needs to meet the selected physical sub-network G S′ And virtual request network G R The attributes of the devices, the attributes of the links, and the connection relationship between the devices remain consistent.
[0154] Medium, G S′ Represents the physical subnet; N S′ Means belonging to G S′ A collection of physical equipment in Represents N S′ A collection of physical equipment attributes; L S′ Means belonging to G S′ A collection of physical links in the middle; Means belonging to L S′ A collection of physical link attributes.
[0155] The resource task scheduling includes a device mapping step and a link mapping step.
[0156] Step 4: Feedback the physical subnet obtained in Step 3 to the user.
[0157] In the process of step 3 of the present invention, the process of mapping the virtual request network to the optical matrix network is for the virtual request network G R Device set N R Two different virtual devices in with r represents the sign of the virtual device, then with The mapped physical devices should be different. For example, change The mapped physical device is recorded as s represents the sign of a physical device and will The mapped physical device is recorded as
[0158] For any virtual device The physical device to which it is mapped then Attribute constraints and The attribute constraints need to be met
[0159] For any virtual link Assume Let the physical link mapped then The virtual link attribute constraints and The physical link attribute constraints need to be met
[0160]
[0161] This formula can also be equivalent to:
[0162] In the present invention, the related research on virtual network mapping and the working principle of the optical matrix are combined to propose a resource scheduling method that separates device mapping and link mapping. See Figure 5 As shown, in order to maximize the use of the physical resources of the cloud computing system and improve the acceptance rate of the mapping request network, the resource scheduling method is based on saving the utilization rate of the ports of the optical matrix, and preferentially selects the ones that can be matched within the same optical matrix Physical equipment. Since the wiring of the optical matrix is ​​classified according to the port category, the physical equipment that can meet the conditions can be searched according to the category.
[0163] In the present invention, resource task scheduling includes a device mapping step and a link mapping step.
[0164] The device mapping steps are:
[0165] Step 1-1, for physical network G S Belongs to N S Any physical device Calculate the physical device Number of input ports M k And the number of output ports W k , And calculate the device Number of non-occupied ports Have
[0166] Step 1-2, request the virtual network G R Belongs to N R Any virtual device Compute the virtual device Number of input ports M k′ And the number of output ports W k′ , And calculating the virtual device Number of non-occupied ports Have
[0167] Step 1-3, follow step 1-1 to physical network G S All physical devices in Sort in descending order according to the number of non-occupied ports to get the sorted physical devices Means to N S A set of physical devices sorted in descending order by the number of non-occupied ports;
[0168] Step 1-4, follow step 1-2 to virtual request network G R All virtual devices in Sort in descending order according to the number of non-occupied ports, and get the sorted virtual devices Means to N R Virtual device set sorted in descending order according to the number of non-occupied ports;
[0169] Steps 1-5, will be processed by steps 1-4 Map sequentially to the processed ones in steps 1-3 On, belong to Any one of the virtual devices in the One-to-one mapping of the physical devices in the device to obtain a set of physical devices that meet the device mapping conditions
[0170] Means Match the mapped physical device set according to the device mapping condition;
[0171] Means belonging of Match the mapped physical device according to the device mapping condition;
[0172] Means belonging of Match the mapped physical device according to the device mapping condition;
[0173] Means belonging of Match the mapped physical device according to the device mapping condition;
[0174] Means belonging of Match the mapped physical device according to the device mapping condition;
[0175] Means belonging of Match the mapped physical device according to the device mapping condition;
[0176] Means belonging of Match the mapped physical device according to the device mapping condition;
[0177] If it belongs to If a virtual device cannot find a physical device that meets the device mapping conditions, then Mark as empty; wait for the physical network G S Release enough resources to enter the next cycle of device mapping; if Not empty, it means that all belong to N R Virtual device The mapping is completed, the mapping result is recorded, and the link mapping phase is entered.
[0178] In the present invention, the device mapping condition is
[0179] In the present invention, the processing of steps 1-5 is adopted to satisfy the requirements of the physical device to be mapped With virtual devices It is a device of the same type, and any physical device to be mapped The number of non-occupied ports is greater than or equal to the virtual device The number of unoccupied ports; and the virtual device The attributes of non-occupied ports can be used by the physical device Be satisfied Established.
[0180] The link mapping steps are:
[0181] In the present invention, in the link mapping process, the virtual device Each virtual link is matched one by one, and the From device mapping Whether the corresponding physical link can meet the virtual link attribute constraint condition of the virtual link.
[0182] In the present invention, the virtual link attribute constraint condition means that the corresponding port of the virtual device at both ends of any virtual link and the port attribute of the physical device mapped by the virtual device for forming the physical link should be consistent. which is
[0183] In order to facilitate the description of the one-to-one matching process of each virtual link, the virtual request network G R Belongs to L R Any virtual link (In the order of the virtual link number), the search can be satisfied Constraint conditions of virtual link attributes Physical link If Assume versus The number of links between is q, according to the result returned by the device mapping process, suppose with
[0184] Step 2-1, judge with Whether the connected optical matrix numbers are the same, if with The number of the connected optical matrix is ​​the same, set as OME x , The virtual link is considered For successful mapping, the result of link mapping is recorded as If with If the number of the connected optical matrix is ​​different, go to step 2-2;
[0185] Step 2-2, if the mapped physical device with The number of the connected optical matrix is ​​different, set to OME x-1 And OME x+1 , Suppose the optical matrix OME x-1 And OME x+1 The number of links connected between them is recorded as q′; the optical matrix OME needs to be judged x-1 And OME x+1 Whether the number of connected links q'is greater than or equal to the number of virtual links q, that is, q'≥q; if q'≥q, it is considered a virtual link For successful mapping, the result of link mapping is recorded as If q' For mapping failure, return mapping failure.
[0186] The present invention is a resource task scheduling method oriented to optical matrix networks. The technical problem to be solved is how to use optical matrix network equipment to realize flexible networking in a cloud computing system. The method uses equipment mapping and link in resource task scheduling. The technical means of mapping to quickly match the physical subnet that meets the needs of users, thereby improving the acceptance rate of the mapping request network, and realizing the technical effect of automatic resource scheduling of the optical matrix network.

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.

Similar technology patents

Common electrode driving method, circuit and liquid crystal displayer

ActiveCN102222456AGuaranteed accuracyAvoid screen flickering
Owner:BEIJING BOE OPTOELECTRONCIS TECH CO LTD

Classification and recommendation of technical efficacy words

Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products