WO2015180177A1 - 一种网络配置方法、装置及系统 - Google Patents

一种网络配置方法、装置及系统 Download PDF

Info

Publication number
WO2015180177A1
WO2015180177A1 PCT/CN2014/079009 CN2014079009W WO2015180177A1 WO 2015180177 A1 WO2015180177 A1 WO 2015180177A1 CN 2014079009 W CN2014079009 W CN 2014079009W WO 2015180177 A1 WO2015180177 A1 WO 2015180177A1
Authority
WO
WIPO (PCT)
Prior art keywords
controller
network
switch
request
identifier
Prior art date
Application number
PCT/CN2014/079009
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 CN201480036041.4A priority Critical patent/CN105359483A/zh
Priority to PCT/CN2014/079009 priority patent/WO2015180177A1/zh
Publication of WO2015180177A1 publication Critical patent/WO2015180177A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present invention relates to the field of networks, and in particular, to a network configuration method, apparatus, and system. Background technique
  • the core idea of Software-Defined Network is to separate the control of network devices from data forwarding, and to centralize the network functions (forwarding, routing, firewall, QoS control, etc.) of the original switch or router to the control plane.
  • the data forwarding action is performed by the data forwarding plane.
  • the control plane is composed of a Network Operation System (NOS) and application software (Applications, ⁇ ).
  • NOS Network Operation System
  • Applications, ⁇ application software
  • the NOS is responsible for abstracting the device resources of the forwarding plane, for the upper layer APP to invoke, and converting the corresponding network function into the control protocol information and sending it to the forwarding plane device, such as an OF switch (OpenFlow Switch, open flow forwarding plane device); different APPs can Implement different network functions.
  • OF switch OpenFlow Switch, open flow forwarding plane device
  • the forwarding plane device receives the protocol packet carrying the forwarding rule sent by the control plane device (for example, the OpenFlow controller), and performs the data forwarding function based on the forwarding rule.
  • the control plane device for example, the OpenFlow controller
  • the control plane device can obtain the information (port, supported protocol type, statistics, and so on) of the device to be controlled by the forwarding device, receive the network event uploaded by the forwarding device, and configure the rules for the forwarding device to process the packet.
  • a unified control plane device replaces the route and determines the transmission path of all data packets in the network.
  • the forwarding plane device maintains a flow table different from the forwarding table locally. If the data packet to be forwarded has a corresponding flow entry in the flow table, it directly performs fast forwarding. If there is no entry in the flow table, The data packet is sent to the control plane device for confirmation of the transmission path, and then forwarded according to the delivery result of the control plane device.
  • devices can be deployed and centrally controlled, making the network a software-definable form.
  • the control link between the control plane device and the forwarding plane device is usually initiated by the forwarding plane device.
  • the network layer of the control link uses IP (Internet Protocol, a protocol interconnected between networks) to control the transmission layer of the link.
  • IP Internet Protocol, a protocol interconnected between networks
  • TCP Transmission Control Protocol
  • TCP Transmission Control Protocol
  • TCP port Transmission Control Protocol
  • the IP address between the control plane device and the forwarding plane device is manually configured. The network administrator needs to plan the use of the IP address in advance.
  • the forwarding plane device initiates a TCP three-way handshake request to the control plane device. After the TCP is successfully established, the control signaling is sent.
  • the current network configuration method for SDN is high in complexity, low in flexibility and automation, and difficult to apply to large-scale networks.
  • the embodiment of the invention provides a network configuration method, device and system, which can solve the problem of high network configuration complexity and low efficiency in SDN, so that SDN can be applied to a large-scale network.
  • a network configuration device which is applied to a software definable network SDN, wherein the SDN comprises at least one network configuration device and at least one switch, the network configuration device comprising:
  • An acquiring unit configured to acquire a first request message sent by the switch, where the first request message includes an identifier of the switch, and a first network identifier of the switch a requesting unit, configured to acquire a first network identifier according to the first request message acquired by the acquiring unit, and a sending unit, configured to send, to the switch, the first request message acquired by the acquiring unit a first response message, where the first response message includes the first network identifier acquired by the allocating unit.
  • the SDN further includes at least one controller
  • the network configuration apparatus includes: the first request message acquired by the acquiring unit further includes a controller a request for the first configuration information; the allocating unit is further configured to acquire the first configuration information according to the first request message acquired by the acquiring unit, where the first configuration information includes a second network identifier and a monitoring of the controller
  • the first response message sent by the sending unit further includes the first configuration information acquired by the allocating unit.
  • the acquiring unit is further configured to acquire a first notification message sent by the switch, where the first notification message includes the a first network identifier, the second network identifier, and the listening port number; the sending unit is further configured to send, to the switch, a first confirmation message that is sent by the acquiring unit to the first notification message.
  • the first request message that is acquired by the acquiring unit further includes first state information, where the The status information includes at least: a first request for the first configuration information of the controller, or a renewal request for the first configuration information of the controller, or a change request for the first configuration information of the controller; Specifically for the first request obtained according to the acquiring unit And obtaining the first configuration information by requesting the first status information included in the message and the request for the first configuration information of the controller.
  • the first request message acquired by the acquiring unit further includes second state information, where the The second state includes: a first request for the first network identifier of the switch, or a renewing request for the first network identifier of the switch; the allocating unit is further configured to be used according to the acquiring And obtaining, by the second state of the request message, the request for the first network identifier of the switch, to obtain the first network identifier.
  • the SDN further includes at least one controller, where the acquiring unit is further configured to acquire a a second notification message, where the second notification message includes second configuration information of the controller, where the second configuration information includes an identifier of the controller, a second network identifier, and a listening port number; the sending unit is further configured to: Sending, to the controller, a second confirmation message to the second notification message acquired by the acquiring unit.
  • the acquiring unit is further configured to acquire a second request message that is sent by the controller, where the second request message includes the The identifier of the controller and the listening port number, and the request for the second network identifier of the controller; the allocating unit is further configured to acquire the second network identifier according to the second request message acquired by the acquiring unit;
  • the sending unit is further configured to send, to the controller, a second response to the second request message acquired by the acquiring unit, where the second response includes the second network identifier acquired by the allocating unit .
  • a switch is provided for use in a software definable network SDN, wherein the SDN includes at least one network configuration device and at least one switch,
  • the changing unit includes: a sending unit, configured to broadcast a first request message, where the first request message includes an identifier of the switch, and a request for a first network identifier of the switch; and an acquiring unit, configured to acquire the network Configuring a first response message sent by the sending unit to the first request message sent by the sending unit, where the first response message includes the first network identifier, and a configuration unit, configured to obtain, according to the acquiring unit, The first response message performs network configuration on the switch, so that the switch performs data communication.
  • the SDN further includes at least one controller, where the first request message broadcast by the sending unit further includes a request for the first configuration information of the controller;
  • the first response message acquired by the acquiring unit further includes the first configuration information, where the first configuration information includes a second network identifier and a listening port number of the controller;
  • the configuration unit is configured to perform network configuration on the switch according to the first network identifier, the second network identifier, and the listening port number included in the first response message acquired by the acquiring unit, where In order for the switch to communicate data with the controller.
  • the sending unit is further configured to broadcast a first notification message, where the first notification message includes a location used by the configuration unit The first network identifier, the second network identifier, and the listening port number; the acquiring unit is further configured to acquire a first acknowledgement message sent by the network configuration device, where the first acknowledgement message is sent to the sending unit The first notification message broadcasted.
  • the first request message that is sent by the sending unit further includes first state information, where the A status information includes at least: first configuration information for the controller The first request, or a renewal request for the first configuration information of the controller, or a request for change of the first configuration information of the controller.
  • the first request message that is sent by the sending unit further includes second state information, where the The second state includes: a first request for the first network identity of the switch, or a renewal request for the first network identity of the switch.
  • a controller which is applied to a software definable network SDN, where the SDN includes at least one network configuration device, at least one switch, and at least one controller, and the controller includes: an acquiring unit, configured to acquire The second configuration information of the controller, where the second configuration information includes an identifier of the controller, a second network identifier, and a listening port number;
  • a configuration unit configured to perform network configuration on the controller according to the second configuration information acquired by the acquiring unit, so that the controller performs data communication with the switch;
  • a sending unit configured to: when the configuration unit completes the network configuration of the controller, broadcast a second notification message, where the second notification message includes second configuration information of the controller;
  • the acquiring unit is further configured to acquire a second acknowledgement message sent by the network configuration device, to confirm that the network configuration device receives the second notification message sent by the sending unit, where the second acknowledgement message is The second notification message.
  • the sending unit is further configured to broadcast a second request message, where the second request message includes an identifier of the controller and a listening port number, and a request for the second network identifier of the controller; the obtaining unit is further configured to acquire the second response message sent by the network configuration device, so that the acquiring unit acquires second configuration information of the controller, where The second response includes the second network identity.
  • a network configuration apparatus is provided, which is applied to a software definable network SDN.
  • the SDN includes at least one network configuration device and at least one switch
  • the network configuration device comprising: a data port, a processor, a memory, and a bus, wherein the data port, the processor, and the memory pass the The bus is connected to each other, wherein the data port is configured to acquire a first request message sent by the switch, where the first request message includes an identifier of the switch, and a request for a first network identifier of the switch;
  • the processor is configured to acquire, according to the first request message that is obtained by the data port, a first network identifier, where the data port is configured to send, to the switch, the first request that is obtained by the data port.
  • the SDN further includes at least one controller
  • the network configuration apparatus includes: the first request message acquired by the data port further includes a controller a request for the first configuration information; the processor is further configured to acquire the first configuration information according to the first request message acquired by the data port, where the first configuration information includes a second network identifier and a monitoring of the controller
  • the first response message sent by the data port further includes the first configuration information acquired by the processor.
  • the data port is further configured to acquire a first notification message sent by the switch, where the first notification message includes the a first network identifier, the second network identifier, and the listening port number; the data port is further configured to send, to the switch, a first confirmation message of the first notification message acquired by the data port.
  • the first request message acquired by the data port further includes first state information, where the first state information includes at least: a first request for the first configuration information of the controller, or a controller a request for renewal of the first configuration information, or a request for change of the first configuration information of the controller; the processor is further configured to be used by the first request message that is obtained according to the data port The status message, and the request for the first configuration information of the controller acquires first configuration information, where the first configuration information includes a second network identifier and a listening port number of the controller.
  • the first request message acquired by the data port further includes second state information, where the The second state includes: a first request for the first network identifier of the switch, or a renewal request for the first network identifier of the switch;
  • the processor is further configured to obtain the first network identifier according to the second state that is included in the first request message that is obtained by the data port and the request for the first network identifier of the switch.
  • the SDN further includes at least one controller, where the data port is further configured to acquire a a second notification message, where the second notification message includes second configuration information of the controller, where the second configuration information includes an identifier of the controller, a second network identifier, and a listening port number; the data port is further used to Sending, to the controller, a second confirmation message for the second notification message obtained by the data port.
  • the data port is further configured to acquire a second request message sent by the controller, where the second request message includes the The identifier of the controller and the listening port number, and the request for the second network identifier of the controller;
  • the processor is further configured to acquire the second network identifier according to the second request message acquired by the data port;
  • the data port is further configured to send, to the controller, a second response to the second request message acquired by the data port, where the second response includes the second network identifier acquired by the processor .
  • a fifth aspect provides a switch for a software definable network SDN, where the SDN includes at least one network configuration device and at least one switch, where the switch includes: a data port, a processor, a memory, and a bus, where The data port, the processor, and the memory are connected to each other through the bus, wherein the data port is configured to broadcast a first request message, where the first request message includes an identifier of the switch, and a a request for the first network identifier of the switch; the data port, configured to acquire a first response message sent by the network configuration device to the first request message sent by the data port, the first response message Including the first network identifier;
  • the processor is configured to perform network configuration on the switch according to the first response message acquired by the data port, so that the switch performs data communication.
  • the SDN further includes at least one controller, and the first request message that is broadcast by the data port further includes a request for the first configuration information of the controller;
  • the first response message obtained by the data port further includes the first configuration information, where the first configuration information includes a second network identifier and a listening port number of the controller;
  • the processor is configured to perform network configuration on the switch according to the first network identifier, the second network identifier, and the listening port number included in the first response message acquired by the data port, where In order for the switch to communicate data with the controller.
  • the data port is further configured to broadcast a first notification message, where the first notification message includes a location used by the processor Decoding a first network identifier, the second network identifier, and the supervisor Listening to the port number; the data port is further configured to acquire a first acknowledgement message sent by the network configuration device, where the first acknowledgement message is for the first notification message that is broadcast by the data port.
  • the first request message that is broadcast by the data port further includes first state information, where the The status information includes at least: a first request for the first configuration information of the controller, or a renewal request for the first configuration information of the controller, or a request for a change to the first configuration information of the controller.
  • the first request message that is broadcast by the data port further includes second state information, where the The second state includes: a first request for the first network identity of the switch, or a renewal request for the first network identity of the switch.
  • a controller for a software definable network SDN, where the SDN includes at least one network configuration device, at least one switch, and at least one controller, where the controller includes: a data port, a processor, a memory and a bus, wherein the data port, the processor, and the memory are connected to each other through the bus, wherein the data port is configured to acquire second configuration information of the controller, where the The second configuration information includes an identifier of the controller, a second network identifier, and a listening port number;
  • the processor is configured to perform network configuration on the controller according to the second configuration information acquired by the data port, so that the controller performs data communication with the switch;
  • the data port is configured to: when the processor completes the network configuration of the controller, broadcast a second notification message, where the second notification message includes second configuration information of the controller;
  • the data port is further configured to acquire a second acknowledgement message sent by the network configuration device, to confirm that the network configuration device receives the second pass sent by the data port And reporting the message, wherein the second confirmation message is for the second notification message.
  • the data port is further configured to broadcast a second request message, where the second request message includes an identifier of the controller and a listening port number, and a request for a second network identifier of the controller;
  • the data port is further configured to acquire the second response message sent by the network configuration device, so that the data port acquires second configuration information of the controller, where the second response includes the second network Logo.
  • a network configuration method is provided, which is applied to a software definable network SDN, where the SDN includes at least one network configuration device and at least one switch, and the method includes: the network configuration device acquiring the first sent by the switch a request message, the first request message includes an identifier of the switch, and a request for a first network identifier of the switch;
  • the network configuration device acquires a first network identifier according to the first request message; the network configuration device sends a first response message to the first request message to the switch, where the first response message includes the The first network identifier.
  • the SDN further includes at least one controller
  • the network configuration method includes: the first request message further includes a request for the first configuration information of the controller.
  • the network configuration device acquires first configuration information according to the first request message, where the first configuration information includes a second network identifier and a listening port number of the controller; the first response message further includes the first A configuration message.
  • the network Configuration methods also include:
  • the network configuration device acquires a first notification message sent by the switch, where the first notification message includes the first network identifier, the second network identifier, and the listening end Slogan
  • the network configuration device transmits a first acknowledgement message to the first notification message to the switch.
  • the first request message further includes first state information, where the first state information includes: The first request for the first configuration information of the controller, or the renewal request for the first configuration information of the controller, or the change request for the first configuration information of the controller;
  • the network configuration device acquires first configuration information according to the first request message, where the first configuration information includes a second network identifier and a listening port number of the controller, and specifically includes:
  • the network configuration device acquires first configuration information according to the first state information, and the request for the first configuration information of the controller, where the first configuration information includes a second network identifier of the controller and Listen for the port number.
  • the first request message further includes second state information, where the second state includes: The first request of the first network identifier of the switch, or the renewal request of the first network identifier of the switch;
  • the network configuration device acquires the first network identifier according to the first request message, which specifically includes:
  • the network configuration device acquires the first network identifier according to the second state and the request for the first network identifier of the switch.
  • the SDN further includes at least one controller, before the network configuration device acquires the first request message sent by the switch,
  • the network configuration method further includes: the network configuration device acquiring a second notification message sent by the controller, where the second notification message includes second configuration information of the controller, where the second configuration information includes control Identification, second network identification, and listening port number;
  • the network configuration device transmits a second acknowledgement message to the second notification message to the controller.
  • the network configuration method before the network configuration device acquires the second configuration information of the controller that is sent by the controller, the network configuration method further includes:
  • the network configuration device acquires a second request message sent by the controller, where the second request message includes an identifier of the controller and a listening port number, and a request for the second network identifier of the controller;
  • the network configuration device acquires a second network identifier according to the second request message; the network configuration device sends a second response to the second request cancellation to the controller, where the second response includes The second network identifier.
  • the eighth aspect provides a network configuration method, which is applied to a software definable network SDN, where the SDN includes at least one network configuration device and at least one switch, including: the switch broadcasts a first request message, where the first request message includes An identifier of the switch, and a request for a first network identifier of the switch;
  • the switch acquires a first response message sent by the network configuration device to the first request message, where the first response message includes the first network identifier;
  • the switch performs network configuration on the switch according to the first response message, so that the switch performs data communication.
  • the SDN further includes at least one controller, where the network configuration method further includes:
  • the first request message further includes a request for the first configuration information of the controller; the first response message further includes the first configuration information, where the first configuration information includes a second network identifier of the controller and Listening port number;
  • the switch performs network configuration on the switch according to the first response message, In order for the switch to perform data communication, specifically:
  • the switch performs network configuration on the switch according to the first network identifier, the second network identifier, and the listening port number, so that the switch performs data communication with the controller.
  • the network configuration method further includes: The switch broadcasts a first notification message, where the first notification message includes the first network identifier, the second network identifier, and the listening port number; the switch acquires a first acknowledgement sent by the network configuration device The message, the first confirmation message is for the first notification message.
  • the first request message further includes first state information, where the first state information includes: The first request for the first configuration information of the controller, or the renewal request for the first configuration information of the controller, or the change request for the first configuration information of the controller.
  • the first request message further includes second state information, where the second state includes: The first request of the first network identifier of the switch, or the renewal request of the first network identifier of the switch.
  • a network configuration method is provided, which is applied to a software definable network SDN, where the SDN includes at least one network configuration device, at least one switch, and at least one controller, and the network configuration method includes: The second configuration information of the controller, where the second configuration information includes an identifier of the controller, a second network identifier, and a listening port number; the controller performs network configuration on the controller according to the second configuration information.
  • the controller performs data communication with the switch;
  • the controller broadcasts a second notification message, where the second notification message includes second configuration information of the controller;
  • the controller acquires the information sent by the network configuration device a second acknowledgement message to confirm that the network configuration device receives the second notification message, wherein the second acknowledgement message is for the second notification message.
  • the controller acquires second configuration information of the controller, where the second configuration information includes an identifier of the controller, a second network identifier, and a listening port number.
  • the network configuration method further includes: the controller broadcasting a second request message, where the second request message includes an identifier of the controller and a listening port number, and a request for the second network identifier of the controller;
  • the controller acquires the second response message sent by the network configuration device, so that the controller acquires second configuration information of the controller, where the second response includes the second network identifier.
  • a network configuration system is provided, which is applied to a software definable network SDN, wherein the SDN comprises at least one network configuration device and at least one switch;
  • the network configuration device is the network configuration device according to the first aspect, wherein the switch is the switch according to the second aspect. Or,
  • the network configuration device is the network configuration device according to the fourth aspect, wherein the switch is the switch according to the fifth aspect, and the controller is the controller described in each aspect.
  • the SDN further includes at least one controller
  • controller is the controller described in the third aspect.
  • the controller is the controller described in the sixth aspect above.
  • the method, the device and the system provided by the embodiment of the present invention can obtain the first request message sent by the switch through the network configuration device, and send the first response message to the first request message to the switch, and implement the SDN network.
  • Automatic configuration solve SDN
  • the problem of high network configuration complexity and low efficiency makes SDN suitable for large-scale networks.
  • FIG. 1 is a schematic diagram of a network configuration system according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of another system configuration system according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a network configuration apparatus according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of another network configuration apparatus according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a switch according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of another switch according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a controller according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a network configuration apparatus according to still another embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of a switch according to another embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a controller according to another embodiment of the present invention.
  • FIG. 12 is a schematic flowchart of a network configuration method according to still another embodiment of the present invention.
  • FIG. 13 is a flowchart showing a network configuration method according to another embodiment of the present invention. Intention
  • FIG. 14 is a schematic flow chart of a network configuration method according to an embodiment of the present invention.
  • FIG. 15 is a schematic flow chart of still another network configuration method according to an embodiment of the present invention.
  • FIG. 16 is a schematic flow chart of another network configuration method according to an embodiment of the present invention.
  • FIG. 17 is a schematic flow chart of a network configuration method according to an embodiment of the present invention.
  • an embodiment of the present invention provides a network configuration system, which is applied to a network domain, and may apply SDN, where the SDN includes at least one network configuration device 101 and at least one switch 102.
  • the switch includes at least one of a physical switching device (Switch) and a virtual switching device (VSwitch). Multiple virtual switching devices can be set in one physical device, and the data ports of the physical device can also be shared for network connection.
  • Switch physical switching device
  • VSwitch virtual switching device
  • the network configuration device 101 is a network device provided by the present invention, and the switch 102 can be a forwarding device, such as an OpenFlow transceiver and an OpenFlow switch.
  • the network configuration system further includes at least one controller 103.
  • the controller and the network configuration device may be respectively disposed in different physical devices, or may be integrated in the same In the physical device.
  • the controller 103 can be a control plane device, such as an OpenFlow controller.
  • the network configuration system provided by the embodiment of the present invention can implement automatic network configuration of the SDN through the network configuration request and response between the switch and the network configuration device, and solve the problem of high network configuration complexity and low efficiency in the SDN, so that the SDN can Suitable for large-scale networks.
  • an embodiment of the present invention provides a network configuration apparatus, which may be applied to the network configuration system shown in FIG. 1 and FIG. 2, where the network configuration apparatus includes: an acquiring unit 301, configured to acquire the The first request message sent by the switch, the first request message includes an identifier of the switch, and a request for the first network identifier of the switch.
  • the allocating unit 302 is configured to acquire the first network identifier according to the first request message acquired by the acquiring unit 301.
  • a sending unit 303 configured to send, to the switch, a first response message to the first request message acquired by the acquiring unit 301, where the first response message includes the first network acquired by the allocating unit 302 Logo.
  • the SDN may further include at least one controller
  • the network configuration apparatus may further include the following: the first request message acquired by the obtaining unit 301 further includes a first configuration of the controller Request for information;
  • the allocating unit 302 is further configured to acquire the first configuration information according to the first request message acquired by the acquiring unit 301, where the first configuration information includes a second network identifier and a listening port number of the controller;
  • the first response message sent by the sending unit 303 further includes the first configuration information acquired by the allocating unit 302.
  • the first configuration information may further include a control role and priority information of the controller.
  • the acquiring unit 301 is further configured to acquire a first notification message sent by the switch, where the first notification message includes the first network identifier, the second network Identification and the listening port number;
  • the sending unit 303 is further configured to send, to the switch, a first acknowledgement message to the first notification message acquired by the acquiring unit 301.
  • the first request message acquired by the acquiring unit 301 further includes first state information, where the first state information includes at least: a first request for the first configuration information of the controller, or a request for renewal of the first configuration information of the controller, or a request for change of the first configuration information of the controller;
  • the allocating unit 302 is further configured to obtain, according to the first state information included in the first request message acquired by the acquiring unit 301, and the request for the first configuration information of the controller, The first configuration information, where the first configuration information includes a second network identifier and a listening port number of the controller.
  • the first request message acquired by the acquiring unit 301 further includes second state information, where the second state includes: the first time that the first network identifier of the switch is Requesting, or renewing a request for the first network identifier of the switch;
  • the allocating unit 302 is further configured to acquire, according to the second state that is included in the first request message that is acquired by the acquiring unit 301, and the request for the first network identifier of the switch, A network identifier.
  • the SDN further includes at least one controller, as shown in FIG. 4: the acquiring unit 301 is further configured to acquire a second notification message sent by the controller, where the second notification message includes The second configuration information of the controller, where the second configuration information includes an identifier of the controller, a second network identifier, and a listening port number;
  • the second configuration information may further include a control role and priority information of the controller.
  • the sending unit 303 is further configured to send the acquisition order to the controller.
  • the acquiring unit 301 is further configured to acquire a second request message sent by the controller, where the second request message includes an identifier of the controller and a listening port number, and the controller a second network identification request;
  • the allocating unit 302 is further configured to acquire the second network identifier according to the second request message acquired by the acquiring unit 301.
  • the sending unit 303 is further configured to send a message to the controller. The second response of the second request message acquired by the obtaining unit 301, where the second response includes the second network identifier acquired by the allocating unit 302.
  • the identifier of the switch may be a UUID (Universal Unique Identifier), and the first network identifier and the second network identifier may both be IP addresses, and the first response message and the second response message are both It may be an acknowledgement (ACK), the identifier of the controller may be a MAC (Media Access Control) address, and the control role of the controller is used to indicate whether the controller is a primary controller or From the controller.
  • UUID Universal Unique Identifier
  • ACK acknowledgement
  • the identifier of the controller may be a MAC (Media Access Control) address
  • the control role of the controller is used to indicate whether the controller is a primary controller or From the controller.
  • the first configuration message sent by the switch is obtained by the network configuration device, and the first response message to the first request message is sent to the switch, so that the network of the SDN is automatically implemented.
  • Configuration solve the problem of high complexity and low efficiency of network configuration in SDN, making SDN suitable for large-scale networks.
  • an embodiment of the present invention provides a switch, which can be applied to the network configuration system shown in FIG. 1 and FIG. 2, where the switch includes:
  • the sending unit 501 is configured to broadcast a first request message, where the first request message includes an identifier of the switch, and a request for the first network identifier of the switch;
  • the obtaining unit 502 is configured to acquire a first response message that is sent by the network configuration device to the first request message sent by the sending unit 501, where the first response message includes the first network identifier;
  • the configuration unit 503 is configured to perform network configuration on the switch according to the first response message acquired by the obtaining unit 502, so that the switch performs data communication.
  • the SDN may further include at least one controller, where: the first request message broadcast by the sending unit 501 further includes a request for the first configuration information of the controller;
  • the first response message obtained by the acquiring unit 502 further includes the first configuration information, where the first configuration information includes a second network identifier and a listening port number of the controller;
  • the configuration unit 503 is specifically configured to perform network on the switch according to the first network identifier, the second network identifier, and the listening port number included in the first response message acquired by the acquiring unit 502. So that the switch is in data communication with the controller.
  • the first configuration information may further include a control role and priority information of the controller, where the configuration unit 503 is further configured to be used according to the first response message that is acquired by the acquiring unit 502. Determining, by the first network identifier, the second network identifier, the listening port number, the control role and the priority information of the controller, the network of the switch, so that the switch and the controller perform data Communication.
  • the sending unit 501 is further configured to broadcast a first notification message, where the first notification message includes the first network identifier used by the configuration unit 503, and the Two network identifiers and the listening port number;
  • the obtaining unit 502 is further configured to acquire a first acknowledgement message sent by the network configuration apparatus, where the first acknowledgement message is sent to the first notification message that is sent by the sending unit 501.
  • the first request message that is sent by the sending unit 50 1 further includes first state information, where the first state information at least includes: a first request for the first configuration information of the controller, Or a request for renewal of the first configuration information of the controller, or a request for change of the first configuration information of the controller.
  • the first request message that is sent by the sending unit 501 further includes second state information, where the second state includes: a first request for the first network identifier of the switch, or the switch The renewal request for the first network identifier.
  • the identifier of the switch may be a Universally Unique Identifier (UUID), and the first network identifier and the second network identifier may both be IP addresses, and the first response message may be an acknowledgement signal (acknowledgement) , ACK), the identifier of the controller may be a MAC (Media Access Control) address.
  • UUID Universally Unique Identifier
  • ACK acknowledgement signal
  • MAC Media Access Control
  • the switch provided by the embodiment of the present invention can broadcast the first request message through the switch, and acquire the first response message sent by the network configuration device to the switch to the first request message, thereby implementing automatic network configuration of the SDN.
  • the problem of high complexity and low efficiency of network configuration in SDN is solved, so that SDN can be applied to a large-scale network.
  • an embodiment of the present invention provides a controller, which can be applied to the network configuration system shown in FIG. 2, where the controller includes:
  • the obtaining unit 701 is configured to acquire second configuration information of the controller, where the second configuration information includes an identifier of the controller, a second network identifier, and a listening port number.
  • the second configuration information may further include a control role and priority information of the controller.
  • the configuration unit 702 is configured to perform network configuration on the controller according to the second configuration information acquired by the acquiring unit 701, so that the controller performs data communication with the switch.
  • the sending unit 703 is configured to: when the configuration unit 702 completes the network configuration of the controller, broadcast a second notification message, where the second notification message includes second configuration information of the controller;
  • the obtaining unit 701 is further configured to acquire a second acknowledgement message sent by the network configuration device, to confirm that the network configuration device receives the second notification message sent by the sending unit 703, where the second acknowledgement The message is for the second notification message.
  • the sending unit 703 is further configured to broadcast a second request message, where the second request message includes an identifier of the controller and a listening port number, and a request for the second network identifier of the controller.
  • the obtaining unit 701 is further configured to acquire the second response message sent by the network configuration device, so that the acquiring unit 701 acquires second configuration information of the controller, where the second response The second network identifier is included.
  • the second network identifier may be an IP address
  • the second response message may be an acknowledgement (ACK)
  • the identifier of the controller may be a MAC (Media Access Control) address.
  • the control role of the controller is used to indicate whether the controller is a master controller or a slave controller.
  • the switch broadcasts the second configuration information by the controller, and the switch broadcasts the first request message, and acquires the first response message to the first request message sent by the network configuration device to the switch.
  • the automatic configuration of the SDN network can be realized, and the problem of high network configuration complexity and low efficiency in the SDN can be solved, so that the SDN can be applied to a large-scale network.
  • the embodiment of the present invention provides a network configuration apparatus, which can be applied to the network configuration system shown in FIG. 1 and FIG. 2 above.
  • the network configuration apparatus can be embedded or itself a microprocessor computer, such as: A portable device such as a general-purpose computer, a custom machine, a mobile terminal or a tablet, the network configuration device 801 includes: at least one data port 801 1 , a processor 8012 , a memory 8013 , and a bus 8014 , the at least one data port 801 1 , a processor The 8012 and the memory 8013 are connected by a bus 8014 and complete communication with each other.
  • the bus 8014 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component) bus, or an EISA (Extended Industry Standard Architecture) bus.
  • the bus 8014 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 8, but it does not mean that there is only one bus or one type of bus. among them:
  • the memory 8013 is for storing executable program code, the program code including computer operating instructions.
  • the memory 8013 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 8012 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the data port 8011 is configured to acquire a first request message sent by the switch, where the first request message includes an identifier of the switch, and a request for a first network identifier of the switch;
  • the processor 8012 is configured to acquire, according to the first request message acquired by the data port 8011, a first network identifier.
  • the data port 8011 is configured to send, to the switch, a first response message to the first request message acquired by the data port 8011, where the first response message includes the first part acquired by the processor 8012 A network identifier.
  • the SDN may further include at least one controller, where:
  • the first request message obtained by the data port 8011 further includes a request for the first configuration information of the controller
  • the processor 8012 is further configured to acquire the first configuration information according to the first request message that is obtained by the data port 8011, where the first configuration information includes a second network identifier and a listening port number of the controller;
  • the first response message sent by the data port 8011 further includes the first configuration information acquired by the processor 8012.
  • the first configuration information may further include control role and priority information of the controller, so that the switch performs data communication with the controller according to the first response message.
  • the data port 8011 is further configured to acquire the switch a first notification message, where the first notification message includes the first network identifier, the second network identifier, and the listening port number;
  • the data port 801 1 is further configured to send a first confirmation message to the switch to the first notification message acquired by the data port 801 1 .
  • the first request message obtained by the data port 801 1 further includes first state information, where the first state information at least includes: a first request for the first configuration information of the controller, Or a request for renewal of the first configuration information of the controller, or a request for changing the first configuration information of the controller;
  • the processor 8012 is further configured to: according to the first status message included in the first request message acquired by the data port 801 1 and the request for the first configuration information of the controller, Obtaining first configuration information, where the first configuration information includes a second network identifier and a listening port number of the controller.
  • the first request message that is obtained by the data port 801 1 further includes second state information, where the second state includes: a first request for the first network identifier of the switch, or a renewal request of the first network identifier of the switch;
  • the processor 8012 is further configured to obtain, according to the second state that is included in the first request message that is obtained by the data port 801 1 and the request for the first network identifier of the switch, The first network identifier.
  • the SDN may further include at least one controller, where: the data port 801 1 is further configured to acquire a second notification message sent by the controller, where the second notification message includes the first Second configuration information, where the second configuration information includes an identifier of the controller, a second network identifier, and a listening port number;
  • the second configuration information may further include a control role and priority information of the controller.
  • the data port 801 1 is further configured to send a second confirmation message to the controller to the second notification message acquired by the data port 801 1 .
  • the data port 801 1 is further configured to acquire a sent by a controller. a second request message, where the second request message includes an identifier of the controller and a listening port number, and a request for the second network identifier of the controller;
  • the processor 8012 is further configured to acquire the second network identifier according to the second request message acquired by the data port 801 1; at this time, the data port 801 1 is further configured to send to the controller. a second response to the second request message obtained by the data port 801 1 , wherein the second response includes the second network identifier acquired by the processor 8012.
  • the identifier of the switch may be a UUID (Universal Unique Identifier), and the first network identifier and the second network identifier may both be IP addresses, and the first response message and the second response message are both It may be an acknowledgement (ACK), the identifier of the controller may be a MAC (Media Access Control) address, and the control role of the controller is used to indicate whether the controller is a primary controller or From the controller.
  • UUID Universal Unique Identifier
  • ACK acknowledgement
  • the identifier of the controller may be a MAC (Media Access Control) address
  • the control role of the controller is used to indicate whether the controller is a primary controller or From the controller.
  • the first configuration message sent by the switch is obtained by the network configuration device, and the first response message to the first request message is sent to the switch, so that the network of the SDN is automatically implemented.
  • Configuration solve the problem of high complexity and low efficiency of network configuration in SDN, making SDN suitable for large-scale networks.
  • An embodiment of the present invention provides a switch that can be applied to the network configuration system shown in FIG. 1 and FIG. 2 above.
  • the switch can be embedded or itself a microprocessor computer, such as: a general-purpose computer, a client.
  • a portable device such as a custom machine, a mobile phone terminal or a tablet machine
  • the switch 901 includes: at least one data port 901 1 , a processor 9012 , a memory 9013 , and a bus 9014 , the at least one data port 901 1 , the processor 9012 , and the memory 9013 passing through the bus
  • the 9014 connects and completes communication with each other.
  • the bus 9014 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component) bus, or an EISA (Extended Industry Standard Architecture) bus.
  • the bus 9014 can be divided into an address bus, a data bus, and a control Bus, etc. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus. among them:
  • Memory 9013 is for storing executable program code, the program code including computer operating instructions.
  • the memory 9013 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 9012 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the data port 901 1 is configured to broadcast a first request message, where the first request message includes an identifier of the switch, and a request for a first network identifier of the switch;
  • the first port response message includes the first network Identification
  • the processor 9012 is configured to perform network configuration on the switch according to the first response message acquired by the data port 901 1 to enable the switch to perform data communication.
  • the SDN may further include at least one controller, where:
  • the first request message broadcast by the data port 901 1 further includes a request for first configuration information of the controller
  • the first response message obtained by the data port 901 1 further includes the first configuration information, where the first configuration information includes a second network identifier and a listening port number of the controller;
  • the processor 9012 is specifically configured to perform, according to the first network identifier, the second network identifier, and the listening port number included in the first response message acquired by the data port 901 1 Network configuration for the switch and the controller Data communication.
  • the first configuration information may further include a control role and priority information of the controller, where the processor 9012 is specifically configured to be included in the first response message that is obtained according to the data port 901 1 Determining, by the first network identifier, the second network identifier, the listening port number, the control role and the priority information of the controller, the network of the switch, so that the switch and the controller perform data Communication.
  • the data port 901 1 is further configured to broadcast a first notification message, where the first notification message includes the first network identifier, the second network identifier, and the identifier used by the processor 9012.
  • the data port 901 1 is further configured to acquire a first acknowledgement message sent by the network configuration apparatus, where the first acknowledgement message is for the first notification broadcast by the data port 901 1 Message.
  • the first request message that is broadcast by the data port 901 1 further includes first state information, where the first state information at least includes: a first request for the first configuration information of the controller, Or a request for renewal of the first configuration information of the controller, or a request for change of the first configuration information of the controller.
  • the first request message that is broadcast by the data port 901 1 further includes second state information, where the second state includes: a first request for the first network identifier of the switch, or A renewal request for the first network identifier of the switch.
  • the identifier of the switch may be a Universally Unique Identifier (UUID)
  • the first network identifier and the second network identifier may both be IP addresses
  • the first response message may be an acknowledgement signal (acknowledgement) , ACK)
  • the identifier of the controller may be a MAC (Media Access Control) address.
  • a switch which can broadcast a first request message through a switch, and acquire a first response message sent by the network configuration device to the switch to the first request message, to implement automatic network configuration of the SDN.
  • the embodiment of the present invention provides a controller, which can be applied to the network configuration system shown in FIG. 2, and as shown in FIG.
  • the controller can be embedded or itself a microprocessor computer, such as: a general-purpose computer, customized A portable device such as a mobile phone, a mobile phone terminal or a tablet computer
  • the controller 1001 includes: at least one data port 1001 1 , a processor 10012 , a memory 10013 , and a bus 10014 .
  • the at least one data port 1001 1 , the processor 10012 , and the memory 10013 pass through a bus
  • the 10014 connects and completes communication with each other.
  • the bus 10014 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component) bus, or an EISA (Extended Industry Standard Architecture) bus.
  • the bus 10014 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 10, but it does not mean that there is only one bus or one type of bus. among them:
  • Memory 10013 is for storing executable program code, the program code including computer operating instructions.
  • the memory 10013 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 10012 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the data port 1001 1 is configured to acquire second configuration information of the controller, where the second configuration information includes an identifier of the controller, a second network identifier, and a listening port number.
  • the second configuration information may further include a control role and priority information of the controller.
  • the processor 10012 is configured to perform network configuration on the controller according to the second configuration information acquired by the data port 1001 1 , so that the controller performs data communication with the switch.
  • the data port 1001 1 is configured to complete the controller when the processor 10012 completes The second notification message is broadcasted by the network, and the second notification message includes the second configuration information of the controller.
  • the data port 1001 1 is further configured to acquire a second confirmation message sent by the network configuration device. In order to confirm that the network configuration device receives the second notification message sent by the data port 1001, wherein the second confirmation message is for the second notification message.
  • the data port 1001 1 is further configured to broadcast a second request message, where the second request message includes an identifier of the controller and a listening port number, and a second network identifier of the controller Request
  • the data port 1001 1 is further configured to acquire the second response message sent by the network configuration device, so that the data port 1001 1 acquires second configuration information of the controller, where the second The response includes the second network identification.
  • the second network identifier may be an IP address
  • the second response message may be an acknowledgement (ACK)
  • the identifier of the controller may be a MAC (Media Access Control). Address, the controller's control role is used to indicate whether the controller is a master controller or a slave controller.
  • the controller can broadcast the second configuration information, and the switch broadcasts the first request message, and acquires the first response message sent by the network configuration device to the switch to the first request message.
  • the way to implement automatic network configuration of SDN solves the problem of high complexity and low efficiency of network configuration in SDN, so that SDN can be applied to large-scale networks.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • computer readable media can Including RAM (Random Access Memory), ROM (Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) , ie read-only discs) or other disc storage, disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • any connection may suitably be a computer readable medium.
  • the disc and the disc include a CD (Compact Disc), a laser disc, a disc, a DVD disc (Digital Versatile Disc), a floppy disc, and a Blu-ray disc, wherein the disc is usually magnetically copied, The disc uses a laser to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
  • the embodiment of the present invention provides a network configuration method, which can be applied to the network configuration system shown in FIG. 1 and FIG. 2, and can be specifically applied to the network configuration device in the network configuration system.
  • the following includes the following: Steps:
  • the network configuration device acquires a first request message sent by the switch.
  • the first request message may include an identifier of the switch and a request for the first network identifier of the switch.
  • the first request message may further include second state information, where the second state includes: a first request for the first network identifier of the switch, or a first network of the switch The identified renewal request.
  • the first request message may further include a request for the first configuration information of the controller.
  • the first request message may further include first state information
  • the first status information includes at least: a first request for the first configuration information of the controller, or a renewal request for the first configuration information of the controller, or a change request for the first configuration information of the controller.
  • the network configuration apparatus acquires a first network identifier according to the first request message.
  • the network configuration device acquires the first according to the second state and the request for the first network identifier of the switch.
  • the second status information may be represented by a cause value.
  • the network configuration device acquires a first network identifier.
  • the network configuration device maintains a first network identifier originally used by the switch.
  • the network configuration device acquires first configuration information according to the first request message, where the first configuration information Contains the second network ID and listening port number of the controller.
  • the first configuration information may further include a control role and priority information of the controller.
  • the network configuration device obtains the first request according to the first state information and the request for the first configuration information of the controller.
  • a configuration information where the first configuration information includes a second network identifier and a listening port number of the controller, and may also include a control role and priority information of the controller.
  • the first status information may be represented by a cause value.
  • the network configuration device acquires a first configuration information.
  • the network configuration device When the first state information is: a renewal request for the first configuration information of the controller, the network configuration device maintains the first configuration information originally used by the switch.
  • the first status information is: a request for changing the first configuration information of the controller, the network configuration device acquires a new first configuration information, and the new first configuration information is used by the switch.
  • the configuration information is different.
  • the first state information may also include the first configuration information originally used by the switch.
  • the network configuration device sends a first response message to the first request message to the switch, where the first response message includes the first network identifier.
  • the first response message further includes the first configuration information.
  • the identifier of the switch may be a UUID (Universal Unique Identifier), and the first network identifier and the second network identifier may both be IP addresses, and the first response message and the second response message are both It may be an acknowledgement (ACK), the identifier of the controller may be a MAC (Media Access Control) address, and the control role of the controller is used to indicate whether the controller is a primary controller or From the controller.
  • UUID Universal Unique Identifier
  • ACK acknowledgement
  • the identifier of the controller may be a MAC (Media Access Control) address
  • the control role of the controller is used to indicate whether the controller is a primary controller or From the controller.
  • the network configuration method provided by the embodiment of the present invention can obtain the first request message sent by the switch by using the network configuration device, and send a first response message to the first request message to the switch, so as to implement automatic network configuration of the SDN.
  • the problem of high complexity and low efficiency of network configuration in SDN is solved, so that SDN can be applied to a large-scale network.
  • the embodiment of the present invention provides a network configuration method, which can be applied to the network configuration system shown in FIG. 1 and FIG. 2, and can be specifically applied to the switch in the network configuration system. Referring to FIG. 12, the method includes the following steps:
  • the switch broadcasts a first request message.
  • the first request message may include an identifier of the switch and a request for the first network identifier of the switch.
  • the first request message may further include second state information, where the second state includes: a first request for the first network identifier of the switch, or a first network of the switch The identified renewal request.
  • the second status information may be represented by a cause value.
  • the first request message may further include a request for the first configuration information of the controller.
  • the first request message may further include first state information, where the first state information includes at least: a first request for the first configuration information of the controller, or a first configuration of the controller A request for renewal of information, or a request for change of the first configuration information of the controller.
  • the first status information may be represented by a cause value.
  • the switch acquires a first response message sent by the network configuration device to the first request message.
  • the first response message may include the first network identifier.
  • the first request message may further include a request for the first configuration information of the controller
  • the first response message further includes the first configuration information, where the first configuration information includes a control
  • the first configuration information may further include a control role and priority information of the controller.
  • the switch performs network configuration on the switch according to the first response message, so that the switch performs data communication.
  • the switch when the first request message further includes a request for the first configuration information of the controller, the switch may be configured according to the first network identifier, the second network identifier, and the listening port number. The switch performs network configuration, so that the switch performs data communication with the controller.
  • the switch may simultaneously perform the The control role and priority information of the controller configure the network of the switch.
  • the switch may configure the first network identifier for the control port of the switch, and according to the listening port number of the controller, and the controller indicated by the second network identifier.
  • Data communication when the first configuration information further includes the control role and priority information of the controller, the switch may also identify the controller according to the control role and priority information of the controller.
  • the switch when the switch is a virtual switch, in the control of the switch After the port is configured with the first network identifier, the switch further establishes a bridge that implements the function of the virtual switch, and configures the second network identifier and the listening port number information of the controller for the bridge, where the switch further
  • the switch may be network configured according to the control role and priority information of the controller.
  • multiple virtual switches can also be co-located in the same physical device and share the same control port. In the process of configuring the virtual switch network, each virtual switch needs to be configured in turn.
  • the data communication may include: the switch establishing a transport layer connection with the controller.
  • the transport layer connection may be initiated by the switch, and the transport layer connection may be established by three-way handshake. More specifically, a transport layer connection is established to establish a TCP (Transmission Control Protocol) connection with the controller.
  • TCP Transmission Control Protocol
  • the UDP User Datagram Protocol
  • SCTP Stream Control Transmission Protocol
  • the switch establishes a control channel with the controller.
  • the establishment of the control channel may be initiated by the switch or by the controller, and the control channel may be established by using a three-way handshake.
  • the identifier of the switch may be a Universally Unique Identifier (UUID), and the first network identifier and the second network identifier may both be IP addresses, and the first response message may be an acknowledgement signal (acknowledgement) , ACK), the identifier of the controller may be a MAC (Media Access Control) address.
  • UUID Universally Unique Identifier
  • ACK acknowledgement signal
  • MAC Media Access Control
  • the network configuration method provided by the embodiment of the present invention can broadcast the first request message through the switch, and acquire the first response message sent by the network configuration device to the switch to the first request message, thereby implementing network automatic SDN. Configuration, solve the problem of high complexity and low efficiency of network configuration in SDN, so that SDN can be applied to large-scale networks.
  • Embodiments of the present invention provide a network configuration method, which can be applied to FIG. 2 described above.
  • the network configuration system shown can be specifically applied to the controller in the network configuration system. Referring to FIG. 13, the method includes the following steps:
  • the controller acquires second configuration information of the controller.
  • the second configuration information includes an identifier of the controller, a second network identifier of the controller, and a listening port number of the controller.
  • the second configuration information may further include a control role and priority information of the controller.
  • the controller performs network configuration on the controller according to the second configuration information.
  • the controller may configure the second network identifier in the second configuration information to the listening port of the controller.
  • the controller broadcasts a second notification message.
  • the second notification message includes second configuration information of the controller.
  • the controller acquires a second acknowledgement message sent by the network configuration device, to confirm that the network configuration device receives the second notification message.
  • the second confirmation message is for the second notification message.
  • the second network identifier may be an IP address
  • the second response message may be an acknowledgement (ACK)
  • the identifier of the controller may be a MAC (Media Access Control) address.
  • the control role of the controller is used to indicate whether the controller is a master controller or a slave controller.
  • the network configuration method provided by the embodiment of the present invention can broadcast the second configuration information by the controller, and the switch broadcasts the first request message, and acquires the first response message sent by the network configuration device to the switch to the first request message.
  • the way to implement automatic network configuration of SDN solves the problem of high complexity and low efficiency of network configuration in SDN, so that SDN can be applied to large-scale networks.
  • the present invention A network configuration method is provided, which can be applied to the network configuration system shown in FIG. 1 and FIG. 2 above.
  • the method includes the following steps:
  • the switch broadcasts the first request message.
  • the first request message may include an identifier of the switch and a request for the first network identifier of the switch.
  • the first request message may further include second state information, where the second state includes: a first request for the first network identifier of the switch, or a first network of the switch The identified renewal request.
  • the second status information may be represented by a cause value.
  • the first request message may further include a request for the first configuration information of the controller.
  • the first request message may further include first state information, where the first state information includes at least: a first request for the first configuration information of the controller, or a first configuration of the controller A request for renewal of information, or a request for change of the first configuration information of the controller.
  • the first status information may be represented by a cause value.
  • the network configuration apparatus acquires a first network identifier according to the first request message.
  • the network configuration device acquires the first according to the second state and the request for the first network identifier of the switch.
  • a network identifier A network identifier.
  • the network configuration device acquires a first network identifier.
  • the network configuration device maintains a first network identifier originally used by the switch.
  • the network configuration device acquires the first configuration information according to the first request message.
  • the first configuration information includes a second network identifier and a listening port number of the controller.
  • the first configuration information may further include a control role and priority information of the controller.
  • the network configuration apparatus acquires the first request according to the first status information and the request for the first configuration information of the controller.
  • a configuration information where the first configuration information includes a second network identifier and a listening port number of the controller, and may also include a control role and priority information of the controller.
  • the first status information may be represented by a cause value.
  • the network configuration device acquires a first configuration information.
  • the network configuration device maintains the first configuration information originally used by the switch.
  • the network configuration device acquires a new first configuration information, and the new first configuration information is used by the switch.
  • the configuration information is different.
  • the first state information may also include the first configuration information originally used by the switch.
  • the network configuration apparatus sends a first response message to the first request message to the switch.
  • the first response message may include the first network identifier.
  • the first response message further includes the first configuration information.
  • the switch acquires the first response message sent by the network configuration device to the first request message:
  • the switch broadcasts a first notification message.
  • the first notification message includes the first network identifier, the second network identifier, and the listening port number used by the switch.
  • the switch may receive the first response message sent by the multiple network configuration devices. At this time, the switch needs to broadcast again which network configuration device is specifically used. The content of the first response message, and then the first notification message is broadcasted after the content of the first response is used, so that all network configuration devices in the network configuration system know the first response that the switch has adopted. Content, such as the first network identifier, the first configuration information. Avoid conflicts and resource waste with other network devices.
  • the network configuration device sends a first acknowledgement message to the first notification message to the switch. After the switch acquires the first acknowledgement message sent by the network configuration device:
  • the switch performs network configuration on the switch according to the first response message, so that the switch performs data communication.
  • the switch when the first request message further includes a request for the first configuration information of the controller, the switch may be configured according to the first network identifier, the second network identifier, and the listening port number. The switch performs network configuration, so that the switch performs data communication with the controller.
  • the switch may simultaneously perform the The control role and priority information of the controller configure the network of the switch.
  • the switch may configure the first network identifier for the control port of the switch, and according to the listening port number of the controller, and the controller indicated by the second network identifier.
  • Data communication when the first configuration information further includes the control role and priority information of the controller, the switch may also identify the controller according to the control role and priority information of the controller.
  • the switch when the switch is a virtual switch, after configuring the first network identifier for the control port of the switch, the switch further establishes a bridge that implements a virtual switch function, and configures control for the bridge.
  • the second network identifier of the device and the listening end Slogan information when the switch is a virtual switch, after configuring the first network identifier for the control port of the switch, the switch further establishes a bridge that implements a virtual switch function, and configures control for the bridge.
  • the second network identifier of the device and the listening end Slogan information when the switch is a virtual switch, after configuring the first network identifier for the control port of the switch, the switch further establishes a bridge that implements a virtual switch function, and configures control for the bridge.
  • multiple virtual switches can also be co-located in the same physical device and share the same control port.
  • the virtual switch needs to be configured for each virtual switch in turn, in the first configuration information.
  • the switch may also perform network configuration on the switch according to the control role and priority information of the controller.
  • the step 1404 and the step 1405 may not be performed, and the step may be directly performed after the step 1403. 1406.
  • the data communication may further include:
  • the switch establishes a transport layer connection with the controller.
  • the transport layer connection may be initiated by the switch, and the transport layer connection may be established by three handshakes.
  • a transport layer connection is established to establish a TCP connection with the controller.
  • a UDP or SCTP connection can also be used between the controller and the switch.
  • the switch establishes a control channel with the controller.
  • control channel may be initiated by the switch or by the controller, and the control channel may be established by three-way handshake.
  • the identifier of the switch may be a Universally Unique Identifier (UUID), and the first network identifier and the second network identifier may both be IP addresses, and the first response message may be an acknowledgement signal (acknowledgement) , ACK ).
  • UUID Universally Unique Identifier
  • ACK acknowledgement signal
  • the network configuration method provided by the embodiment of the present invention can obtain the first request message sent by the switch by using the network configuration device, send a first response message to the first request message to the switch, and obtain the first response message sent by the switch. After the first notification message, sending a first confirmation message to the first notification message to the switch, implementing automatic network configuration of the SDN, and solving the problem of high network configuration complexity and low efficiency in the SDN, This makes SDN suitable for large-scale networks.
  • the present invention provides a network configuration method, which can be applied to the network configuration system shown in FIG. 2, as shown in FIG. , including the following steps:
  • the controller broadcasts a second request message.
  • the second request message includes an identifier of the controller and a listening port number, and a request for the second network identifier of the controller.
  • the network configuration apparatus acquires a second network identifier according to the second request message.
  • the network configuration device sends a second response to the second request message to the controller, where the second response includes the second network identifier.
  • the controller acquires second configuration information of the controller.
  • the second configuration information includes an identifier of the controller, a second network identifier, and a listening port number.
  • the second configuration information may include not only the identifier of the controller, the second network identifier, and the listening port number, but also the control role and priority of the controller. information.
  • the controller may acquire a preset controller identifier, a control role, a priority information, and a listening port number, and combine the second network identifier to generate the second configuration information.
  • the second configuration information may also be preset in advance.
  • the preset manner may be manually set and stored in the controller, or stored in a third-party device, or may be solidified in the memory.
  • the specific method is not limited.
  • the step 1704 to the step 1703 need not be performed, and the step 1704 can be directly executed. 1705.
  • the controller performs network configuration on the controller according to the second configuration information. Specifically, the controller may configure the second network identifier in the second configuration information to the listening port of the controller.
  • the controller broadcasts a second notification message, where the second notification message includes second configuration information of the controller.
  • the reason for this is that because there may be multiple network configuration devices in the network configuration system, after the controller broadcasts the second request message, it may receive a second response message sent by multiple network configuration devices. At this time, the controller needs to broadcast the content of the second response message of the network configuration device that is specifically used, and then needs to broadcast the second notification message after using the content of the second response, so that the All network configuration devices in the network configuration system are aware of the content of the second response that the controller has adopted, such as the second network identity. Avoid conflicts and resource waste with other network devices.
  • the network configuration device update may store the second configuration information, so as to obtain the first configuration information, the storage manner is not limited, and may be stored by itself. Can be stored in other devices.
  • the network configuration device sends a second confirmation message to the second notification message to the controller. After the controller acquires the second acknowledgement message sent by the network configuration device, confirming that the network configuration device receives the second notification message:
  • the controller starts a listening process and waits for a connection initiated by the switch.
  • the switch broadcasts the first request message.
  • the first request message may include an identifier of the switch, and a request for the first network identifier of the switch. Further, optionally, the first request message may further include second state information, The second state includes: a first request for the first network identifier of the switch, or a renewal request for the first network identifier of the switch. The second status information may be represented by a cause value.
  • the first request message may further include a request for the first configuration information of the controller.
  • the first request message may further include first state information, where the first state information includes at least: a first request for the first configuration information of the controller, or a first configuration of the controller A request for renewal of information, or a request for change of the first configuration information of the controller.
  • the first status information may be represented by a cause value.
  • the network configuration apparatus acquires a first network identifier according to the first request message.
  • the network configuration device acquires the first according to the second state and the request for the first network identifier of the switch.
  • a network identifier A network identifier.
  • the network configuration device acquires a first network identifier.
  • the network configuration device maintains a first network identifier originally used by the switch.
  • the network configuration device acquires first configuration information according to the first request message, where the first configuration information Contains the second network ID and listening port number of the controller.
  • the first configuration information may further include a control role and priority information of the controller.
  • the network configuration apparatus acquires the first request according to the first status information and the request for the first configuration information of the controller.
  • a configuration information wherein the first configuration information includes control
  • the second network identifier and the listening port number of the device may also contain the control role and priority information of the controller.
  • the first status information may be represented by a cause value.
  • the network configuration device acquires a first configuration information.
  • the network configuration device maintains the first configuration information originally used by the switch.
  • the network configuration device acquires a new first configuration information, and the new first configuration information is used by the switch.
  • the configuration information is different.
  • the first state information may also include the first configuration information originally used by the switch.
  • the network configuration device sends a first response message to the first request message to the switch.
  • the first response message may include the first network identifier.
  • the first response message further includes the first configuration information.
  • the switch acquires the first response message sent by the network configuration device to the first request message:
  • the switch broadcasts a first notification message.
  • the first notification message includes the first network identifier, the second network identifier, and the listening port number used by the switch.
  • the reason for this is that because there may be multiple network configuration devices in the network configuration system, after the switch broadcasts the first request message, it may receive the first response message sent by multiple network configuration devices. At this time, the switch needs to broadcast the content of the first response message of the network configuration device, and then needs to broadcast the first notification message after the content of the first response is used, so that the network configuration is performed. All network configuration devices in the system are aware of the content of the first response that the switch has adopted, such as the first network identifier and the first configuration information. Avoid conflicts with other network devices and Waste of resources.
  • the network configuration device sends a first acknowledgement message to the first notification message to the switch. After the switch acquires the first acknowledgement message sent by the network configuration device:
  • the switch performs network configuration on the switch according to the first response message, so that the switch performs data communication with the controller.
  • the switch when the first request message further includes a request for the first configuration information of the controller, the switch may be configured according to the first network identifier, the second network identifier, and the listening port number. The switch performs network configuration, so that the switch performs data communication with the controller.
  • the switch may simultaneously perform the The control role and priority information of the controller configure the network of the switch.
  • the switch may configure the first network identifier for the control port of the switch, and according to the listening port number of the controller, and the controller indicated by the second network identifier.
  • Data communication when the first configuration information further includes the control role and priority information of the controller, the switch may also identify the controller according to the control role and priority information of the controller.
  • the switch when the switch is a virtual switch, after configuring the first network identifier for the control port of the switch, the switch further establishes a bridge that implements a virtual switch function, and configures control for the bridge.
  • the second network identifier of the device and the listening port number information In particular, multiple virtual switches can also be co-located in the same physical device and share the same control port.
  • the virtual switch In the process of configuring the virtual switch, the virtual switch needs to be configured for each virtual switch in turn, in the first configuration information.
  • the control role and priority information of the controller when the control role and priority information of the controller are further included, the switch may also be according to the controller at the same time The control role and priority information configures the network for the switch.
  • the step 1712 and the step 1713 may not be performed, and the step 1714 may be directly performed after the step 171 1 .
  • the data communication may further include:
  • the switch establishes a transport layer connection with the controller.
  • the transport layer connection may be initiated by the switch, and the transport layer connection may be established by three handshakes.
  • a transport layer connection is established to establish a TCP connection with the controller.
  • a UDP or SCTP connection can also be used between the controller and the switch.
  • the switch establishes a control channel with the controller.
  • control channel may be initiated by the switch or by the controller, and the control channel may be established by three-way handshake.
  • the identifier of the switch may be a UUID (Universal Unique Identifier), and the first network identifier and the second network identifier may both be IP addresses, and the first response message and the second response message are both It may be an acknowledgement (ACK), the identifier of the controller may be a MAC (Media Access Control) address, and the control role of the controller is used to indicate whether the controller is a primary controller or From the controller.
  • UUID Universal Unique Identifier
  • ACK acknowledgement
  • the identifier of the controller may be a MAC (Media Access Control) address
  • the control role of the controller is used to indicate whether the controller is a primary controller or From the controller.
  • the network configuration method provided by the embodiment of the present invention enables the network configuration device to obtain the second configuration information broadcasted by the controller to obtain the first configuration information and the second configuration information, so that the first configuration message sent by the switch can be obtained by the network configuration device.
  • the network configuration device waits for the controller that has not broken the link to report the second configuration information, and then re-executes the network configuration method as shown in FIG. 16 or FIG. 17. Therefore, in the scenario where the communication between the switch and the controller is hindered and the normal control cannot be continued, the automatic discovery process of the controller can be implemented, and the network can be reconfigured.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种网络配置方法、装置及系统,涉及网络领域,能实现SDN的网络自动配置。具体方案为:网络配置装置获取所述交换机发送的第一请求消息,所述第一请求消息包含所述交换机的标识,及对所述交换机的第一网络标识的请求;所述网络配置装置根据所述第一请求消息获取第一网络标识;所述网络配置装置向所述交换机发送对所述第一请求消息的第一应答消息,所述第一应答消息包含所述第一网络标识。本发明用于网络配置。

Description

一种网络配置方法、 装置及系统 技术领域 本发明涉及网络领域,尤其涉及一种网络配置方法、装置及系统。 背景技术
软件可定义网络( Software-Defined Network , SDN ) 的核心思想 是将网络设备的控制与数据转发分离开, 将原来交换机或路由器的网 络功能 (转发、 路由、 防火墙、 QoS控制等) 集中到控制面, 数据转 发动作由数据转发面执行。 其中, 控制面由网络操作系统 ( Network Operation System , NOS ) 和应用软件 ( Applications , ΑΡΡ ) 组成。 NOS 负责对转发面设备资源的抽象, 供上层 APP调用, 并将相应的 网络功能转换为控制协议信息发送给转发面设备, 例如 OF 交换机 ( OpenFlow Switch , 开放流转发面设备 ); 不同的 APP可以实现不同 的网络功能。
转发面设备接收控制面设备 (例如 OpenFlow控制器) 发送的携 带转发规则的协议报文, 并基于转发规则执行数据转发功能。 在接口 协议方面, 网络操作系统与转发面设备之间的接口称为南向 ( South Band ) 接口, 目前使用最多的是 OpenFlow协议。 控制面设备可以采 用该协议获取所控制转发面设备的信息 (端口 、 支持的协议类型、 统 计信息等), 接收转发面设备上传的网络事件, 配置转发面设备处理 报文的规则。
在基于 OpenFlow协议的 SDN中, 统一的控制面设备取代路由, 决定所有数据包在网络中的传输路径。 转发面设备会在本地维护一个 与转发表不同的流表( Flow Table ) , 如果要转发的数据包在流表中有 对应流表项, 则直接进行快速转发; 若流表中没有此项, 数据包就会 被发送到控制面设备进行传输路径的确认, 再根据控制面设备的下发 结果进行转发。 这也意味着, 基于 OpenFlow协议的网络中, 设备能 够分别部署、 集中管控, 使网络变为软件可定义的形态。 SDN 中, 控制面设备与转发面设备之间的控制链路通常由转发 面设备主动发起, 控制链路的网络层采用 IP ( Internet Protocol , 网络 之间互联的协议),控制链路的传输层基于 TCP ( Transmission Control Protocol , 传输控制协议), 因此在传送 OpenFlow信令之前需要确保 IP地址可达与 TCP Socket ( TCP 端口 ) 可用。 通常控制面设备和转 发面设备之间的 IP 地址采用手动配置的方式, 网络管理员需要预先 对 IP 地址的使用作规划。 另外还需要在交换设备上配置控制面设备 的 IP地址和 TCP Socket的监听端口号,例如监听端口号设置为 6633。 设置完成后转发面设备会主动向控制面设备发起 TCP三次握手请求, TCP建立成功后才会发送控制信令。
网络管理方面, 不仅需要为每个转发面设备配置网络地址, 还配 置对应的控制面设备的 IP 地址和控制面设备的监听端口号, 当在网 络中大规模部署 SDN 转发面设备时, 需要对每个转发面设备配置, 配置管理的工作量随着网络规模呈线性增长。 并且当网络中的控制面 设备发生故障时, 新增的控制面设备 IP 地址相比原来会发生变化, 需要修改每个转发面设备上的配置, 并重新发起控制信道建链请求。
因此, 目前对于 SDN 的网络配置方法复杂度高, 灵活性和自动 化程度低, 难以适用于大规模网络。
发明内容
本发明的实施例提供一种网络配置方法、 装置及系统, 能解决 SDN 中网络配置复杂度高, 效率低的问题, 使得 SDN可以适用于大 规模网络。
为达到上述目的, 本发明的实施例采用如下技术方案:
第一方面, 提供一种网络配置装置 ( Configure Server ) , 应用于 软件可定义网络 SDN , 其中所述 SDN 包括至少一个网络配置装置和 至少一个交换机, 所述网络配置装置包括:
获取单元, 用于获取所述交换机发送的第一请求消息, 所述第一 请求消息包含所述交换机的标识, 及对所述交换机的第一网络标识的 请求; 分配单元,用于根据所述获取单元获取的所述第一请求消息获取 第一网络标识; 发送单元,用于向所述交换机发送对所述获取单元获取的所述第 一请求消息的第一应答消息, 所述第一应答消息包含所述分配单元获 取的所述第一网络标识。 结合第一方面, 在第一种可能的实现方式中, 所述 SDN还包括 至少一个控制器, 所述网络配置装置包括: 所述获取单元获取的所述第一请求消息还包含对控制器的第一 配置信息的请求; 所述分配单元还用于根据所述获取单元获取的所述第一请求消 息获取第一配置信息, 其中所述第一配置信息包含控制器的第二网络 标识和监听端口号; 所述发送单元发送的第一应答消息还包含所述分配单元获取的 所述第一配置信息。 结合第一方面的第一种可能的实现方式,在第二种可能的实现方 式中, 所述获取单元还用于获取所述交换机发送的第一通报消息, 所 述第一通报消息包含所述第一网络标识、 所述第二网络标识和所述监 听端口号; 所述发送单元还用于向所述交换机发送对所述获取单元获取的 所述第一通报消息的第一确认消息。 结合第一方面的第一种或第二种可能的实现方式,在第三种可能 的实现方式中, 所述获取单元获取的所述第一请求消息还包含第一状 态信息, 其中所述第一状态信息至少包括: 对控制器的第一配置信息 的首次请求, 或者对控制器的第一配置信息的续租请求, 或者对控制 器的第一配置信息的变更请求; 所述分配单元还具体用于根据所述获取单元获取的所述第一请 求消息包含的所述第一状态信 , 和所述对控制器的第一配置信息的 请求, 获取第一配置信息。 结合第一方面和第一种至第三种可能的实现方式,在第四种可能 的实现方式中, 所述获取单元获取的所述第一请求消息还包含第二状 态信息, 其中所述第二状态包括: 对所述交换机的第一网络标识的首 次请求, 或者对所述交换机的第一网络标识的续租请求; 所述分配单元还具体用于根据所述获取单元获取的所述第一请 求消息包含的所述第二状态和所述对交换机的第一网络标识的请求, 获取所述第一网络标识。 结合第一方面和第一种至第四种可能的实现方式,在第五种可能 的实现方式中, 所述 SDN 还包括至少一个控制器, 所述获取单元还 用于获取控制器发送的第二通报消息, 所述第二通报消息包含所述控 制器的第二配置信息, 其中所述第二配置信息包含控制器的标识、 第 二网络标识和监听端口号; 所述发送单元还用于向所述控制器发送对所述获取单元获取的 所述第二通报消息的第二确认消息。 结合第一方面的第五种可能的实现方式,在第六种可能的实现方 式中, 所述获取单元还用于获取控制器发送的第二请求消息, 其中所 述第二请求消息包含所述控制器的标识和监听端口号, 及对所述控制 器的第二网络标识的请求; 所述分配单元还用于根据所述获取单元获取的所述第二请求消 息获取第二网络标识;
所述发送单元还用于向所述控制器发送对所述获取单元获取的 所述第二请求消息的第二应答, 其中所述第二应答包含所述分配单元 获取的所述第二网络标识。 第二方面, 提供一种交换机, 应用于软件可定义网络 SDN , 其 中所述 SDN 包括至少一个网络配置装置和至少一个交换机, 所述交 换机包括: 发送单元, 用于广播第一请求消息, 所述第一请求消息包含所述 交换机的标识, 及对所述交换机的第一网络标识的请求; 获取单元,用于获取所述网络配置装置发送的对所述发送单元发 送的所述第一请求消息的第一应答消息, 所述第一应答消息包含所述 第一网络标识; 配置单元,用于根据所述获取单元获取的所述第一应答消息对所 述交换机进行网络配置, 以便所述交换机进行数据通信。
结合第二方面, 在第一种可能的实现方式中, 所述 SDN还包括 至少一个控制器, 所述发送单元广播的所述第一请求消息还包含对控 制器的第一配置信息的请求; 所述获取单元获取的所述第一应答消息还包含所述第一配置信 息, 其中所述第一配置信息包含控制器的第二网络标识和监听端口 号;
所述配置单元具体用于根据所述获取单元获取的所述第一应答 消息中包含的所述第一网络标识、 所述第二网络标识和所述监听端口 号对所述交换机进行网络配置, 以便所述交换机与所述控制器进行数 据通信。
结合第二方面的第一种可能的实现方式,在第二种可能的实现方 式中, 所述发送单元还用于广播第一通报消息, 所述第一通报消息包 含所述配置单元使用的所述第一网络标识、 所述第二网络标识和所述 监听端口号; 所述获取单元还用于获取所述网络配置装置发送的第一确认消 息, 所述第一确认消息针对所述发送单元广播的所述第一通报消息。
结合第二方面的第一种或第二种可能的实现方式,在第三种可能 的实现方式中, 所述发送单元广播的所述第一请求消息还包含第一状 态信息, 其中所述第一状态信息至少包括: 对控制器的第一配置信息 的首次请求, 或者对控制器的第一配置信息的续租请求, 或者对控制 器的第一配置信息的变更请求。
结合第二方面和第一种至第三种可能的实现方式,在第四种可能 的实现方式中, 所述发送单元广播的所述第一请求消息还包含第二状 态信息, 其中所述第二状态包括: 对所述交换机的第一网络标识的首 次请求, 或者对所述交换机的第一网络标识的续租请求。
第三方面, 提供一种控制器, 应用于软件可定义网络 SDN , 其 中所述 SDN 包括至少一个网络配置装置、 至少一个交换机和至少一 个控制器, 所述控制器包括: 获取单元, 用于获取所述控制器的第二配置信息, 其中所述第二 配置信息包含控制器的标识、 第二网络标识和监听端口号;
配置单元,用于根据所述获取单元获取的所述第二配置信息对所 述控制器进行网络配置, 以便所述控制器与所述交换机进行数据通 信;
发送单元, 用于当所述配置单元完成所述控制器的网络配置时, 广播第二通报消息, 所述第二通报消息包含所述控制器的第二配置信 息;
所述获取单元还用于获取所述网络配置装置发送的第二确认消 息, 以便确认所述网络配置装置收到所述发送单元发送的所述第二通 报消息, 其中所述第二确认消息针对所述第二通报消息。
结合第三方面, 在第一种可能的实现方式中, 所述发送单元还用 于广播第二请求消息, 其中所述第二请求消息包含所述控制器的标识 和监听端口号, 及对所述控制器的第二网络标识的请求; 所述获取单元还用于获取所述网络配置装置发送的所述第二应 答消息, 以便所述获取单元获取所述控制器的第二配置信息, 其中所 述第二应答包含所述第二网络标识。 第四方面,提供一种网络配置装置,应用于软件可定义网络 SDN , 其中所述 SDN 包括至少一个网络配置装置和至少一个交换机, 所述 网络配置装置包括: 数据端口、 处理器、 存储器及总线, 其中, 所述 数据端口、 所述处理器及所述存储器通过所述总线相互连接, 其中,所述数据端口,用于获取所述交换机发送的第一请求消息, 所述第一请求消息包含所述交换机的标识, 及对所述交换机的第一网 络标识的请求; 所述处理器,用于根据所述数据端口获取的所述第一请求消息获 取第一网络标识; 所述数据端口,用于向所述交换机发送对所述数据端口获取的所 述第一请求消息的第一应答消息, 所述第一应答消息包含所述处理器 获取的所述第一网络标识。 结合第四方面, 在第一种可能的实现方式中, 所述 SDN还包括 至少一个控制器, 所述网络配置装置包括: 所述数据端口获取的所述第一请求消息还包含对控制器的第一 配置信息的请求; 所述处理器还用于根据所述数据端口获取的所述第一请求消息 获取第一配置信息, 其中所述第一配置信息包含控制器的第二网络标 识和监听端口号; 所述数据端口发送的第一应答消息还包含所述处理器获取的所 述第一配置信息。 结合第四方面的第一种可能的实现方式,在第二种可能的实现方 式中, 所述数据端口还用于获取所述交换机发送的第一通报消息, 所 述第一通报消息包含所述第一网络标识、 所述第二网络标识和所述监 听端口号; 所述数据端口还用于向所述交换机发送对所述数据端口获取的 所述第一通报消息的第一确认消息。 结合第四方面的第一种或第二种可能的实现方式,在第三种可能 的实现方式中, 所述数据端口获取的所述第一请求消息还包含第一状 态信息, 其中所述第一状态信息至少包括: 对控制器的第一配置信息 的首次请求, 或者对控制器的第一配置信息的续租请求, 或者对控制 器的第一配置信息的变更请求; 所述处理器还具体用于根据所述数据端口获取的所述第一请求 消息包含的所述第一状态信 , 、和所述对控制器的第一配置信息的请 求, 获取第一配置信息, 其中所述第一配置信息包含控制器的第二网 络标识和监听端口号。 结合第四方面和第一种至第三种可能的实现方式,在第四种可能 的实现方式中, 所述数据端口获取的所述第一请求消息还包含第二状 态信息, 其中所述第二状态包括: 对所述交换机的第一网络标识的首 次请求, 或者对所述交换机的第一网络标识的续租请求;
所述处理器还具体用于根据所述数据端口获取的所述第一请求 消息包含的所述第二状态和所述对交换机的第一网络标识的请求, 获 取所述第一网络标识。
结合第四方面和第一种至第四种可能的实现方式,在第五种可能 的实现方式中, 所述 SDN 还包括至少一个控制器, 所述数据端口还 用于获取控制器发送的第二通报消息, 所述第二通报消息包含所述控 制器的第二配置信息, 其中所述第二配置信息包含控制器的标识、 第 二网络标识和监听端口号; 所述数据端口还用于向所述控制器发送对所述数据端口获取的 所述第二通报消息的第二确认消息。 结合第四方面的第五种可能的实现方式,在第六种可能的实现方 式中, 所述数据端口还用于获取控制器发送的第二请求消息, 其中所 述第二请求消息包含所述控制器的标识和监听端口号, 及对所述控制 器的第二网络标识的请求; 所述处理器还用于根据所述数据端口获取的所述第二请求消息 获取第二网络标识; 所述数据端口还用于向所述控制器发送对所述数据端口获取的 所述第二请求消息的第二应答, 其中所述第二应答包含所述处理器获 取的所述第二网络标识。 第五方面, 提供一种交换机, 应用于软件可定义网络 SDN , 其 中所述 SDN 包括至少一个网络配置装置和至少一个交换机, 所述交 换机包括: 数据端口、 处理器、 存储器及总线, 其中, 所述数据端口、 所述处理器及所述存储器通过所述总线相互连接, 其中, 所述数据端口, 用于广播第一请求消息, 所述第一请求消 息包含所述交换机的标识, 及对所述交换机的第一网络标识的请求; 所述数据端口,用于获取所述网络配置装置发送的对所述数据端 口发送的所述第一请求消息的第一应答消息, 所述第一应答消息包含 所述第一网络标识;
所述处理器,用于根据所述数据端口获取的所述第一应答消息对 所述交换机进行网络配置, 以便所述交换机进行数据通信。
结合第五方面, 在第一种可能的实现方式中, 所述 SDN还包括 至少一个控制器, 所述数据端口广播的所述第一请求消息还包含对控 制器的第一配置信息的请求;
所述数据端口获取的所述第一应答消息还包含所述第一配置信 息, 其中所述第一配置信息包含控制器的第二网络标识和监听端口 号;
所述处理器具体用于根据所述数据端口获取的所述第一应答消 息中包含的所述第一网络标识、 所述第二网络标识和所述监听端口号 对所述交换机进行网络配置, 以便所述交换机与所述控制器进行数据 通信。
结合第五方面的第一种可能的实现方式,在第二种可能的实现方 式中, 所述数据端口还用于广播第一通报消息, 所述第一通报消息包 含所述处理器使用的所述第一网络标识、 所述第二网络标识和所述监 听端口号; 所述数据端口还用于获取所述网络配置装置发送的第一确认消 息, 所述第一确认消息针对所述数据端口广播的所述第一通报消息。
结合第五方面的第一种或第二种可能的实现方式,在第三种可能 的实现方式中, 所述数据端口广播的所述第一请求消息还包含第一状 态信息, 其中所述第一状态信息至少包括: 对控制器的第一配置信息 的首次请求, 或者对控制器的第一配置信息的续租请求, 或者对控制 器的第一配置信息的变更请求。 结合第五方面和第一种至第三种可能的实现方式,在第四种可能 的实现方式中, 所述数据端口广播的所述第一请求消息还包含第二状 态信息, 其中所述第二状态包括: 对所述交换机的第一网络标识的首 次请求, 或者对所述交换机的第一网络标识的续租请求。
第六方面, 提供一种控制器, 应用于软件可定义网络 SDN , 其 中所述 SDN 包括至少一个网络配置装置、 至少一个交换机和至少一 个控制器, 所述控制器包括: 数据端口、 处理器、 存储器及总线, 其 中,所述数据端口、所述处理器及所述存储器通过所述总线相互连接, 其中, 所述数据端口, 用于获取所述控制器的第二配置信息, 其 中所述第二配置信息包含控制器的标识、 第二网络标识和监听端口 号;
所述处理器,用于根据所述数据端口获取的所述第二配置信息对 所述控制器进行网络配置, 以便所述控制器与所述交换机进行数据通 信;
所述数据端口, 用于当所述处理器完成所述控制器的网络配置 时, 广播第二通报消息, 所述第二通报消息包含所述控制器的第二配 置信息;
所述数据端口还用于获取所述网络配置装置发送的第二确认消 息, 以便确认所述网络配置装置收到所述数据端口发送的所述第二通 报消息, 其中所述第二确认消息针对所述第二通报消息。 结合第六方面, 在第一种可能的实现方式中, 所述数据端口还用 于广播第二请求消息, 其中所述第二请求消息包含所述控制器的标识 和监听端口号, 及对所述控制器的第二网络标识的请求;
所述数据端口还用于获取所述网络配置装置发送的所述第二应 答消息, 以便所述数据端口获取所述控制器的第二配置信息, 其中所 述第二应答包含所述第二网络标识。 第七方面,提供一种网络配置方法,应用于软件可定义网络 SDN , 其中所述 SDN 包括至少一个网络配置装置和至少一个交换机, 所述 方法包括: 网络配置装置获取所述交换机发送的第一请求消息,所述第一请 求消息包含所述交换机的标识, 及对所述交换机的第一网络标识的请 求;
所述网络配置装置根据所述第一请求消息获取第一网络标识; 所述网络配置装置向所述交换机发送对所述第一请求消息的第 一应答消息, 所述第一应答消息包含所述第一网络标识。
结合第七方面, 在第一种可能的实现方式中, 所述 SDN还包括 至少一个控制器, 所述网络配置方法包括: 所述第一请求消息还包含对控制器的第一配置信息的请求; 所述网络配置装置根据所述第一请求消息获取第一配置信息,其 中所述第一配置信息包含控制器的第二网络标识和监听端口号; 所述第一应答消息还包含所述第一配置信息。 结合第七方面的第一种可能的实现方式,在第二种可能的实现方 式中, 所述网络配置装置向所述交换机发送对所述第一请求消息的第 一应答消息之后, 所述网络配置方法还包括:
所述网络配置装置获取所述交换机发送的第一通报消息,所述第 一通报消息包含所述第一网络标识、 所述第二网络标识和所述监听端 口号;
所述网络配置装置向所述交换机发送对所述第一通报消息的第 一确认消息。
结合第七方面的第一种或第二种可能的实现方式,在第三种可能 的实现方式中, 所述第一请求消息还包含第一状态信息, 其中所述第 一状态信息至少包括: 对控制器的第一配置信息的首次请求, 或者对 控制器的第一配置信息的续租请求, 或者对控制器的第一配置信息的 变更请求;
所述网络配置装置根据所述第一请求消息获取第一配置信息,其 中所述第一配置信息包含控制器的第二网络标识和监听端口号, 具体 包括:
所述网络配置装置根据所述第一状态信, 、和所述对控制器的第 一配置信息的请求, 获取第一配置信息, 其中所述第一配置信息包含 控制器的第二网络标识和监听端口号。
结合第七方面和第一种至第三种可能的实现方式,在第四种可能 的实现方式中, 所述第一请求消息还包含第二状态信息, 其中所述第 二状态包括: 对所述交换机的第一网络标识的首次请求, 或者对所述 交换机的第一网络标识的续租请求;
所述网络配置装置根据所述第一请求消息获取第一网络标识,具 体包括:
所述网络配置装置根据所述第二状态和所述对交换机的第一网 络标识的请求, 获取所述第一网络标识。
结合第七方面和第一种至第四种可能的实现方式,在第五种可能 的实现方式中, 所述 SDN 还包括至少一个控制器, 网络配置装置获 取交换机发送的第一请求消息之前, 所述网络配置方法还包括: 网络配置装置获取控制器发送的第二通报消息,所述第二通报消 息包含所述控制器的第二配置信息, 其中所述第二配置信息包含控制 器的标识、 第二网络标识和监听端口号;
所述网络配置装置向所述控制器发送对所述第二通报消息的第 二确认消息。
结合第七方面的第五种可能的实现方式,在第六种可能的实现方 式中, 网络配置装置获取控制器发送的控制器的第二配置信息之前, 所述网络配置方法还包括:
网络配置装置获取控制器发送的第二请求消息,其中所述第二请 求消息包含所述控制器的标识和监听端口号, 及对所述控制器的第二 网络标识的请求;
所述网络配置装置根据所述第二请求消息获取第二网络标识; 所述网络配置装置向所述控制器发送对所述第二请求消, ¾的第 二应答, 其中所述第二应答包含所述第二网络标识。
第八方面,提供一种网络配置方法,应用于软件可定义网络 SDN , 其中所述 SDN包括至少一个网络配置装置和至少一个交换机, 包括: 交换机广播第一请求消息,所述第一请求消息包含所述交换机的 标识, 及对所述交换机的第一网络标识的请求;
所述交换机获取所述网络配置装置发送的对所述第一请求消息 的第一应答消息, 所述第一应答消息包含所述第一网络标识;
所述交换机根据所述第一应答消息对所述交换机进行网络配置, 以便所述交换机进行数据通信。
结合第八方面, 在第一种可能的实现方式中, 所述 SDN还包括 至少一个控制器, 所述网络配置方法还包括:
所述第一请求消息还包含对控制器的第一配置信息的请求; 所述第一应答消息还包含所述第一配置信息,其中所述第一配置 信息包含控制器的第二网络标识和监听端口号;
所述交换机根据所述第一应答消息对所述交换机进行网络配置, 以便所述交换机进行数据通信, 具体包括:
所述交换机根据所述第一网络标识、所述第二网络标识和所述监 听端口号对所述交换机进行网络配置, 以便所述交换机与所述控制器 进行数据通信。
结合第八方面的第一种可能的实现方式,在第二种可能的实现方 式中, 所述交换机根据所述第一应答消息进行网络配置以便进行数据 通信之前, 所述网络配置方法还包括: 所述交换机广播第一通报消息,所述第一通报消息包含所述第一 网络标识、 所述第二网络标识和所述监听端口号; 所述交换机获取所述网络配置装置发送的第一确认消息,所述第 一确认消息针对所述第一通报消息。 结合第八方面的第一种或第二种可能的实现方式,在第三种可能 的实现方式中, 所述第一请求消息还包含第一状态信息, 其中所述第 一状态信息至少包括: 对控制器的第一配置信息的首次请求, 或者对 控制器的第一配置信息的续租请求, 或者对控制器的第一配置信息的 变更请求。
结合第八方面和第一种至第三种可能的实现方式,在第四种可能 的实现方式中, 所述第一请求消息还包含第二状态信息, 其中所述第 二状态包括: 对所述交换机的第一网络标识的首次请求, 或者对所述 交换机的第一网络标识的续租请求。 第九方面,提供一种网络配置方法,应用于软件可定义网络 SDN , 其中所述 SDN 包括至少一个网络配置装置、 至少一个交换机和至少 一个控制器, 所述网络配置方法包括: 控制器获取所述控制器的第二配置信息,其中所述第二配置信息 包含控制器的标识、 第二网络标识和监听端口号; 所述控制器根据所述第二配置信息对所述控制器进行网络配置, 以便所述控制器与所述交换机进行数据通信; 当所述控制器的网络配置完成时, 所述控制器广播第二通报消 息, 所述第二通报消息包含所述控制器的第二配置信息; 所述控制器获取所述网络配置装置发送的第二确认消息,以便确 认所述网络配置装置收到所述第二通报消息, 其中所述第二确认消息 针对所述第二通报消息。
结合第九方面, 在第一种可能的实现方式中, 控制器获取所述控 制器的第二配置信息, 其中所述第二配置信息包含控制器的标识、 第 二网络标识和监听端口号之前, 所述网络配置方法还包括: 控制器广播第二请求消息,其中所述第二请求消息包含所述控制 器的标识和监听端口号, 及对所述控制器的第二网络标识的请求; 所述控制器获取所述网络配置装置发送的所述第二应答消息,以 便所述控制器获取所述控制器的第二配置信息, 其中所述第二应答包 含所述第二网络标识。
第十方面,提供一种网络配置系统,应用于软件可定义网络 SDN , 其中所述 SDN包括至少一个网络配置装置和至少一个交换机;
其中, 所述网络配置装置为上述第一方面所述的网络配置装置, 所述交换机为上述第二方面所述的交换机。 或,
其中, 所述网络配置装置为上述第四方面所述的网络配置装置, 所述交换机为上述第五方面所述的交换机, 所述控制器为上述各个方 面所述的控制器
结合第十方面, 在第一种可能的实现方式中, 所述 SDN还包括 至少一个控制器;
其中, 所述控制器为上述第三方面所述的控制器; 或,
其中, 所述控制器为上述第六方面所述的控制器。 本发明实施例提供的方法、 装置及系统, 能通过网络配置装置获 取交换机发送的第一请求消息, 向所述交换机发送对所述第一请求消 息的第一应答消息的方式, 实现 SDN的网络自动配置, 解决 SDN中 网络配置复杂度高, 效率低的问题, 使得 SDN 可以适用于大规模网 络。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面 将对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而 易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域 普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些 附图获得其他的附图。
图 1为本发明的实施例提供的一种网络配置系统的系统示意图; 图 2 为本发明的实施例提供的又一种网络配置系统的系统示意 图;
图 3为本发明的实施例提供的一种网络配置装置的结构示意图; 图 4 为本发明的实施例提供的又一种网络配置装置的结构示意 图;
图 5为本发明的实施例提供的一种交换机的结构示意图; 图 6为本发明的实施例提供的又一种交换机的结构示意图; 图 7为本发明的实施例提供的一种控制器的结构示意图; 图 8 为本发明的又一实施例提供的一种网络配置装置的结构示 意图;
图 9为本发明的又一实施例提供的一种交换机的结构示意图; 图 10为本发明的又一实施例提供的一种控制器的结构示意图; 图 1 1 为本发明的实施例提供的一种网络配置方法的流程示意 图;
图 12为本发明的又一实施例提供的一种网络配置方法的流程示 意图;
图 13 为本发明的另一实施例提供的一种网络配置方法的流程示 意图;
图 14 为本发明的实施例提供的一种网络配置方法的流程示意 图;
图 15为本发明的实施例提供的又一种网络配置方法的流程示意 图;
图 16为本发明的实施例提供的另一种网络配置方法的流程示意 图;
图 17 为本发明的实施例提供的一种网络配置方法的流程示意 图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方 案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部 分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普 通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
参照图 1所示, 本发明的实施例提供一种网络配置系统, 应用于 网络领域, 可以应用 SDN , 其中所述 SDN 包括至少一个网络配置装 置 101和至少一个交换机 102。
其中所述交换机至少包括实体交换设备( Switch ) 和虚拟交换设 备 ( vSwitch ) 中的一种。 多个虚拟交换设备可以设置于一台实体设 备中, 还可以共享该实体设备的数据端口进行网络连接。
其中, 所述网络配置装置 101为本发明提供的网络设备, 所述交 换机 102可以是转发面设备, 例如 OpenFlow转发机、 OpenFlow交换 机。
可选的, 参照图 2所示, 所述网络配置系统, 还包括至少一个控 制器 103 ; 其中, 所述控制器和所述网络配置装置可以分别设置于不 同实体设备中, 也可集成在同一台实体设备中。 其中, 所述控制器 103可以是控制面设备, 例如 OpenFlow控制 器。
本发明实施例提供的网络配置系统,能通过交换机与网络配置装 置之间的网络配置请求和应答,实现 SDN的网络自动配置,解决 SDN 中网络配置复杂度高, 效率低的问题, 使得 SDN 可以适用于大规模 网络。 参照图 3所示, 本发明实施例提供一种网络配置装置, 可以应用 于上述图 1和图 2所示的网络配置系统中, 所述网络配置装置包括: 获取单元 301 , 用于获取所述交换机发送的第一请求消息, 所述 第一请求消息包含所述交换机的标识, 及对所述交换机的第一网络标 识的请求。
分配单元 302 , 用于根据所述获取单元 301获取的所述第一请求 消息获取第一网络标识。
发送单元 303 , 用于向所述交换机发送对所述获取单元 301获取 的所述第一请求消息的第一应答消息, 所述第一应答消息包含所述分 配单元 302获取的所述第一网络标识。
可选的, 所述 SDN还可以包括至少一个控制器, 此时所述网络 配置装置还可以包括以下内容: 所述获取单元 301 获取的所述第一请求消息还包含对控制器的 第一配置信息的请求;
所述分配单元 302还用于根据所述获取单元 301获取的所述第一 请求消息获取第一配置信息, 其中所述第一配置信息包含控制器的第 二网络标识和监听端口号; 所述发送单元 303发送的第一应答消息还包含所述分配单元 302 获取的所述第一配置信息。 可选的,所述第一配置信息中还可以包含控制器的控制角色和优 先级信息。 进一步, 可选的, 如图 4所示: 所述获取单元 301还用于获取所 述交换机发送的第一通报消息, 所述第一通报消息包含所述第一网络 标识、 所述第二网络标识和所述监听端口号;
此时,所述发送单元 303还用于向所述交换机发送对所述获取单 元 301获取的所述第一通报消息的第一确认消息。
更进一步, 可选的, 所述获取单元 301获取的所述第一请求消息 还包含第一状态信息, 其中所述第一状态信息至少包括: 对控制器的 第一配置信息的首次请求, 或者对控制器的第一配置信息的续租请 求, 或者对控制器的第一配置信息的变更请求;
此时,所述分配单元 302还具体用于根据所述获取单元 301获取 的所述第一请求消息包含的所述第一状态信 , 和所述对控制器的第 一配置信息的请求, 获取第一配置信息, 其中所述第一配置信息包含 控制器的第二网络标识和监听端口号。
可选的, 同样如图 4所示: 所述获取单元 301获取的所述第一请 求消息还包含第二状态信息, 其中所述第二状态包括: 对所述交换机 的第一网络标识的首次请求, 或者对所述交换机的第一网络标识的续 租请求;
此时,所述分配单元 302还具体用于根据所述获取单元 301获取 的所述第一请求消息包含的所述第二状态和所述对交换机的第一网 络标识的请求, 获取所述第一网络标识。
可选的, 所述 SDN还包括至少一个控制器, 同样如图 4所示: 此时, 所述获取单元 301 还用于获取控制器发送的第二通报消 息, 所述第二通报消息包含所述控制器的第二配置信息, 其中所述第 二配置信息包含控制器的标识、 第二网络标识和监听端口号;
可选的,所述第二配置信息还可以包含控制器的控制角色和优先 级信息。
此时,所述发送单元 303还用于向所述控制器发送对所述获取单 元 301获取的所述第二通报消息的第二确认消息。
进一步, 可选的, 所述获取单元 301还用于获取控制器发送的第 二请求消息, 其中所述第二请求消息包含所述控制器的标识和监听端 口号, 及对所述控制器的第二网络标识的请求;
此时,所述分配单元 302还用于根据所述获取单元 301获取的所 述第二请求消息获取第二网络标识; 此时,所述发送单元 303还用于向所述控制器发送对所述获取单 元 301获取的所述第二请求消息的第二应答, 其中所述第二应答包含 所述分配单元 302获取的所述第二网络标识。
本发明实施例中, 所述交换机的标识可以是 UUID ( Universally Unique Identifier , 通用唯一标识符), 第一网络标识和第二网络标识 均可以是 IP 地址, 第一应答消息和第二应答消息均可以是应答信号 ( acknowledgement , ACK ) , 所述控制器的标识可以是 MAC ( Media Access Control , 媒体接入控制 ) 地址, 所述控制器的控制角色用来 表明所述控制器是主控制器还是从控制器。
根据本发明实施例提供的网络配置装置,能通过网络配置装置获 取交换机发送的第一请求消息, 向所述交换机发送对所述第一请求消 息的第一应答消息的方式, 实现 SDN的网络自动配置, 解决 SDN中 网络配置复杂度高, 效率低的问题, 使得 SDN 可以适用于大规模网 络。
参照图 5所示, 本发明实施例提供一种交换机, 可以应用于上述 图 1和图 2所示的网络配置系统中, 所述交换机包括:
发送单元 501 , 用于广播第一请求消息, 所述第一请求消息包含 所述交换机的标识, 及对所述交换机的第一网络标识的请求;
获取单元 502 , 用于获取所述网络配置装置发送的对所述发送单 元 501发送的所述第一请求消息的第一应答消息, 所述第一应答消息 包含所述第一网络标识; 配置单元 503 , 用于根据所述获取单元 502获取的所述第一应答 消息对所述交换机进行网络配置, 以便所述交换机进行数据通信。
可选的, 所述 SDN还可以包括至少一个控制器, 此时: 所述发送单元 501 广播的所述第一请求消息还包含对控制器的 第一配置信息的请求;
所述获取单元 502 获取的所述第一应答消息还包含所述第一配 置信息, 其中所述第一配置信息包含控制器的第二网络标识和监听端 口号;
所述配置单元 503具体用于根据所述获取单元 502获取的所述第 一应答消息中包含的所述第一网络标识、 所述第二网络标识和所述监 听端口号对所述交换机进行网络配置, 以便所述交换机与所述控制器 进行数据通信。
可选的,所述第一配置信息中还可以包含控制器的控制角色和优 先级信息, 所述配置单元 503具体还用于根据所述获取单元 502获取 的所述第一应答消息中包含的所述第一网络标识、 所述第二网络标 识、 所述监听端口号、 所述控制器的控制角色和优先级信息对所述交 换机进行网络配置, 以便所述交换机与所述控制器进行数据通信。
进一步, 可选的, 如图 6所示, 所述发送单元 501还用于广播第 一通报消息, 所述第一通报消息包含所述配置单元 503使用的所述第 一网络标识、 所述第二网络标识和所述监听端口号;
此时,所述获取单元 502还用于获取所述网络配置装置发送的第 一确认消息, 所述第一确认消息针对所述发送单元 501广播的所述第 一通报消息。
更进一步, 可选的, 所述发送单元 50 1广播的所述第一请求消息 还包含第一状态信息, 其中所述第一状态信息至少包括: 对控制器的 第一配置信息的首次请求, 或者对控制器的第一配置信息的续租请 求, 或者对控制器的第一配置信息的变更请求。 可选的,所述发送单元 501广播的所述第一请求消息还包含第二 状态信息, 其中所述第二状态包括: 对所述交换机的第一网络标识的 首次请求, 或者对所述交换机的第一网络标识的续租请求。
本发明实施例中, 所述交换机的标识可以是 UUID ( Universally Unique Identifier , 通用唯一标识符), 第一网络标识和第二网络标识 均可以是 IP地址, 第一应答消息可以是应答信号( acknowledgement , ACK ) , 所述控制器的标识可以是 MAC ( Media Access Control , 媒体 接入控制) 地址。
根据本发明实施例提供的交换机,能通过交换机广播第一请求消 息, 并获取网络配置装置向所述交换机发送的对所述第一请求消息的 第一应答消息的方式, 实现 SDN的网络自动配置, 解决 SDN中网络 配置复杂度高, 效率低的问题, 使得 SDN可以适用于大规模网络。
参照图 7所示, 本发明实施例提供一种控制器, 可以应用于上述 图 2所示的网络配置系统中, 所述控制器包括:
获取单元 701 , 用于获取所述控制器的第二配置信息, 其中所述 第二配置信息包含控制器的标识、 第二网络标识和监听端口号;
可选的,所述第二配置信息还可以包含控制器的控制角色和优先 级信息。
配置单元 702 , 用于根据所述获取单元 701获取的所述第二配置 信息对所述控制器进行网络配置, 以便所述控制器与所述交换机进行 数据通信;
发送单元 703 , 用于当所述配置单元 702完成所述控制器的网络 配置时, 广播第二通报消息, 所述第二通报消息包含所述控制器的第 二配置信息;
所述获取单元 701 还用于获取所述网络配置装置发送的第二确 认消息, 以便确认所述网络配置装置收到所述发送单元 703发送的所 述第二通报消息, 其中所述第二确认消息针对所述第二通报消息。 可选的, 所述发送单元 703还用于广播第二请求消息, 其中所述 第二请求消息包含所述控制器的标识和监听端口号, 及对所述控制器 的第二网络标识的请求; 此时,所述获取单元 701还用于获取所述网络配置装置发送的所 述第二应答消息, 以便所述获取单元 701获取所述控制器的第二配置 信息, 其中所述第二应答包含所述第二网络标识。
本发明实施例中, 第二网络标识可以是 IP地址, 第二应答消息 可以是应答信号 ( acknowledgement , ACK ) , 所述控制器的标识可以 是 MAC ( Media Access Control , 媒体接入控制 ) 地址, 所述控制器 的控制角色用来表明所述控制器是主控制器还是从控制器。
根据本发明实施例提供的控制器, 通过控制器广播第二配置信 息, 交换机广播第一请求消息, 并获取网络配置装置向所述交换机发 送的对所述第一请求消息的第一应答消息的方式, 能实现 SDN 的网 络自动配置, 解决 SDN 中网络配置复杂度高, 效率低的问题, 使得 SDN可以适用于大规模网络。
本发明的实施例提供一种网络配置装置, 可以应用于上述图 1 和图 2所示的网络配置系统中, 参照图 8所示, 该网络配置装置可以 嵌入或本身就是微处理计算机, 比如: 通用计算机、 客户定制机、 手 机终端或平板机等便携设备, 该网络配置装置 801 包括: 至少一个数 据端口 801 1、 处理器 8012、 存储器 8013和总线 8014 , 该至少一个数 据端口 801 1、 处理器 8012和存储器 8013通过总线 8014连接并完成 相互间的通信。
该总线 8014可以是 ISA ( Industry Standard Architecture , 工业标 准体系结构) 总线、 PCI ( Peripheral Component , 外部设备互连) 总 线或 EISA ( Extended Industry Standard Architecture , 扩展工业标准体 系结构) 总线等。 该总线 8014 可以分为地址总线、 数据总线、 控制 总线等。 为便于表示, 图 8中仅用一条粗线表示, 但并不表示仅有一 根总线或一种类型的总线。 其中: 存储器 8013用于存储可执行程序代码, 该程序代码包括计算机 操作指令。 存储器 8013可能包括高速 RAM存储器, 也可能还包括非 易失性存储器 ( non- volatile memory ), 例如至少一个磁盘存储器。
处理器 8012可能是一个中央处理器 ( Central Processing Unit, 简称为 CPU), 或者是特定集成电路 ( Application Specific Integrated Circuit, 简称为 ASIC ), 或者是被配置成实施本发明实施例的一个或 多个集成电路。
其中, 所述数据端口 8011, 用于获取所述交换机发送的第一请 求消息, 所述第一请求消息包含所述交换机的标识, 及对所述交换机 的第一网络标识的请求;
所述处理器 8012, 用于根据所述数据端口 8011获取的所述第一 请求消息获取第一网络标识;
所述数据端口 8011 , 用于向所述交换机发送对所述数据端口 8011获取的所述第一请求消息的第一应答消息,所述第一应答消息包 含所述处理器 8012获取的所述第一网络标识。
可选的, 所述 SDN还可以包括至少一个控制器, 此时:
所述数据端口 8011 获取的所述第一请求消息还包含对控制器的 第一配置信息的请求;
所述处理器 8012还用于根据所述数据端口 8011获取的所述第一 请求消息获取第一配置信息, 其中所述第一配置信息包含控制器的第 二网络标识和监听端口号;
所述数据端口 8011发送的第一应答消息还包含所述处理器 8012 获取的所述第一配置信息。
可选的,所述第一配置信息中还可以包含控制器的控制角色和优 先级信息, 以便所述交换机根据所述第一应答消息与所述控制器进行 数据通信。
进一步, 可选的: 所述数据端口 8011 还用于获取所述交换机发 送的第一通报消息, 所述第一通报消息包含所述第一网络标识、 所述 第二网络标识和所述监听端口号;
此时, 所述数据端口 801 1 还用于向所述交换机发送对所述数据 端口 801 1获取的所述第一通报消息的第一确认消息。
更进一步, 可选的: 所述数据端口 801 1 获取的所述第一请求消 息还包含第一状态信息, 其中所述第一状态信息至少包括: 对控制器 的第一配置信息的首次请求, 或者对控制器的第一配置信息的续租请 求, 或者对控制器的第一配置信息的变更请求;
此时,所述处理器 8012还具体用于根据所述数据端口 801 1获取 的所述第一请求消息包含的所述第一状态信 , 和所述对控制器的第 一配置信息的请求, 获取第一配置信息, 其中所述第一配置信息包含 控制器的第二网络标识和监听端口号。
可选的: 所述数据端口 801 1 获取的所述第一请求消息还包含第 二状态信息, 其中所述第二状态包括: 对所述交换机的第一网络标识 的首次请求, 或者对所述交换机的第一网络标识的续租请求;
此时,所述处理器 8012还具体用于根据所述数据端口 801 1获取 的所述第一请求消息包含的所述第二状态和所述对交换机的第一网 络标识的请求, 获取所述第一网络标识。
可选的, 所述 SDN还可以包括至少一个控制器, 此时: 所述数据端口 801 1 还用于获取控制器发送的第二通报消息, 所 述第二通报消息包含所述控制器的第二配置信息, 其中所述第二配置 信息包含控制器的标识、 第二网络标识和监听端口号;
可选的,所述第二配置信息还可以包含控制器的控制角色和优先 级信息。
所述数据端口 801 1 还用于向所述控制器发送对所述数据端口 801 1获取的所述第二通报消息的第二确认消息。
进一步, 可选的: 所述数据端口 801 1 还用于获取控制器发送的 第二请求消息, 其中所述第二请求消息包含所述控制器的标识和监听 端口号, 及对所述控制器的第二网络标识的请求;
此时,所述处理器 8012还用于根据所述数据端口 801 1获取的所 述第二请求消息获取第二网络标识; 此时, 所述数据端口 801 1 还用于向所述控制器发送对所述数据 端口 801 1 获取的所述第二请求消息的第二应答, 其中所述第二应答 包含所述处理器 8012获取的所述第二网络标识。 本发明实施例中, 所述交换机的标识可以是 UUID ( Universally Unique Identifier , 通用唯一标识符), 第一网络标识和第二网络标识 均可以是 IP 地址, 第一应答消息和第二应答消息均可以是应答信号 ( acknowledgement , ACK ) , 所述控制器的标识可以是 MAC ( Media Access Control , 媒体接入控制 ) 地址, 所述控制器的控制角色用来 表明所述控制器是主控制器还是从控制器。
根据本发明实施例提供的网络配置装置,能通过网络配置装置获 取交换机发送的第一请求消息, 向所述交换机发送对所述第一请求消 息的第一应答消息的方式, 实现 SDN的网络自动配置, 解决 SDN中 网络配置复杂度高, 效率低的问题, 使得 SDN 可以适用于大规模网 络。
本发明的实施例提供一种交换机, 可以应用于上述图 1 和图 2 所示的网络配置系统中, 参照图 9所示, 该交换机可以嵌入或本身就 是微处理计算机, 比如: 通用计算机、 客户定制机、 手机终端或平板 机等便携设备, 该交换机 901 包括: 至少一个数据端口 901 1、 处理器 9012、 存储器 9013和总线 9014 , 该至少一个数据端口 901 1、 处理器 9012和存储器 9013通过总线 9014连接并完成相互间的通信。
该总线 9014可以是 ISA ( Industry Standard Architecture , 工业标 准体系结构) 总线、 PCI ( Peripheral Component , 外部设备互连) 总 线或 EISA ( Extended Industry Standard Architecture , 扩展工业标准体 系结构) 总线等。 该总线 9014 可以分为地址总线、 数据总线、 控制 总线等。 为便于表示, 图 9 中仅用一条粗线表示, 但并不表示仅有一 根总线或一种类型的总线。 其中:
存储器 9013用于存储可执行程序代码, 该程序代码包括计算机 操作指令。 存储器 9013可能包括高速 RAM存储器, 也可能还包括非 易失性存储器 ( non- volatile memory ) , 例如至少一个磁盘存储器。
处理器 9012可能是一个中央处理器 ( Central Processing Unit , 简称为 CPU ) , 或者是特定集成电路 ( Application Specific Integrated Circuit , 简称为 ASIC ) , 或者是被配置成实施本发明实施例的一个或 多个集成电路。
其中, 所述数据端口 901 1 , 用于广播第一请求消息, 所述第一 请求消息包含所述交换机的标识, 及对所述交换机的第一网络标识的 请求;
所述数据端口 901 1 , 用于获取所述网络配置装置发送的对所述 数据端口 901 1 发送的所述第一请求消息的第一应答消息, 所述第一 应答消息包含所述第一网络标识;
所述处理器 9012 , 用于根据所述数据端口 901 1获取的所述第一 应答消息对所述交换机进行网络配置, 以便所述交换机进行数据通 信。
可选的, 所述 SDN还可以包括至少一个控制器, 此时:
所述数据端口 901 1 广播的所述第一请求消息还包含对控制器的 第一配置信息的请求;
所述数据端口 901 1 获取的所述第一应答消息还包含所述第一配 置信息, 其中所述第一配置信息包含控制器的第二网络标识和监听端 口号;
所述处理器 9012具体用于根据所述数据端口 901 1获取的所述第 一应答消息中包含的所述第一网络标识、 所述第二网络标识和所述监 听端口号对所述交换机进行网络配置, 以便所述交换机与所述控制器 进行数据通信。
可选的,所述第一配置信息中还可以包含控制器的控制角色和优 先级信息, 所述处理器 9012具体用于根据所述数据端口 901 1获取的 所述第一应答消息中包含的所述第一网络标识、 所述第二网络标识、 所述监听端口号、 所述控制器的控制角色和优先级信息对所述交换机 进行网络配置, 以便所述交换机与所述控制器进行数据通信。 进一步, 可选的: 所述数据端口 901 1还用于广播第一通报消息, 所述第一通报消息包含所述处理器 9012 使用的所述第一网络标识、 所述第二网络标识和所述监听端口号; 此时, 所述数据端口 901 1 还用于获取所述网络配置装置发送的 第一确认消息, 所述第一确认消息针对所述数据端口 901 1 广播的所 述第一通报消息。
更进一步, 可选的, 所述数据端口 901 1 广播的所述第一请求消 息还包含第一状态信息, 其中所述第一状态信息至少包括: 对控制器 的第一配置信息的首次请求, 或者对控制器的第一配置信息的续租请 求, 或者对控制器的第一配置信息的变更请求。
可选的, 所述数据端口 901 1 广播的所述第一请求消息还包含第 二状态信息, 其中所述第二状态包括: 对所述交换机的第一网络标识 的首次请求, 或者对所述交换机的第一网络标识的续租请求。 本发明实施例中, 所述交换机的标识可以是 UUID ( Universally Unique Identifier , 通用唯一标识符), 第一网络标识和第二网络标识 均可以是 IP地址, 第一应答消息可以是应答信号( acknowledgement , ACK ) , 所述控制器的标识可以是 MAC ( Media Access Control , 媒体 接入控制) 地址。 根据本发明实施例提供交换机, 能通过交换机广播第一请求消 息, 并获取网络配置装置向所述交换机发送的对所述第一请求消息的 第一应答消息的方式, 实现 SDN的网络自动配置, 解决 SDN中网络 配置复杂度高, 效率低的问题, 使得 SDN可以适用于大规模网络。 本发明的实施例提供一种控制器,可以应用于上述图 2所示的网 络配置系统中, 参照图 10 所示, 该控制器可以嵌入或本身就是微处 理计算机, 比如: 通用计算机、 客户定制机、 手机终端或平板机等便 携设备,该控制器 1001包括:至少一个数据端口 1001 1、处理器 10012、 存储器 10013和总线 10014 ,该至少一个数据端口 1001 1、处理器 10012 和存储器 10013通过总线 10014连接并完成相互间的通信。
该总线 10014可以是 ISA ( Industry Standard Architecture , 工业 标准体系结构) 总线、 PCI ( Peripheral Component , 外部设备互连 ) 总线或 EISA ( Extended Industry Standard Architecture , 扩展工业标准 体系结构) 总线等。 该总线 10014可以分为地址总线、 数据总线、 控 制总线等。 为便于表示, 图 10 中仅用一条粗线表示, 但并不表示仅 有一根总线或一种类型的总线。 其中:
存储器 10013用于存储可执行程序代码,该程序代码包括计算机 操作指令。 存储器 10013可能包括高速 RAM存储器, 也可能还包括 非易失性存储器 ( non- volatile memory ) , 例如至少一个磁盘存储器。
处理器 10012可能是一个中央处理器 ( Central Processing Unit , 简称为 CPU ) , 或者是特定集成电路 ( Application Specific Integrated Circuit , 简称为 ASIC ) , 或者是被配置成实施本发明实施例的一个或 多个集成电路。
其中, 所述数据端口 1001 1 , 用于获取所述控制器的第二配置信 息, 其中所述第二配置信息包含控制器的标识、 第二网络标识和监听 端口号;
可选的,所述第二配置信息还可以包含控制器的控制角色和优先 级信息。
所述处理器 10012 , 用于根据所述数据端口 1001 1获取的所述第 二配置信息对所述控制器进行网络配置, 以便所述控制器与所述交换 机进行数据通信;
所述数据端口 1001 1 , 用于当所述处理器 10012完成所述控制器 的网络配置时, 广播第二通报消息, 所述第二通报消息包含所述控制 器的第二配置信息; 所述数据端口 1001 1 还用于获取所述网络配置装置发送的第二 确认消息, 以便确认所述网络配置装置收到所述数据端口 1001 1发送 的所述第二通报消息, 其中所述第二确认消息针对所述第二通报消 息。
可选的: 所述数据端口 1001 1还用于广播第二请求消息, 其中所 述第二请求消息包含所述控制器的标识和监听端口号, 及对所述控制 器的第二网络标识的请求;
此时,所述数据端口 1001 1还用于获取所述网络配置装置发送的 所述第二应答消息, 以便所述数据端口 1001 1获取所述控制器的第二 配置信息, 其中所述第二应答包含所述第二网络标识。
本发明实施例中, 第二网络标识均可以是 IP地址, 第二应答消 息均可以是应答信号 ( acknowledgement , ACK ) , 所述控制器的标识 可以是 MAC ( Media Access Control , 媒体接入控制 ) 地址, 所述控 制器的控制角色用来表明所述控制器是主控制器还是从控制器。
根据本发明实施例提供的控制器,能通过控制器广播第二配置信 息, 交换机广播第一请求消息, 并获取网络配置装置向所述交换机发 送的对所述第一请求消息的第一应答消息的方式, 实现 SDN 的网络 自动配置, 解决 SDN中网络配置复杂度高, 效率低的问题,使得 SDN 可以适用于大规模网络。
通过以上的实施方式的描述,所述领域的技术人员可以清楚地了 解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。 当使用软件实现时, 可以将上述功能存储在计算机可读介质中或作为 计算机可读介质上的一个或多个指令或代码进行传输。 计算机可读介 质包括计算机存储介质和通信介质, 其中通信介质包括便于从一个地 方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机 能够存取的任何可用介质。 以此为例但不限于: 计算机可读介质可以 包括 RAM ( Random Access Memory , 随机存储器)、 ROM ( Read Only Memory , 只读内存 )、 EEPROM ( Electrically Erasable Programmable Read Only Memory , 电可擦可编程只读存储器)、 CD-ROM ( Compact Disc Read Only Memory , 即只读光盘)或其他光盘存储、 磁盘存储介 质或者其他磁存储设备、 或者能够用于携带或存储具有指令或数据结 构形式的期望的程序代码并能够由计算机存取的任何其他介质。 此 外, 任何连接可以适当的成为计算机可读介质。 例如, 如果软件是使 用同轴电缆、 光纤光缆、 双绞线、 DSL ( Digital Subscriber Line , 数 字用户专线)或者诸如红外线、无线电和微波之类的无线技术从网站、 服务器或者其他远程源传输的, 那么同轴电缆、 光纤光缆、 双绞线、 DSL或者诸如红外线、无线和微波之类的无线技术包括在所述介质的 定影中。 如本发明所使用的, 盘和碟包括 CD ( Compact Disc , 压缩 光碟)、 激光碟、 光碟、 DVD碟( Digital Versatile Disc , 数字通用光)、 软盘和蓝光光碟, 其中盘通常磁性的复制数据, 而碟则用激光来光学 的复制数据。 上面的组合也应当包括在计算机可读介质的保护范围之 内。
本发明的实施例提供一种网络配置方法, 可以应用于上述图 1 和图 2所示网络配置系统, 具体可以应用于该网络配置系统中的网络 配置装置, 参照图 1 1所示, 包括以下步骤:
1 101、 网络配置装置获取所述交换机发送的第一请求消息。
其中, 所述第一请求消息可以包含所述交换机的标识, 及对所述 交换机的第一网络标识的请求。
进一步, 可选的, 所述第一请求消息还可以包含第二状态信息, 其中所述第二状态包括: 对所述交换机的第一网络标识的首次请求, 或者对所述交换机的第一网络标识的续租请求。
可选的,所述第一请求消息还可以包含对控制器的第一配置信息 的请求。
进一步, 可选的, 所述第一请求消息还可以包含第一状态信息, 其中所述第一状态信息至少包括: 对控制器的第一配置信息的首次请 求, 或者对控制器的第一配置信息的续租请求, 或者对控制器的第一 配置信息的变更请求。
1 102、所述网络配置装置根据所述第一请求消息获取第一网络标 识。
进一步, 可选的, 当所述第一请求消息还可以包含第二状态信息 时, 所述网络配置装置根据所述第二状态和所述对交换机的第一网络 标识的请求, 获取所述第一网络标识。 其中, 所述第二状态信息可以 用原因值表示。
具体的, 当所述第二状态信息为: 对所述交换机的第一网络标识 的首次请求时, 所述网络配置装置获取一个第一网络标识。
当所述第二状态信息为:对所述交换机的第一网络标识的续租请 求时, 所述网络配置装置维持所述交换机原来使用的第一网络标识。
可选的, 当所述第一请求消息还包含对控制器的第一配置信息的 请求时, 所述网络配置装置根据所述第一请求消息获取第一配置信 息, 其中所述第一配置信息包含控制器的第二网络标识和监听端口 号。 可选的, 所述第一配置信息中还可以包含控制器的控制角色和优 先级信息。
进一步, 可选的, 当所述第一请求消息还可以包含第一状态信息 时, 所述网络配置装置根据所述第一状态信息和所述对控制器的第一 配置信息的请求, 获取第一配置信息, 其中所述第一配置信息包含控 制器的第二网络标识和监听端口号, 还可以包含控制器的控制角色和 优先级信息。 其中, 所述第一状态信息可以用原因值表示。
具体的, 当所述第一状态信息为: 对控制器的第一配置信息的首 次请求时, 所述网络配置装置获取一个第一配置信息。
当所述第一状态信息为: 对控制器的第一配置信息的续租请求 时, 所述网络配置装置维持所述交换机原来使用的第一配置信息。 当所述第一状态信息为: 对控制器的第一配置信息的变更请求 时, 所述网络配置装置获取一个新的第一配置信息, 新的第一配置信 息与所述交换机原来使用的第一配置信息不同, 此时, 所述第一状态 信息中还可能包含所述交换机原来使用的第一配置信息。
1 103、所述网络配置装置向所述交换机发送对所述第一请求消息 的第一应答消息, 所述第一应答消息包含所述第一网络标识。
可选的, 所述第一应答消息还包含所述第一配置信息。 本发明实施例中, 所述交换机的标识可以是 UUID ( Universally Unique Identifier , 通用唯一标识符), 第一网络标识和第二网络标识 均可以是 IP 地址, 第一应答消息和第二应答消息均可以是应答信号 ( acknowledgement , ACK ) , 所述控制器的标识可以是 MAC ( Media Access Control , 媒体接入控制 ) 地址, 所述控制器的控制角色用来 表明所述控制器是主控制器还是从控制器。
本发明实施例提供的网络配置方法,能通过网络配置装置获取交 换机发送的第一请求消息, 向所述交换机发送对所述第一请求消息的 第一应答消息的方式, 实现 SDN的网络自动配置, 解决 SDN中网络 配置复杂度高, 效率低的问题, 使得 SDN可以适用于大规模网络。 本发明的实施例提供一种网络配置方法, 可以应用于上述图 1 和图 2所示网络配置系统, 具体可以应用于该网络配置系统中的交换 机, 参照图 12所示, 包括以下步骤:
1201、 交换机广播第一请求消息。
其中, 所述第一请求消息可以包含所述交换机的标识, 及对所述 交换机的第一网络标识的请求。
进一步, 可选的, 所述第一请求消息还可以包含第二状态信息, 其中所述第二状态包括: 对所述交换机的第一网络标识的首次请求, 或者对所述交换机的第一网络标识的续租请求。 其中, 所述第二状态 信息可以用原因值表示。 可选的,所述第一请求消息还可以包含对控制器的第一配置信息 的请求。
进一步, 可选的, 所述第一请求消息还可以包含第一状态信息, 其中所述第一状态信息至少包括: 对控制器的第一配置信息的首次请 求, 或者对控制器的第一配置信息的续租请求, 或者对控制器的第一 配置信息的变更请求。 其中, 所述第一状态信息可以用原因值表示。
1202、所述交换机获取所述网络配置装置发送的对所述第一请求 消息的第一应答消息。
其中, 所述第一应答消息可以包含所述第一网络标识。
可选的, 当所述第一请求消息还可以包含对控制器的第一配置信 息的请求时, 所述第一应答消息还包含所述第一配置信息, 其中所述 第一配置信息包含控制器的第二网络标识和监听端口号, 所述第一配 置信息中还可以包含控制器的控制角色和优先级信息。
1203、所述交换机根据所述第一应答消息对所述交换机进行网络 配置, 以便所述交换机进行数据通信。
具体的, 当所述第一请求消息还包含对控制器的第一配置信息的 请求时, 所述交换机可以根据所述第一网络标识、 所述第二网络标识 和所述监听端口号对所述交换机进行网络配置, 以便所述交换机与所 述控制器进行数据通信, 当所述第一配置信息中还包含所述控制器的 控制角色和优先级信息时, 所述交换机还可以同时根据所述控制器的 控制角色和优先级信息对所述交换机进行网络配置。
更为具体的,所述交换机可以为所述交换机的控制端口配置所述 第一网络标识, 根据所述控制器的监听端口号, 来和所述第二网络标 识指代的所述控制器进行数据通信, 当所述第一配置信息中还包含所 述控制器的控制角色和优先级信息时, 所述交换机还可以同时根据所 述控制器的控制角色和优先级信息识别所述控制器。
可选的, 当所述交换机为虚拟交换机时, 在为所述交换机的控制 端口配置所述第一网络标识后, 所述交换机还要建立实现虚拟交换机 功能的网桥, 为该网桥配置控制器的所述第二网络标识和所述监听端 口号信息, 所述交换机还可以同时根据所述控制器的控制角色和优先 级信息对所述交换机进行网络配置。 特别的, 多个虚拟交换机还可以共处同一台实体设备中, 并且共 享同一个控制端口, 在对虚拟交换机进行网络配置的流程中需要依次 为每个虚拟交换机进行配置。
可选的, 所述数据通信可以包括: 所述交换机与所述控制器建立 传输层连接。 具体的, 所述传输层连接可以由所述交换机发起, 可以 通过三次握手来建立传输层连接。 更为具体的, 建立传输层连接为建立与控制器之间的 TCP ( Transmission Control Protocol , 传输控制协议 ) 连接。 控制器与交 换机之间的也可以采用 UDP( User Datagram Protocol ,用户数据协议 ) 或 SCTP ( Stream Control Transmission Protocol , 流控制传输十办议 ) 连接。
之后, 所述交换机与所述控制器建立控制通道。 具体的, 建立控 制通道可以由所述交换机发起也可以由所述控制器发起, 可以通过三 次握手来建立控制通道。
本发明实施例中, 所述交换机的标识可以是 UUID ( Universally Unique Identifier , 通用唯一标识符), 第一网络标识和第二网络标识 均可以是 IP地址, 第一应答消息可以是应答信号( acknowledgement , ACK ) , 所述控制器的标识可以是 MAC ( Media Access Control , 媒体 接入控制) 地址。
本发明实施例提供的网络配置方法,能通过交换机广播第一请求 消息, 并获取网络配置装置向所述交换机发送的对所述第一请求消息 的第一应答消息的方式, 实现 SDN的网络自动配置, 解决 SDN中网 络配置复杂度高, 效率低的问题, 使得 SDN可以适用于大规模网络。 本发明的实施例提供一种网络配置方法, 可以应用于上述图 2 所示网络配置系统, 具体可以应用于该网络配置系统中的控制器, 参 照图 13所示, 包括以下步骤:
1301、 控制器获取所述控制器的第二配置信息。
其中, 所述第二配置信息包含控制器的标识、 所述控制器的第二 网络标识和所述控制器的监听端口号。 可选的, 所述第二配置信息还 可以包含控制器的控制角色和优先级信息。
1302、所述控制器根据所述第二配置信息对所述控制器进行网络 配置。
这样可以便于所述控制器与所述交换机进行数据通信。
具体的,所述控制器可以将所述第二配置信息中的第二网络标识 配置给控制器的监听端口 。
1303、 当所述控制器的网络配置完成时, 所述控制器广播第二通 报消息。
其中, 所述第二通报消息包含所述控制器的第二配置信息。
1304、 所述控制器获取所述网络配置装置发送的第二确认消息, 以确认所述网络配置装置收到所述第二通报消息。 其中, 所述第二确认消息针对所述第二通报消息。 本发明实施例中, 第二网络标识可以是 IP地址, 第二应答消息 可以是应答信号 ( acknowledgement , ACK ) , 所述控制器的标识可以 是 MAC ( Media Access Control , 媒体接入控制 ) 地址, 所述控制器 的控制角色用来表明所述控制器是主控制器还是从控制器。
本发明实施例提供的网络配置方法,能通过控制器广播第二配置 信息, 交换机广播第一请求消息, 并获取网络配置装置向所述交换机 发送的对所述第一请求消息的第一应答消息的方式, 实现 SDN 的网 络自动配置, 解决 SDN 中网络配置复杂度高, 效率低的问题, 使得 SDN可以适用于大规模网络。
在本发明提供的如图 1 1和图 12所示的实施例的基础上,本发明 提供一种网络配置方法, 可以应用于上述图 1和图 2所示网络配置系 统, 参照图 14所示, 包括以下步骤:
1401、 交换机广播第一请求消息。
其中, 所述第一请求消息可以包含所述交换机的标识, 及对所述 交换机的第一网络标识的请求。
进一步, 可选的, 所述第一请求消息还可以包含第二状态信息, 其中所述第二状态包括: 对所述交换机的第一网络标识的首次请求, 或者对所述交换机的第一网络标识的续租请求。 其中, 所述第二状态 信息可以用原因值表示。
可选的,所述第一请求消息还可以包含对控制器的第一配置信息 的请求。
进一步, 可选的, 所述第一请求消息还可以包含第一状态信息, 其中所述第一状态信息至少包括: 对控制器的第一配置信息的首次请 求, 或者对控制器的第一配置信息的续租请求, 或者对控制器的第一 配置信息的变更请求。 其中, 所述第一状态信息可以用原因值表示。
在所述网络配置装置获取所述交换机发送的第一请求消息后:
1402、所述网络配置装置根据所述第一请求消息获取第一网络标 识。
进一步, 可选的, 当所述第一请求消息还可以包含第二状态信息 时, 所述网络配置装置根据所述第二状态和所述对交换机的第一网络 标识的请求, 获取所述第一网络标识。
具体的, 当所述第二状态信息为: 对所述交换机的第一网络标识 的首次请求时, 所述网络配置装置获取一个第一网络标识。
当所述第二状态信息为:对所述交换机的第一网络标识的续租请 求时, 所述网络配置装置维持所述交换机原来使用的第一网络标识。
可选的, 当所述第一请求消息还包含对控制器的第一配置信息的 请求时, 所述网络配置装置根据所述第一请求消息获取第一配置信 息, 其中所述第一配置信息包含控制器的第二网络标识和监听端口 号。 可选的, 所述第一配置信息中还可以包含控制器的控制角色和优 先级信息。
进一步, 可选的, 当所述第一请求消息还包含第一状态信息时, 所述网络配置装置根据所述第一状态信, 和所述对控制器的第一配 置信息的请求, 获取第一配置信息, 其中所述第一配置信息包含控制 器的第二网络标识和监听端口号, 还可以包含控制器的控制角色和优 先级信息。 其中, 所述第一状态信息可以用原因值表示。
具体的, 当所述第一状态信息为: 对控制器的第一配置信息的首 次请求时, 所述网络配置装置获取一个第一配置信息。
当所述第一状态信息为: 对控制器的第一配置信息的续租请求 时, 所述网络配置装置维持所述交换机原来使用的第一配置信息。
当所述第一状态信息为: 对控制器的第一配置信息的变更请求 时, 所述网络配置装置获取一个新的第一配置信息, 新的第一配置信 息与所述交换机原来使用的第一配置信息不同, 此时, 所述第一状态 信息中还可能包含所述交换机原来使用的第一配置信息。
1403、所述网络配置装置向所述交换机发送对所述第一请求消息 的第一应答消息。
其中, 所述第一应答消息可以包含所述第一网络标识。
可选的, 当所述第一请求消息还可以包含对控制器的第一配置信 息的请求时, 所述第一应答消息还包含所述第一配置信息。 在所述交换机获取所述网络配置装置发送的对所述第一请求消 息的第一应答消息后:
1404、 所述交换机广播第一通报消息。
其中,所述第一通报消息包含所述交换机使用的所述第一网络标 识、 所述第二网络标识和所述监听端口号。
这样做的原因在于,因为所述网络配置系统中可能有多个网络配 置装置, 在所述交换机广播了第一请求消息后, 就可能收到多个网络 配置装置发来的第一应答消息, 此时, 所述交换机需要再次广播具体 采用了哪一个网络配置装置的第一应答消息中的内容, 于是就需要在 采用了第一应答的内容后, 广播第一通报消息, 令所述网络配置系统 中的所有网络配置装置知悉所述交换机已经采用的第一应答的内容, 如第一网络标识、 第一配置信息。 避免与其他网络设备之间的冲突和 资源的浪费。
在所述网络配置装置获取所述交换机发送的第一通报消息后:
1405、所述网络配置装置向所述交换机发送对所述第一通报消息 的第一确认消息。 在所述交换机获取所述网络配置装置发送的所述第一确认消息 后:
1406、所述交换机根据所述第一应答消息对所述交换机进行网络 配置, 以便所述交换机进行数据通信。
具体的, 当所述第一请求消息还包含对控制器的第一配置信息的 请求时, 所述交换机可以根据所述第一网络标识、 所述第二网络标识 和所述监听端口号对所述交换机进行网络配置, 以便所述交换机与所 述控制器进行数据通信, 当所述第一配置信息中还包含所述控制器的 控制角色和优先级信息时, 所述交换机还可以同时根据所述控制器的 控制角色和优先级信息对所述交换机进行网络配置。
更为具体的,所述交换机可以为所述交换机的控制端口配置所述 第一网络标识, 根据所述控制器的监听端口号, 来和所述第二网络标 识指代的所述控制器进行数据通信, 当所述第一配置信息中还包含所 述控制器的控制角色和优先级信息时, 所述交换机还可以同时根据所 述控制器的控制角色和优先级信息识别所述控制器。
可选的, 当所述交换机为虚拟交换机时, 在为所述交换机的控制 端口配置所述第一网络标识后, 所述交换机还要建立实现虚拟交换机 功能的网桥, 为该网桥配置控制器的所述第二网络标识和所述监听端 口号信息。
特别的,多个虚拟交换机还可以共处同一台实体设备中并且共享 同一个控制端口, 在对虚拟交换机进行网络配置的流程中需要依次为 每个虚拟交换机进行配置, 当所述第一配置信息中还包含所述控制器 的控制角色和优先级信息时, 所述交换机还可以同时根据所述控制器 的控制角色和优先级信息对所述交换机进行网络配置。
可选的, 如图 15所示, 当所述网络配置系统中只有一个网络配 置装置时, 还可以不进行所述步骤 1404和所述步骤 1405 , 可以在所 述步骤 1403之后直接进行所述步骤 1406。
可选的, 如图 16所示, 所述数据通信还可以包括:
1407、 所述交换机与所述控制器建立传输层连接。
具体的, 所述传输层连接可以由所述交换机发起, 可以通过三次 握手来建立传输层连接。
更为具体的, 建立传输层连接为建立与控制器之间的 TCP连接。 控制器与交换机之间的也可以采用 UDP或 SCTP连接。
1408、 所述交换机与所述控制器建立控制通道。
具体的,建立控制通道可以由所述交换机发起也可以由所述控制 器发起, 可以通过三次握手来建立控制通道。
本发明实施例中, 所述交换机的标识可以是 UUID ( Universally Unique Identifier , 通用唯一标识符), 第一网络标识和第二网络标识 均可以是 IP地址, 第一应答消息可以是应答信号( acknowledgement , ACK )。
本发明实施例提供的网络配置方法,能通过网络配置装置获取交 换机发送的第一请求消息, 向所述交换机发送对所述第一请求消息的 第一应答消息, 并在获取所述交换机发送的第一通报消息后, 向所述 交换机发送对所述第一通报消息的第一确认消息的方式, 实现 SDN 的网络自动配置, 解决 SDN 中网络配置复杂度高, 效率低的问题, 使得 SDN可以适用于大规模网络。
在本发明提供的如图 1 1、 图 12和图 13所示的实施例的基础上, 本发明提供一种网络配置方法, 可以应用于上述图 2所示网络配置系 统, 参照图 17所示, 包括以下步骤:
1701、 控制器广播第二请求消息。
其中, 所述第二请求消息包含所述控制器的标识和监听端口号, 及对所述控制器的第二网络标识的请求。
在网络配置装置获取控制器发送的第二请求消息后:
1702、所述网络配置装置根据所述第二请求消息获取第二网络标 识。
1703、所述网络配置装置向所述控制器发送对所述第二请求消息 的第二应答, 其中所述第二应答包含所述第二网络标识。
在所述控制器获取所述网络配置装置发送的所述第二应答消息 之后:
1704、 所述控制器获取所述控制器的第二配置信息。
其中所述第二配置信息包含控制器的标识、第二网络标识和监听 端口号。
可选的, 如果所述第二网络标识是预设的, 所述第二配置信息不 仅可以包含控制器的标识、 第二网络标识和监听端口号, 还可以包含 控制器的控制角色和优先级信息。
具体的, 所述控制器可以获取预设的控制器的标识、 控制角色、 优先级信息和监听端口号, 并与所述第二网络标识合并生成所述第二 配置信息。
可选的, 所述第二配置信息也可提前预设, 预设的方式可以是人 工设置后存储在所述控制器中, 或者存储于第三方设备中, 还可以是 固化在所述存储器中, 具体的方式不做限定。 此时, 无需执行所述步 骤 1701至所述步骤 1703 , 可以直接执行所述步骤 1704。 1705、所述控制器根据所述第二配置信息对所述控制器进行网络 配置。 具体的,所述控制器可以将所述第二配置信息中的第二网络标识 配置给控制器的监听端口 。
当所述控制器的网络配置完成时:
1706、 所述控制器广播第二通报消息, 所述第二通报消息包含所 述控制器的第二配置信息。 这样做的原因在于,因为所述网络配置系统中可能有多个网络配 置装置, 在所述控制器广播了第二请求消息后, 就可能收到多个网络 配置装置发来的第二应答消息, 此时, 所述控制器需要再次广播具体 采用了哪一个网络配置装置的第二应答消息中的内容, 于是就需要在 采用了第二应答的内容后, 广播第二通报消息, 令所述网络配置系统 中的所有网络配置装置知悉所述控制器已经采用的第二应答的内容, 如第二网络标识。 避免与其他网络设备之间的冲突和资源的浪费。 当网络配置装置获取控制器发送的第二通报消息后: 所述网络配置装置更新可以存储所述第二配置信息,以便后续获 取第一配置信息, 存储的方式不做限定, 可以 自 己存储, 也可以存储 于其他设备中。
1707、所述网络配置装置向所述控制器发送对所述第二通报消息 的第二确认消息。 在所述控制器获取所述网络配置装置发送的第二确认消息,确认 所述网络配置装置收到所述第二通报消息后:
1708、 所述控制器启动监听进程, 等待交换机发起的连接。
1709、 交换机广播第一请求消息。
其中, 所述第一请求消息可以包含所述交换机的标识, 及对所述 交换机的第一网络标识的请求。 进一步, 可选的, 所述第一请求消息还可以包含第二状态信息, 其中所述第二状态包括: 对所述交换机的第一网络标识的首次请求, 或者对所述交换机的第一网络标识的续租请求。 其中, 所述第二状态 信息可以用原因值表示。
可选的,所述第一请求消息还可以包含对控制器的第一配置信息 的请求。
进一步, 可选的, 所述第一请求消息还可以包含第一状态信息, 其中所述第一状态信息至少包括: 对控制器的第一配置信息的首次请 求, 或者对控制器的第一配置信息的续租请求, 或者对控制器的第一 配置信息的变更请求。 其中, 所述第一状态信息可以用原因值表示。
在所述网络配置装置获取所述交换机发送的第一请求消息后:
1710、所述网络配置装置根据所述第一请求消息获取第一网络标 识。
进一步, 可选的, 当所述第一请求消息还可以包含第二状态信息 时, 所述网络配置装置根据所述第二状态和所述对交换机的第一网络 标识的请求, 获取所述第一网络标识。
具体的, 当所述第二状态信息为: 对所述交换机的第一网络标识 的首次请求时, 所述网络配置装置获取一个第一网络标识。
当所述第二状态信息为:对所述交换机的第一网络标识的续租请 求时, 所述网络配置装置维持所述交换机原来使用的第一网络标识。
可选的, 当所述第一请求消息还包含对控制器的第一配置信息的 请求时, 所述网络配置装置根据所述第一请求消息获取第一配置信 息, 其中所述第一配置信息包含控制器的第二网络标识和监听端口 号。 可选的, 所述第一配置信息中还可以包含控制器的控制角色和优 先级信息。
进一步, 可选的, 当所述第一请求消息还包含第一状态信息时, 所述网络配置装置根据所述第一状态信, 和所述对控制器的第一配 置信息的请求, 获取第一配置信息, 其中所述第一配置信息包含控制 器的第二网络标识和监听端口号, 还可以包含控制器的控制角色和优 先级信息。 其中, 所述第一状态信息可以用原因值表示。
具体的, 当所述第一状态信息为: 对控制器的第一配置信息的首 次请求时, 所述网络配置装置获取一个第一配置信息。
当所述第一状态信息为: 对控制器的第一配置信息的续租请求 时, 所述网络配置装置维持所述交换机原来使用的第一配置信息。
当所述第一状态信息为: 对控制器的第一配置信息的变更请求 时, 所述网络配置装置获取一个新的第一配置信息, 新的第一配置信 息与所述交换机原来使用的第一配置信息不同, 此时, 所述第一状态 信息中还可能包含所述交换机原来使用的第一配置信息。
171 1、所述网络配置装置向所述交换机发送对所述第一请求消息 的第一应答消息。
其中, 所述第一应答消息可以包含所述第一网络标识。
可选的, 当所述第一请求消息还可以包含对控制器的第一配置信 息的请求时, 所述第一应答消息还包含所述第一配置信息。 在所述交换机获取所述网络配置装置发送的对所述第一请求消 息的第一应答消息后:
1712、 所述交换机广播第一通报消息。
其中,所述第一通报消息包含所述交换机使用的所述第一网络标 识、 所述第二网络标识和所述监听端口号。
这样做的原因在于,因为所述网络配置系统中可能有多个网络配 置装置, 在所述交换机广播了第一请求消息后, 就可能收到多个网络 配置装置发来的第一应答消息, 此时, 所述交换机需要再次广播具体 采用了哪一个网络配置装置的第一应答消息中的内容, 于是就需要在 采用了第一应答的内容后, 广播第一通报消息, 令所述网络配置系统 中的所有网络配置装置知悉所述交换机已经采用的第一应答的内容, 如第一网络标识、 第一配置信息。 避免与其他网络设备之间的冲突和 资源的浪费。
在所述网络配置装置获取所述交换机发送的第一通报消息后:
1713、所述网络配置装置向所述交换机发送对所述第一通报消息 的第一确认消息。 在所述交换机获取所述网络配置装置发送的所述第一确认消息 后:
1714、所述交换机根据所述第一应答消息对所述交换机进行网络 配置, 以便所述交换机与所述控制器进行数据通信。
具体的, 当所述第一请求消息还包含对控制器的第一配置信息的 请求时, 所述交换机可以根据所述第一网络标识、 所述第二网络标识 和所述监听端口号对所述交换机进行网络配置, 以便所述交换机与所 述控制器进行数据通信, 当所述第一配置信息中还包含所述控制器的 控制角色和优先级信息时, 所述交换机还可以同时根据所述控制器的 控制角色和优先级信息对所述交换机进行网络配置。
更为具体的,所述交换机可以为所述交换机的控制端口配置所述 第一网络标识, 根据所述控制器的监听端口号, 来和所述第二网络标 识指代的所述控制器进行数据通信, 当所述第一配置信息中还包含所 述控制器的控制角色和优先级信息时, 所述交换机还可以同时根据所 述控制器的控制角色和优先级信息识别所述控制器。
可选的, 当所述交换机为虚拟交换机时, 在为所述交换机的控制 端口配置所述第一网络标识后, 所述交换机还要建立实现虚拟交换机 功能的网桥, 为该网桥配置控制器的所述第二网络标识和所述监听端 口号信息。 特别的,多个虚拟交换机还可以共处同一台实体设备中并且共享 同一个控制端口, 在对虚拟交换机进行网络配置的流程中需要依次为 每个虚拟交换机进行配置, 当所述第一配置信息中还包含所述控制器 的控制角色和优先级信息时, 所述交换机还可以同时根据所述控制器 的控制角色和优先级信息对所述交换机进行网络配置。
可选的, 当所述网络配置系统中只有一个网络配置装置时, 还可 以不进行所述步骤 1712和所述步骤 1713 ,可以在所述步骤 171 1之后 直接进行所述步骤 1714。
可选的, 数据通信还可以包括:
1715、 所述交换机与所述控制器建立传输层连接。
具体的, 所述传输层连接可以由所述交换机发起, 可以通过三次 握手来建立传输层连接。
更为具体的, 建立传输层连接为建立与控制器之间的 TCP连接。 控制器与交换机之间的也可以采用 UDP或 SCTP连接。
1716、 所述交换机与所述控制器建立控制通道。
具体的,建立控制通道可以由所述交换机发起也可以由所述控制 器发起, 可以通过三次握手来建立控制通道。
本发明实施例中, 所述交换机的标识可以是 UUID ( Universally Unique Identifier , 通用唯一标识符), 第一网络标识和第二网络标识 均可以是 IP 地址, 第一应答消息和第二应答消息均可以是应答信号 ( acknowledgement , ACK ) , 所述控制器的标识可以是 MAC ( Media Access Control , 媒体接入控制 ) 地址, 所述控制器的控制角色用来 表明所述控制器是主控制器还是从控制器。
本发明实施例提供的网络配置方法,能使网络配置装置获取控制 器广播的第二通报的方式获取第一配置信息和第二配置信息, 从而能 通过网络配置装置获取交换机发送的第一请求消息, 向所述交换机发 送对所述第一请求消息的第一应答消息, 并在获取所述交换机发送的 第一通报消息后, 向所述交换机发送对所述第一通报消息的第一确认 消息的方式, 实现 SDN的网络自动配置, 解决 SDN中网络配置复杂 度高, 效率低的问题, 使得 SDN可以适用于大规模网络。
由上可知, 在本发明提供实施例的基础上, 还可应用于交换机与 控制器之间的通信受到阻碍, 不能继续进行正常控制的场景。 不能继 续进行正常控制的场景可以包括控制器发生故障、 交换机进行网络迁 移和交换机与控制器之间的连接发生断链。
此时,所述网络配置装置等待未发生断链的控制器上报第二配置 信息, 进而重新进行如图 16或图 17所示的网络配置方法。 从而在交 换机与控制器之间的通信受到阻碍, 不能继续进行正常控制的场景 下, 实现控制器的自动发现流程, 能对网络进行重新配置。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并 不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范 围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。

Claims

权 利 要 求 书
1、一种网络配置装置,其特征在于,应用于软件可定义网络 SDN , 其中所述 SDN 包括至少一个网络配置装置和至少一个交换机, 所述 网络配置装置包括:
获取单元, 用于获取所述交换机发送的第一请求消息, 所述第一 请求消息包含所述交换机的标识, 及对所述交换机的第一网络标识的 请求;
分配单元,用于根据所述获取单元获取的所述第一请求消息获取 第一网络标识;
发送单元,用于向所述交换机发送对所述获取单元获取的所述第 一请求消息的第一应答消息, 所述第一应答消息包含所述分配单元获 取的所述第一网络标识。
2、根据权利要求 1所述的网络配置装置,其特征在于,所述 SDN 还包括至少一个控制器, 所述网络配置装置包括:
所述获取单元获取的所述第一请求消息还包含对控制器的第一 配置信息的请求;
所述分配单元还用于根据所述获取单元获取的所述第一请求消 息获取第一配置信息, 其中所述第一配置信息包含控制器的第二网络 标识和监听端口号;
所述发送单元发送的第一应答消息还包含所述分配单元获取的 所述第一配置信息。
3、 根据权利要求 2所述的装置, 其特征在于, 包括:
所述获取单元还用于获取所述交换机发送的第一通报消息,所述 第一通报消息包含所述第一网络标识、 所述第二网络标识和所述监听 端口号;
所述发送单元还用于向所述交换机发送对所述获取单元获取的 所述第一通报消息的第一确认消息。
4、 根据权利要求 2或 3所述的装置, 其特征在于, 包括: 所述获取单元获取的所述第一请求消息还包含第一状态信息,其 中所述第一状态信息至少包括: 对控制器的第一配置信息的首次请 求, 或者对控制器的第一配置信息的续租请求, 或者对控制器的第一 配置信息的变更请求;
所述分配单元还具体用于根据所述获取单元获取的所述第一请 求消息包含的所述第一状态信 , 、和所述对控制器的第一配置信息的 请求, 获取第一配置信息, 其中所述第一配置信息包含控制器的第二 网络标识和监听端口号。
5、 根据权利要求 1 -4任一项所述的装置, 其特征在于, 包括: 所述获取单元获取的所述第一请求消息还包含第二状态信息,其 中所述第二状态包括: 对所述交换机的第一网络标识的首次请求, 或 者对所述交换机的第一网络标识的续租请求;
所述分配单元还具体用于根据所述获取单元获取的所述第一请 求消息包含的所述第二状态和所述对交换机的第一网络标识的请求, 获取所述第一网络标识。
6、根据权利要求 1 -5任一项所述的装置,其特征在于, 所述 SDN 还包括至少一个控制器, 包括:
所述获取单元还用于获取控制器发送的第二通报消息,所述第二 通报消息包含所述控制器的第二配置信息, 其中所述第二配置信息包 含控制器的标识、 第二网络标识和监听端口号;
所述发送单元还用于向所述控制器发送对所述获取单元获取的 所述第二通报消息的第二确认消息。
7、 根据权利要求 6所述的装置, 其特征在于, 包括:
所述获取单元还用于获取控制器发送的第二请求消息,其中所述 第二请求消息包含所述控制器的标识和监听端口号, 及对所述控制器 的第二网络标识的请求;
所述分配单元还用于根据所述获取单元获取的所述第二请求消 息获取第二网络标识;
所述发送单元还用于向所述控制器发送对所述获取单元获取的 所述第二请求消息的第二应答, 其中所述第二应答包含所述分配单元 获取的所述第二网络标识。
8、 一种交换机, 其特征在于, 应用于软件可定义网络 SDN , 其 中所述 SDN 包括至少一个网络配置装置和至少一个交换机, 所述交 换机包括:
发送单元, 用于广播第一请求消息, 所述第一请求消息包含所述 交换机的标识, 及对所述交换机的第一网络标识的请求;
获取单元,用于获取所述网络配置装置发送的对所述发送单元发 送的所述第一请求消息的第一应答消息, 所述第一应答消息包含所述 第一网络标识;
配置单元,用于根据所述获取单元获取的所述第一应答消息对所 述交换机进行网络配置, 以便所述交换机进行数据通信。
9、 根据权利要求 8所述的交换机, 其特征在于, 所述 SDN还包 括至少一个控制器, 包括:
所述发送单元广播的所述第一请求消息还包含对控制器的第一 配置信息的请求;
所述获取单元获取的所述第一应答消息还包含所述第一配置信 息, 其中所述第一配置信息包含控制器的第二网络标识和监听端口 号;
所述配置单元具体用于根据所述获取单元获取的所述第一应答 消息中包含的所述第一网络标识、 所述第二网络标识和所述监听端口 号对所述交换机进行网络配置, 以便所述交换机与所述控制器进行数 据通信。
10、 根据权利要求 9所述的交换机, 其特征在于, 包括: 所述发送单元还用于广播第一通报消息,所述第一通报消息包含 所述配置单元使用的所述第一网络标识、 所述第二网络标识和所述监 听端口号;
所述获取单元还用于获取所述网络配置装置发送的第一确认消 息, 所述第一确认消息针对所述发送单元广播的所述第一通报消息。
1 1、 根据权利要求 9或 10所述的交换机, 其特征在于, 所述发 送单元广播的所述第一请求消息还包含第一状态信息, 其中所述第一 状态信息至少包括: 对控制器的第一配置信息的首次请求, 或者对控 制器的第一配置信息的续租请求, 或者对控制器的第一配置信息的变 更请求。
12、 根据权利要求 8- 1 1 任一项所述的交换机, 其特征在于, 所 述发送单元广播的所述第一请求消息还包含第二状态信息, 其中所述 第二状态包括: 对所述交换机的第一网络标识的首次请求, 或者对所 述交换机的第一网络标识的续租请求。
13、 一种控制器, 其特征在于, 应用于软件可定义网络 SDN , 其中所述 SDN 包括至少一个网络配置装置、 至少一个交换机和至少 一个控制器, 所述控制器包括:
获取单元, 用于获取所述控制器的第二配置信息, 其中所述第二 配置信息包含控制器的标识、 第二网络标识和监听端口号;
配置单元,用于根据所述获取单元获取的所述第二配置信息对所 述控制器进行网络配置, 以便所述控制器与所述交换机进行数据通 信;
发送单元, 用于当所述配置单元完成所述控制器的网络配置时, 广播第二通报消息, 所述第二通报消息包含所述控制器的第二配置信 息;
所述获取单元还用于获取所述网络配置装置发送的第二确认消 息, 以便确认所述网络配置装置收到所述发送单元发送的所述第二通 报消息, 其中所述第二确认消息针对所述第二通报消息。
14、 根据权利要求 13所述的控制器, 其特征在于, 包括: 所述发送单元还用于广播第二请求消息,其中所述第二请求消息 包含所述控制器的标识和监听端口号, 及对所述控制器的第二网络标 识的请求;
所述获取单元还用于获取所述网络配置装置发送的所述第二应 答消息, 以便所述获取单元获取所述控制器的第二配置信息。
15、 一种网络配置装置, 其特征在于, 应用于软件可定义网络 SDN , 其中所述 SDN包括至少一个网络配置装置和至少一个交换机, 所述网络配置装置包括: 数据端口 、 处理器、 存储器及总线, 其 中, 所述数据端口、 所述处理器及所述存储器通过所述总线相互连 接,
其中, 所述数据端口, 用于获取所述交换机发送的第一请求消 息, 所述第一请求消息包含所述交换机的标识, 及对所述交换机的第 一网络标识的请求;
所述处理器,用于根据所述数据端口获取的所述第一请求消息获 取第一网络标识;
所述数据端口,用于向所述交换机发送对所述数据端口获取的所 述第一请求消息的第一应答消息, 所述第一应答消息包含所述处理器 获取的所述第一网络标识。
16、 根据权利要求 15所述的网络配置装置, 其特征在于, 所述 SDN还包括至少一个控制器, 所述网络配置装置包括:
所述数据端口获取的所述第一请求消息还包含对控制器的第一 配置信息的请求;
所述处理器还用于根据所述数据端口获取的所述第一请求消息 获取第一配置信息, 其中所述第一配置信息包含控制器的第二网络标 识和监听端口号;
所述数据端口发送的第一应答消息还包含所述处理器获取的所 述第一配置信息。
17、 根据权利要求 16所述的装置, 其特征在于, 包括:
所述数据端口还用于获取所述交换机发送的第一通报消息,所述 第一通报消息包含所述第一网络标识、 所述第二网络标识和所述监听 端口号;
所述数据端口还用于向所述交换机发送对所述数据端口获取的 所述第一通报消息的第一确认消息。
18、 根据权利要求 16或 17所述的装置, 其特征在于, 包括: 所述数据端口获取的所述第一请求消息还包含第一状态信息,其 中所述第一状态信息至少包括: 对控制器的第一配置信息的首次请 求, 或者对控制器的第一配置信息的续租请求, 或者对控制器的第一 配置信息的变更请求;
所述处理器还具体用于根据所述数据端口获取的所述第一请求 消息包含的所述第一状态信 , 、和所述对控制器的第一配置信息的请 求, 获取第一配置信息, 其中所述第一配置信息包含控制器的第二网 络标识和监听端口号。
19、 根据权利要求 15- 18任一项所述的装置, 其特征在于, 包括: 所述数据端口获取的所述第一请求消息还包含第二状态信息,其 中所述第二状态包括: 对所述交换机的第一网络标识的首次请求, 或 者对所述交换机的第一网络标识的续租请求;
所述处理器还具体用于根据所述数据端口获取的所述第一请求 消息包含的所述第二状态和所述对交换机的第一网络标识的请求, 获 取所述第一网络标识。
20、 根据权利要求 15- 19任一项所述的装置, 其特征在于, 所述 SDN还包括至少一个控制器, 包括:
所述数据端口还用于获取控制器发送的第二通报消息,所述第二 通报消息包含所述控制器的第二配置信息, 其中所述第二配置信息包 含控制器的标识、 第二网络标识和监听端口号;
所述数据端口还用于向所述控制器发送对所述数据端口获取的 所述第二通报消息的第二确认消息。
21、 根据权利要求 20所述的装置, 其特征在于, 包括:
所述数据端口还用于获取控制器发送的第二请求消息,其中所述 第二请求消息包含所述控制器的标识和监听端口号, 及对所述控制器 的第二网络标识的请求;
所述处理器还用于根据所述数据端口获取的所述第二请求消息 获取第二网络标识;
所述数据端口还用于向所述控制器发送对所述数据端口获取的 所述第二请求消息的第二应答, 其中所述第二应答包含所述处理器获 取的所述第二网络标识。
22、 一种交换机, 其特征在于, 应用于软件可定义网络 SDN , 其中所述 SDN 包括至少一个网络配置装置和至少一个交换机, 所述 交换机包括: 数据端口、 处理器、 存储器及总线, 其中, 所述数据 端口、 所述处理器及所述存储器通过所述总线相互连接,
其中, 所述数据端口, 用于广播第一请求消息, 所述第一请求消 息包含所述交换机的标识, 及对所述交换机的第一网络标识的请求; 所述数据端口,用于获取所述网络配置装置发送的对所述数据端 口发送的所述第一请求消息的第一应答消息, 所述第一应答消息包含 所述第一网络标识;
所述处理器,用于根据所述数据端口获取的所述第一应答消息对 所述交换机进行网络配置, 以便所述交换机进行数据通信。
23、 根据权利要求 22所述的交换机, 其特征在于, 所述 SDN还 包括至少一个控制器, 包括:
所述数据端口广播的所述第一请求消息还包含对控制器的第一 配置信息的请求;
所述数据端口获取的所述第一应答消息还包含所述第一配置信 息, 其中所述第一配置信息包含控制器的第二网络标识和监听端口 号;
所述处理器具体用于根据所述数据端口获取的所述第一应答消 息中包含的所述第一网络标识、 所述第二网络标识和所述监听端口号 对所述交换机进行网络配置, 以便所述交换机与所述控制器进行数据 通信。
24、 根据权利要求 23所述的交换机, 其特征在于, 包括: 所述数据端口还用于广播第一通报消息,所述第一通报消息包含 所述处理器使用的所述第一网络标识、 所述第二网络标识和所述监听 端口号;
所述数据端口还用于获取所述网络配置装置发送的第一确认消 息, 所述第一确认消息针对所述数据端口广播的所述第一通报消息。
25、 根据权利要求 23或 24所述的交换机, 其特征在于, 所述数 据端口广播的所述第一请求消息还包含第一状态信息, 其中所述第一 状态信息至少包括: 对控制器的第一配置信息的首次请求, 或者对控 制器的第一配置信息的续租请求, 或者对控制器的第一配置信息的变 更请求。
26、 根据权利要求 22-25任一项所述的交换机, 其特征在于, 所 述数据端口广播的所述第一请求消息还包含第二状态信息, 其中所述 第二状态包括: 对所述交换机的第一网络标识的首次请求, 或者对所 述交换机的第一网络标识的续租请求。
27、 一种控制器, 其特征在于, 应用于软件可定义网络 SDN , 其中所述 SDN 包括至少一个网络配置装置、 至少一个交换机和至少 一个控制器, 所述控制器包括: 数据端口、 处理器、 存储器及总线, 其中, 所述数据端口、 所述处理器及所述存储器通过所述总线相互 连接,
其中, 所述数据端口, 用于获取所述控制器的第二配置信息, 其 中所述第二配置信息包含控制器的标识、 第二网络标识和监听端口 号;
所述处理器,用于根据所述数据端口获取的所述第二配置信息对 所述控制器进行网络配置, 以便所述控制器与所述交换机进行数据通 信;
所述数据端口, 用于当所述处理器完成所述控制器的网络配置 时, 广播第二通报消息, 所述第二通报消息包含所述控制器的第二配 置信息;
所述数据端口还用于获取所述网络配置装置发送的第二确认消 息, 以便确认所述网络配置装置收到所述数据端口发送的所述第二通 报消息, 其中所述第二确认消息针对所述第二通报消息。
28、 根据权利要求 27所述的控制器, 其特征在于, 包括: 所述数据端口还用于广播第二请求消息,其中所述第二请求消息 包含所述控制器的标识和监听端口号, 及对所述控制器的第二网络标 识的请求;
所述数据端口还用于获取所述网络配置装置发送的所述第二应 答消息, 以便所述数据端口获取所述控制器的第二配置信息。
29、 一种网络配置方法, 其特征在于, 应用于软件可定义网络 SDN , 其中所述 SDN包括至少一个网络配置装置和至少一个交换机, 所述方法包括:
网络配置装置获取所述交换机发送的第一请求消息,所述第一请 求消息包含所述交换机的标识, 及对所述交换机的第一网络标识的请 求;
所述网络配置装置根据所述第一请求消息获取第一网络标识; 所述网络配置装置向所述交换机发送对所述第一请求消息的第 一应答消息, 所述第一应答消息包含所述第一网络标识。
30、 根据权利要求 29所述的方法, 其特征在于, 所述 SDN还包 括至少一个控制器, 所述网络配置方法包括:
所述第一请求消息还包含对控制器的第一配置信息的请求; 所述网络配置装置根据所述第一请求消息获取第一配置信息,其 中所述第一配置信息包含控制器的第二网络标识和监听端口号;
所述第一应答消息还包含所述第一配置信息。
3 1、 根据权利要求 30所述的方法, 其特征在于, 所述网络配置 装置向所述交换机发送对所述第一请求消息的第一应答消息之后, 所 述网络配置方法还包括:
所述网络配置装置获取所述交换机发送的第一通报消息,所述第 一通报消息包含所述第一网络标识、 所述第二网络标识和所述监听端 口号;
所述网络配置装置向所述交换机发送对所述第一通报消息的第 一确认消息。
32、 根据权利要求 30或 3 1所述的方法, 其特征在于, 包括: 所述第一请求消息还包含第一状态信息,其中所述第一状态信息 至少包括: 对控制器的第一配置信息的首次请求, 或者对控制器的第 一配置信息的续租请求, 或者对控制器的第一配置信息的变更请求; 所述网络配置装置根据所述第一请求消息获取第一配置信息,其 中所述第一配置信息包含控制器的第二网络标识和监听端口号, 具体 包括:
所述网络配置装置根据所述第一状态信, 、和所述对控制器的第 一配置信息的请求, 获取第一配置信息。
33、 根据权利要求 29-32任一项所述的方法, 其特征在于, 包括: 所述第一请求消息还包含第二状态信息, 其中所述第二状态包 括: 对所述交换机的第一网络标识的首次请求, 或者对所述交换机的 第一网络标识的续租请求;
所述网络配置装置根据所述第一请求消息获取第一网络标识,具 体包括:
所述网络配置装置根据所述第二状态和所述对交换机的第一网 络标识的请求, 获取所述第一网络标识。
34、 根据权利要求 29-33任一项所述的方法, 其特征在于, 所述 SDN还包括至少一个控制器,网络配置装置获取交换机发送的第一请 求消息之前, 所述网络配置方法还包括:
网络配置装置获取控制器发送的第二通报消息,所述第二通报消 息包含所述控制器的第二配置信息, 其中所述第二配置信息包含控制 器的标识、 第二网络标识和监听端口号;
所述网络配置装置向所述控制器发送对所述第二通报消息的第 二确认消息。
35、 根据权利要求 34所述的方法, 其特征在于, 网络配置装置 获取控制器发送的控制器的第二配置信息之前, 所述网络配置方法还 包括:
网络配置装置获取控制器发送的第二请求消息,其中所述第二请 求消息包含所述控制器的标识和监听端口号, 及对所述控制器的第二 网络标识的请求;
所述网络配置装置根据所述第二请求消息获取第二网络标识; 所述网络配置装置向所述控制器发送对所述第二请求消, ¾的第 二应答, 其中所述第二应答包含所述第二网络标识。
36、 一种网络配置方法, 其特征在于, 应用于软件可定义网络 SDN , 其中所述 SDN包括至少一个网络配置装置和至少一个交换机, 包括:
交换机广播第一请求消息,所述第一请求消息包含所述交换机的 标识, 及对所述交换机的第一网络标识的请求;
所述交换机获取所述网络配置装置发送的对所述第一请求消息 的第一应答消息, 所述第一应答消息包含所述第一网络标识;
所述交换机根据所述第一应答消息对所述交换机进行网络配置, 以便所述交换机进行数据通信。
37、 根据权利要求 36所述的方法, 其特征在于, 所述 SDN还包 括至少一个控制器, 所述网络配置方法还包括:
所述第一请求消息还包含对控制器的第一配置信息的请求; 所述第一应答消息还包含所述第一配置信息,其中所述第一配置 信息包含控制器的第二网络标识和监听端口号;
所述交换机根据所述第一应答消息对所述交换机进行网络配置, 以便所述交换机进行数据通信, 具体包括:
所述交换机根据所述第一网络标识、所述第二网络标识和所述监 听端口号对所述交换机进行网络配置, 以便所述交换机与所述控制器 进行数据通信。
38、 根据权利要求 37所述的方法, 其特征在于, 所述交换机根 据所述第一应答消息进行网络配置以便进行数据通信之前, 所述网络 配置方法还包括:
所述交换机广播第一通报消息,所述第一通报消息包含所述第一 网络标识、 所述第二网络标识和所述监听端口号;
所述交换机获取所述网络配置装置发送的第一确认消息,所述第 一确认消息针对所述第一通报消息。
39、 根据权利要求 37或 38所述的方法, 其特征在于, 所述第一 请求消息还包含第一状态信息, 其中所述第一状态信息至少包括: 对 控制器的第一配置信息的首次请求, 或者对控制器的第一配置信息的 续租请求, 或者对控制器的第一配置信息的变更请求。
40、 根据权利要求 36-39任一项所述的方法, 其特征在于, 所述 第一请求消息还包含第二状态信息, 其中所述第二状态包括: 对所述 交换机的第一网络标识的首次请求, 或者对所述交换机的第一网络标 识的续租请求。
41、 一种网络配置方法, 其特征在于, 应用于软件可定义网络 SDN , 其中所述 SDN 包括至少一个网络配置装置、 至少一个交换机 和至少一个控制器, 所述网络配置方法包括:
控制器获取所述控制器的第二配置信息,其中所述第二配置信息 包含控制器的标识、 第二网络标识和监听端口号;
所述控制器根据所述第二配置信息对所述控制器进行网络配置, 以便所述控制器与所述交换机进行数据通信;
当所述控制器的网络配置完成时, 所述控制器广播第二通报消 息, 所述第二通报消息包含所述控制器的第二配置信息;
所述控制器获取所述网络配置装置发送的第二确认消息,以便确 认所述网络配置装置收到所述第二通报消息, 其中所述第二确认消息 针对所述第二通报消息。
42、 根据权利要求 41 所述的方法, 其特征在于, 控制器获取所 述控制器的第二配置信息, 其中所述第二配置信息包含控制器的标 识、 第二网络标识和监听端口号之前, 所述网络配置方法还包括: 控制器广播第二请求消息,其中所述第二请求消息包含所述控制 器的标识和监听端口号, 及对所述控制器的第二网络标识的请求; 所述控制器获取所述网络配置装置发送的所述第二应答消息,以 便所述控制器获取所述控制器的第二配置信息。
43、 一种网络配置系统, 其特征在于, 应用于软件可定义网络
SDN , 其中所述 SDN 包括至少一个网络配置装置和至少一个交换机 和至少一个控制器; 其中 , 所述网络配置装置为权利要求 1 -7任一项所述的网络配置 装置, 所述交换机为权利要求 8- 12任一项所述的交换机; 或,
所述网络配置装置为权利要求 15-21 任一项所述的网络配置装 置, 所述交换机为权利要求 22-26任一项所述的交换机。
44、 根据权利要求 43所述的系统, 其特征在于, 所述 SDN还包 括至少一个控制器;
其中, 所述控制器为权利要求 13 - 14任一项所述的控制器; 或者, 所述控制器为权利要求 27-28任一项所述的控制器。
PCT/CN2014/079009 2014-05-30 2014-05-30 一种网络配置方法、装置及系统 WO2015180177A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480036041.4A CN105359483A (zh) 2014-05-30 2014-05-30 一种网络配置方法、装置及系统
PCT/CN2014/079009 WO2015180177A1 (zh) 2014-05-30 2014-05-30 一种网络配置方法、装置及系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/079009 WO2015180177A1 (zh) 2014-05-30 2014-05-30 一种网络配置方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2015180177A1 true WO2015180177A1 (zh) 2015-12-03

Family

ID=54697946

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079009 WO2015180177A1 (zh) 2014-05-30 2014-05-30 一种网络配置方法、装置及系统

Country Status (2)

Country Link
CN (1) CN105359483A (zh)
WO (1) WO2015180177A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500276A (zh) * 2020-11-13 2022-05-13 中兴通讯股份有限公司 数据处理方法、装置、系统和计算机可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1685663A (zh) * 2002-09-30 2005-10-19 皇家飞利浦电子股份有限公司 动态网络配置
CN103209121A (zh) * 2013-03-15 2013-07-17 中兴通讯股份有限公司 基于开放流协议的控制面设备的发现处理方法及装置
US20130272135A1 (en) * 2012-04-11 2013-10-17 Gigamon Llc Traffic visibility in an open networking environment
CN103475947A (zh) * 2013-09-13 2013-12-25 中国联合网络通信集团有限公司 一种基于软件定义网络的流媒体分发系统和方法
EP2544409B1 (en) * 2011-07-04 2014-03-19 Telefonaktiebolaget L M Ericsson (publ) Generic monitoring packet handling mechanism for OpenFlow 1.1
CN103763121A (zh) * 2013-12-24 2014-04-30 杭州华三通信技术有限公司 一种网络配置信息快速下发的方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1685663A (zh) * 2002-09-30 2005-10-19 皇家飞利浦电子股份有限公司 动态网络配置
EP2544409B1 (en) * 2011-07-04 2014-03-19 Telefonaktiebolaget L M Ericsson (publ) Generic monitoring packet handling mechanism for OpenFlow 1.1
US20130272135A1 (en) * 2012-04-11 2013-10-17 Gigamon Llc Traffic visibility in an open networking environment
CN103209121A (zh) * 2013-03-15 2013-07-17 中兴通讯股份有限公司 基于开放流协议的控制面设备的发现处理方法及装置
CN103475947A (zh) * 2013-09-13 2013-12-25 中国联合网络通信集团有限公司 一种基于软件定义网络的流媒体分发系统和方法
CN103763121A (zh) * 2013-12-24 2014-04-30 杭州华三通信技术有限公司 一种网络配置信息快速下发的方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500276A (zh) * 2020-11-13 2022-05-13 中兴通讯股份有限公司 数据处理方法、装置、系统和计算机可读存储介质

Also Published As

Publication number Publication date
CN105359483A (zh) 2016-02-24

Similar Documents

Publication Publication Date Title
US11201814B2 (en) Configuration of networks using switch device access of remote server
WO2019153143A1 (zh) 一种网络接入方法、设备及系统
US10142342B2 (en) Authentication of client devices in networks
US9813291B2 (en) Shortest path bridging (SPB) configuration of networks using client device access of remote
US10630551B2 (en) Method and apparatus for automatic networking of gateway device
RU2744809C2 (ru) Способ, реализуемый в устройстве, выполненном с возможностью подсоединения к абонентскому оборудованию сети первого типа, соответствующее устройство
WO2015003566A1 (zh) 组播域名系统中报文传输的方法、装置及系统
CN114073043B (zh) 以太网网桥端口管理的方法和装置
WO2015051701A1 (zh) Wifi同步apn网络多通道并发上网并自动优选wifi联网的方法
TW201344576A (zh) 韌體更新方法與系統以及使用該方法之終端裝置
WO2015085576A1 (zh) 地址解析协议消息的处理方法和转发器、控制器
WO2015180154A1 (zh) 网络控制方法和装置
JP7072902B2 (ja) スマートデバイスとルーターとの自動接続方法、ルーター及びスマートデバイス
US20150271016A1 (en) Configuration of networks with server cluster device
CN105450779A (zh) 一家电设备连接多服务器的方法
CN103648056A (zh) 一种智能电视的点对点传输方法和装置
WO2016086544A1 (zh) 网络设备的网口配置方法、装置及存储介质
WO2013185696A2 (zh) 一种数据处理的方法与设备
WO2015024373A1 (zh) 一种虚拟机通信方法及装置
CN107786441B (zh) 一种通信方法、OpenFlow交换机及通信系统
EP3398297B1 (en) Establishment of a connection between two local devices connected to different networks
WO2012175024A1 (zh) 实现无线数据传输与短信收发并行的方法、系统及设备
WO2017161866A1 (zh) 网络连接方法及装置
WO2015058413A1 (zh) 一种数据配置方法及网络管理服务器
CN102006266B (zh) 服务质量参数的配置方法以及远程访问服务器和系统

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201480036041.4

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14893360

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14893360

Country of ref document: EP

Kind code of ref document: A1