WO2015081526A1 - 软件定义网络中的控制方法,控制设备和处理器 - Google Patents

软件定义网络中的控制方法,控制设备和处理器 Download PDF

Info

Publication number
WO2015081526A1
WO2015081526A1 PCT/CN2013/088609 CN2013088609W WO2015081526A1 WO 2015081526 A1 WO2015081526 A1 WO 2015081526A1 CN 2013088609 W CN2013088609 W CN 2013088609W WO 2015081526 A1 WO2015081526 A1 WO 2015081526A1
Authority
WO
WIPO (PCT)
Prior art keywords
network device
control
control device
network
sdn
Prior art date
Application number
PCT/CN2013/088609
Other languages
English (en)
French (fr)
Inventor
李义
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP17171871.1A priority Critical patent/EP3300315B1/en
Priority to DK13882059.2T priority patent/DK2894818T3/da
Priority to NO13882059A priority patent/NO2894818T3/no
Priority to CN201380002631.0A priority patent/CN104919762B/zh
Priority to JP2015551107A priority patent/JP5866083B1/ja
Priority to EP13882059.2A priority patent/EP2894818B1/en
Priority to PCT/CN2013/088609 priority patent/WO2015081526A1/zh
Priority to CN201610907347.3A priority patent/CN106452873B/zh
Priority to ES13882059.2T priority patent/ES2640023T3/es
Priority to US14/520,572 priority patent/US9344511B2/en
Priority to US14/706,619 priority patent/US9432474B2/en
Publication of WO2015081526A1 publication Critical patent/WO2015081526A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/561Adding application-functional data or data for application control, e.g. adding metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • H04L41/0897Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities by horizontal or vertical scaling of resources, or by migrating entities, e.g. virtual resources or entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0233Object-oriented techniques, for representation of network management data, e.g. common object request broker architecture [CORBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • H04L41/122Discovery or management of network topologies of virtualised topologies, e.g. software-defined networks [SDN] or network function virtualisation [NFV]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/329Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the application layer [OSI layer 7]

Definitions

  • the present invention relates to the field of information technology, and in particular, to a control method, a control device, and a processor in a software defined network SDN. Background technique
  • SDN Software Defined Network
  • OpenFlow OpenFlow
  • the SDN network includes a host, a forwarding device, and a controller.
  • the host is a network endpoint, which is the initiator or terminator of the communication; the forwarding device is responsible for the transmission of data packets, which does not have an independent control plane, but shares a centralized control plane (ie, the controller in the SDN) with other devices;
  • the controller is the control center in the SDN and is responsible for controlling and managing the forwarding devices.
  • the communication channel is not negotiated by the forwarding device, but is calculated by the controller and sent to each forwarding device.
  • the controller in SDN is controlled and managed by software modules such as software logic, northbound interface, NOS (Network Operation System) and southbound interface.
  • the control logic is a network application or service, and interacts with the NOS through the NBI (North Bound Interface) to enable the NOS to control the forwarding device through the SBI (South Bound Interface) to implement the control logic requirements. Data forwarding and other functions.
  • the embodiment of the present invention provides a control method, a control device, and a processor in a software-defined network SDN, to solve the problem that the performance of the network device under different control devices is not high in the prior art.
  • the embodiment of the present invention provides a control device in a software-defined network SDN, where the control device includes an operating system running on the control device, and the operating system includes a service processing module, an object acquisition module, and an object storage module.
  • the object obtaining module is configured to acquire location information of the requested network device from the object storage module according to the request of the service processing module, where the network device is registered with another control device in the SDN;
  • the service processing module is configured to establish, according to the location information of the network device, a remote object proxy of the network device, and implement, by using the remote object proxy, control of the network device, where the remote object proxy is a device object of the network device is a proxy of the control device, and the device object is a proxy for controlling the network device by a control device registered by the network device;
  • the object storage module is configured to store location information of the network device, where location information of the network device includes a device ID of a control device registered by the network device, and an IP address of a control device registered by the network device And a device ID of the network device.
  • the object obtaining module is further configured to acquire remote object information of the network device according to location information of the network device, and establish a remote object proxy of the network device by using remote object information of the network device,
  • the remote object information of the network device is for the network Information about remote control of the device.
  • the object storage module is further configured to share location information of the network device registered in the control device to other control devices in the SDN;
  • the location information of the network device that is registered in the control device includes: a device ID of the control device, an IP address of the control device, and a device ID of the network device registered in the control device.
  • the object storage module shares the location information of the network device that is registered in the control device to other control devices in the SDN, including:
  • the object storage module sends location information of the network device registered in the control device to the shared device in the SDN, where the shared device stores location information of the network device in the SDN.
  • the shared device is a standalone device, or is integrated in the control device, or is integrated with other control devices in the SDN.
  • the object storage module is further configured to acquire location information of a network device registered in another control device in the SD network from the shared device, and store the information in the object storage module.
  • the object storage module shares the location information of the network device that is registered in the control device to other control devices in the SDN, including:
  • the object storage module broadcasts location information of the network device registered in the control device to other control devices in the SDN.
  • the object storage module is further configured to acquire, from the other control devices in the SDN, location information of network devices registered in other control devices in the SDN network, and store the information in the object storage. Module.
  • control device further includes an operation interface module
  • the operation interface module is configured to create at least two operation interfaces for the device object of the network device registered in the control device, where the at least two operation interfaces have an operation content Inheritance relationship.
  • the at least two operation interfaces created by the operation interface module include an operation interface applicable to at least two network devices registered in the control device, and one is applicable to only one of the The operating interface of the network device of the control device.
  • the operation interface sets a manner of operating the network device registered in the control device.
  • control device further includes a monitoring module and a driving management module
  • the monitoring module is configured to receive a registration request initiated by a network device that is registered in the control device, where the registration request carries a feature code, and sends the feature code to the drive management module, where the feature code is a network device for uniquely identifying the originating registration request;
  • the driving management module is configured to establish, according to the feature code, the monitoring module that is optionally registered in the control, and the monitoring module is further configured to receive the connection request initiated by the network device registered in the control device
  • the connection request carries a signature code
  • the driving management module is further configured to acquire, according to the feature code carried in the connection request, the driving of the network device registered in the control device.
  • the signature includes at least one of a product number, a version number, or a manufacturer number of the network device.
  • the embodiment of the invention further provides a control method in a software defined network SDN, the method comprising:
  • the control device in the SDN receives a service request
  • the control device acquires location information of a network device that processes the service, where the network device is registered with another control device in the SDN; and the location information of the network device includes a device that is controlled by the network device ID, an IP address of the control device registered by the network device, and a device ID of the network device;
  • the control device establishes a far distance of the network device according to location information of the network device Agent of the object
  • the control device controls the remote object proxy according to the service request, where the remote object is a proxy of the device object of the network device in the control device, and the device object is registered by the network device An agent that controls the device to control the network device.
  • the establishing a remote object proxy of the network device according to the location information of the network device includes:
  • remote object information of the network device Obtaining, according to the location information of the network device, remote object information of the network device, establishing a remote object proxy of the network device by using remote object information of the network device, where remote object information of the network device is Information about remote control of network devices.
  • the method further includes:
  • the location information of the network device that is registered in the control device includes: a device ID of the control device, an IP address of the control device, and a device ID of the network device registered in the control device.
  • the sharing, by using the location information of the network device that is registered in the control device, the other control devices in the SDN includes:
  • the shared device is a standalone device, or is integrated in the control device, or is integrated with other control devices in the SDN.
  • the method further includes:
  • the sharing, by using the location information of the network device that is registered in the control device, the other control devices in the SDN includes: The location information of the network device registered in the control device is broadcasted to other control devices in the SDN.
  • the method further includes: obtaining, from the other control devices in the SDN, location information of network devices registered in other control devices in the SDN network, and storing the location information in the object storage module.
  • the method further includes:
  • At least two operation interfaces are created, and the at least two operation interfaces have an inheritance relationship on the operation content, and the operation interface sets a manner of operating the network device registered in the control device.
  • the at least two operation interfaces include an operation interface applicable to at least two of the network devices registered in the control device, and one is applicable to only one of the devices registered in the control device.
  • the operating interface of the network device includes
  • the method further includes:
  • the monitoring module receives a registration request initiated by a network device registered in the control device, where the registration request carries a feature code, and sends the feature code to the control a driver management module in the device, where the feature code is used to uniquely identify the network device that initiates the registration request;
  • the driving management module establishes, according to the feature code, a correspondence between the driving of the network device registered in the control device and the feature code.
  • the method further includes:
  • the monitoring module receives the connection request initiated by the network device registered in the control device, where the connection request carries a signature code
  • the driving management module acquires the driving of the network device registered in the control device according to the feature code carried in the connection request.
  • the signature includes at least one of a product number, a version number, or a manufacturer number of the network device.
  • the embodiment of the present invention further provides a processor in a software-defined network SDN, where the processor is located in a control device in the SDN, and the processor is configured to perform the following steps:
  • the network device is registered with another control device in the SDN;
  • the location information of the network device includes a device ID of a control device that is registered by the network device, The IP address of the control device registered by the network device and the device ID of the network device;
  • the remote object proxy is a device object of the network device in the control device.
  • the agent the device object is a proxy for controlling the network device by a control device registered by the network device.
  • the establishing a remote object proxy of the network device according to the location information of the network device includes:
  • remote object information of the network device Obtaining, according to the location information of the network device, remote object information of the network device, establishing a remote object proxy of the network device by using remote object information of the network device, where remote object information of the network device is Information about remote control of network devices.
  • the processor is further configured to perform the following steps:
  • the location information of the network device that is registered in the control device includes: a device ID of the control device, an IP address of the control device, and a device ID of the network device registered in the control device.
  • the sharing, by using the location information of the network device that is registered in the control device, the other control devices in the SDN includes:
  • Transmitting location information of a network device registered in the control device to the SDN The device shares the location information of the network device in the SDN.
  • the shared device is a standalone device, or is integrated in the control device, or is integrated with other control devices in the SDN.
  • the processor is further configured to perform the following steps:
  • the sharing, by using the location information of the network device that is registered in the control device, the other control devices in the SDN includes:
  • the location information of the network device registered in the control device is broadcast to other control devices in the SDN.
  • the processor is further configured to: obtain, from other control devices in the SDN, location information of network devices registered in other control devices in the SDN network, and store the information in the The object storage module.
  • the processor is further configured to perform the following steps:
  • At least two operation interfaces are created, and the at least two operation interfaces have an inheritance relationship on the operation content, and the operation interface sets a manner of operating the network device registered in the control device.
  • the at least two operation interfaces include an operation interface applicable to at least two of the network devices registered in the control device, and one is applicable to only one of the devices registered in the control device.
  • the operating interface of the network device includes
  • the processor is further configured to perform the following steps:
  • the registration request carries a feature code, where the feature code is used to uniquely identify the network device that initiates the registration request; and the registration is established in the control Correspondence between the driving of the network device of the device and the signature.
  • the processor is further configured to perform the following steps: Receiving a connection request initiated by the network device registered in the control device, where the connection request carries a signature code;
  • the signature includes at least one of a product number, a version number, or a manufacturer number of the network device.
  • the control method in the SDN provided by the embodiment of the present invention, the control device and the processor by acquiring the location information of the network device of the other control device registered in the SDN, can establish the remote object of the network device according to the location information.
  • the agent controls the network device through the remote object proxy. Therefore, the network device that needs to be controlled or operated can be directly controlled, and the requirement of control or operation is not required to be sent to the device object of all the network devices in the other control device, and the devices of all the network devices in the other control device are avoided.
  • the step of the object receiving the service control request and making the judgment improves the performance of the business process.
  • FIG. 1 is a schematic diagram showing the structure of a control device 01 in a software-defined network SDN according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a specific implementation of a control device 1 01 in a software-defined network SDN according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a specific implementation manner of a control device in an SDN according to an embodiment of the present invention
  • 4 is a schematic structural diagram of another specific implementation manner of a control device in an SDN according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a further implementation manner of a control device in an SDN according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another further specific implementation manner of a control device in an SDN according to an embodiment of the present invention.
  • FIG. 7 is a schematic flow chart of a control method in a software defined network S D N according to an embodiment of the present invention.
  • control device 101 includes an operating system running on the control device, and the operating system includes service processing.
  • Module 1011, object acquisition module 1012 and object storage module 101 3 are a schematic structural diagram of a control device 101 in a software-defined network SDN according to an embodiment of the present invention.
  • the control device 101 includes an operating system running on the control device, and the operating system includes service processing.
  • Module 1011, object acquisition module 1012 and object storage module 101 3 are a software-defined network SDN according to an embodiment of the present invention.
  • the object obtaining module 1012 is configured to acquire, according to the request of the service processing module 1011, the location information of the requested network device from the object storage module 101, and the network device is registered in another control device in the SDN. ;
  • the service processing module 1 011 is configured to establish, according to the location information of the network device, a remote object proxy of the network device, and implement, by using the remote object proxy, control of the network device, where the remote object proxy is a device object of the network device at the control device An agent, where the device object is a proxy that controls a network device by a control device registered by the network device;
  • the object storage module 1013 is configured to store location information of the network device, where location information of the network device includes a device ID of a control device registered by the network device, and an IP of the control device registered by the network device The address and the device ID of the network device.
  • the control device 101 in the SDN provided by the embodiment of the present invention acquires the location information of the network device of the other control device registered in the SDN by the object obtaining module 1012, so that the service processing module 1011 can establish the location according to the location information.
  • the control device 101 can directly control the network device that needs to be controlled or operated, and does not need to send the control or operation requirement to the device object of all the network devices in the other control device, avoiding all the network devices in the other control device.
  • the device object receives the service control request and performs the judgment step, which improves the performance of the service processing.
  • the object obtaining module 1012 is further configured to acquire remote object information of the network device according to location information of the network device, and establish the network by using remote object information of the network device.
  • a remote object proxy of the device, the remote object information of the network device being information for remotely controlling the network device.
  • the object obtaining module 1012 is specifically configured to determine, according to location information of the network device, a control device that is registered by the network device, and can access a space in which the remote object of the network device is stored, according to a remote device from which the network device is stored. Remote object information of the network device acquired by the object space, establishing a remote object proxy for the network device, and implementing remote control of the device object of the network device.
  • the object storage module 1013 is further configured to share location information of a network device registered in the control device to other control devices in the SDN;
  • the location information of the network device of the device includes: a device ID of the control device, an IP address of the control device, and a device of the network device registered in the control device ID.
  • the sharing, by the object storage module 101, the location information of the network device that is registered in the control device to the other control devices in the SDN includes:
  • the object storage module sends location information of the network device registered in the control device to the shared device in the SDN, where the shared device stores location information of the network device in the SDN;
  • the object storage module broadcasts location information of the network device registered in the control device to other control devices in the SDN.
  • the shared device may be a standalone device, or integrated in the control device, or integrated with other control devices in the SDN.
  • the object storage module 101 is further configured to acquire location information of a network device registered in another control device in the SDN network from the shared device, and store the location information in the object storage module; or receive the location The location information of the network device broadcasted by the other control device in the SDN, the location information of the network device registered in the other control device in the SDN network, and stored in the object storage module.
  • the location information of the network device of the device enables other control devices in the SDN to implement remote control of the registration on the control device according to the acquired location information.
  • the control device in the SDN can obtain the location information from the shared device when the remote control needs to be implemented, thereby saving object acquisition.
  • Module 1 01 3 stores space for other location information of the control device.
  • FIG. 2 is a schematic structural diagram of a specific implementation of a control device 101 in a software-defined network SDN according to an embodiment of the present invention.
  • the control device 101 further includes an operation interface module.
  • the operation interface module 1 014 is configured to create at least two operation interfaces for the device objects of the network device registered in the control device, and the at least two operation interfaces have an inheritance relationship on the operation content.
  • the at least two operation interfaces created by the operation interface module include an operation interface applicable to at least two of the network devices registered in the control device, and one is applicable to only one of the The operating interface of the network device that controls the device.
  • the operation interface sets a manner of operating the network device registered with the control device.
  • control device 101 further includes a monitoring module 1015 and a driving management module 1016;
  • the monitoring module 1015 is configured to receive a registration request initiated by a network device that is registered in the control device, where the registration request carries a feature code, and sends the feature code to the driver management module, where the feature The code is used to uniquely identify the network device that initiates the registration request;
  • the driver management module 1 016 is configured to establish, according to the feature code, the optional, the monitoring module 1015, and Receiving a connection request initiated by the network device registered in the control device, where the connection request carries a signature code;
  • the driver management module 1 016 is further configured to acquire, according to the feature code carried in the connection request, the driver of the network device registered in the control device.
  • the feature code may include at least one of a product number, a version number, or a manufacturer number of the network device.
  • the foregoing implementation manner is adopted by the monitoring module 1015 as a network device and a driving management module 1016.
  • Bridges connected between each other and different network devices are identified by uniquely identifying the network device's signature, which effectively controls the network devices and avoids the port number duplication that may occur when port numbers are used to distinguish different network devices. It is not possible to distinguish between specific network devices.
  • FIG. 3 is a schematic structural diagram of a specific implementation manner of a control device in an SDN according to an embodiment of the present invention.
  • the control device 301 in the SDN is connected to the switching device 302 and the switching device 303
  • the control device 304 is connected to the switching device 305 and the switching device 306, and the control device 301 and the control device 304 are respectively connected to the sharing device 307.
  • the operating system of the control device 301 includes a service processing module 3011, an object obtaining module 3012, and an object storage module 3013.
  • the operating system of the control device 304 includes a service processing module 3041, an object obtaining module 3042, and an object storage module 3043.
  • the shared device 307 can be accessed by the control device 301 and the control device 304, that is, the operating system running on the control device 301, and the operating system running on the control device 304 can access the content in the shared device 307.
  • the shared device 307 stores the location information of the network device in the SDN where it is located.
  • the shared device 307 stores the location information of the switching device 302, the switching device 303, the switching device 305, and the switching device 306.
  • the shared device 307 generally stores the location information of the network device in a specific data structure manner, and may store the location information of the switching device in a structured manner such as a table or a tree structure, as long as the device of the control device registered by the network device can be clearly stored. ID, the IP address of the control device registered by the network device and the device ID of the network device, so that the control device in the SDN can acquire the location information of the network device registered in the other control device.
  • the shared device 307 is an independent hardware device and stores the location information of the switching device in a tree structure.
  • the service processing module 3011 in the control device 301 needs to establish a link from the switching device 302 to the switching device 306.
  • FIG. 4 is a structural diagram showing another specific implementation manner of a control device in an SDN according to an embodiment of the present invention; Intention.
  • the control device 301 when the control device 301 is started, its object storage module 3013 creates a node in the shared device 307 that controls the device 301 in the tree data structure: the control device 3071, the control device 3071 represents the control device 301, and controls The device 3071 records the device ID and IP address of the control device 301.
  • control device 301 When the switching device 302 and the switching device 303 are first connected to the control device 301, the control device
  • the driver layer in 301 creates device objects for switching device 302 and switching device 303, respectively, and stores them in the device object library of control device 301.
  • the device object of the switching device is the agent that controls the device to control the switching device, and may be the agent that operates the device processing object in the operating system of the controlling device.
  • device object 302a is the proxy of switching device 302 in the operating system of control device 301
  • device object 303a is the proxy of switching device 303 in the operating system of control device 301
  • the operating system of control device 301 is through device object 302a
  • the switching device 302 performs control, and the operating system of the control device 301 controls the switching device 303 through the device object 303a.
  • the node of the device object 302a is created in the shared device 307: the device object 3072, the device object 3072 records the device ID of the switching device 302; and creates the node of the device object 303a: device The object 3073, the device object 3073 records the device ID of the switching device 303.
  • tree structure sharing information corresponding to the control device 301, the switching device 302, and the switching device 303 is created at the sharing device 307, the tree structure sharing information records the device ID and IP address of the control device 301, and the switching device 302 And the device ID of the switching device 303 enables the control device 304 to acquire the above information from the sharing device 307, enabling remote control of the switching device 302 or the switching device 303 under the control of the control device 301.
  • the control device 304 When the control device 304 is started, its object storage module 3043 creates a node in the shared device 307 that controls the device 304 in the tree data structure: the control device 3074, which represents the control device 304, and the control device 3074 records the control device 304.
  • Device ID and IP address is
  • the control device The driver layer in 304 creates device objects for switching device 305 and switching device 306, respectively, and stores them in the device object library of control device 304.
  • device object 305a is a proxy of switching device 305 in the operating system of control device 304
  • device object 306a is a proxy for switching device 306 in the operating system of control device 304
  • the operating system of control device 304 is swapped by device object 305a
  • the device 305 performs control, and the operating system of the control device 304 controls the switching device 306 through the device object 306a.
  • the node of the device object 305a is created in the shared device 307: the device object 3075, the device object 3075 records the device ID of the switching device 305; and creates the node of the device object 306a: device Object 3076, device object 3076 records the device ID of switching device 306. Created at the shared device 307 corresponding to the control device 304, the switching device 305, and the switching device
  • the tree structure sharing information of 306 records the device ID and IP address of the control device 304, and the device ID of the switching device 305 and the switching device 306, so that the control device 301 can obtain the above information from the sharing device 307.
  • Remote control of the switching device 302 or the switching device 303 under the control of the control device 301 is implemented. Since the service processing module 3011 is to establish a link from the switching device 302 to the switching device 306, the device ID of the switching device 302 and the device ID of the switching device 306 are obtained, and the service processing module 3011 needs to acquire the switching device according to the device ID of the switching device 302.
  • the device object of 302 obtains the device object of the switching device 306 according to the device ID of the switching device 306, and controls and controls the switching device 302 by operating and controlling the device object of the switching device 302 and the device object of the switching device 306, respectively. Control of switching device 306.
  • the service processing module 3011 acquires the device object of the switching device 302 from the object acquisition module 3012 according to the device ID of the switching device 302.
  • the object acquisition module 3012 requests the object storage module 3013 to exchange the device object of the device 302 according to the device ID of the switching device 302. Since the switching device 302 is a switching device registered with the control device 301, the device object 302a of the switching device 302 is stored in the object storage module 3013.
  • the object storage module 3013 acquires an exchange according to the device ID of the switching device 302.
  • Device 302 device object 302a is returned to object acquisition module 3012.
  • the object acquisition module 3012 returns the device object 302a to the business processing module 3011.
  • the service processing module 301 1 acquires the device object of the switching device 306 from the object acquisition module 3012 according to the device ID of the switching device 306.
  • the object acquisition module 3012 requests the object storage module 301 3 for the device object of the switching device 306 according to the device ID of the switching device 306. Since the switching device 306 is a switching device registered with the control device 304, the device object 306a of the switching device 306 is not stored in the object storage module 3013.
  • the object storage module 301 3 acquires the location information of the switching device 306 from the shared device 307 according to the device ID of the switching device 306.
  • the control device 3074 Since the shared device stores the control device 3074 and the device object 3076, the control device 3074 records the device ID and IP address of the control device 304, and the object storage module 3013 acquires the device ID and IP of the control device 304 according to the device ID of the switching device 306. The address, and the device ID and IP address of the control device 304 are sent to the object acquisition module 3012. It should be noted that, when the object storage module 3043 creates the device object of the switching device 306, the remote object of the switching device 306 is registered in the object storage module 3043 (for example, the remote object service RMI Server) for the switching device 306.
  • the object storage module 3043 for example, the remote object service RMI Server
  • the object obtaining module 3012 initiates a remote object acquisition request (for example, accessing the RMI Server server) according to the acquired device ID and IP address of the control device 304, thereby acquiring remote object information of the switching device 306.
  • the object obtaining module 3012 establishes a remote object proxy of the switching device 306 according to the remote object information of the switching device 306, by which the service processing module 3011 can cause the remote processing agent 306 to control or operate, and control or operate.
  • the structure can be passed over the network to the switching device 306 to effect control of the switching device 306.
  • the remote object proxy 306 can be directly operated in the same manner as the service processing module 3011 operates the device object of the swap device 302, except that the result of the control or operation of the remote object proxy 306 is passed.
  • the remote object that establishes the switching device 306 is taken as an example for description; the control device 304 further includes other network devices that are controlled, such as a gateway, a router, and the like registered in the control device 304, and the implementation manner thereof and the switching device.
  • the implementation of 306 is similar, and will not be described again.
  • the service processing module 3011 controls the device objects of the switching device 302, which can be implemented through an operation interface.
  • An interface is a collection of methods, but only defines methods, not implementation.
  • a device object can implement an interface, that is, a method defined by the device object implementation interface. In this way, the control of the device can be achieved by setting the operation interface.
  • FIG. 5 is a schematic structural diagram of a further implementation manner of a control device in an SDN according to an embodiment of the present invention.
  • the control device 301 further includes an operation interface module 3014 for setting at least two operation interfaces.
  • interface A can be set, and the interface A includes operations supported by both switching devices 302 and 303, such as creating a link, and both switching device 302 and switching device 303 support the operation of creating a link;
  • Interface B, interface B inherits the defined method of interface A, and adds only the methods supported by switching device 302, such as adding a virtual port, that is, interface B includes a method of creating a link and adding a virtual port;
  • setting interface C interface C It also inherits the method defined by interface A, and implements only the methods supported by the switching device 303, such as adding a trunk port, that is, the interface C includes a method of creating a link and adding a trunk.
  • the switching device 302 can implement the interface A and the interface B
  • the switching device 303 can implement the interface A and the interface C.
  • the interface A or the interface B may be invoked, and the method set by the interface A or the interface B may be executed to implement the control of the switching device 302.
  • the service processing module 3011 separately establishes a link between the switching device 302 and the switching device 306.
  • FIG. 6 is a schematic structural diagram of another further implementation manner of a control device in an SDN according to an embodiment of the present invention.
  • the operating system of the control device 301 further includes a driving layer 3017, and the driving layer is connected to the object storage module.
  • the driving layer 3017 includes a monitoring module 3015 and a driving management module 3016.
  • the driver layer 3017 is responsible for communication with the device and creates a device object that initiates the registration of the network device.
  • a device object 302a is created for the switching device 302, and the switching device 303 controls the switching device 303.
  • the device 301 registers, the device object 303a is created for the switching device 303; after the device layer is created, the driver layer 3017 registers the created device object into the object storage module 3013.
  • the drive management module 3016 is configured to store drive registration information of the switching device 302 and the switching device 303 and manage drivers of the switching device 302 and the switching device 303, such as loading, unloading, or starting the switching device.
  • the monitoring module 3015 listens for the connection request of the network device, and the request information sent by the switching device 302 or the switching device 303 arrives at the monitoring module 3015 first, and is sent by the monitoring module 3015 to the driving management module. Since the port numbers of the switching device 302 and the switching device 303 may collide, that is, the case where the two port numbers are the same causes the drive management module 3106 to fail to identify the specific switching device. Therefore, when the switching device initiates registration, it needs to carry a signature that can uniquely identify the switching device. Through the signature, the drive management module 3106 can identify different switching devices, and even if the port numbers of the switching devices are the same, different switching devices can be distinguished.
  • the switching device 302 and the switching device 303 can be identified by the signature.
  • the port number is the port number of the switching device connection
  • the feature code is information carried by the switching device when the registration request is initiated, and the information can uniquely identify the device that initiates the registration request. Information uniquely identified by the switching device carried in the request sent during the connection.
  • the driving information recorded in the driver management module 3106 is as follows. Table 1 shows:
  • the above feature code may be composed of at least one of a product number, a version number, and a manufacturer number of the device to uniquely identify the switching device.
  • the connection request After the switching device 302 is registered, when the connection request is initiated, the connection request carries the signature 0xFF32, the listening module 3015 receives the connection request of the switching device 302, and sends the connection request to the driver management module 3016, and the driver management module 3016
  • the signature carried in the connection request acquires the driver of the switching device 302.
  • the drive management module 3016 is enabled to uniquely determine the switching device 302 to effect effective control of the switching device 302 by the operating system of the control device 301.
  • the switching device 303 is similar to the switching device 302 when initiating a connection request, and details are not described herein.
  • FIG. 7 is a schematic flowchart of a control method in a software-defined network SDN according to an embodiment of the present invention, including:
  • Step 700 The control device in the SDN receives a service request.
  • Step 702 The control device acquires location information of a network device that processes the service, where the network device is registered with another control device in the SDN, and the location information of the network device includes a control that is registered by the network device. a device ID of the device, an IP address of the control device registered by the network device, and a device ID of the network device;
  • Step 704 The control device establishes a remote object proxy of the network device according to the location information of the network device.
  • Step 706 The control device controls the remote object proxy according to the service request.
  • the remote object is a proxy of the device object of the network device at the control device, and the device object is a proxy for controlling the network device by a control device registered by the network device.
  • the control method in the SDN provided by the embodiment of the present invention, by acquiring location information of a network device of another control device registered in the SDN, can establish a remote object proxy of the network device according to the location information, by using the The remote object agent implements control of the network device.
  • the establishing a remote object proxy of the network device according to the location information of the network device includes:
  • remote object information of the network device Obtaining, according to the location information of the network device, remote object information of the network device, establishing a remote object proxy of the network device by using remote object information of the network device, where remote object information of the network device is Information about remote control of network devices.
  • the control device that is registered by the network device is determined according to the location information of the network device, and the space in which the remote object of the network device is stored is accessed according to the remote object space from which the network device is stored.
  • the remote object information of the network device establishes a remote object proxy to the network device, and implements remote control of the device object of the network device.
  • the method may further include:
  • the location information of the network device that is registered in the control device includes: the device ID of the control device, Controlling an IP address of the device and the device ID of the network device registered with the control device.
  • the sharing of the location information of the network device registered in the control device to the other control devices in the SDN includes: Transmitting the location information of the network device registered in the control device to the shared device in the SDN, where the shared device stores location information of the network device in the SDN; or the network registered in the control device
  • the location information of the device is broadcast to other control devices in the SDN.
  • the shared device is a standalone device, or integrated in the control device, or other control device integrated in the SDN.
  • the method further includes:
  • Receiving location information broadcast by other control devices in the SDN acquiring location information of network devices registered in other control devices in the SDN network, and storing the location information in the object storage module.
  • the control device in the SDN can obtain the location information from the shared device when the remote control needs to be implemented, and the control can be performed.
  • the device stores space for other location information of the control device.
  • the method further includes:
  • At least two operation interfaces are created, and the at least two operation interfaces have an inheritance relationship on the operation content, and the operation interface sets a manner of operating the network device registered in the control device.
  • the at least two operation interfaces include an operation interface applicable to at least two network devices registered in the control device, and one network device applicable to only one of the control devices. Operation interface.
  • the method further includes:
  • the monitoring module receives a registration request initiated by a network device registered in the control device, where the registration request carries a feature code, and sends the feature code to the control a driver management module in the device, where the feature code is used to uniquely identify the network device that initiates the registration request;
  • the driving management module establishes, according to the feature code, a correspondence between the driving of the network device registered in the control device and the feature code.
  • the monitoring module may further receive the connection request initiated by the network device that is registered by the control device, where the connection request carries a feature code; and the drive management module is configured to perform the feature code carried in the connection request. And acquiring the driver of the network device registered in the control device.
  • the signature includes at least one of a product number, a version number, or a manufacturer number of the network device.
  • the above method uses the monitoring module as a bridge between the network device and the driver management module, and distinguishes different network devices by uniquely identifying the feature code of the network device, thereby realizing effective control of the network device, and avoiding different port numbers in use.
  • the network device may appear when the port number is duplicated and the problem of the specific network device cannot be distinguished.
  • the embodiment of the present invention further provides a processor in a software-defined network SDN, where the processor is located in a control device in the SDN, and the processor is configured to perform the following steps:
  • the network device is registered with another control device in the SDN;
  • the location information of the network device includes a device ID of a control device that is registered by the network device, IP address of the control device registered by the network device and the network Device ID of the network device;
  • the remote object proxy is a device object of the network device in the control device.
  • the agent the device object is a proxy for controlling the network device by a control device registered by the network device.
  • the processor in the SDN provided by the embodiment of the present invention, by acquiring location information of a network device of another control device registered in the SDN, can establish a remote object proxy of the network device according to the location information, by using the The remote object agent implements control of the network device.
  • the establishing a remote object proxy of the network device according to the location information of the network device includes:
  • remote object information of the network device Obtaining, according to the location information of the network device, remote object information of the network device, establishing a remote object proxy of the network device by using remote object information of the network device, where remote object information of the network device is Information about remote control of network devices.
  • the control device that is registered by the network device is determined according to the location information of the network device, and the space in which the remote object of the network device is stored is accessed according to the remote object space from which the network device is stored.
  • the remote object information of the network device establishes a remote object proxy to the network device, and implements remote control of the device object of the network device.
  • the processor is further configured to: share location information of a network device registered in the control device with other control devices in the SDN;
  • the location information of the network device of the control device includes: a device ID of the control device, an IP address of the control device, and a device ID of the network device registered in the control device.
  • the sharing of the location information of the network device registered in the control device to the other control devices in the SDN includes:
  • the location information of the device is broadcast to other control devices in the SDN.
  • the shared device is a standalone device or integrated in the control device or other control device integrated in the SDN.
  • the processor is further configured to process the following steps:
  • Receiving location information broadcast by other control devices in the SDN acquiring location information of network devices registered in other control devices in the SDN network, and storing the location information in the object storage module.
  • the control device in the SDN can obtain the location information from the shared device when the remote control needs to be implemented, and the control can be performed.
  • the device stores space for other location information of the control device.
  • the processor is further configured to: perform at least two operation interfaces, where the at least two operation interfaces have an inheritance relationship on the operation content, and the operation interface is configured.
  • a manner of operating the network device registered with the control device include an operation interface applicable to at least two of the network devices registered in the control device, and an operation applicable only to one of the network devices registered in the control device interface.
  • the relationship between the device and the device can be flexibly configured, avoiding the disadvantages of the single operation interface setting method to meet the device object of all network devices and not playing the specific network device characteristics, or a single operation interface for the specific network device.
  • the operation interface is set, the implementation is complicated and the network interface needs to increase the disadvantages of the operation interface.
  • the processor is further configured to: receive a registration request initiated by a network device that is registered in the control device, where the registration request carries a signature, the signature a network device for uniquely identifying the initiating registration request; establishing a correspondence between the driver of the network device registered in the control device and the feature code;
  • connection request initiated by the network device registered in the control device, where the connection request carries a signature code
  • the signature includes at least one of a product number, a version number, or a manufacturer number of the network device.
  • the above processor realizes effective control of the network device by distinguishing different network devices by uniquely identifying the feature code of the network device, and avoids the inability to distinguish the port number that may occur when the port number is used to distinguish different network devices. Problem with network devices.
  • the embodiment of the invention further provides a computer program product, which is capable of executing the steps listed in the embodiment of the control method in the above SDN, and realizing the technical effects achieved by the above control method.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention is essential or the part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product, and the computer software product is stored. It is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Library & Information Science (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

 本发明实施例提供了一种软件定义网络 SDN中的控制方法,控制设备和处理器,以解决现有技术中处理不同控制设备下的网络设备之间业务时性能不高的问题。本发明实施例提供的 SDN中的控制方法,控制设备和处理器,通过获取注册于所述 SDN中的其它控制设备的网络设备的位置信息,能够根据该位置信息建立所述网络设备的远程对象代理,通过所述远程对象代理实现对所述网络设备的控制。从而可以实现对需要控制或操作的网络设备直接控制,不需要将控制或操作的需求发送给所述其它控制设备中所有网络设备的设备对象,避免了所述其他控制设备中所有网络设备的设备对象接收业务控制请求并进行判断的步骤,提升了业务处理的性能。

Description

软件定义网络中的控制方法, 控制设备和处理器
技术领域 本发明涉及信息技术领域, 特别涉及一种软件定义网络 SDN中的控制方 法, 控制设备和处理器。 背景技术
SDN ( Software Defined Network, 软件定义网络 )是一种新型网络创新 架构, 其核心技术 OpenFlow通过将网络设备控制面与数据面分离开来, 从 而实现了网络流量的灵活控制, 为核心网络及应用的创新提供了良好的平 在 SDN网络中, 每台网络设备仅保留转发功能, 控制功能全部集中到 一个控制器中。 SDN的网络中包括主机, 转发设备和控制器。 主机是网络 端点, 是通信的发起方或终结方; 转发设备负责数据报文的发送, 其没有 独立的控制面, 而是和其他设备共享一个集中的控制面 (即 SDN中的控制 器); 控制器是 SDN 中的控制中心, 负责控制和管理转发设备。 主机之间 进行通信时, 通信通道不是由转发设备协商得出, 而是由控制器计算得出, 并下发到各个转发设备。
SDN中的控制器是通过软件逻辑、北向接口、 NOS ( Network Operation System, 网络操作***)和南向接口等软件模块来实现控制和管理的。 其 中, 控制逻辑是网络应用程序或服务, 通过 NBI ( North Bound Interface , 北 向接口)与 NOS交互, 使得 NOS通过 SBI ( South Bound Interface, 南向接口 )来控制转发设备, 以实现控制逻辑要求实现的数据转发等功能。
现有技术中, 如果注册于不同控制器的两个主机之间要建立一条链 路, 需要通过两个分别注册于不同的控制设备的交换设备进行操作。 当一 个控制器需要对另外一个控制设备下的主机进行操作时, 是通过订阅 /通知 等广播机制来实现的, 另外一个控制设备下的所有交换设备都会收到事件 请求并进行判断, 导致处理业务的性能较低。 发明内容
本发明实施例提供了一种软件定义网络 SDN中的控制方法, 控制设备和 处理器, 以解决现有技术中处理不同控制设备下的网络设备之间业务时性 能不高的问题。
本发明实施例提供了一种软件定义网络 SDN中的控制设备, 所述控制设 备包括运行于所述控制设备的操作***, 所述操作***包括业务处理模块, 对象获取模块和对象存储模块;
所述对象获取模块, 用于根据所述业务处理模块的请求, 从所述对象 存储模块获取请求的网络设备的位置信息, 所述网络设备注册于所述 SDN中 的其它控制设备;
所述业务处理模块, 用于根据所述网络设备的位置信息, 建立所述网 络设备的远程对象代理, 通过所述远程对象代理实现对所述网络设备的控 制, 所述远程对象代理是所述网络设备的设备对象在所述控制设备的代理, 所述设备对象是所述网络设备所注册的控制设备对所述网络设备进行控制 的代理;
所述对象存储模块, 用于存储所述网络设备的位置信息, 所述网络设 备的位置信息包括所述网络设备所注册的控制设备的设备 ID, 所述网络设 备所注册的控制设备的 IP地址和所述网络设备的设备 ID。
可选的, 所述对象获取模块还用于根据所述网络设备的位置信息, 获 取所述网络设备的远程对象信息, 通过所述网络设备的远程对象信息建立 所述网络设备的远程对象代理, 所述网络设备的远程对象信息是对所述网 络设备进行远程控制的信息。
可选的, 所述对象存储模块, 还用于将注册于所述控制设备的网络设 备的位置信息共享给所述 SDN中的其它控制设备;
所述注册于所述控制设备的网络设备的位置信息包括: 所述控制设备 的设备 ID, 所述控制设备的 IP地址和所述注册于所述控制设备的网络设备 的设备 ID。
可选的, 所述对象存储模块将注册于所述控制设备的网络设备的位置 信息共享给所述 SDN中的其它控制设备包括:
所述对象存储模块将注册于所述控制设备的网络设备的位置信息发送 给所述 SDN中的共享设备, 所述共享设备存储所述 SDN中网络设备的位置信 息。
可选的, 所述共享设备是一个独立的设备, 或是集成于所述控制设备, 或集成于所述 SDN中的其它控制设备。
可选的, 所述对象存储模块, 还用于从所述共享设备获取注册于所述 SD 网络中其它控制设备的网络设备的位置信息, 并存储于所述对象存储模 块。
可选的, 所述对象存储模块将注册于所述控制设备的网络设备的位置 信息共享给所述 SDN中的其它控制设备包括:
所述对象存储模块将所述注册于所述控制设备的网络设备的位置信息 广播给所述 SDN中的其它控制设备。
可选的,所述对象存储模块,还用于从所述所述 SDN中的其它控制设备, 获取注册于所述 SDN网络中其它控制设备的网络设备的位置信息, 并存储于 所述对象存储模块。
可选的, 所述控制设备还包括操作接口模块;
所述操作接口模块, 用于为注册于所述控制设备的网络设备的设备对 象, 创建至少两个操作接口, 所述至少两个操作接口之间具有操作内容上 的继承关系。
可选的, 所述操作接口模块创建的至少两个操作接口中, 包括一个适 用于至少两个所述注册于所述控制设备的网络设备的操作接口, 以及一个 只适用于一个所述注册于所述控制设备的网络设备的操作接口。
可选的, 所述操作接口设定对所述注册于所述控制设备的网络设备操 作的方式。
可选的, 所述控制设备还包括监听模块和驱动管理模块;
所述监听模块, 用于接收注册于所述控制设备的网络设备发起的注册 请求, 所述注册请求中携带有特征码, 并将所述特征码发送给所述驱动管 理模块, 所述特征码用于唯一标识所述发起注册请求的网络设备;
所述驱动管理模块, 用于根据所述特征码, 建立所述注册于所述控制 可选的, 所述监听模块, 还用于接收所述注册于所述控制设备的网络 设备发起的连接请求, 所述连接请求中携带有特征码;
所述驱动管理模块, 还用于根据所述连接请求中携带的特征码, 获取 所述注册于所述控制设备的网络设备的驱动。
可选的, 所述特征码包括网络设备的产品编号、 版本号或生产商编号 中的至少一个。 本发明实施例还提供了一种软件定义网络 SDN中的控制方法, 所述方法 包括:
所述 SDN中的控制设备接收业务请求;
所述控制设备获取处理所述业务的网络设备的位置信息, 所述网络设 备注册于所述 SDN中的其它控制设备; 所述网络设备的位置信息包括所述网 络设备所注册的控制设备的设备 ID, 所述网络设备所注册的控制设备的 IP 地址和所述网络设备的设备 ID;
所述控制设备根据所述网络设备的位置信息, 建立所述网络设备的远 程对象代理;
所述控制设备根据所述业务请求对所述远程对象代理进行控制, 所述 远程对象是所述网络设备的设备对象在所述控制设备的代理, 所述设备对 象是所述网络设备所注册的控制设备对所述网络设备进行控制的代理。
可选的, 所述根据所述网络设备的位置信息, 建立所述网络设备的远 程对象代理包括:
根据所述网络设备的位置信息, 获取所述网络设备的远程对象信息, 通过所述网络设备的远程对象信息建立所述网络设备的远程对象代理, 所 述网络设备的远程对象信息是对所述网络设备进行远程控制的信息。
可选的, 所述方法还包括:
将注册于所述控制设备的网络设备的位置信息共享给所述 SDN中的其 它控制设备;
所述注册于所述控制设备的网络设备的位置信息包括: 所述控制设备 的设备 ID , 所述控制设备的 IP地址和所述注册于所述控制设备的网络设备 的设备 ID。
可选的, 所述将注册于所述控制设备的网络设备的位置信息共享给所 述 SDN中的其它控制设备包括:
将注册于所述控制设备的网络设备的位置信息发送给所述 SDN中的共 享设备, 所述共享设备存储所述 SDN中网络设备的位置信息。
可选的, 所述共享设备是一个独立的设备, 或是集成于所述控制设备, 或集成于所述 SDN中的其它控制设备。
可选的, 所述方法还包括:
从所述共享设备获取注册于所述 SDN网络中其它控制设备的网络设备 的位置信息, 并存储于所述对象存储模块。
可选的, 所述将注册于所述控制设备的网络设备的位置信息共享给所 述 SDN中的其它控制设备包括: 将所述注册于所述控制设备的网络设备的位置信息广播给所述 SDN中 的其它控制设备。
可选的, 所述方法还包括: 从所述 SDN中的其它控制设备, 获取注册于 所述 SDN网络中其它控制设备的网络设备的位置信息, 并存储于所述对象存 储模块。
可选的, 所述方法还包括:
创建至少两个操作接口, 所述至少两个操作接口之间具有操作内容上 的继承关系, 所述操作接口设定对所述注册于所述控制设备的网络设备操 作的方式。
可选的, 所述至少两个操作接口中, 包括一个适用于至少两个所述注 册于所述控制设备的网络设备的操作接口, 以及一个只适用于一个所述注 册于所述控制设备的网络设备的操作接口。
可选的, 所述方法还包括:
在所述控制设备中设置监听模块, 所述监听模块接收注册于所述控制 设备的网络设备发起的注册请求, 所述注册请求中携带有特征码, 并将所 述特征码发送给所述控制设备中的驱动管理模块, 所述特征码用于唯一标 识所述发起注册请求的网络设备;
所述驱动管理模块根据所述特征码, 建立所述注册于所述控制设备的 网络设备的驱动与所述特征码之间的对应关系。
可选的, 所述方法还包括:
所述监听模块接收所述注册于所述控制设备的网络设备发起的连接请 求, 所述连接请求中携带有特征码;
所述驱动管理模块根据所述连接请求中携带的特征码, 获取所述注册 于所述控制设备的网络设备的驱动。
可选的, 所述特征码包括网络设备的产品编号、 版本号或生产商编号 中的至少一个。 本发明实施例还提供了一种软件定义网络 SDN中的处理器, 所述处理器 位于所述 SDN中的控制设备中, 所述处理器用于执行下述步骤:
接收业务请求;
获取处理所述业务的网络设备的位置信息, 所述网络设备注册于所述 SDN中的其它控制设备; 所述网络设备的位置信息包括所述网络设备所注册 的控制设备的设备 ID, 所述网络设备所注册的控制设备的 IP地址和所述网 络设备的设备 ID;
根据所述网络设备的位置信息, 建立所述网络设备的远程对象代理; 根据所述业务请求对所述远程对象代理进行控制, 所述远程对象是所 述网络设备的设备对象在所述控制设备的代理, 所述设备对象是所述网络 设备所注册的控制设备对所述网络设备进行控制的代理。
可选的, 所述根据所述网络设备的位置信息, 建立所述网络设备的远 程对象代理包括:
根据所述网络设备的位置信息, 获取所述网络设备的远程对象信息, 通过所述网络设备的远程对象信息建立所述网络设备的远程对象代理, 所 述网络设备的远程对象信息是对所述网络设备进行远程控制的信息。
可选的, 所述处理器还用于执行下述步骤:
将注册于所述控制设备的网络设备的位置信息共享给所述 SDN中的其 它控制设备;
所述注册于所述控制设备的网络设备的位置信息包括: 所述控制设备 的设备 ID, 所述控制设备的 IP地址和所述注册于所述控制设备的网络设备 的设备 ID。
可选的, 所述将注册于所述控制设备的网络设备的位置信息共享给所 述 SDN中的其它控制设备包括:
将注册于所述控制设备的网络设备的位置信息发送给所述 SDN中的共 享设备, 所述共享设备存储所述 SDN中网络设备的位置信息。
可选的, 所述共享设备是一个独立的设备, 或是集成于所述控制设备, 或集成于所述 SDN中的其它控制设备。
可选的, 所述处理器还用于执行下述步骤:
从所述共享设备获取注册于所述 SDN网络中其它控制设备的网络设备 的位置信息, 并存储于所述对象存储模块。
可选的, 所述将注册于所述控制设备的网络设备的位置信息共享给所 述 SDN中的其它控制设备包括:
将所述注册于所述控制设备的网络设备的位置信息广播给所述 SDN中 的其它控制设备。
可选的, 所述处理器还用于执行下述步骤: 从所述所述 SDN中的其它控 制设备, 获取注册于所述 SDN网络中其它控制设备的网络设备的位置信息, 并存储于所述对象存储模块。
可选的, 所述处理器还用于执行下述步骤:
创建至少两个操作接口, 所述至少两个操作接口之间具有操作内容上 的继承关系, 所述操作接口设定对所述注册于所述控制设备的网络设备操 作的方式。
可选的, 所述至少两个操作接口中, 包括一个适用于至少两个所述注 册于所述控制设备的网络设备的操作接口, 以及一个只适用于一个所述注 册于所述控制设备的网络设备的操作接口。
可选的, 所述处理器还用于执行下述步骤:
接收注册于所述控制设备的网络设备发起的注册请求, 所述注册请求 中携带有特征码, 所述特征码用于唯一标识所述发起注册请求的网络设备; 建立所述注册于所述控制设备的网络设备的驱动与所述特征码之间的 对应关系。
可选的, 所述处理器还用于执行下述步骤: 接收所述注册于所述控制设备的网络设备发起的连接请求, 所述连接 请求中携带有特征码;
根据所述连接请求中携带的特征码, 获取所述注册于所述控制设备的 网络设备的驱动。
可选的, 所述特征码包括网络设备的产品编号、 版本号或生产商编号 中的至少一个。
本发明实施例提供的 SDN中的控制方法, 控制设备和处理器, 通过获取 注册于所述 SDN中的其它控制设备的网络设备的位置信息, 能够根据该位置 信息建立所述网络设备的远程对象代理, 通过所述远程对象代理实现对所 述网络设备的控制。 从而可以实现对需要控制或操作的网络设备直接控制, 不需要将控制或操作的需求发送给所述其它控制设备中所有网络设备的设 备对象, 避免了所述其他控制设备中所有网络设备的设备对象接收业务控 制请求并进行判断的步骤, 提升了业务处理的性能。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。
图 1为本发明实施例一种软件定义网络 SDN中的控制设备 1 01的结构示 意图;
图 2为本发明实施例一种软件定义网络 SDN中的控制设备 1 01的具体实 现结构示意图;
图 3为本发明实施例一种 SDN中的控制设备具体实现方式结构示意图; 图 4为本发明实施例一种 SDN中的控制设备另一种具体实现方式结构示 意图;
图 5为本发明实施例一种 SDN中的控制设备进一步具体实现方式结构示 意图;
图 6为本发明实施例一种 SDN中的控制设备另一种进一步具体实现方式 结构示意图;
图 7为本发明实施例一种软件定义网络 S D N中的控制方法的流程示意 图。
具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有 做出创造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护 的范围。
参考图 1 , 图 1为本发明实施例一种软件定义网络 SDN中的控制设备 101 的结构示意图, 所述控制设备 1 01包括运行于所述控制设备的操作***, 所 述操作***包括业务处理模块 1011 , 对象获取模块 1012和对象存储模块 101 3 ,
所述对象获取模块 1012 , 用于根据所述业务处理模块 1011的请求, 从 所述对象存储模块 101 3获取请求的网络设备的位置信息, 所述网络设备注 册于所述 SDN中的其它控制设备;
所述业务处理模块 1 011 , 用于根据所述网络设备的位置信息, 建立所 述网络设备的远程对象代理, 通过所述远程对象代理实现对所述网络设备 的控制, 所述远程对象代理是所述网络设备的设备对象在所述控制设备的 代理, 所述设备对象是所述网络设备所注册的控制设备对所述网络设备进 行控制的代理;
所述对象存储模块 1013 , 用于存储所述网络设备的位置信息, 所述网 络设备的位置信息包括所述网络设备所注册的控制设备的设备 ID, 所述网 络设备所注册的控制设备的 IP地址和所述网络设备的设备 ID。
本发明实施例提供的上述 SDN中的控制设备 101 , 通过对象获取模块 1012获取注册于所述 SDN中的其它控制设备的网络设备的位置信息, 使得业 务处理模块 1011能够根据该位置信息建立所述网络设备的远程对象代理, 通过所述远程对象代理实现对所述网络设备的控制。 控制设备 101可以针对 需要控制或操作的网络设备直接控制, 不需要将控制或操作的需求发送给 所述其它控制设备中所有网络设备的设备对象, 避免了所述其他控制设备 中所有网络设备的设备对象接收业务控制请求并进行判断的步骤, 提升了 业务处理的性能。
作为一种可选的实现方式, 所述对象获取模块 1012还用于根据所述网 络设备的位置信息, 获取所述网络设备的远程对象信息, 通过所述网络设 备的远程对象信息建立所述网络设备的远程对象代理, 所述网络设备的远 程对象信息是对所述网络设备进行远程控制的信息。 所述对象获取模块 1012具体是根据所述网络设备的位置信息, 确定所述网络设备注册的控制 设备, 并能够访问存储有所述网络设备远程对象的空间, 依据从存储有所 述网络设备远程对象空间获取到的所述网络设备的远程对象信息, 建立对 所述网络设备的远程对象代理, 实现对所述网络设备的设备对象的远程控 制。
作为一种可选的实现方式, 所述对象存储模块 1013 , 还用于将注册于 所述控制设备的网络设备的位置信息共享给所述 SDN中的其它控制设备; 所 述注册于所述控制设备的网络设备的位置信息包括: 所述控制设备的设备 ID, 所述控制设备的 IP地址和所述注册于所述控制设备的网络设备的设备 ID。
其中, 所述对象存储模块 1 01 3将注册于所述控制设备的网络设备的位 置信息共享给所述 SDN中的其它控制设备包括:
所述对象存储模块将注册于所述控制设备的网络设备的位置信息发送 给所述 SDN中的共享设备, 所述共享设备存储所述 SDN中网络设备的位置信 息; 或者
所述对象存储模块将所述注册于所述控制设备的网络设备的位置信息 广播给所述 SDN中的其它控制设备。
其中, 所述共享设备可以是一个独立的设备, 或是集成于所述控制设 备, 或集成于所述 SDN中的其它控制设备。
相应的, 所述对象存储模块 1 01 3 , 还用于从所述共享设备获取注册于 所述 SDN网络中其它控制设备的网络设备的位置信息, 并存储于所述对象存 储模块; 或者接收所述 SDN中的其它控制设备广播的网络设备的位置信息, 获取注册于所述 SDN网络中其它控制设备的网络设备的位置信息, 并存储于 所述对象存储模块。
通过对象获取模块 1 01 3将注册于所述控制设备的网络设备的位置信息 共享给所述 SDN中的其它控制设备, 能够使得所述 SDN中的其他控制设备能 够获取所述注册于所述控制设备的网络设备的位置信息, 使得所述 SDN中的 其他控制设备能够根据获取到的位置信息实现对所述注册于所述控制设备 的远程控制。 并且, 如果将注册于所述控制设备的网络设备的位置信息发 送给所述 SDN中的共享设备, 能够使得 SDN中的控制设备在需要实现远程控 制时从共享设备获取位置信息, 能够节省对象获取模块 1 01 3存储其它控制 设备的位置信息的空间。
参考图 2 , 图 2为本发明实施例一种软件定义网络 SDN中的控制设备 1 01 的具体实现结构示意图。 如图 2所示, 所述控制设备 1 01还包括操作接口模 所述操作接口模块 1 014 , 用于为注册于所述控制设备的网络设备的设 备对象, 创建至少两个操作接口, 所述至少两个操作接口之间具有操作内 容上的继承关系。
其中, 所述操作接口模块创建的至少两个操作接口中, 包括一个适用 于至少两个所述注册于所述控制设备的网络设备的操作接口, 以及一个只 适用于一个所述注册于所述控制设备的网络设备的操作接口。 所述操作接 口设定对所述注册于所述控制设备的网络设备操作的方式。
通过设定至少两个操作接口, 并且操作接口之间具有操作内容上的继 承关系, 能够实现对设备对象的灵活配置, 避免了单一的操作接口设定的 方法为了满足所有网络设备的设备对象而不能发挥具体网络设备特性的弊 端, 或者单一的操作接口针对具体的网络设备都设定操作接口, 带来的实 现复杂且新增网络设备时需要增加操作接口的弊端。
作为一种可选的实现方式, 所述控制设备 101还包括监听模块 1015和驱 动管理模块 1016 ;
所述监听模块 1015 , 用于接收注册于所述控制设备的网络设备发起的 注册请求, 所述注册请求中携带有特征码, 并将所述特征码发送给所述驱 动管理模块, 所述特征码用于唯一标识所述发起注册请求的网络设备; 所述驱动管理模块 1 016 , 用于根据所述特征码, 建立所述注册于所述 可选的, 所述监听模块 1015 , 还用于接收所述注册于所述控制设备的 网络设备发起的连接请求, 所述连接请求中携带有特征码;
所述驱动管理模块 1 016 , 还用于根据所述连接请求中携带的特征码, 获取所述注册于所述控制设备的网络设备的驱动。
其中, 所述特征码可以包括网络设备的产品编号、 版本号或生产商编 号中的至少一个。
上述实现方式, 通过监听模块 1015作为网络设备和驱动管理模块 1016 之间连接的桥梁, 并通过唯一标识网络设备的特征码区分不同的网络设备, 实现了对网络设备的有效控制, 避免了在使用端口号区分不同的网络设备 时可能出现的端口号重复导致的无法区分具体的网络设备的问题。
下面以 SDN中包括两个控制设备, 一个共享设备, 每个控制设备控制两 个交换设备为例, 对本发明实施例一种 SDN中的控制设备做详细的说明。 图 3为本发明实施例一种 SDN中的控制设备具体实现方式结构示意图。 如图 3所示, 所述 SDN中的控制设备 301与交换设备 302、 交换设备 303相连, 控制设备 304与交换设备 305、 交换设备 306相连, 控制设备 301和控制设备 304分别与共享设备 307相连。 控制设备 301的操作***中包括业务处理模块 3011 , 对象获取模块 3012和对象存储模块 3013; 控制设备 304的操作***中 包括业务处理模块 3041 , 对象获取模块 3042和对象存储模块 3043。
共享设备 307可以被控制设备 301和控制设备 304访问, 即运行在控制设 备 301上的操作***, 运行在控制设备 304上的操作***, 都能够访问共享 设备 307中的内容。 该共享设备 307中存储有其所在的 SDN中网络设备的位置信息, 在本实 施例中, 共享设备 307中存储了交换设备 302、 交换设备 303、 交换设备 305 和交换设备 306的位置信息。 共享设备 307通常是用特定的数据结构的方式 存储网络设备的位置信息, 可以用表格或树形结构等结构方式存储交换设 备的位置信息, 只要能够清楚地存储网络设备所注册的控制设备的设备 ID, 网络设备所注册的控制设备的 IP地址和网络设备的设备 ID, 使得 SDN中的控 制设备能够获取注册于其它控制设备的网络设备的位置信息即可。
本实施例以所述共享设备 307为独立存在的硬件设备并且以树形结构 形式存储交换设备的位置信息, 控制设备 301中的业务处理模块 3011需要建 立从交换设备 302到交换设备 306的链路为例进行说明。 图 4为本发明实施例一种 SDN中的控制设备另一种具体实现方式结构示 意图。 如图 4所示, 当控制设备 301启动时, 其对象存储模块 3013在共享设 备 307中创建控制设备 301在树形数据结构中的节点: 控制设备 3071 , 该控 制设备 3071代表控制设备 301 , 控制设备 3071记录控制设备 301的设备 ID和 IP地址。
当交换设备 302和交换设备 303第一次连接到控制设备 301时, 控制设备
301中的驱动层会分别为交换设备 302和交换设备 303创建设备对象, 并存储 在控制设备 301的设备对象库中。 交换设备的设备对象是控制设备对交换设 备控制的代理, 可以是控制设备的操作***中业务处理模块对设备对象进 行操作的代理。 例如: 设备对象 302a是交换设备 302在控制设备 301的操作 ***中的代理, 设备对象 303a是交换设备 303在控制设备 301的操作***中 的代理, 控制设备 301的操作***通过设备对象 302 a对交换设备 302进行控 制, 控制设备 301的操作***通过设备对象 303a对交换设备 303进行控制。 对象存储模块 3013记录设备对象 302a和设备对象 303a后, 在共享设备 307中 创建设备对象 302a的节点: 设备对象 3072 , 设备对象 3072记录交换设备 302 的设备 ID; 并创建设备对象 303a的节点: 设备对象 3073 , 设备对象 3073记 录交换设备 303的设备 ID。
这样, 在共享设备 307创建了对应于控制设备 301、 交换设备 302和交换 设备 303的树形结构共享信息, 该树形结构共享信息记录了控制设备 301的 设备 ID和 IP地址, 以及交换设备 302和交换设备 303的设备 ID, 使得控制设 备 304能够从共享设备 307获取上述信息, 实现对控制设备 301控制下的交换 设备 302或交换设备 303的远程控制。 当控制设备 304启动时, 其对象存储模块 3043在共享设备 307中创建控 制设备 304在树形数据结构中的节点: 控制设备 3074 , 该控制设备 3074代表 控制设备 304 , 控制设备 3074记录控制设备 304的设备 ID和 IP地址。 当交换设备 305和交换设备 306第一次连接到控制设备 304时, 控制设备 304中的驱动层会分别为交换设备 305和交换设备 306创建设备对象, 并存储 在控制设备 304的设备对象库中。 例如: 设备对象 305a是交换设备 305在控 制设备 304的操作***中的代理, 设备对象 306a是交换设备 306在控制设备 304的操作***中的代理, 控制设备 304的操作***通过设备对象 305a对交 换设备 305进行控制, 控制设备 304的操作***通过设备对象 306a对交换设 备 306进行控制。 对象存储模块 3043记录设备对象 305a和设备对象 306a后, 在共享设备 307中创建设备对象 305a的节点: 设备对象 3075 , 设备对象 3075 记录交换设备 305的设备 ID; 并创建设备对象 306a的节点: 设备对象 3076 , 设备对象 3076记录交换设备 306的设备 ID。 在共享设备 307创建了对应于控制设备 304、 交换设备 305和交换设备
306的树形结构共享信息, 该树形结构共享信息记录了控制设备 304的设备 ID和 IP地址, 以及交换设备 305和交换设备 306的设备 ID, 使得控制设备 301 能够从共享设备 307获取上述信息, 实现对控制设备 301控制下的交换设备 302或交换设备 303的远程控制。 由于业务处理模块 3011要建立从交换设备 302到交换设备 306的链路, 会获取交换设备 302的设备 I D和交换设备 306的设备 I D , 业务处理模块 3011 需要根据交换设备 302的设备 I D获取交换设备 302的设备对象, 根据交换设 备 306的设备 ID获取交换设备 306的设备对象, 通过对交换设备 302的设备对 象以及交换设备 306的设备对象进行操作和控制, 分别实现对交换设备 302 的控制和对交换设备 306的控制。
业务处理模块 3011根据交换设备 302的设备 ID向对象获取模块 3012获 取交换设备 302的设备对象。 对象获取模块 3012依据交换设备 302的设备 I D 向对象存储模块 3013请求交换设备 302的设备对象。 由于交换设备 302是注 册于控制设备 301的交换设备, 在对象存储模块 3013中会存储交换设备 302 的设备对象 302a。 对象存储模块 3013根据交换设备 302的设备 ID, 获取交换 设备 302设备对象 302a , 并返回给对象获取模块 3012。 对象获取模块 3012将 设备对象 302a返回给业务处理模块 3011。 业务处理模块 301 1根据交换设备 306的设备 ID向对象获取模块 3012获 取交换设备 306的设备对象。 对象获取模块 3012依据交换设备 306的设备 I D 向对象存储模块 301 3请求交换设备 306的设备对象。 由于交换设备 306是注 册于控制设备 304的交换设备, 在对象存储模块 301 3中没有存储交换设备 306的设备对象 306a。 对象存储模块 301 3根据交换设备 306的设备 ID , 向共 享设备 307获取交换设备 306的位置信息。 由于共享设备存储有控制设备 3074和设备对象 3076 , 控制设备 3074记录了控制设备 304的设备 ID和 IP地 址, 对象存储模块 301 3根据交换设备 306的设备 ID , 获取控制设备 304的设 备 ID和 IP地址, 并将控制设备 304的设备 ID , IP地址发送给对象获取模块 3012。 需要说明的是, 对象存储模块 3043在创建交换设备 306的设备对象的同 时,会为交换设备 306在对象存储模块 3043 (例如远程对象服务 RMI Server ) 中注册该交换设备 306的远程对象。
对象获取模块 3012根据获取到的控制设备 304的设备 ID和 IP地址, 发起 远程对象获取请求(例如访问 RMI Server服务器) , 从而获取交换设备 306 的远程对象信息。 对象获取模块 3012根据交换设备 306的远程对象信息建立交换设备 306 的远程对象代理, 通过该远程对象代理 306,能够使得业务处理模块 3011对 该远程对象代理 306进行控制或操作, 且控制或操作的结构能够通过网络传 递到交换设备 306 , 从而实现对交换设备 306的控制。 对象获取模块 3012建立远程对象代理 306后, 可以直接对远程对象代理 306实施操作, 其操作方式和业务处理模块 3011操作交换设备 302的设备对 象一样, 只是对远程对象代理 306控制或操作的结果通过网络传递到交换设 备 306。 上述实施例中, 是以建立交换设备 306的远程对象为例进行说明的; 对 于控制设备 304还包括控制的其它网络设备, 例如注册于控制设备 304的网 关、 路由器等, 其实现方式与交换设备 306的实现方式类同, 不再赘述。
业务处理模块 3011对交换设备 302的设备对象进行控制, 可以通过操 作接口来实现的。 接口是一组方法的集合, 但只定义方法, 不做实现。 设 备对象可以实现接口, 即设备对象实现接口所定义的方法。 这样, 就可以 通过对操作接口的设定来实现对设备的控制。
图 5为本发明实施例一种 SDN中的控制设备进一步具体实现方式结构示 意图。 如图 5所示, 所述控制设备 301中还包括操作接口模块 3014 , 用于设 定至少两个操作接口。 例如, 可以设定接口 A, 该接口 A包含了交换设备 302 和 303都支持的操作, 例如创建链路, 交换设备 302和交换设备 303都支持创 建链路的操作; 同时, 为交换设备 302设定接口 B, 接口 B继承接口 A已定义 方法, 同时增加只有交换设备 302支持的方法, 例如增加虚拟端口, 即接口 B包括创建链路和增加虚拟端口的方法; 并设定接口 C , 接口 C也继承接口 A 已定义的方法, 并实现只有交换设备 303支持的方法, 例如增加 Trunk端口, 即接口 C包括创建链路和增加 Trunk的方法。
这样, 交换设备 302可以实现接口 A和接口 B, 交换设备 303可以实现接 口 A和接口 C。 在业务处理模块 3011需要对交换设备 302的设备对象进行操作 时, 可以调用接口 A或接口 B, 并执行接口 A或接口 B所设定的方法, 从而实 现对交换设备 302的控制。 例如, 在建立交换设备 302与交换设备 306的链路 中, 由于接口 A设定了创建链路的方法, 业务处理模块 3011在建立交换设备 302与交换设备 306之间链路的时候, 分别对交换换设备 302的设备对象 302a , 和交换设备 306的远程对象代理 306b使用接口 A, 即实现接口 A设定的 方法, 从而实现建立交换设备 302与交换设备 306之间链路的控制。 图 6为本发明实施例一种 SDN中的控制设备另一种进一步具体实现方式 结构示意图。 如图 6所示, 控制设备 301的操作***中, 还包括驱动层 3017 , 驱动层与对象存储模块连接, 本发明实施例中, 驱动层 3017包括监听模块 3015和驱动管理模块 3016。 驱动层 3017负责和设备之间的通信, 并创建发起注册的网络设备的设 备对象, 例如, 在交换设备 302向控制设备 301注册时, 为交换设备 302创建 设备对象 302a , 在交换设备 303向控制设备 301注册时, 为交换设备 303创建 设备对象 303a; 驱动层 3017在完成设备对象的创建后, 将创建的设备对象 注册到对象存储模块 3013中。 驱动管理模块 3016 , 用于存储交换设备 302和交换设备 303的驱动注册 信息并管理交换设备 302和交换设备 303的驱动, 例如加载、 卸载或启动交 换设备。
监听模块 3015 , 作为集中的监听端口监听网络设备的连接请求, 交换 设备 302或交换设备 303发出的请求信息, 会先到达监听模块 3015,由监听模 块 3015发送给驱动管理模块。 由于交换设备 302和交换设备 303的端口号可能会出现冲突, 即出现两 个端口号相同的情况, 导致驱动管理模块 3106无法识别具体的交换设备。 因此, 在交换设备发起注册时, 需要携带能够唯一标识交换设备的特征码。 通过该特征码, 驱动管理模块 3106能够识别出不同的交换设备, 即使是交 换设备的端口号相同, 也能够区分出不同的交换设备。 例如在交换设备 302 和交换设备 303的端口号相同的情况下, 通过特征码, 能够识别出交换设备 302和交换设备 303。 其中, 端口号是交换设备连接的端口号, 特征码是交 换设备发起注册请求时携带的信息, 该信息能够唯一标识发起注册请求的 设备。 连接时发送的请求中携带的唯一标识交换设备的信息。
例如,假设交换设备 302的端口号是 6633 , 其在发起注册请求时携带的 特征码为 0xFF32; 交换设备 303的端口号是 831 , 其在发起注册请求时携 带的特征码为 0xBB12,则交换设备 302和交换设备 303在注册后,在驱动管 理模块 3106中记录的驱动信息如表 1所示:
Figure imgf000022_0001
表 1
上述的特征码可由设备的产品编号, 版本号, 生产商编号中的至少一个 来组成, 用来唯一标识交换设备。
交换设备 302 注册后, 在发起连接请求时, 连接请求中会携带特征码 0xFF32 , 监听模块 3015接收交换设备 302的连接请求, 并将该连接请求发 送给驱动管理模块 3016 ,驱动管理模块 3016根据所述连接请求中携带的特 征码, 获取交换设备 302的驱动。 使得驱动管理模块 3016能够唯一确定交 换设备 302 , 实现控制设备 301的操作***对交换设备 302的有效控制。 同 样的, 交换设备 303在发起连接请求时, 与交换设备 302类似, 不再赘述。
参考图 7 , 图 7为本发明实施例一种软件定义网络 SDN中的控制方法的流 程示意图, 包括:
步骤 700: 所述 SDN中的控制设备接收业务请求;
步骤 702 : 所述控制设备获取处理所述业务的网络设备的位置信息, 所 述网络设备注册于所述 SDN中的其它控制设备; 所述网络设备的位置信息包 括所述网络设备所注册的控制设备的设备 ID , 所述网络设备所注册的控制 设备的 IP地址和所述网络设备的设备 ID;
步骤 704 : 所述控制设备根据所述网络设备的位置信息, 建立所述网络 设备的远程对象代理;
步骤 706: 所述控制设备根据所述业务请求对所述远程对象代理进行控 制, 所述远程对象是所述网络设备的设备对象在所述控制设备的代理, 所 述设备对象是所述网络设备所注册的控制设备对所述网络设备进行控制的 代理。
本发明实施例提供的上述 SDN中的控制方法, 通过获取注册于所述 SDN 中的其它控制设备的网络设备的位置信息, 能够根据该位置信息建立所述 网络设备的远程对象代理, 通过所述远程对象代理实现对所述网络设备的 控制。 通过上述方法, 可以实现对需要控制或操作的注册于其它控制设备 的网络设备直接控制, 不需要将控制或操作的需求发送给所述其它控制设 备中所有网络设备的设备对象, 避免了所述其他控制设备中所有网络设备 的设备对象接收业务控制请求并进行判断的步骤, 提升了业务处理的性能。
作为一种可选的实现方式, 所述根据所述网络设备的位置信息, 建立 所述网络设备的远程对象代理包括:
根据所述网络设备的位置信息, 获取所述网络设备的远程对象信息, 通过所述网络设备的远程对象信息建立所述网络设备的远程对象代理, 所 述网络设备的远程对象信息是对所述网络设备进行远程控制的信息。 具体 可以是根据所述网络设备的位置信息, 确定所述网络设备注册的控制设备, 并能够访问存储有所述网络设备远程对象的空间, 依据从存储有所述网络 设备远程对象空间获取到的所述网络设备的远程对象信息, 建立对所述网 络设备的远程对象代理, 实现对所述网络设备的设备对象的远程控制。
作为一种可选的实现方式, 所述方法还可以包括:
将注册于所述控制设备的网络设备的位置信息共享给所述 SDN中的其 它控制设备; 所述注册于所述控制设备的网络设备的位置信息包括: 所述 控制设备的设备 ID, 所述控制设备的 IP地址和所述注册于所述控制设备的 网络设备的设备 ID。
所述将注册于所述控制设备的网络设备的位置信息共享给所述 SDN中 的其它控制设备包括: 将注册于所述控制设备的网络设备的位置信息发送给所述 SDN中的共 享设备, 所述共享设备存储所述 SDN中网络设备的位置信息; 或者将所述注 册于所述控制设备的网络设备的位置信息广播给所述 SDN中的其它控制设 备。 其中所述共享设备是一个独立的设备, 或是集成于所述控制设备, 或 集成于所述 SDN中的其它控制设备。
相应的, 所述方法还包括:
从所述共享设备获取注册于所述 SDN网络中其它控制设备的网络设备 的位置信息, 并存储于所述对象存储模块; 或者,
接收所述 SDN中的其它控制设备广播的位置信息, 获取注册于所述 SDN 网络中其它控制设备的网络设备的位置信息, 并存储于所述对象存储模块。
通过将注册于所述控制设备的网络设备的位置信息共享给所述 SDN中 的其它控制设备, 能够使得所述 SDN中的其他控制设备能够获取所述注册于 所述控制设备的网络设备的位置信息, 使得所述 SDN中的其他控制设备能够 根据获取到的位置信息实现对所述注册于所述控制设备的远程控制。 并且, 如果将注册于所述控制设备的网络设备的位置信息发送给所述 SDN中的共 享设备, 能够使得 SDN中的控制设备在需要实现远程控制时从共享设备获取 位置信息, 能够所述控制设备存储其它控制设备的位置信息的空间。
作为一种可选的实现方式, 所述方法还包括:
创建至少两个操作接口, 所述至少两个操作接口之间具有操作内容上 的继承关系, 所述操作接口设定对所述注册于所述控制设备的网络设备操 作的方式。 其中, 所述至少两个操作接口中, 包括一个适用于至少两个所 述注册于所述控制设备的网络设备的操作接口, 以及一个只适用于一个所 述注册于所述控制设备的网络设备的操作接口。
通过设定至少两个操作接口, 并且操作接口之间具有操作内容上的继 承关系, 能够实现对设备对象的灵活配置, 避免了单一的操作接口设定的 方法为了满足所有网络设备的设备对象而不能发挥具体网络设备特性的弊 端, 或者单一的操作接口针对具体的网络设备都设定操作接口, 带来的实 现复杂且新增网络设备时需要增加操作接口的弊端。
作为一种可选的实现方式, 所述方法还包括:
在所述控制设备中设置监听模块, 所述监听模块接收注册于所述控制 设备的网络设备发起的注册请求, 所述注册请求中携带有特征码, 并将所 述特征码发送给所述控制设备中的驱动管理模块, 所述特征码用于唯一标 识所述发起注册请求的网络设备;
所述驱动管理模块根据所述特征码, 建立所述注册于所述控制设备的 网络设备的驱动与所述特征码之间的对应关系。
并且, 所述监听模块还可以接收所述注册于所述控制设备的网络设备 发起的连接请求, 所述连接请求中携带有特征码; 所述驱动管理模块根据 所述连接请求中携带的特征码, 获取所述注册于所述控制设备的网络设备 的驱动。 所述特征码包括网络设备的产品编号、 版本号或生产商编号中的 至少一个。
上述方法通过监听模块作为网络设备和驱动管理模块之间连接的桥 梁, 并通过唯一标识网络设备的特征码区分不同的网络设备, 实现了对网 络设备的有效控制, 避免了在使用端口号区分不同的网络设备时可能出现 的端口号重复导致的无法区分具体的网络设备的问题。
上述方法的具体实现方式, 可以参照图 3至图 6实施例中控制设备的实 现方式来实现, 不再赘述。
本发明实施例还提供了一种软件定义网络 SDN中的处理器, 所述处理器 位于所述 SDN中的控制设备中, 所述处理器用于执行下述步骤:
接收业务请求;
获取处理所述业务的网络设备的位置信息, 所述网络设备注册于所述 SDN中的其它控制设备; 所述网络设备的位置信息包括所述网络设备所注册 的控制设备的设备 ID, 所述网络设备所注册的控制设备的 IP地址和所述网 络设备的设备 ID;
根据所述网络设备的位置信息, 建立所述网络设备的远程对象代理; 根据所述业务请求对所述远程对象代理进行控制, 所述远程对象是所 述网络设备的设备对象在所述控制设备的代理, 所述设备对象是所述网络 设备所注册的控制设备对所述网络设备进行控制的代理。
本发明实施例提供的上述 SDN中的处理器, 通过获取注册于所述 SDN中 的其它控制设备的网络设备的位置信息, 能够根据该位置信息建立所述网 络设备的远程对象代理, 通过所述远程对象代理实现对所述网络设备的控 制。 通过上述方法, 可以实现对需要控制或操作的注册于其它控制设备的 网络设备直接控制, 不需要将控制或操作的需求发送给所述其它控制设备 中所有网络设备的设备对象, 避免了所述其他控制设备中所有网络设备的 设备对象接收业务控制请求并进行判断的步骤, 提升了业务处理的性能。
作为一种可选的实现方式, 所述根据所述网络设备的位置信息, 建立 所述网络设备的远程对象代理包括:
根据所述网络设备的位置信息, 获取所述网络设备的远程对象信息, 通过所述网络设备的远程对象信息建立所述网络设备的远程对象代理, 所 述网络设备的远程对象信息是对所述网络设备进行远程控制的信息。 具体 可以是根据所述网络设备的位置信息, 确定所述网络设备注册的控制设备, 并能够访问存储有所述网络设备远程对象的空间, 依据从存储有所述网络 设备远程对象空间获取到的所述网络设备的远程对象信息, 建立对所述网 络设备的远程对象代理, 实现对所述网络设备的设备对象的远程控制。
作为一种可选的实现方式, 所述处理器还用于执行下述步骤: 将注册于所述控制设备的网络设备的位置信息共享给所述 SDN中的其 它控制设备; 所述注册于所述控制设备的网络设备的位置信息包括: 所述 控制设备的设备 ID, 所述控制设备的 IP地址和所述注册于所述控制设备的 网络设备的设备 ID。 所述将注册于所述控制设备的网络设备的位置信息共享给所述 SDN中 的其它控制设备包括:
将注册于所述控制设备的网络设备的位置信息发送给所述 SDN中的共 享设备, 所述共享设备存储所述 SDN中网络设备的位置信息; 或者将所述注 册于所述控制设备的网络设备的位置信息广播给所述 SDN中的其它控制设 备。 其中所述共享设备是一个独立的设备, 或是集成于所述控制设备, 或 集成于所述 SDN中的其它控制设备。
相应的, 所述处理器还用于处理下述步骤:
从所述共享设备获取注册于所述 SDN网络中其它控制设备的网络设备 的位置信息, 并存储于所述对象存储模块; 或者,
接收所述 SDN中的其它控制设备广播的位置信息, 获取注册于所述 SDN 网络中其它控制设备的网络设备的位置信息, 并存储于所述对象存储模块。
通过将注册于所述控制设备的网络设备的位置信息共享给所述 SDN中 的其它控制设备, 能够使得所述 SDN中的其他控制设备能够获取所述注册于 所述控制设备的网络设备的位置信息, 使得所述 SDN中的其他控制设备能够 根据获取到的位置信息实现对所述注册于所述控制设备的远程控制。 并且, 如果将注册于所述控制设备的网络设备的位置信息发送给所述 SDN中的共 享设备, 能够使得 SDN中的控制设备在需要实现远程控制时从共享设备获取 位置信息, 能够所述控制设备存储其它控制设备的位置信息的空间。
作为一种可选的实现方式, 所述处理器还用于执行下述步骤: 创建至少两个操作接口, 所述至少两个操作接口之间具有操作内容上 的继承关系, 所述操作接口设定对所述注册于所述控制设备的网络设备操 作的方式。 所述至少两个操作接口中, 包括一个适用于至少两个所述注册 于所述控制设备的网络设备的操作接口, 以及一个只适用于一个所述注册 于所述控制设备的网络设备的操作接口。
通过设定至少两个操作接口, 并且操作接口之间具有操作内容上的继 承关系, 能够实现对设备对象的灵活配置, 避免了单一的操作接口设定的 方法为了满足所有网络设备的设备对象而不能发挥具体网络设备特性的弊 端, 或者单一的操作接口针对具体的网络设备都设定操作接口, 带来的实 现复杂且新增网络设备时需要增加操作接口的弊端。
作为一种可选的实现方式, 所述处理器还用于执行下述步骤: 接收注册于所述控制设备的网络设备发起的注册请求, 所述注册请求 中携带有特征码, 所述特征码用于唯一标识所述发起注册请求的网络设备; 建立所述注册于所述控制设备的网络设备的驱动与所述特征码之间的 对应关系;
接收所述注册于所述控制设备的网络设备发起的连接请求, 所述连接 请求中携带有特征码;
根据所述连接请求中携带的特征码, 获取所述注册于所述控制设备的 网络设备的驱动。
所述特征码包括网络设备的产品编号、 版本号或生产商编号中的至少 一个。
上述处理器通过通过唯一标识网络设备的特征码区分不同的网络设 备, 实现了对网络设备的有效控制, 避免了在使用端口号区分不同的网络 设备时可能出现的端口号重复导致的无法区分具体的网络设备的问题。
上述处理器的具体实现方式, 还可以参考图 3至图 6所述的实施例中控 制设备的实现方式, 再次不再赘述。
本发明实施例还提供了一种计算机程序产品, 该计算机程序产品能够执 行上述 SDN 中控制方法实施例中所列的步骤, 实现上述控制方法所达到的 技术效果。
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的 各示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合 来实现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照 功能一般性地描述了各示例的组成及步骤。 这些功能究竟以硬件还是软件 方式来执行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员 可以对每个特定的应用来使用不同方法来实现所描述的功能, 但是这种实 现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到, 为了描述的方便和筒洁, 上 述描述的***、 装置和单元的具体工作过程, 可以参考前述方法实施例中 的对应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的***、 装置 和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅 是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实 现时可以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成 到另一个***, 或一些特征可以忽略, 或不执行。 另外, 所显示或讨论的 相互之间的耦合或直接耦合或通信连接可以是通过一些接口、 装置或单元 的间接耦合或通信连接, 也可以是电的, 机械的或其它的形式连接。 作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地 方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的 部分或者全部单元来实现本发明实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以是两个或两个以上单元集成 在一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用 软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销 售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分, 或者该技术 方案的全部或部分可以以软件产品的形式体现出来, 该计算机软件产品存 储在一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个 人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的 全部或部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 ( ROM, Read-Only Memory ) 、 随机存取存储器 (RAM, Random Access Memory ) 、 磁碟或者光盘等各种可以存储程序代码的介质。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局 限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到各种等效的修改或替换, 这些修改或替换都应涵盖在本发明的保 护范围之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。

Claims

权利要求
1 , 一种软件定义网络 SDN中的控制设备, 所述控制设备包括运行于所 述控制设备的操作***, 其特征在于, 所述操作***包括业务处理模块, 对象获取模块和对象存储模块;
所述对象获取模块, 用于根据所述业务处理模块的请求, 从所述对象 存储模块获取请求的网络设备的位置信息, 所述网络设备注册于所述 SDN中 的其它控制设备;
所述业务处理模块, 用于根据所述网络设备的位置信息, 建立所述网 络设备的远程对象代理, 通过所述远程对象代理实现对所述网络设备的控 制, 所述远程对象代理是所述网络设备的设备对象在所述控制设备的代理, 所述设备对象是所述网络设备所注册的控制设备对所述网络设备进行控制 的代理;
所述对象存储模块, 用于存储所述网络设备的位置信息, 所述网络设 备的位置信息包括所述网络设备所注册的控制设备的设备 ID, 所述网络设 备所注册的控制设备的 IP地址和所述网络设备的设备 ID。
2 , 根据权利要求 1所述的 SDN中的控制设备, 其特征在于, 所述对象获 取模块还用于根据所述网络设备的位置信息, 获取所述网络设备的远程对 象信息, 通过所述网络设备的远程对象信息建立所述网络设备的远程对象 代理, 所述网络设备的远程对象信息是对所述网络设备进行远程控制的信 息。
3 , 根据权利要求 1或 2所述的 SDN中的控制设备, 其特征在于, 所述对象存储模块, 还用于将注册于所述控制设备的网络设备的位置 信息共享给所述 SDN中的其它控制设备; 所述注册于所述控制设备的网络设备的位置信息包括: 所述控制设备 的设备 ID , 所述控制设备的 IP地址和所述注册于所述控制设备的网络设备 的设备 ID。
4 , 根据权利要求 3所述的 SDN中的控制设备, 其特征在于, 所述对象存 储模块将注册于所述控制设备的网络设备的位置信息共享给所述 SDN中的 其它控制设备包括:
所述对象存储模块将注册于所述控制设备的网络设备的位置信息发送 给所述 SDN中的共享设备, 所述共享设备存储所述 SDN中网络设备的位置信 息。
5 , 根据权利要求 4所述的 SDN中的控制设备, 其特征在于, 所述共享设 备是一个独立的设备, 或是集成于所述控制设备, 或集成于所述 SDN中的其 它控制设备。
6 , 根据权利要求 3或 4所述的 SDN中的控制设备, 其特征在于, 所述对 象存储模块, 还用于从所述共享设备获取注册于所述 SDN网络中其它控制设 备的网络设备的位置信息, 并存储于所述对象存储模块。 7 , 根据权利要求 3所述的 SDN中的控制设备, 其特征在于,
所述对象存储模块将注册于所述控制设备的网络设备的位置信息共享 给所述 SDN中的其它控制设备包括:
所述对象存储模块将所述注册于所述控制设备的网络设备的位置信息 广播给所述 SDN中的其它控制设备。
8 , 根据权利要求 7所述的 SDN中的控制设备, 其特征在于, 所述对象存 储模块, 还用于从所述所述 SDN中的其它控制设备, 获取注册于所述 SDN网 络中其它控制设备的网络设备的位置信息, 并存储于所述对象存储模块。
9 , 根据权利要求 1-8所述的任一 SDN中的控制设备, 其特征在于, 所述 控制设备还包括操作接口模块;
所述操作接口模块, 用于为注册于所述控制设备的网络设备的设备对 象, 创建至少两个操作接口, 所述至少两个操作接口之间具有操作内容上 的继承关系。
10 , 根据权利要求 9所述 SDN中的控制设备, 其特征在于, 所述操作接 口模块创建的至少两个操作接口中, 包括一个适用于至少两个所述注册于 所述控制设备的网络设备的操作接口, 以及一个只适用于一个所述注册于 所述控制设备的网络设备的操作接口。
11 , 根据权利要求 10所述的 SDN中的控制设备, 其特征在于, 所述操作 接口设定对所述注册于所述控制设备的网络设备操作的方式。
12 , 根据权利要求 1-11所述的任一 SDN中的控制设备, 其特征在于, 所 述控制设备还包括监听模块和驱动管理模块;
所述监听模块, 用于接收注册于所述控制设备的网络设备发起的注册 请求, 所述注册请求中携带有特征码, 并将所述特征码发送给所述驱动管 理模块, 所述特征码用于唯一标识所述发起注册请求的网络设备;
所述驱动管理模块, 用于根据所述特征码, 建立所述注册于所述控制
1 3 , 根据权利要求 12所述的 SDN中的控制设备, 其特征在于, 所述监听模块, 还用于接收所述注册于所述控制设备的网络设备发起 的连接请求, 所述连接请求中携带有特征码;
所述驱动管理模块, 还用于根据所述连接请求中携带的特征码, 获取 所述注册于所述控制设备的网络设备的驱动。
14 , 根据权利要求 12或 13所述的 SDN中的控制设备, 其特征在于, 所述 特征码包括网络设备的产品编号、 版本号或生产商编号中的至少一个。
15 ,一种软件定义网络 SDN中的控制方法,其特征在于, 所述方法包括: 所述 SDN中的控制设备接收业务请求;
所述控制设备获取处理所述业务的网络设备的位置信息, 所述网络设 备注册于所述 SDN中的其它控制设备; 所述网络设备的位置信息包括所述网 络设备所注册的控制设备的设备 ID, 所述网络设备所注册的控制设备的 IP 地址和所述网络设备的设备 ID;
所述控制设备根据所述网络设备的位置信息, 建立所述网络设备的远 程对象代理;
所述控制设备根据所述业务请求对所述远程对象代理进行控制, 所述 远程对象是所述网络设备的设备对象在所述控制设备的代理, 所述设备对 象是所述网络设备所注册的控制设备对所述网络设备进行控制的代理。
16 , 根据权利要求 15所述的 SDN中的控制方法, 其特征在于, 所述根据 所述网络设备的位置信息, 建立所述网络设备的远程对象代理包括:
根据所述网络设备的位置信息, 获取所述网络设备的远程对象信息, 通过所述网络设备的远程对象信息建立所述网络设备的远程对象代理, 所 述网络设备的远程对象信息是对所述网络设备进行远程控制的信息。
17 , 根据权利要求 15或 16所述的 SDN中的控制方法, 其特征在于, 所述 方法还包括:
将注册于所述控制设备的网络设备的位置信息共享给所述 SDN中的其 它控制设备;
所述注册于所述控制设备的网络设备的位置信息包括: 所述控制设备 的设备 ID , 所述控制设备的 IP地址和所述注册于所述控制设备的网络设备 的设备 ID。
18 , 根据权利要求 17所述的 SDN中的控制方法, 其特征在于, 所述将注 册于所述控制设备的网络设备的位置信息共享给所述 SDN中的其它控制设 备包括:
将注册于所述控制设备的网络设备的位置信息发送给所述 SDN中的共 享设备, 所述共享设备存储所述 SDN中网络设备的位置信息。
19 , 根据权利要求 18所述的 SDN中的控制方法, 其特征在于, 所述共享 设备是一个独立的设备, 或是集成于所述控制设备, 或集成于所述 SDN中的 其它控制设备。
20 , 根据权利要求 18或 19所述的 SDN中的控制方法, 其特征在于, 所述 方法还包括:
从所述共享设备获取注册于所述 SDN网络中其它控制设备的网络设备 的位置信息, 并存储于所述对象存储模块。
21 , 根据权利要求 17所述的 SDN中的控制方法, 其特征在于, 所述将注 册于所述控制设备的网络设备的位置信息共享给所述 SDN中的其它控制设 备包括:
将所述注册于所述控制设备的网络设备的位置信息广播给所述 SDN中 的其它控制设备。
22 , 根据权利要求 21所述的 SDN中的控制方法, 其特征在于, 所述方法 还包括: 从所述 SDN中的其它控制设备, 获取注册于所述 SDN网络中其它控 制设备的网络设备的位置信息, 并存储于所述对象存储模块。
23 , 根据权利要求 15-22所述的任一 SDN中的控制方法, 其特征在于, 所述方法还包括:
创建至少两个操作接口, 所述至少两个操作接口之间具有操作内容上 的继承关系, 所述操作接口设定对所述注册于所述控制设备的网络设备操 作的方式。
24 , 根据权利要求 23所述 SDN中的控制方法, 其特征在于, 所述至少两 个操作接口中, 包括一个适用于至少两个所述注册于所述控制设备的网络 设备的操作接口, 以及一个只适用于一个所述注册于所述控制设备的网络 设备的操作接口。
25 , 根据权利要求 15-24所述的任一 SDN中的控制方法, 其特征在于, 所述方法还包括:
在所述控制设备中设置监听模块, 所述监听模块接收注册于所述控制 设备的网络设备发起的注册请求, 所述注册请求中携带有特征码, 并将所 述特征码发送给所述控制设备中的驱动管理模块, 所述特征码用于唯一标 识所述发起注册请求的网络设备;
所述驱动管理模块根据所述特征码, 建立所述注册于所述控制设备的 网络设备的驱动与所述特征码之间的对应关系。 26 , 根据权利要求 25所述的 SDN中的控制方法, 其特征在于, 所述方法 还包括:
所述监听模块接收所述注册于所述控制设备的网络设备发起的连接请 求, 所述连接请求中携带有特征码;
所述驱动管理模块根据所述连接请求中携带的特征码, 获取所述注册 于所述控制设备的网络设备的驱动。
27 , 根据权利要求 25或 26所述的 SDN中的控制方法, 其特征在于, 所述 特征码包括网络设备的产品编号、 版本号或生产商编号中的至少一个。
28 , 一种软件定义网络 SDN中的处理器, 所述处理器位于所述 SDN中的 控制设备中, 其特征在于, 所述处理器用于执行下述步骤:
接收业务请求;
获取处理所述业务的网络设备的位置信息, 所述网络设备注册于所述 SDN中的其它控制设备; 所述网络设备的位置信息包括所述网络设备所注册 的控制设备的设备 ID , 所述网络设备所注册的控制设备的 IP地址和所述网 络设备的设备 ID;
根据所述网络设备的位置信息, 建立所述网络设备的远程对象代理; 根据所述业务请求对所述远程对象代理进行控制, 所述远程对象是所 述网络设备的设备对象在所述控制设备的代理, 所述设备对象是所述网络 设备所注册的控制设备对所述网络设备进行控制的代理。
29 , 根据权利要求 28所述的 SDN中的处理器, 其特征在于, 所述根据所 述网络设备的位置信息, 建立所述网络设备的远程对象代理包括:
根据所述网络设备的位置信息, 获取所述网络设备的远程对象信息, 通过所述网络设备的远程对象信息建立所述网络设备的远程对象代理, 所 述网络设备的远程对象信息是对所述网络设备进行远程控制的信息。
30 , 根据权利要求 28或 29所述的 SDN中的处理器, 其特征在于, 所述处 理器还用于执行下述步骤:
将注册于所述控制设备的网络设备的位置信息共享给所述 SDN中的其 它控制设备;
所述注册于所述控制设备的网络设备的位置信息包括: 所述控制设备 的设备 ID, 所述控制设备的 IP地址和所述注册于所述控制设备的网络设备 的设备 ID。
31 , 根据权利要求 30所述的 SDN中的处理器, 其特征在于, 所述将注册 于所述控制设备的网络设备的位置信息共享给所述 SDN中的其它控制设备 包括:
将注册于所述控制设备的网络设备的位置信息发送给所述 SDN中的共 享设备, 所述共享设备存储所述 SDN中网络设备的位置信息。
32 , 根据权利要求 31所述的 SDN中的处理器, 其特征在于, 所述共享设 备是一个独立的设备, 或是集成于所述控制设备, 或集成于所述 SDN中的其 它控制设备。
33 , 根据权利要求 31或 32所述的 SDN中的处理器, 其特征在于, 所述处 理器还用于执行下述步骤:
从所述共享设备获取注册于所述 SDN网络中其它控制设备的网络设备 的位置信息, 并存储于所述对象存储模块。
34 , 根据权利要求 30所述的 SDN中的处理器, 其特征在于, 所述将注册 于所述控制设备的网络设备的位置信息共享给所述 SDN中的其它控制设备 包括:
将所述注册于所述控制设备的网络设备的位置信息广播给所述 SDN中 的其它控制设备。
35 , 根据权利要求 34所述的 SDN中的处理器, 其特征在于, 所述处理器 还用于执行下述步骤: 从所述所述 SDN中的其它控制设备, 获取注册于所述 SD 网络中其它控制设备的网络设备的位置信息, 并存储于所述对象存储模 块。
36 , 根据权利要求 28-35所述的任一 SDN中的处理器, 其特征在于, 所 述处理器还用于执行下述步骤:
创建至少两个操作接口, 所述至少两个操作接口之间具有操作内容上 的继承关系, 所述操作接口设定对所述注册于所述控制设备的网络设备操 作的方式。
37 , 根据权利要求 36所述 SDN中的处理器, 其特征在于, 所述至少两个 操作接口中, 包括一个适用于至少两个所述注册于所述控制设备的网络设 备的操作接口, 以及一个只适用于一个所述注册于所述控制设备的网络设 备的操作接口。
38 , 根据权利要求 28-37所述的 SDN中的处理器, 其特征在于, 所述处 理器还用于执行下述步骤:
接收注册于所述控制设备的网络设备发起的注册请求, 所述注册请求 中携带有特征码, 所述特征码用于唯一标识所述发起注册请求的网络设备; 建立所述注册于所述控制设备的网络设备的驱动与所述特征码之间的 对应关系
39 , 根据权利要求 38所述的 SDN中的处理器, 其特征在于, 所述处理器 还用于执行下述步骤:
接收所述注册于所述控制设备的网络设备发起的连接请求, 所述连接 请求中携带有特征码;
根据所述连接请求中携带的特征码, 获取所述注册于所述控制设备的 网络设备的驱动。
40 , 根据权利要求 38或 39所述的 SDN中的处理器, 其特征在于, 所述特 征码包括网络设备的产品编号、 版本号或生产商编号中的至少一个。
PCT/CN2013/088609 2013-12-05 2013-12-05 软件定义网络中的控制方法,控制设备和处理器 WO2015081526A1 (zh)

Priority Applications (11)

Application Number Priority Date Filing Date Title
EP17171871.1A EP3300315B1 (en) 2013-12-05 2013-12-05 Control method, control device, and processor in software defined network
DK13882059.2T DK2894818T3 (da) 2013-12-05 2013-12-05 Kontrolmetode i software-definerede netværk, styreanordning og processor
NO13882059A NO2894818T3 (zh) 2013-12-05 2013-12-05
CN201380002631.0A CN104919762B (zh) 2013-12-05 2013-12-05 软件定义网络中的控制方法,控制设备和处理器
JP2015551107A JP5866083B1 (ja) 2013-12-05 2013-12-05 ソフトウェア定義ネットワークにおける制御方法、制御装置およびプロセッサ
EP13882059.2A EP2894818B1 (en) 2013-12-05 2013-12-05 Control method in software-defined network, control device, and processor
PCT/CN2013/088609 WO2015081526A1 (zh) 2013-12-05 2013-12-05 软件定义网络中的控制方法,控制设备和处理器
CN201610907347.3A CN106452873B (zh) 2013-12-05 2013-12-05 软件定义网络中的控制方法,控制设备和处理器
ES13882059.2T ES2640023T3 (es) 2013-12-05 2013-12-05 Método de control en una red definida por software, dispositivo de control y procesador
US14/520,572 US9344511B2 (en) 2013-12-05 2014-10-22 Control method, control device, and process in software defined network
US14/706,619 US9432474B2 (en) 2013-12-05 2015-05-07 Control method, control device, and processor in software defined network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/088609 WO2015081526A1 (zh) 2013-12-05 2013-12-05 软件定义网络中的控制方法,控制设备和处理器

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/520,572 Continuation US9344511B2 (en) 2013-12-05 2014-10-22 Control method, control device, and process in software defined network

Publications (1)

Publication Number Publication Date
WO2015081526A1 true WO2015081526A1 (zh) 2015-06-11

Family

ID=53272365

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/088609 WO2015081526A1 (zh) 2013-12-05 2013-12-05 软件定义网络中的控制方法,控制设备和处理器

Country Status (8)

Country Link
US (2) US9344511B2 (zh)
EP (2) EP3300315B1 (zh)
JP (1) JP5866083B1 (zh)
CN (2) CN106452873B (zh)
DK (1) DK2894818T3 (zh)
ES (1) ES2640023T3 (zh)
NO (1) NO2894818T3 (zh)
WO (1) WO2015081526A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5866083B1 (ja) * 2013-12-05 2016-02-17 華為技術有限公司Huawei Technologies Co.,Ltd. ソフトウェア定義ネットワークにおける制御方法、制御装置およびプロセッサ
KR102286882B1 (ko) * 2015-03-06 2021-08-06 삼성전자 주식회사 이동 통신 시스템에서 사용자 체감 품질 관리 방법 및 장치
US10980073B2 (en) * 2015-04-07 2021-04-13 Sharp Kabushiki Kaisha Terminal device, PGW, and TWAG
KR102082282B1 (ko) * 2016-01-14 2020-02-27 후아웨이 테크놀러지 컴퍼니 리미티드 자원 객체를 관리하는 방법 및 시스템
US10778809B2 (en) * 2016-02-26 2020-09-15 Arista Networks, Inc. Per-input port, per-control plane network data traffic class control plane policing
CN108989066B (zh) * 2017-05-31 2022-12-20 中兴通讯股份有限公司 设备管理方法及装置
CN109818762B (zh) * 2017-11-20 2022-03-08 中国电信股份有限公司 用于实现sdn控制器自动注册的方法、适配器和***
CN113132146B (zh) * 2019-12-31 2022-12-27 北京华为数字技术有限公司 一种业务处理方法及相关装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705279A (zh) * 2004-05-27 2005-12-07 华为技术有限公司 网管***中面向对象的信息管理方法
CN103209121A (zh) * 2013-03-15 2013-07-17 中兴通讯股份有限公司 基于开放流协议的控制面设备的发现处理方法及装置

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1420340A1 (en) * 2002-11-15 2004-05-19 Hewlett-Packard Company Remote object invocation system and method
WO2008085207A2 (en) * 2006-12-29 2008-07-17 Prodea Systems, Inc. Multi-services application gateway
JP4559512B2 (ja) * 2008-08-11 2010-10-06 日本電信電話株式会社 パケット転送システムおよびパケット転送方法
US9557889B2 (en) * 2009-01-28 2017-01-31 Headwater Partners I Llc Service plan design, user interfaces, application programming interfaces, and device management
WO2011065268A1 (ja) * 2009-11-26 2011-06-03 日本電気株式会社 負荷分散システム、負荷分散方法、及びプログラム
AU2011336056B2 (en) * 2010-12-02 2016-04-14 Nec Corporation Communication system, control device, communication method and program
JP5720340B2 (ja) * 2011-03-17 2015-05-20 日本電気株式会社 制御サーバ、通信システム、制御方法およびプログラム
EP2737733A4 (en) * 2011-07-27 2015-09-09 Seven Networks Inc PARENTAL CONTROL OF MOBILE CONTENT ON MOBILE DEVICE
JP5867940B2 (ja) * 2012-03-14 2016-02-24 ▲ホア▼▲ウェイ▼技術有限公司 接続確立要求を送信するための方法、スイッチ、サーバ、およびシステム
US9350671B2 (en) * 2012-03-22 2016-05-24 Futurewei Technologies, Inc. Supporting software defined networking with application layer traffic optimization
US9225635B2 (en) * 2012-04-10 2015-12-29 International Business Machines Corporation Switch routing table utilizing software defined network (SDN) controller programmed route segregation and prioritization
US9331938B2 (en) * 2012-04-13 2016-05-03 Nicira, Inc. Extension of logical networks across layer 3 virtual private networks
WO2014133025A1 (ja) * 2013-02-27 2014-09-04 日本電気株式会社 通信システム、上位コントローラ、ネットワークの制御方法及びプログラム
EP2784993A1 (en) * 2013-03-29 2014-10-01 Alcatel Lucent Method and device for setting up paths between network elements belonging to different network domains of a software-defined network
US8964595B2 (en) * 2013-06-11 2015-02-24 Seven Networks, Inc. Quality of experience enhancement for wireless networks based on received signal strength at a mobile device
CN103428771B (zh) * 2013-09-05 2017-02-15 迈普通信技术股份有限公司 通信方法、软件定义网络sdn交换机及通信***
JP5866083B1 (ja) 2013-12-05 2016-02-17 華為技術有限公司Huawei Technologies Co.,Ltd. ソフトウェア定義ネットワークにおける制御方法、制御装置およびプロセッサ

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705279A (zh) * 2004-05-27 2005-12-07 华为技术有限公司 网管***中面向对象的信息管理方法
CN103209121A (zh) * 2013-03-15 2013-07-17 中兴通讯股份有限公司 基于开放流协议的控制面设备的发现处理方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2894818A4 *

Also Published As

Publication number Publication date
US9344511B2 (en) 2016-05-17
DK2894818T3 (da) 2017-11-13
US9432474B2 (en) 2016-08-30
JP2016506193A (ja) 2016-02-25
CN106452873A (zh) 2017-02-22
EP2894818A1 (en) 2015-07-15
EP2894818B1 (en) 2017-08-02
EP3300315B1 (en) 2020-03-25
US20150163314A1 (en) 2015-06-11
NO2894818T3 (zh) 2017-12-30
EP2894818A4 (en) 2015-08-05
ES2640023T3 (es) 2017-10-31
CN104919762A (zh) 2015-09-16
EP3300315A1 (en) 2018-03-28
CN106452873B (zh) 2020-01-10
US20150244824A1 (en) 2015-08-27
CN104919762B (zh) 2016-12-14
JP5866083B1 (ja) 2016-02-17

Similar Documents

Publication Publication Date Title
WO2015081526A1 (zh) 软件定义网络中的控制方法,控制设备和处理器
US11487690B2 (en) Universal host and non-volatile memory express storage domain discovery for non-volatile memory express over fabrics
US10986171B2 (en) Method for unified communication of server, baseboard management controller, and server
JP6803422B2 (ja) ミドルウェアおよびアプリケーションの実行のための設計されたシステムに対するサービス妨害(dos:denial of service)攻撃を防止するためのシステムおよび方法、ならびに、ミドルウェアおよびアプリケーションの実行のための設計されたシステムにおいてサブネットアドミニストレータ(sa:subnet administrator)アクセスに基づいて信頼性のある接続(rc:reliable connection)をサポートするためのシステムおよび方法
KR101221551B1 (ko) 로컬 호스트 및 관리 제어기 사이에 패스 스로우 통신 메커니즘에 기초한 네트워크 제어기
US11201814B2 (en) Configuration of networks using switch device access of remote server
US9813291B2 (en) Shortest path bridging (SPB) configuration of networks using client device access of remote
EP2262185B1 (en) Method and system for forwarding data among private networks
US10142342B2 (en) Authentication of client devices in networks
WO2015085523A1 (zh) 一种虚拟可扩展局域网的通信方法、装置和***
US10503565B2 (en) System and method for multicasting data between networking interfaces of hypervisors
WO2015180154A1 (zh) 网络控制方法和装置
WO2016184283A1 (zh) 一种虚拟机数据流管理方法和***
WO2019091088A1 (zh) 一种vxlan的配置方法、设备及***
US20150271016A1 (en) Configuration of networks with server cluster device
WO2015090023A1 (zh) Vlan接入vf网络的实现方法及装置、fcf
WO2016069009A1 (en) End to end quality of service in storage area networks
WO2012065474A1 (zh) 一种发送报文的方法和装置
WO2014124557A1 (zh) 光纤通道中实现节点端口虚拟化的方法,装置和***
WO2012159339A1 (zh) 网络设备加入集群***的接口注册方法和设备
WO2018113633A1 (zh) 报文转发方法、报文转发控制器、bras、计算机存储介质
EP3562101A1 (en) Bras management method, packet forwarding method, packet forwarding controller, and bras
JP2022044029A (ja) データ伝送方法、装置、およびネットワークデバイス

Legal Events

Date Code Title Description
REEP Request for entry into the european phase

Ref document number: 2013882059

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013882059

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2015551107

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE