WO2013078780A1 - 发送消息的方法、接收消息方法、开放流控制器及第一开放流交换机 - Google Patents
发送消息的方法、接收消息方法、开放流控制器及第一开放流交换机 Download PDFInfo
- Publication number
- WO2013078780A1 WO2013078780A1 PCT/CN2012/070136 CN2012070136W WO2013078780A1 WO 2013078780 A1 WO2013078780 A1 WO 2013078780A1 CN 2012070136 W CN2012070136 W CN 2012070136W WO 2013078780 A1 WO2013078780 A1 WO 2013078780A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- open flow
- message
- openflow
- controller
- switch
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 133
- 230000004044 response Effects 0.000 claims abstract description 212
- 230000009471 action Effects 0.000 claims description 82
- 239000003795 chemical substances by application Substances 0.000 description 67
- 238000010586 diagram Methods 0.000 description 18
- 230000000977 initiatory effect Effects 0.000 description 5
- 108700026140 MAC combination Proteins 0.000 description 4
- 239000003999 initiator Substances 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0895—Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/036—Updating the topology between route computation elements, e.g. between OpenFlow controllers
Definitions
- the present invention relates to communication technologies, and in particular, to a method for sending a message, a method for receiving a message, an open flow controller, and a first open flow switch. .
- OpenFlow is a new type of network model.
- an open flow switch and an open flow controller may be included. Before the OpenFlow switch communicates with the OpenFlow controller, it is necessary to establish an OpenFlow switch and an OpenFlow controller. To establish a connection, you can manually configure the parameters of the connection to be established. After the parameters of the connection to be established are configured, the open flow switch and the OpenFlow controller perform the action of establishing a connection according to the parameters of the connection to be established.
- the technical solution provided by the embodiment of the present invention can automatically acquire parameters of a connection to be established.
- the open flow switch or open flow controller can establish an open flow switch to open flow controller based on automatically acquired parameters.
- a method for sending a message includes:
- the OpenFlow controller receives the first message sent by the first OpenFlow switch
- the open flow controller determines that the first open flow switch belongs to the open flow controller according to the first message
- the open flow controller sends a first response message to the first open flow switch, where the first response message is sent
- a method for receiving a message includes: the first OpenFlow switch sends a first message to an OpenFlow controller, so that when the OpenFlow controller determines the first message according to the first message, When an open flow switch belongs to the open flow controller, the open flow controller sends a first response message to the first open flow switch, where the first response message includes type information of the first connection and parameters of the first connection a parameter related to the open flow controller, where the first connection is a connection between the first open flow switch to be established and the open flow controller to be established, and the first response message corresponds to the first message;
- the first open flow switch receives the first response message.
- a method for sending a message includes: an OpenFlow controller receiving a first message sent by a first OpenFlow switch;
- the open flow controller determines that the first open flow switch belongs to the open flow controller according to the first message
- the open flow controller sends a first response message to the first open flow switch, where the first response message is sent Corresponding to the first message;
- the OpenFlow controller receives the second message sent by the first OpenFlow switch, where the second message includes type information of the first connection and parameters related to the first OpenFlow switch in the parameters of the first connection, where the A connection is a connection of the first open flow switch to be established to the open flow controller.
- a method for receiving a message according to an embodiment of the present invention includes: the first OpenFlow switch sends a first message to an OpenFlow controller, so that when the OpenFlow controller determines the first message according to the first message, When an open flow switch belongs to the open flow controller, the open flow controller sends a first response message to the first open flow switch, where the first response message corresponds to the first message;
- the first open flow switch sends a second message to the open flow controller, where the second message includes type information of the first connection and parameters related to the first open flow switch in the parameters of the first connection, where the first Connecting to the first open flow switch to be established and the open flow controller Connection.
- a method for sending a message includes: an OpenFlow controller receiving a first message sent by a first OpenFlow switch;
- the open flow controller determines that the first open flow switch belongs to the open flow controller according to the first message
- the open flow controller sends a first response message to the first open flow switch, where the first response message is sent Corresponding to the first message;
- the OpenFlow controller sends a second message to the first OpenFlow switch, where the second message includes type information of the first connection and parameters related to the OpenFlow controller in the parameters of the first connection, the first connection A connection between the first open flow switch to be established and the open flow controller.
- a method for receiving a message according to an embodiment of the present invention includes: the first OpenFlow switch sends a first message to an OpenFlow controller, so that when the OpenFlow controller determines the first message according to the first message, When an open flow switch belongs to the open flow controller, the open flow controller sends a first response message to the first open flow switch, where the first response message corresponds to the first message;
- the first open flow switch receives the second message sent by the open flow controller, where the second message includes type information of the first connection and parameters related to the open flow controller in the parameters of the first connection, where the first The connection is the connection of the first open flow switch to be established to the open flow controller.
- a method for sending a message includes: an OpenFlow controller receiving a first message sent by a first OpenFlow switch;
- the open flow controller determines that the first open flow switch belongs to the open flow controller according to the first message
- the open flow controller sends a first response message to the first open flow switch, where the first response message is sent Corresponding to the first message;
- the OpenFlow controller sends a second message to the first OpenFlow switch, the second message packet
- the OpenFlow controller receives the second response message sent by the first OpenFlow switch, where the second response message includes parameters related to the first OpenFlow switch in the parameters of the first connection, where the second response message corresponds to In the second message.
- a method for receiving a message according to an embodiment of the present invention includes: the first OpenFlow switch sends a first message to an OpenFlow controller, so that when the OpenFlow controller determines the first message according to the first message, When an open flow switch belongs to the open flow controller, the open flow controller sends a first response message to the first open flow switch, where the first response message corresponds to the first message;
- the first open flow switch receives the second message sent by the open flow controller, where the second message includes type information of the first connection and parameters related to the open flow controller in the parameters of the first connection, where the first Connecting is a connection between the first open flow switch to be established and the open flow controller;
- the first open flow switch sends a second response message to the open flow controller, where the second response message includes a parameter related to the first open flow switch in the parameter of the first connection, where the second response message corresponds to The second message.
- a method for sending a message includes: an OpenFlow controller receiving a first message sent by a first OpenFlow switch;
- the open flow controller determines that the first open flow switch belongs to the open flow controller according to the first message
- the open flow controller sends a first response message to the first open flow switch, where the first response message is sent Corresponding to the first message;
- the first connection is a connection between the first open flow switch to be established and the open flow controller;
- the OpenFlow controller sends a second response message to the first OpenFlow switch, the second response message including parameters related to the OpenFlow controller of the parameters of the first connection.
- a method for receiving a message according to an embodiment of the present invention includes: the first OpenFlow switch sends a first message to an OpenFlow controller, so that when the OpenFlow controller determines the first message according to the first message, When an open flow switch belongs to the open flow controller, the open flow controller sends a first response message to the first open flow switch, where the first response message corresponds to the first message;
- the first open flow switch sends a second message to the open flow controller, where the second message includes type information of the first connection and parameters related to the first open flow switch in the parameters of the first connection, where the first Connecting is a connection between the first open flow switch to be established and the open flow controller;
- the first OpenFlow switch receives a second response message sent by the OpenFlow controller, where the second response message includes parameters related to the OpenFlow controller in the parameters of the first connection.
- an open flow controller provided by an embodiment of the present invention includes:
- the receiver is configured to receive a first message sent by the first OpenFlow switch
- the transmitter includes a determining unit and a transmitting unit
- the determining unit is configured to determine, according to the first message, whether the first open flow switch belongs to the open flow controller;
- the sending unit is configured to: when the determining unit determines that the first open flow switch belongs to the open flow controller, send a first response message to the first open flow switch, where the first response message includes type information of the first connection And a parameter related to the open flow controller in the parameter of the first connection, where the first connection is the first open flow switch to be established and the open flow controller The connection, the first response message corresponds to the first message.
- a first open flow switch provided by the embodiment of the present invention includes: a transmitter, configured to send a first message to an open flow controller, so that when the open flow controller determines the first message according to the first message, When the first open flow switch belongs to the open flow controller, the open flow controller sends a first response message to the first open flow switch, where the first response message includes type information of the first connection and the first connection a parameter related to the open flow controller in the parameter, the first connection is a connection between the first open flow switch to be established and the open flow controller, and the first response message corresponds to the first message;
- a receiver configured to receive the first response message.
- an open flow controller provided by an embodiment of the present invention includes:
- the receiver is configured to receive a first message sent by the first OpenFlow switch
- the transmitter includes a determining unit and a transmitting unit
- the determining unit is configured to determine, according to the first message, whether the first open flow switch belongs to the open flow controller;
- the sending unit is configured to: when the determining unit determines that the first open flow switch belongs to the open flow controller, send a first response message to the first open flow switch, where the first response message corresponds to the first message ;
- the receiver is further configured to receive a second message sent by the first open flow switch, where the second message includes type information of the first connection and parameters related to the first open flow switch in parameters of the first connection, where
- the first connection is a connection of the first open flow switch to be established to the open flow controller.
- a first open flow switch provided by the embodiment of the present invention includes: a transmitter and a receiver;
- the transmitter is configured to send a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, The OpenFlow controller sends a first response message to the first OpenFlow switch, where the first response message corresponds to the first message;
- the receiver is configured to receive the first response message
- the transmitter is further configured to send a second message to the OpenFlow controller, where the second message includes type information of the first connection and parameters related to the first OpenFlow switch in the parameters of the first connection, where the first The connection is the connection of the first open flow switch to be established to the open flow controller.
- an open flow controller provided by an embodiment of the present invention includes:
- the receiver is configured to receive a first message sent by the first OpenFlow switch
- the transmitter includes a determining unit and a transmitting unit
- the determining unit is configured to determine, according to the first message, whether the first open flow switch belongs to the open flow controller;
- the sending unit is configured to: when the determining unit determines that the first open flow switch belongs to the open flow controller, send a first response message to the first open flow switch, where the first response message corresponds to the first message ;
- the transmitter is further configured to send, to the first OpenFlow switch, a second message, where the second message includes type information of the first connection and parameters related to the OpenFlow controller in the parameters of the first connection, where the first The connection is the connection of the first open flow switch to be established to the open flow controller.
- a first open flow switch provided by the embodiment of the present invention includes: a transmitter and a receiver;
- the transmitter is configured to send a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, the OpenFlow controller
- the first OpenFlow switch sends a first response message, where the first response message corresponds to the first message
- the receiver is configured to receive the first response message
- the receiver is further configured to receive a second message sent by the OpenFlow controller, where the second message includes type information of the first connection and parameters related to the OpenFlow controller in the parameters of the first connection, where the first The connection is the connection of the first open flow switch to be established to the open flow controller.
- an open flow controller provided by an embodiment of the present invention includes:
- the receiver is configured to receive a first message sent by the first OpenFlow switch
- the transmitter includes a determining unit and a transmitting unit
- the determining unit is configured to determine, according to the first message, whether the first open flow switch belongs to the open flow controller;
- the sending unit is configured to: when the determining unit determines that the first open flow switch belongs to the open flow controller, send a first response message to the first open flow switch, where the first response message corresponds to the first message ;
- the transmitter is further configured to send, to the first OpenFlow switch, a second message, where the second message includes type information of the first connection and parameters related to the OpenFlow controller in the parameters of the first connection, where the first Connecting is a connection between the first open flow switch to be established and the open flow controller;
- the receiver is further configured to receive a second response message sent by the first open flow switch, where the second response message includes a parameter related to the first open flow switch in the parameter of the first connection, the second response message Corresponds to the second message.
- a first open flow switch provided by the embodiment of the present invention includes: a transmitter and a receiver;
- the transmitter is configured to send a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, the OpenFlow controller The first open flow switch sends a first response message, where the first response is cancelled.
- the information corresponds to the first message;
- the receiver is configured to receive the first response message
- the receiver is further configured to receive a second message sent by the OpenFlow controller, where the second message includes type information of the first connection and parameters related to the OpenFlow controller in the parameters of the first connection, where the first Connecting is a connection between the first open flow switch to be established and the open flow controller;
- the transmitter is further configured to send a second response message to the OpenFlow controller, where the second response message includes a parameter related to the first OpenFlow switch in the parameter of the first connection, where the second response message corresponds to The second message.
- an open flow controller provided by an embodiment of the present invention includes:
- the receiver is configured to receive a first message sent by the first OpenFlow switch
- the transmitter includes a determining unit and a transmitting unit
- the determining unit is configured to determine, according to the first message, whether the first open flow switch belongs to the open flow controller;
- the sending unit is configured to: when the determining unit determines that the first open flow switch belongs to the open flow controller, send a first response message to the first open flow switch, where the first response message corresponds to the first message ;
- the receiver is further configured to receive a second message sent by the first open flow switch, where the second message includes type information of the first connection and parameters related to the first open flow switch in parameters of the first connection, where
- the first connection is a connection between the first open flow switch to be established and the open flow controller;
- the transmitter is further configured to send a second response message to the first open flow switch, where the second response message includes parameters related to the open flow controller of the parameters of the first connection.
- a first open flow switch provided by the embodiment of the present invention includes: a transmitter and a receiver; The transmitter is configured to send a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, the OpenFlow controller The first OpenFlow switch sends a first response message, where the first response message corresponds to the first message;
- the receiver is configured to receive the first response message
- the transmitter is further configured to send a second message to the OpenFlow controller, where the second message includes type information of the first connection and parameters related to the first OpenFlow switch in the parameters of the first connection, where the first Connecting is a connection between the first open flow switch to be established and the open flow controller;
- the receiver is further configured to receive a second response message sent by the OpenFlow controller, where the second response message includes parameters related to the OpenFlow controller in the parameters of the first connection.
- the open flow switch receives the connection establishment request before the open flow controller (or the open flow switch), and the open flow switch (or the open flow controller) receives the The message sent to the peer end, which contains the parameters related to the peer in the parameters of the connection to be established.
- the above mechanism implements automatic configuration of the parameters of the connection to be established. Therefore, the technical solution provided by the embodiment of the present invention can automatically acquire the parameters of the connection to be established.
- the OpenFlow switch or OpenFlow controller can establish an OpenFlow switch to open flow controller based on automatically acquired parameters.
- FIG. 1 is a flowchart of a method for sending a message according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for receiving a message according to an embodiment of the present invention
- FIG. 3 is a flowchart of another method for sending a message according to an embodiment of the present invention.
- FIG. 4 is a flowchart of another method for receiving a message according to an embodiment of the present invention.
- FIG. 5 is a flowchart of another method for sending a message according to an embodiment of the present invention.
- FIG. 6 is a flowchart of another method for receiving a message according to an embodiment of the present invention.
- FIG. 7 is a flowchart of another method for sending a message according to an embodiment of the present invention.
- FIG. 8 is a flowchart of another method for receiving a message according to an embodiment of the present invention.
- FIG. 9 is a flowchart of another method for sending a message according to an embodiment of the present invention.
- FIG. 10 is a flowchart of another method for receiving a message according to an embodiment of the present invention
- FIG. 11 is a schematic structural diagram of an OpenFlow controller according to an embodiment of the present invention
- FIG. 13 is a schematic structural diagram of another open flow controller according to an embodiment of the present invention
- FIG. 14 is a schematic structural diagram of another first open flow switch according to an embodiment of the present invention
- FIG. 15 is a schematic structural diagram of another open flow controller according to an embodiment of the present invention
- FIG. 16 is a schematic structural diagram of another first open flow switch according to an embodiment of the present invention
- FIG. 18 is a schematic structural diagram of another first open flow switch according to an embodiment of the present invention
- FIG. 19 is a schematic structural diagram of another open flow controller according to an embodiment of the present invention
- FIG. 20 is a schematic structural diagram of another first open flow switch according to an embodiment of the present invention.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- FIG. 1 is a flowchart of a method for sending a message according to an embodiment of the present invention, where the method includes:
- the OpenFlow controller receives the first message sent by the first OpenFlow switch.
- the OpenFlow Controller is a network device in the OpenFlow Network.
- the OpenFlow controller can control the OpenFlow network.
- the OpenFlow controller can send a flow table to the OpenFlow switch.
- An OpenFlow Switch is also a type of network device in an OpenFlow network.
- the OpenFlow switch can forward packets based on the flow table.
- OpenFlow Controllers For OpenFlow Controllers, OpenFlow Switches, and OpenFlow Networks, refer to the OpenFlow Switch Specification 1.0 released by the OpenFlow Networking Foundation (OFN).
- OFN OpenFlow Networking Foundation
- the first OpenFlow switch sends the first message to the OpenFlow controller.
- the first OpenFlow switch may send the first message in a broadcast form.
- the entire broadcast domain can receive the first message.
- the open flow controller is located in the broadcast domain.
- the first OpenFlow switch can send the first message in multicast form.
- all members of the multicast group can receive the first message.
- the OpenFlow controller may also receive the first message sent by the first OpenFlow switch in multicast form.
- the first OpenFlow switch can be opened according to the Global Environment for Network Innovations (GENI); the OpenFlow Discovery Protocol (OFDP) is found in the first OpenFlow switch.
- the first message is sent in multicast form on the port.
- the OpenFlow Discovery Protocol is based on the Ten Layer Discovery Protocol (LLDP).
- the first message may include a source media access control (MAC) protocol address, and the source MAC protocol address is a MAC protocol address of the first open flow switch.
- the first message is used to trigger the OpenFlow controller to send a response message to the first development flow switch according to the location information in the first message.
- the OpenFlow controller can receive the first message in the following manner:
- the second open flow switch and the open flow controller establish a controller channel.
- the first OpenFlow switch sends the first message by broadcast or multicast.
- the open flow controller is located in the broadcast domain; when the first message is multicast, the open flow controller is a member of the multicast group.
- the second OpenFlow switch can forward the first message to the OpenFlow controller through the control channel.
- control channel refer to the OpenFlow Switch Specification Version 1.0 released by OFN.
- the first OpenFlow switch may send the first message by broadcast or multicast.
- the first message can propagate throughout the broadcast domain or multicast group with broadcast or multicast and eventually reach the OpenFlow controller. Since the first open flow switch does not know the path of the open flow controller, it may take a long time for the first message to arrive at the open flow controller.
- the second OpenFlow switch knows the path of the OpenFlow controller, so the time required for the second OpenFlow switch to forward the first message to the OpenFlow controller through the control channel can be relatively small.
- a link between the OpenFlow switch and the OpenFlow controller may have a relay agent device.
- the relay agent device has an agent relationship with the open flow controller. It should be noted that the relay agent device existing on the link between the OpenFlow switch and the OpenFlow controller may be one or multiple.
- the relay agent device When the relay agent device is implemented, it may be an open flow switch or a router. In addition, the relay agent device may also be a switch that does not establish a control channel with the OpenFlow controller.
- the relay agent device has an agent relationship with the open flow controller.
- the proxy relationship means that after receiving the packet sent by multicast or broadcast, the relay proxy device can forward the packet to the OpenFlow controller proxyed by the relay proxy device in a unicast manner.
- the relay proxy device may replace the broadcast address or multicast group address of the first message with the address of the next-level relay proxy device, and forward the modified first message to the next level. Following the proxy device.
- the relay proxy device may also replace the broadcast address or the multicast group address of the first message with the address of the OpenFlow controller, and forward the modified first message to the OpenFlow controller.
- the relay agent device needs to store path information and a checklist in advance.
- the relay agent device When the link between the relay agent device and the OpenFlow controller proxyed by the relay agent device does not have a next-level relay agent device, the relay agent device pre-stores the open flow control of the relay agent device to reach the proxy. Path information of the device, the relay agent device also needs to store path information returned to the OpenFlow switch in advance.
- the relay agent device stores the relay agent device in advance to reach the next-level relay agent.
- the path information of the device, the next-level relay agent device also needs to store path information of the relay agent device in advance.
- the next level relay agent device belongs to the relay agent device. Specifically, the next-level relay agent device refers to the next relay agent device that the relay agent device needs to pass after reaching the open flow controller that is proxied by the relay agent device.
- the jurisdiction list is pre-stored in the relay agent device.
- the jurisdiction list records the correspondence between the OpenFlow controller represented by the relay agent device and the OpenFlow switch governed by the OpenFlow controller represented by the relay agent device.
- the jurisdiction list can be a correspondence table.
- the correspondence table may include a plurality of corresponding table entries. Each corresponding table entry contains the identity of the OpenFlow controller and the identity of the OpenFlow switch governed by the OpenFlow controller.
- the open flow controller can also receive the first message through the relay agent device.
- the open flow controller can also receive the first message through the relay agent device.
- two scenarios are two scenarios:
- Scenario 1 The link between the OpenFlow controller and the OpenFlow controller proxyed by the OpenFlow controller does not have a next-level relay agent device.
- the relay proxy device receives the first message sent by the first OpenFlow switch in a multicast or broadcast manner.
- the first message includes an identifier of the first open flow switch.
- the identifier of the first open flow switch is obtained according to the first message.
- the relay agent device finds an open flow controller having jurisdiction over the first open flow switch in the jurisdiction list according to the identifier of the first open flow switch. If the identifier of the first open flow switch exists in the jurisdiction list, it indicates that the relay agent device has an agent relationship with the open flow controller having jurisdiction over the first open flow switch.
- the relay agent device converts the first message into a unicast message, and forwards the unicast message to an open flow controller having jurisdiction over the first open flow switch according to the saved path information. If the identity of the first open flow switch does not exist in the jurisdiction list, it indicates that the relay agent device has no proxy relationship with the open flow controller having jurisdiction over the first open flow switch. The relay agent device can discard the first message.
- Scenario 2 There is a next-level relay agent device on the link between the OpenFlow controller and the OpenFlow controller represented by the OpenFlow controller.
- the relay proxy device receives the first message sent by the first OpenFlow switch in a multicast or broadcast manner.
- the first message includes an identifier of the first open flow switch.
- the identifier of the first open flow switch is obtained according to the first message.
- the relay agent device finds an open flow controller having jurisdiction over the first open flow switch in the jurisdiction list according to the identifier of the first open flow switch. If the identifier of the first open flow switch exists in the jurisdiction list, it indicates that the relay agent device has an agent relationship with the open flow controller having jurisdiction over the first open flow switch.
- the relay agent device converts the first message into a unicast message, and forwards the unicast message to the next-level relay agent device according to the saved path information.
- the relay agent device can discard the first message.
- the relay agent device can proxy multiple OpenFlow controllers.
- the relay agent device stores a correspondence between each of the plurality of open flow controllers and an open flow switch managed by each of the open flow controllers, where the correspondence includes the open flow controller Identifies the ID of the development flow switch governed by the OpenFlow controller.
- the identifier of the first open flow switch may be included in the first message.
- the identifier of the first OpenFlow switch may be obtained according to the first message.
- the relay agent device may find an OpenFlow controller identifier that has jurisdiction over the first OpenFlow switch in the foregoing relationship according to the identifier of the first OpenFlow switch, and further obtain the arrival according to the OpenFlow controller identifier.
- the first message is a broadcast message or a multicast message, and the relay agent device may convert the broadcast message or the multicast message into unicast information, and forward the unicast message to have jurisdiction over the first open flow switch. Open flow controller. For specific implementation, see the description of the scenario with the next-level relay agent in the OpenFlow network.
- Step 102 When the open flow controller determines, according to the first message, that the first open flow switch belongs to the open flow controller, the open flow controller sends a first response message to the first open flow switch, where the first The response message includes the type information of the first connection and the parameter related to the OpenFlow controller in the parameter of the first connection, where the first connection is a connection between the first OpenFlow switch and the OpenFlow controller to be established.
- the first response message corresponds to the first message.
- the open flow controller may determine, according to the first message, whether the first open flow switch is under the jurisdiction of the open flow controller. There are various methods for determining the present invention, and the present invention is not specifically limited. Two methods of determination are provided below:
- the first method of determination is a first method of determination:
- the OpenFlow controller can access a database containing the identity of the OpenFlow switch under the jurisdiction of the OpenFlow controller.
- the first message includes an identifier of the first OpenFlow switch.
- the OpenFlow controller detects that the database contains the identity of the first OpenFlow switch, the OpenFlow controller determines the first open The flow switch is under the jurisdiction of an open flow controller.
- the first message contains the identity of the OpenFlow controller.
- the OpenFlow controller determines that the OpenFlow controller corresponding to the identifier of the OpenFlow controller included in the first message is the OpenFlow controller, the OpenFlow controller determines that the first OpenFlow switch belongs to OpenFlow Control. Authority.
- the OpenFlow controller determines that the first OpenFlow switch belongs to the OpenFlow controller according to the first message
- the OpenFlow controller sends a first response message to the first OpenFlow switch.
- the first response message corresponds to the first message.
- the OpenFlow controller sends the first response message to the first open flow switch in unicast mode.
- the destination MAC protocol address of the first response message is the MAC protocol address of the first OpenFlow switch.
- the relay agent device Before the first response message arrives at the first OpenFlow switch, it may first reach the relay agent device in 101. After receiving the first response message, the relay agent device may forward the first response message to the open flow controller in a unicast manner. For details, see the description in 101.
- the first response message may provide parameters for the connection of the first OpenFlow switch to the OpenFlow controller to be established.
- the connection between the first open flow switch and the open flow controller is a first connection.
- the first connection may be a Transmission Control Protocol (TCP) or a Secure Sockets Layer (SSL) protocol, which is not limited in the present invention.
- TCP Transmission Control Protocol
- SSL Secure Sockets Layer
- the first response message includes type information of the first connection.
- the type information of the first connection is used to identify the type of the first connection to be established.
- the type information of the first connection may be carried in a certain field or multiple fields of the first response message.
- the first response message includes parameters related to the OpenFlow controller among the parameters of the first connection.
- the parameter of the first connection is a set of parameters that are needed to establish the first connection.
- the parameters of the first connection include an Internet Protocol (IP) address of the OpenFlow controller, an IP address of the first OpenFlow switch, a manner of establishing a TCP connection, and an open flow.
- IP Internet Protocol
- the method for establishing a TCP connection may be to establish a connection actively or to establish a connection passively.
- the parameters of the first connection include parameters related to the open flow controller and parameters related to the first open flow switch.
- the parameters related to the OpenFlow controller in the parameters of the first connection include the IP address of the OpenFlow controller and the TCP port number of the OpenFlow controller;
- the parameters related to an OpenFlow switch include the IP address of the first OpenFlow switch and the TCP port number of the first OpenFlow switch.
- the above mechanism implements automatic configuration of the parameters of the connection to be established.
- the OpenFlow switch can establish an OpenFlow switch to the OpenFlow controller based on automatically acquired parameters.
- the method may further include:
- the OpenFlow controller performs an action of establishing the first connection, where the action includes, according to the type information of the first connection and the parameter of the first connection, related to the OpenFlow controller, to the first OpenFlow switch.
- the establishment request of the first connection initiated by the parameter is responded to.
- the act of establishing the first connection may be dictated by a technical standard corresponding to the first connection.
- the standard for TCP specifies the actions that need to be performed to establish a TCP connection.
- the act of establishing the first connection includes at least transmitting a setup request for the first connection and responding to the setup request for the first connection.
- the sending the first connection establishment request refers to establishing a setup request of the first connection, and establishing, by the receiver that establishes the first connection, the first connection establishment request.
- Responding to the setup request of the first connection means that the receiver establishing the first connection responds to the setup request of the first connection and sends a response to the initiator establishing the first connection.
- the initiator that establishes the first connection may be the first open flow switch, or So open flow controller.
- the type of the first connection is TCP
- the way to establish a TCP connection determines the initiator of the first connection.
- the establishment request of the first connection is initiated by the first open flow switch.
- the first OpenFlow switch initiates a setup request of the first connection according to the type information of the first connection and the parameter related to the OpenFlow controller in the parameters of the first connection.
- the first OpenFlow switch responds to the setup request of the first connection.
- Embodiment 2 :
- FIG. 2 is a flowchart of a method for receiving a message according to an embodiment of the present invention, where the method includes:
- the first OpenFlow switch sends a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, the OpenFlow control Sending a first response message to the first open flow switch, where the first response message includes type information of the first connection and parameters related to the open flow controller in the parameters of the first connection, where the first connection is to be Establishing a connection between the first open flow switch and the open flow controller, the first response message corresponding to the first message.
- the first OpenFlow switch receives the first response message.
- 202 may further include:
- the first OpenFlow switch performs an action of establishing the first connection, where the action includes: controlling, according to the type information of the first connection, and parameters related to the OpenFlow controller in the parameters of the first connection to the OpenFlow
- the device initiates a setup request for the first connection.
- Embodiment 3 For specific implementation, refer to 103 in the first embodiment. Embodiment 3
- FIG. 3 is a flowchart of a method for sending a message according to an embodiment of the present invention, where the method includes:
- the OpenFlow controller receives the first message sent by the first OpenFlow switch.
- the open flow controller determines, according to the first message, that the first open flow switch belongs to the open flow controller, the open flow controller sends a first response message to the first open flow switch, where the first The response message corresponds to the first message.
- the first response message in the embodiment does not include the type information of the first connection and the parameters related to the open flow controller in the parameters of the first connection.
- the OpenFlow controller receives the second message sent by the first OpenFlow switch, where the second message includes type information of the first connection and parameters related to the first OpenFlow switch in the parameters of the first connection.
- the first connection is a connection between the first open flow switch to be established and the open flow controller.
- the OpenFlow controller In the scenario where the OpenFlow controller initiates the setup request of the first connection, the OpenFlow controller needs to know the parameters related to the first OpenFlow switch in the parameters of the first connection, so as to facilitate the OpenFlow controller and the first OpenFlow.
- the switch communicates.
- the parameters related to the first OpenFlow switch in the parameters of the first connection include the first OpenFlow switch.
- the foregoing OpenFlow controller may further receive the foregoing second message by: the second message sent by the first OpenFlow switch first reaches the relay proxy device in 101. After receiving the second message, the relay agent device may forward the second message to the open flow controller in a unicast manner. For details, see the description in 101.
- the method may further include: 304: The OpenFlow controller performs an action of establishing the first connection, where the action includes: opening, according to the type information of the first connection, and a parameter related to the first OpenFlow switch in the parameter of the first connection The flow switch initiates a setup request for the first connection.
- FIG. 4 is a flowchart of a method for receiving a message according to an embodiment of the present invention, where the method includes:
- the first OpenFlow switch sends a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, the OpenFlow control
- the device sends a first response message to the first open flow switch, where the first response message corresponds to the first message.
- the first OpenFlow switch receives the first response message.
- the first OpenFlow switch sends a second message to the OpenFlow controller, where the second message includes type information of the first connection and parameters related to the first OpenFlow switch in parameters of the first connection, where The first connection is a connection of the first open flow switch to be established to the open flow controller.
- the method may further include:
- the first OpenFlow switch performs an action of establishing the first connection, where the action includes, according to the type information of the first connection and the parameter of the first connection, the OpenFlow controller is related to the first OpenFlow switch.
- the parameter initiates the establishment of the first connection request to respond.
- Embodiment 5 provides another method for sending a message, which can automatically obtain parameters of a connection to be established.
- FIG. 5 is a flowchart of a method for sending a message according to an embodiment of the present invention, where the method includes:
- the OpenFlow controller receives the first message sent by the first OpenFlow switch.
- the open flow controller determines, according to the first message, that the first open flow switch belongs to the open flow controller, the open flow controller sends a first response message to the first open flow switch, where the first The response message corresponds to the first message.
- the first response message in this embodiment may not include the type information of the first connection and the parameters related to the open flow controller in the parameters of the first connection.
- the OpenFlow controller sends a second message to the first OpenFlow switch, where the second message includes type information of the first connection and parameters related to the OpenFlow controller in the parameters of the first connection, where A connection is a connection of the first open flow switch to be established to the open flow controller.
- the second message in this embodiment is sent by the OpenFlow controller.
- the second message includes type information of the first connection and parameters related to the open flow controller in the parameters of the first connection.
- the second message sent by the OpenFlow controller first reaches the relay agent device in 101.
- the relay agent device may forward the second message to the first OpenFlow switch in a unicast manner. For details, see the description in 101.
- the method may further include:
- the OpenFlow controller performs an action of establishing the first connection, where the action includes, according to the type information of the first connection and the parameter of the first connection, related to the OpenFlow controller, to the first OpenFlow switch.
- the establishment request of the first connection initiated by the parameter is responded to.
- the establishment request of the first connection in this embodiment is initiated by the first open flow switch.
- FIG. 6 is a flowchart of a method for receiving a message according to an embodiment of the present invention, where the method includes:
- the first OpenFlow switch sends a first message to the OpenFlow controller, so that when the OpenFlow controller determines that the first OpenFlow switch belongs to the OpenFlow controller according to the first message, the OpenFlow control The device sends a first response message to the first open flow switch, where the first response message corresponds to the first message.
- the first OpenFlow switch receives the first response message.
- the first OpenFlow switch receives the second message sent by the OpenFlow controller, where the second message includes type information of the first connection and parameters related to the OpenFlow controller in the parameters of the first connection, where The first connection is a connection of the first open flow switch to be established to the open flow controller.
- the method may further include:
- the first OpenFlow switch performs an action of establishing the first connection, where the action includes: controlling, according to the type information of the first connection, and parameters related to the OpenFlow controller in the parameters of the first connection to the OpenFlow
- the device initiates a setup request for the first connection.
- FIG. 7 is a flowchart of a method for sending a message according to an embodiment of the present invention, where the method includes:
- the OpenFlow controller receives the first message sent by the first OpenFlow switch.
- the open flow controller determines, according to the first message, that the first open flow switch belongs to the open flow controller, the open flow controller sends a first response message to the first open flow switch, where the first The response message corresponds to the first message.
- the OpenFlow controller sends a second message to the first OpenFlow switch, where the second message includes type information of the first connection and parameters related to the OpenFlow controller in the parameters of the first connection, where A connection is a connection of the first open flow switch to be established to the open flow controller.
- the OpenFlow controller receives a second response message sent by the first OpenFlow switch, where the second response message includes a parameter related to the first OpenFlow switch in the parameter of the first connection, where the second response is The message corresponds to the second message.
- the OpenFlow controller In the scenario where the OpenFlow controller initiates the setup request of the first connection, the OpenFlow controller needs to know the parameters related to the first OpenFlow switch in the parameters of the first connection, so as to facilitate the OpenFlow controller and the first OpenFlow.
- the switch communicates.
- the parameters related to the first OpenFlow switch in the parameters of the first connection include the first OpenFlow switch.
- the foregoing OpenFlow controller may further receive the foregoing second response message by:
- the relay agent device Before the second response message arrives at the OpenFlow controller, it may first reach the relay agent device in 101. After receiving the second response message, the relay agent device may forward the second response message to the open flow controller in a unicast manner. For specific implementation, please see 101 Off description.
- the method may further include:
- the OpenFlow controller performs an action of establishing the first connection, where the action includes, according to the type information of the first connection, the parameter of the first connection, related to the first OpenFlow switch, to the first OpenFlow switch.
- the parameter and the first connection parameter are responsive to the establishment request of the first connection initiated by the parameter related to the open flow controller.
- the first open flow switch may obtain type information of the first connection and parameters related to the open flow controller in the parameters of the first connection, so the establishment request of the first connection may be initiated by the first open flow switch.
- the method may further include:
- the OpenFlow controller performs an action of establishing the first connection, where the action includes: according to the type information of the first connection, parameters related to the first OpenFlow switch in the parameters of the first connection, and the first connection
- the parameter related to the OpenFlow controller in the parameter of the parameter initiates the establishment request of the first connection to the first OpenFlow switch.
- the open flow controller may obtain type information of the first connection and parameters related to the first open flow switch among the parameters of the first connection, so the establishment request of the first connection may be initiated by the open flow controller.
- the establishment request of the first connection in this embodiment may be initiated by the open flow controller.
- FIG. 8 is a flowchart of a method for receiving a message according to an embodiment of the present invention, where the method includes:
- the first OpenFlow switch sends a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, the first OpenFlow switch belongs to the OpenFlow controller.
- the OpenFlow controller sends a first response message to the first OpenFlow switch, where the first response message corresponds to the first message.
- the first OpenFlow switch receives the first response message.
- the first OpenFlow switch receives a second message sent by the OpenFlow controller, where the second message includes type information of the first connection and parameters related to the OpenFlow controller in the parameters of the first connection, where The first connection is a connection of the first open flow switch to be established to the open flow controller.
- the first open flow switch sends a second response message to the open flow controller, where the second response message includes a parameter related to the first open flow switch in the parameter of the first connection, the second response message Corresponds to the second message.
- the method may further include:
- the first OpenFlow switch performs an action of establishing the first connection, where the action includes: according to the type information of the first connection, parameters related to the first OpenFlow switch in the parameters of the first connection, and the first The parameters related to the OpenFlow controller in the connected parameters initiate a setup request for the first connection to the OpenFlow controller.
- the method may further include:
- the first OpenFlow switch performs an action of establishing the first connection, where the action includes: according to the type information of the first connection, parameters related to the first OpenFlow switch in the parameters of the first connection, and the first The parameters related to the OpenFlow controller in the connected parameters initiate a setup request for the first connection to the OpenFlow controller.
- FIG. 9 is a flowchart of a method for sending a message according to an embodiment of the present invention, where the method includes:
- the OpenFlow controller receives the first message sent by the first OpenFlow switch.
- the open flow controller determines, according to the first message, that the first open flow switch belongs to the open flow controller, the open flow controller sends a first response message to the first open flow switch, where the first The response message corresponds to the first message.
- the OpenFlow controller receives the second message sent by the first OpenFlow switch, where the second message includes type information of the first connection and parameters related to the first OpenFlow switch in the parameters of the first connection.
- the first connection is a connection between the first open flow switch to be established and the open flow controller.
- the second message in this embodiment is sent by the first open flow switch.
- the second message includes type information of the first connection and parameters related to the first open flow switch in the parameters of the first connection.
- the OpenFlow controller sends a second response message to the first OpenFlow switch, where the second response message includes parameters related to the OpenFlow controller in the parameters of the first connection.
- the second response message in this embodiment is sent by the open flow controller.
- the second message includes type information of the first connection and parameters of the first connection that are related to the open flow controller.
- the relay agent device in 101 may be reached first. After receiving the second response message, the relay agent device may The broadcasted form forwards the second response message to the first open flow switch.
- the method may further include:
- the OpenFlow controller performs an action of establishing the first connection, where the action includes: according to the type information of the first connection, parameters related to the first OpenFlow switch in the parameters of the first connection, and the first connection
- the parameter related to the OpenFlow controller in the parameter of the parameter initiates the establishment request of the first connection to the first OpenFlow switch.
- the method may further include:
- the OpenFlow controller performs an action of establishing the first connection, where the action includes, according to the type information of the first connection, the parameter of the first connection, related to the first OpenFlow switch, to the first OpenFlow switch.
- the parameter and the first connection parameter are responsive to the establishment request of the first connection initiated by the parameter related to the open flow controller.
- FIG. 10 is a flow chart of a method for establishing a connection according to an embodiment of the present invention, where the method includes:
- the first OpenFlow switch sends a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, the OpenFlow control
- the device sends a first response message to the first open flow switch, where the first response message corresponds to the first message.
- the first OpenFlow switch receives the first response message.
- the first open flow switch sends a second message to the open flow controller, where the second The message includes the type information of the first connection and the parameter related to the first open flow switch in the parameter of the first connection, where the first connection is a connection between the first open flow switch to be established and the open flow controller.
- the first OpenFlow switch receives a second response message sent by the OpenFlow controller, where the second response message includes parameters related to the OpenFlow controller in parameters of the first connection.
- the method further includes:
- the first open flow switch performs an action of establishing the first connection, where the action includes: configuring, by the open flow controller, information about the type of the first connection, and the parameter of the first connection, related to the first open flow switch.
- the parameter and the first connection parameter are responsive to the establishment request of the first connection initiated by the parameter related to the open flow controller.
- the method further includes:
- the first open flow switch performs an action of establishing the first connection, where the action includes, according to the type information of the first connection, the parameter of the first connection is related to the first open flow switch
- the parameter and the first connection parameter are responsive to the establishment request of the first connection initiated by the parameter related to the open flow controller.
- FIG. 11 is a schematic structural diagram of an OpenFlow controller according to an embodiment of the present invention, including:
- Receiver 1101 and transmitter 1102 are Receiver 1101 and transmitter 1102;
- the receiver 1101 is configured to receive a first message sent by the first OpenFlow switch.
- the transmitter 1102 includes a determining unit 1103 and a sending unit 1104;
- the determining unit 1103 is configured to determine, according to the first message, whether the first open flow switch belongs to the open flow controller;
- the sending unit 1104 is configured to: when the determining unit 1103 determines that the first open flow switch belongs to the open flow controller, send a first response message to the first open flow switch, where the first response message includes the first connection Type information and a parameter related to the OpenFlow controller in the parameter of the first connection, where the first connection is a connection between the first OpenFlow switch and the OpenFlow controller to be established, and the first response message corresponds to The first message.
- the determining unit 1103 specifically includes a detecting subunit and a first determining subunit
- the detecting subunit is configured to detect whether the database includes an identifier of the first OpenFlow switch, where the first message includes an identifier of the first OpenFlow switch, and the database includes an identifier of an OpenFlow switch that is managed by the OpenFlow controller;
- the first determining subunit is configured to determine that the first open flow switch belongs to the open flow controller when the detecting subunit detects that the database includes the identifier of the first open flow switch.
- the determining unit 1103 specifically includes a determining subunit and a second determining subunit
- the determining subunit is configured to determine whether the OpenFlow controller corresponding to the identifier of the OpenFlow controller is the OpenFlow controller, where the first message includes an identifier of the OpenFlow controller;
- the second determining subunit is configured to: when the determining subunit determines that the open flow controller corresponding to the identifier of the open flow controller is the open flow controller, determine that the first open flow switch belongs to the open flow controller .
- the receiver 1101 includes a first receiving subunit
- the first receiving subunit is configured to receive, by the control channel, the first message that is sent by the second OpenFlow switch and is sent by the first OpenFlow switch in a broadcast form.
- the receiver 1101 includes a second receiving subunit
- the second receiving subunit is configured to receive, by using the control channel, the first message that is sent by the second OpenFlow switch and is sent by the first OpenFlow switch in a multicast manner, where the OpenFlow controller is corresponding to the multicast Member of a multicast group.
- the open flow controller also includes an execution unit,
- the executing unit is configured to perform an action of establishing the first connection, where the action includes: initiating, for the first open flow switch, the type information of the first connection and the parameter related to the OpenFlow controller in the parameter of the first connection The establishment request of the first connection is responded.
- the OpenFlow controller provided in this embodiment can be implemented by the method provided in Embodiment 1.
- FIG. 12 is a schematic structural diagram of a first open flow switch according to an embodiment of the present invention, including:
- the transmitter 1201 is configured to send a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, the OpenFlow controller Sending a first response message to the first open flow switch, where the first response message includes type information of the first connection and parameters related to the OpenFlow controller in the parameters of the first connection, where the first connection is to be established
- the first open flow switch is connected to the open flow controller, and the first response message corresponds to the first message;
- the receiver 1202 is configured to receive the first response message.
- the transmitter specifically includes a first sending subunit
- the first sending subunit is configured to send the first message in a broadcast manner, so that after the second open flow switch receives the first message, forwarding the first flow message to the open flow controller through the control channel The first message.
- the transmitter specifically includes a second sending subunit
- the second sending subunit is configured to send the first message in a multicast manner, so that after the second OpenFlow switch receives the first message, the first message is forwarded to the OpenFlow controller by using a control channel, where The OpenFlow controller is a member of the multicast group corresponding to the multicast.
- the first open flow switch further includes an execution unit,
- the execution unit is configured to perform an action of establishing the first connection, the action comprising: initiating the opening flow controller according to type information of the first connection and parameters related to the open flow controller in parameters of the first connection The establishment request of the first connection.
- the first open flow switch provided in this embodiment can be implemented by the method provided in the second embodiment.
- FIG. 13 is a schematic structural diagram of an OpenFlow controller according to an embodiment of the present invention, including:
- Receiver 1301 and transmitter 1302 are Receiver 1301 and transmitter 1302;
- the receiver 1301 is configured to receive a first message sent by the first open flow switch;
- the transmitter 1302 includes a determining unit 1303 and a sending unit 1304;
- the determining unit 1303 is configured to determine, according to the first message, whether the first open flow switch belongs to the open flow controller;
- the sending unit 1304 is configured to: when the determining unit 1303 determines that the first open flow switch belongs to the open flow controller, send a first response message to the first open flow switch, where the first response message corresponds to the first a message;
- the receiver 1301 is further configured to receive a second message sent by the first open flow switch, where the The second message includes the type information of the first connection and the parameter related to the first open flow switch in the parameter of the first connection, where the first connection is a connection between the first open flow switch to be established and the open flow controller. .
- the determining unit 1303 specifically includes a detecting subunit and a first determining subunit
- the detecting subunit is configured to detect whether the database includes an identifier of the first OpenFlow switch, where the first message includes an identifier of the first OpenFlow switch, and the database includes an identifier of an OpenFlow switch that is managed by the OpenFlow controller;
- the first determining subunit is configured to determine that the first open flow switch belongs to the open flow controller when the detecting subunit detects that the database includes the identifier of the first open flow switch.
- the determining unit specifically includes a determining subunit and a second determining subunit
- the determining subunit is configured to determine whether the OpenFlow controller corresponding to the identifier of the OpenFlow controller is the OpenFlow controller, where the first message includes an identifier of the OpenFlow controller;
- the second determining subunit is configured to: when the determining subunit determines that the open flow controller corresponding to the identifier of the open flow controller is the open flow controller, determine that the first open flow switch belongs to the open flow controller .
- the receiver includes a first receiving subunit
- the first receiving subunit is configured to receive, by the control channel, the first message that is sent by the second OpenFlow switch and is sent by the first OpenFlow switch in a broadcast form.
- the receiver includes a second receiving subunit
- the second receiving subunit is configured to receive, by using the control channel, the first message that is sent by the second OpenFlow switch and is sent by the first OpenFlow switch in a multicast manner, where the OpenFlow controller is corresponding to the multicast Member of a multicast group.
- the open flow controller also includes an execution unit,
- the execution unit is configured to perform an action of establishing the first connection, where the action includes: according to the type information of the first connection and parameters related to the first open flow switch in the parameters of the first connection, to the first open flow switch Initiating a setup request for the first connection.
- the OpenFlow controller provided in this embodiment can be implemented by the method provided in Embodiment 3.
- FIG. 14 is a schematic structural diagram of a first open flow switch according to an embodiment of the present invention, including:
- the transmitter 1401 is configured to send a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, the OpenFlow controller Sending a first response message to the first open flow switch, where the first response message corresponds to the first message;
- the receiver 1402 is configured to receive the first response message.
- the transmitter 1401 is further configured to send, to the OpenFlow controller, a second message, where the second message includes type information of the first connection and parameters related to the first OpenFlow switch in the parameters of the first connection, where the A connection is a connection of the first open flow switch to be established to the open flow controller.
- the transmitter 1401 specifically includes a first sending subunit
- the first sending subunit is configured to send the first message in a broadcast manner, so that after the second OpenFlow switch receives the first message, the first message is forwarded to the OpenFlow controller by using a control channel.
- the transmitter 1401 specifically includes a second sending subunit
- the second sending subunit is configured to send the first message in a multicast manner, so that after the second OpenFlow switch receives the first message, the first message is forwarded to the OpenFlow controller by using a control channel, where the first message is opened.
- the flow controller is a member of the multicast group corresponding to the multicast.
- the first open flow switch further includes an execution unit,
- the executing unit is configured to perform an action of establishing the first connection, where the action includes: initiating, by the OpenFlow controller, the type information of the first connection and the parameter related to the first OpenFlow switch in the parameter of the first connection The establishment request of the first connection is responded.
- the first open flow switch provided in this embodiment can be implemented by the method provided in the fourth embodiment.
- FIG. 15 is a schematic structural diagram of an OpenFlow controller according to an embodiment of the present invention, including:
- Receiver 1501 and transmitter 1502 are Receiver 1501 and transmitter 1502;
- the receiver 1501 is configured to receive a first message sent by the first open flow switch;
- the transmitter 1502 includes a determining unit 1503 and a sending unit 1504;
- the determining unit 1503 is configured to determine, according to the first message, whether the first open flow switch belongs to the open flow controller;
- the sending unit 1504 is configured to: when the determining unit 1503 determines that the first open flow switch belongs to the open flow controller, send a first response message to the first open flow switch, where the first response message corresponds to the first a message;
- the transmitter 1502 is further configured to send, to the first open flow switch, a second message, where the second message includes type information of the first connection, and the parameter of the first connection is associated with the open flow controller.
- the closed parameter, the first connection is a connection between the first open flow switch to be established and the open flow controller.
- the determining unit 1503 specifically includes a detecting subunit and a first determining subunit
- the detecting subunit is configured to detect whether the database includes an identifier of the first OpenFlow switch, where the first message includes an identifier of the first OpenFlow switch, and the database includes an identifier of an OpenFlow switch that is managed by the OpenFlow controller;
- the first determining subunit is configured to determine that the first open flow switch belongs to the open flow controller when the detecting subunit detects that the database includes the identifier of the first open flow switch.
- the determining unit 1503 specifically includes a determining subunit and a second determining subunit
- the determining subunit is configured to determine whether the OpenFlow controller corresponding to the identifier of the OpenFlow controller is the OpenFlow controller, where the first message includes an identifier of the OpenFlow controller;
- the second determining subunit is configured to: when the determining subunit determines that the open flow controller corresponding to the identifier of the open flow controller is the open flow controller, determine that the first open flow switch belongs to the open flow controller .
- the receiver 1501 includes a first receiving subunit
- the first receiving subunit is configured to receive, by the control channel, the first message that is sent by the second OpenFlow switch and is sent by the first OpenFlow switch in a broadcast form.
- the receiver 1501 includes a second receiving subunit
- the second receiving subunit is configured to receive, by using the control channel, the first message that is sent by the second OpenFlow switch and is sent by the first OpenFlow switch in a multicast manner, where the OpenFlow controller is corresponding to the multicast Member of a multicast group.
- the open flow controller also includes an execution unit,
- the executing unit is configured to perform an action of establishing the first connection, where the action includes: initiating, for the first open flow switch, the type information of the first connection and the parameter related to the OpenFlow controller in the parameter of the first connection The establishment request of the first connection is responded.
- the OpenFlow controller provided in this embodiment can be implemented by the method provided in Embodiment 5.
- FIG. 16 is a schematic structural diagram of a first open flow switch according to an embodiment of the present invention, including:
- Transmitter 1601 and receiver 1602 are Transmitter 1601 and receiver 1602;
- the transmitter 1601 is configured to send a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, the OpenFlow controller Sending a first response message to the first open flow switch, where the first response message corresponds to the first message;
- the receiver 1602 is configured to receive the first response message.
- the receiver 1602 is further configured to receive a second message sent by the OpenFlow controller, where the second message includes type information of the first connection and parameters related to the OpenFlow controller in the parameters of the first connection, where A connection is a connection of the first open flow switch to be established to the open flow controller.
- the transmitter 1601 specifically includes a first sending subunit
- the first sending subunit is configured to send the first message in a broadcast manner, so that after the second open flow switch receives the first message, the first message is forwarded to the open flow controller through the control channel.
- the transmitter 1601 specifically includes a second sending subunit
- the second sending subunit is configured to send the first message in a multicast manner, so that after the second OpenFlow switch receives the first message, the first message is forwarded to the OpenFlow controller by using a control channel, where the first message is opened.
- the flow controller is a member of the multicast group corresponding to the multicast.
- the first open flow switch further includes an execution unit, configured to perform an action of establishing the first connection, the action including: according to the type information of the first connection and the parameter of the first connection and the open flow controller The relevant parameters initiate a setup request for the first connection to the open flow controller.
- the first open flow switch provided in this embodiment can be implemented by the method provided in Embodiment 6.
- FIG. 17 is a schematic structural diagram of an OpenFlow controller according to an embodiment of the present invention, including:
- Receiver 1701 and transmitter 1702 are Receiver 1701 and transmitter 1702;
- the receiver 1701 is configured to receive a first message sent by the first open flow switch;
- the transmitter 1702 includes a determining unit 1703 and a sending unit 1704;
- the determining unit 1703 is configured to determine, according to the first message, whether the first open flow switch belongs to the open flow controller;
- the sending unit 1704 is configured to: when the determining unit 1703 determines that the first open flow switch belongs to the open flow controller, send a first response message to the first open flow switch, where the first response message corresponds to the first a message;
- the transmitter 1702 is further configured to send, to the first OpenFlow switch, a second message, where the second message includes type information of the first connection and parameters related to the OpenFlow controller in parameters of the first connection, where a first open flow switch to be established and the open flow controller Connection;
- the receiver 1701 is further configured to receive a second response message sent by the first open flow switch, where the second response message includes a parameter related to the first open flow switch in the parameter of the first connection, the second response The message corresponds to the second message.
- the determining unit 1703 specifically includes a detecting subunit and a first determining subunit
- the detecting subunit is configured to detect whether the database includes an identifier of the first OpenFlow switch, where the first message includes an identifier of the first OpenFlow switch, and the database includes an identifier of an OpenFlow switch that is managed by the OpenFlow controller;
- the first determining subunit is configured to determine that the first open flow switch belongs to the open flow controller when the detecting subunit detects that the database includes the identifier of the first open flow switch.
- the determining unit 1703 specifically includes a determining subunit and a second determining subunit
- the determining subunit is configured to determine whether the OpenFlow controller corresponding to the identifier of the OpenFlow controller is the OpenFlow controller, where the first message includes an identifier of the OpenFlow controller;
- the second determining subunit is configured to: when the determining subunit determines that the open flow controller corresponding to the identifier of the open flow controller is the open flow controller, determine that the first open flow switch belongs to the open flow controller .
- the receiver 1701 includes a first receiving subunit
- the first receiving subunit is configured to receive, by the control channel, the first message that is sent by the second OpenFlow switch and is sent by the first OpenFlow switch in a broadcast form.
- the receiver 1701 includes a second receiving subunit
- the second receiving subunit is configured to receive, by using the control channel, the first message that is sent by the second OpenFlow switch and is sent by the first OpenFlow switch in a multicast manner, where the OpenFlow control is performed.
- the device is a member of the multicast group corresponding to the multicast.
- the open flow controller also includes an execution unit,
- the executing unit is configured to perform an action of establishing the first connection, where the action includes, according to the type information of the first connection, the parameter related to the first open flow switch in the parameter of the first connection And responding to the establishment request of the first connection initiated by the parameter related to the OpenFlow controller in the parameter of the first connection.
- the open flow controller also includes an execution unit,
- the execution unit is configured to perform an action of establishing the first connection, where the action includes: according to type information of the first connection, parameters related to the first open flow switch in parameters of the first connection, and parameters of the first connection.
- the parameter related to the OpenFlow controller initiates the establishment request of the first connection to the first OpenFlow switch.
- the OpenFlow controller provided in this embodiment can be implemented by the method provided in Embodiment 7.
- FIG. 18 is a schematic structural diagram of a first open flow switch according to an embodiment of the present invention, including:
- the transmitter 1801 is configured to send a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, the OpenFlow controller Sending a first response message to the first open flow switch, where the first response message corresponds to the first message;
- the receiver 1802 is configured to receive the first response message.
- the receiver 1802 is further configured to receive a second message sent by the OpenFlow controller, where the second message is The information includes the type information of the first connection and the parameter related to the open flow controller in the parameter of the first connection, where the first connection is a connection between the first open flow switch to be established and the open flow controller;
- the transmitter 1801 is further configured to send a second response message to the OpenFlow controller, where the second response message includes a parameter related to the first OpenFlow switch in the parameter of the first connection, where the second response message corresponds to In the second message.
- the transmitter 1801 specifically includes a first sending subunit
- the first sending subunit is configured to send the first message in a broadcast manner, so that after the second open flow switch receives the first message, the first message is forwarded to the open flow controller through the control channel.
- the transmitter 1801 specifically includes a second sending subunit
- the second sending subunit is configured to send the first message in a multicast manner, so that after the second OpenFlow switch receives the first message, the first message is forwarded to the OpenFlow controller by using a control channel, where the first message is opened.
- the flow controller is a member of the multicast group corresponding to the multicast.
- the first open flow switch further includes an execution unit,
- the execution unit is configured to perform an action of establishing the first connection, where the action includes: according to type information of the first connection, parameters related to the first open flow switch in parameters of the first connection, and parameters of the first connection.
- the parameter related to the OpenFlow controller initiates the establishment request of the first connection to the OpenFlow controller.
- the first open flow switch further includes an execution unit,
- the execution unit is configured to perform an action of establishing the first connection, where the action includes: selecting, according to the type information of the first connection, the parameter of the first connection, and the first open flow to the OpenFlow controller.
- the switch-related parameters and the first connection's parameters are responsive to the establishment request of the first connection initiated by the parameters related to the OpenFlow controller.
- the first open flow switch provided in this embodiment can be implemented by the method provided in Embodiment 8.
- the eighth embodiment please refer to the eighth embodiment.
- FIG. 19 is a schematic structural diagram of an OpenFlow controller according to an embodiment of the present invention, including:
- Receiver 1901 and transmitter 1902
- the receiver 1901 is configured to receive a first message sent by the first open flow switch;
- the transmitter 1902 includes a determining unit 1903 and a sending unit 1904;
- the determining unit 1903 is configured to determine, according to the first message, whether the first open flow switch belongs to the open flow controller;
- the sending unit 1904 is configured to: when the determining unit 1903 determines that the first open flow switch belongs to the open flow controller, send a first response message to the first open flow switch, where the first response message corresponds to the first a message;
- the receiver 1901 is further configured to receive a second message sent by the first open flow switch, where the second message includes type information of the first connection and parameters related to the first open flow switch in parameters of the first connection,
- the first connection is a connection between the first open flow switch to be established and the open flow controller;
- the transmitter 1902 is further configured to send a second response message to the first OpenFlow switch, where the second response message includes parameters related to the OpenFlow controller in the parameters of the first connection.
- the determining unit 1903 specifically includes a detecting subunit and a first determining subunit.
- the detecting subunit is configured to detect whether the database includes an identifier of the first open flow switch, where the first message includes an identifier of the first open flow switch, where The database contains the open flow control The identity of the open flow switch governed by the device;
- the first determining subunit is configured to determine that the first open flow switch belongs to the open flow controller when the detecting subunit detects that the database includes the identifier of the first open flow switch.
- the determining unit 1903 specifically includes a determining subunit and a second determining subunit
- the determining subunit is configured to determine whether the OpenFlow controller corresponding to the identifier of the OpenFlow controller is the OpenFlow controller, where the first message includes an identifier of the OpenFlow controller;
- the second determining subunit is configured to: when the determining subunit determines that the open flow controller corresponding to the identifier of the open flow controller is the open flow controller, determine that the first open flow switch belongs to the open flow controller .
- the receiver 1901 includes a first receiving subunit
- the first receiving subunit is configured to receive, by the control channel, the first message that is sent by the second OpenFlow switch and is sent by the first OpenFlow switch in a broadcast form.
- the receiver 1901 includes a second receiving subunit
- the second receiving subunit is configured to receive, by using the control channel, the first message that is sent by the second OpenFlow switch and is sent by the first OpenFlow switch in a multicast manner, where the OpenFlow controller is corresponding to the multicast Member of a multicast group.
- the open flow controller also includes an execution unit,
- the execution unit is configured to perform an action of establishing the first connection, where the action includes: according to type information of the first connection, parameters related to the first open flow switch in parameters of the first connection, and parameters of the first connection.
- the parameter related to the OpenFlow controller initiates the establishment request of the first connection to the first OpenFlow switch.
- the open flow controller also includes an execution unit,
- the executing unit is configured to perform an action of establishing the first connection, where the action includes, according to the type information of the first connection, the parameter related to the first open flow switch in the parameter of the first connection And responding to the establishment request of the first connection initiated by the parameter related to the OpenFlow controller in the parameter of the first connection.
- the OpenFlow controller provided in this embodiment can be implemented by the method provided in Embodiment 9.
- FIG. 20 is a schematic structural diagram of a first open flow switch according to an embodiment of the present invention, including:
- the transmitter 2001 is configured to send a first message to the OpenFlow controller, so that when the OpenFlow controller determines, according to the first message, that the first OpenFlow switch belongs to the OpenFlow controller, the OpenFlow controller Sending a first response message to the first open flow switch, where the first response message corresponds to the first message;
- the receiver 2002 is configured to receive the first response message.
- the transmitter 2001 is further configured to send, to the OpenFlow controller, a second message, where the second message includes type information of the first connection and parameters related to the first OpenFlow switch in the parameters of the first connection, where the a connection is a connection between the first open flow switch to be established and the open flow controller;
- the receiver 2002 is further configured to receive a second response message sent by the OpenFlow controller, where the second response message includes parameters related to the OpenFlow controller in parameters of the first connection.
- the transmitter 2001 specifically includes a first sending subunit
- the first sending subunit is configured to send the first message in a broadcast manner, so as to facilitate the second opening
- the release switch forwards the first message to the open flow controller through the control channel.
- the transmitter 2001 specifically includes a second sending subunit
- the second sending subunit is configured to send the first message in a multicast manner, so that after the second OpenFlow switch receives the first message, the first message is forwarded to the OpenFlow controller by using a control channel, where the first message is opened.
- the flow controller is a member of the multicast group corresponding to the multicast.
- the first open flow switch further includes an execution unit,
- the execution unit is configured to perform an action of establishing the first connection, where the action includes: selecting, by the OpenFlow controller, type information of the first connection, parameters related to the first OpenFlow switch, and parameters of the first connection, and The setting of the first connection initiated by the parameter related to the OpenFlow controller in the parameter of the first connection is responsive.
- the first open flow switch further includes an execution unit,
- the execution unit is configured to perform an action of establishing the first connection, where the action includes: according to type information of the first connection, parameters related to the first open flow switch in parameters of the first connection, and parameters of the first connection.
- the parameter related to the OpenFlow controller initiates the establishment request of the first connection to the OpenFlow controller.
- the first open flow switch provided by this embodiment can be implemented by the method provided in Embodiment 10.
- Embodiments 1 through 20 relate to the first OpenFlow switch and the second OpenFlow switch.
- the "first” in the “first open flow switch” is only used to emphasize that the "first open flow switch” and the “second open flow switch” are not the same device.
- the “second” in the “second open flow switch” is only used to emphasize the “second open flow switch” and The “first open flow switch” is not the same device.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例提供了一种发送消息的方法,包括:开放流控制器接收第一开放流交换机发送的第一消息;当该开放流控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖时,该开放流控制器向该第一开放流交换机发送第一响应消息,该第一响应消息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有关的参数,该第一连接为待建立的该第一开放流交换机与该开放流控制器的连接,该第一响应消息对应于该第一消息。此外,本发明实施例还提供了其他发送消息的方法、接收消息方法、开放流控制器及第一开放流交换机。通过本发明实施例提出的技术方案,开放流交换机或开放流控制器可以自动获取待建立的连接的参数。
Description
发送消息的方法、 接收消息方法、 开放流控制器及第一开放流交换机 技术领域 本发明实施例涉及通信技术, 尤其涉及发送消息的方法、 接收消息方 法、 开放流控制器及第一开放流交换机。
背景技术 开放流(OpenFlow )是一种新型网络模型。 开放流网络中, 可以包括 开放流交换机以及开放流控制器。 开放流交换机与开放流控制器通信前, 需要建立开放流交换机与开放流控制器的连接。 为实现连接的建立, 可以 通过手工配置待建立的连接的参数。 待建立的连接的参数配置完成后, 开 放流交换机与开放流控制器根据待建立的连接的参数, 执行建立连接的动 作。
发明人发现现有技术存在如下问题:
手工配置待建立的连接的参数导致建立开放流交换机与开放流控制器 的连接的效率比较低, 不利于快速建立连接。
发明内容
本发明实施例提供的技术方案可以自动获取待建立的连接的参数。 开 放流交换机或开放流控制器可以根据自动获取的参数建立开放流交换机与 开放流控制器的连接。
一方面, 本发明实施例提供的一种发送消息的方法, 包括:
开放流控制器接收第一开放流交换机发送的第一消息;
当该开放流控制器根据该第一消息确定该第一开放流交换机属于该开 放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一响应 消息, 该第一响应消息包含第一连接的类型信息以及该第一连接的参数中 与该开放流控制器有关的参数, 该第一连接为待建立的该第一开放流交换 机与该开放流控制器的连接, 该第一响应消息对应于该第一消息。
另一方面, 本发明实施例提供的一种接收消息的方法, 包括: 第一开放流交换机向开放流控制器发送第一消息, 以便于当该开放流 控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖 时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响 应消息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制 器有关的参数, 该第一连接为待建立的待建立的该第一开放流交换机与该 开放流控制器的连接, 该第一响应消息对应于该第一消息;
该第一开放流交换机接收该第一响应消息。
另一方面, 本发明实施例提供的一种发送消息的方法, 包括: 开放流控制器接收第一开放流交换机发送的第一消息;
当该开放流控制器根据该第一消息确定该第一开放流交换机属于该开 放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一响应 消息, 该第一响应消息对应于该第一消息;
该开放流控制器接收该第一开放流交换机发送的第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该第一开放流交换 机有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控 制器的连接。
另一方面, 本发明实施例提供的一种接收消息的方法, 包括: 第一开放流交换机向开放流控制器发送第一消息, 以便于当该开放流 控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖 时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响 应消息对应于该第一消息;
该第一开放流交换机接收该第一响应消息;
该第一开放流交换机向该开放流控制器发送第二消息, 该第二消息包 含第一连接的类型信息以及该第一连接的参数中与该第一开放流交换机有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器
的连接。
另一方面, 本发明实施例提供的一种发送消息的方法, 包括: 开放流控制器接收第一开放流交换机发送的第一消息;
当该开放流控制器根据该第一消息确定该第一开放流交换机属于该开 放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一响应 消息, 该第一响应消息对应于该第一消息;
该开放流控制器向该第一开放流交换机发送第二消息, 该第二消息包 含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有关的 参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器的连 接。
另一方面, 本发明实施例提供的一种接收消息的方法, 包括: 第一开放流交换机向开放流控制器发送第一消息, 以便于当该开放流 控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖 时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响 应消息对应于该第一消息;
该第一开放流交换机接收该第一响应消息;
该第一开放流交换机接收该开放流控制器发送的第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器 的连接。
另一方面, 本发明实施例提供的一种发送消息的方法, 包括: 开放流控制器接收第一开放流交换机发送的第一消息;
当该开放流控制器根据该第一消息确定该第一开放流交换机属于该开 放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一响应 消息, 该第一响应消息对应于该第一消息;
该开放流控制器向该第一开放流交换机发送第二消息, 该第二消息包
含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有关的 参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器的连 接;
该开放流控制器接收该第一开放流交换机发送的第二响应消息, 该第 二响应消息中包含该第一连接的参数中与该第一开放流交换机有关的参 数, 该第二响应消息对应于该第二消息。
另一方面, 本发明实施例提供的一种接收消息的方法, 包括: 第一开放流交换机向开放流控制器发送第一消息, 以便于当该开放流 控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖 时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响 应消息对应于该第一消息;
该第一开放流交换机接收该第一响应消息;
该第一开放流交换机接收该开放流控制器发送的第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器 的连接;
该第一开放流交换机向该开放流控制器发送第二响应消息, 该第二响 应消息中包含该第一连接的参数中与该第一开放流交换机有关的参数, 该 第二响应消息对应于该第二消息。
另一方面, 本发明实施例提供的一种发送消息的方法, 包括: 开放流控制器接收第一开放流交换机发送的第一消息;
当该开放流控制器根据该第一消息确定该第一开放流交换机属于该开 放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一响应 消息, 该第一响应消息对应于该第一消息;
该开放流控制器接收该第一开放流交换机发送的第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该第一开放流交换
机有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控 制器的连接;
该开放流控制器向该第一开放流交换机发送第二响应消息, 该第二响 应消息包含该第一连接的参数中与该开放流控制器有关的参数。
另一方面, 本发明实施例提供的一种接收消息的方法, 包括: 第一开放流交换机向开放流控制器发送第一消息, 以便于当该开放流 控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖 时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响 应消息对应于该第一消息;
该第一开放流交换机接收该第一响应消息;
该第一开放流交换机向该开放流控制器发送第二消息, 该第二消息包 含第一连接的类型信息以及该第一连接的参数中与该第一开放流交换机有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器 的连接;
该第一开放流交换机接收该开放流控制器发送的第二响应消息, 该第 二响应消息包含该第一连接的参数中与该开放流控制器有关的参数。
另一方面, 本发明实施例提供的一种开放流控制器, 包括:
接收器以及发送器;
该接收器用于接收第一开放流交换机发送的第一消息;
该发送器包括确定单元以及发送单元;
该确定单元用于根据该第一消息确定该第一开放流交换机是否属于该 开放流控制器管辖;
该发送单元用于当该确定单元确定该第一开放流交换机属于该开放流 控制器管辖时, 向该第一开放流交换机发送第一响应消息, 该第一响应消 息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器
的连接, 该第一响应消息对应于该第一消息。
另一方面, 本发明实施例提供的一种第一开放流交换机, 包括: 发送器, 用于向开放流控制器发送第一消息, 以便于当该开放流控制 器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响应消 息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器 的连接, 该第一响应消息对应于该第一消息;
接收器, 用于接收该第一响应消息。
另一方面, 本发明实施例提供的一种开放流控制器, 包括:
接收器以及发送器;
该接收器用于接收第一开放流交换机发送的第一消息;
该发送器包括确定单元以及发送单元;
该确定单元用于根据该第一消息确定该第一开放流交换机是否属于该 开放流控制器管辖;
该发送单元用于, 当该确定单元确定该第一开放流交换机属于该开放 流控制器管辖时, 向该第一开放流交换机发送第一响应消息, 该第一响应 消息对应于该第一消息;
该接收器还用于接收该第一开放流交换机发送的第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该第一开放流交换 机有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控 制器的连接。
另一方面, 本发明实施例提供的一种第一开放流交换机, 包括: 发送器以及接收器;
该发送器用于向开放流控制器发送第一消息, 以便于当该开放流控制 器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖时,
该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响应消 息对应于该第一消息;
该接收器用于接收该第一响应消息;
该发送器还用于向该开放流控制器发送第二消息, 该第二消息包含第 一连接的类型信息以及该第一连接的参数中与该第一开放流交换机有关的 参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器的连 接。
另一方面, 本发明实施例提供的一种开放流控制器, 包括:
接收器以及发送器;
该接收器用于接收第一开放流交换机发送的第一消息;
该发送器包括确定单元以及发送单元;
该确定单元用于根据该第一消息确定该第一开放流交换机是否属于该 开放流控制器管辖;
该发送单元用于, 当该确定单元确定该第一开放流交换机属于该开放 流控制器管辖时, 向该第一开放流交换机发送第一响应消息, 该第一响应 消息对应于该第一消息;
该发送器还用于向该第一开放流交换机发送第二消息, 该第二消息包 含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有关的 参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器的连 接。
另一方面, 本发明实施例提供的一种第一开放流交换机, 包括: 发送器以及接收器;
该发送器用于向开放流控制器发送第一消息, 以便于当该开放流控制 器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响应消 息对应于该第一消息;
该接收器用于接收该第一响应消息;
该接收器还用于接收该开放流控制器发送的第二消息, 该第二消息包 含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有关的 参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器的连 接。
另一方面, 本发明实施例提供的一种开放流控制器, 包括:
接收器以及发送器;
该接收器用于接收第一开放流交换机发送的第一消息;
该发送器包括确定单元以及发送单元;
该确定单元用于根据该第一消息确定该第一开放流交换机是否属于该 开放流控制器管辖;
该发送单元用于, 当该确定单元确定该第一开放流交换机属于该开放 流控制器管辖时, 向该第一开放流交换机发送第一响应消息, 该第一响应 消息对应于该第一消息;
该发送器还用于向该第一开放流交换机发送第二消息, 该第二消息包 含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有关的 参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器的连 接;
该接收器还用于接收该第一开放流交换机发送的第二响应消息, 该第 二响应消息中包含该第一连接的参数中与该第一开放流交换机有关的参 数, 该第二响应消息对应于该第二消息。
另一方面, 本发明实施例提供的一种第一开放流交换机, 包括: 发送器以及接收器;
该发送器用于向开放流控制器发送第一消息, 以便于当该开放流控制 器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响应消
息对应于该第一消息;
该接收器用于接收该第一响应消息;
该接收器还用于接收该开放流控制器发送的第二消息, 该第二消息包 含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有关的 参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器的连 接;
该发送器还用于向该开放流控制器发送第二响应消息, 该第二响应消 息中包含该第一连接的参数中与该第一开放流交换机有关的参数, 该第二 响应消息对应于该第二消息。
另一方面, 本发明实施例提供的一种开放流控制器, 包括:
接收器以及发送器;
该接收器用于接收第一开放流交换机发送的第一消息;
该发送器包括确定单元以及发送单元;
该确定单元用于根据该第一消息确定该第一开放流交换机是否属于该 开放流控制器管辖;
该发送单元用于, 当该确定单元确定该第一开放流交换机属于该开放 流控制器管辖时, 向该第一开放流交换机发送第一响应消息, 该第一响应 消息对应于该第一消息;
该接收器还用于接收该第一开放流交换机发送的第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该第一开放流交换 机有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控 制器的连接;
该发送器还用于向该第一开放流交换机发送第二响应消息, 该第二响 应消息包含该第一连接的参数中与该开放流控制器有关的参数。
另一方面, 本发明实施例提供的一种第一开放流交换机, 包括: 发送器以及接收器;
该发送器用于向开放流控制器发送第一消息, 以便于当该开放流控制 器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响应消 息对应于该第一消息;
该接收器用于接收该第一响应消息;
该发送器还用于向该开放流控制器发送第二消息, 该第二消息包含第 一连接的类型信息以及该第一连接的参数中与该第一开放流交换机有关的 参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器的连 接;
该接收器还用于接收该开放流控制器发送的第二响应消息, 该第二响 应消息包含该第一连接的参数中与该开放流控制器有关的参数。
可见, 通过本发明实施例提供的技术方案, 开放流交换机(或者开放 流控制器) 向开放流控制器(或者开放流交换机)发起连接建立请求前, 开放流交换机(或者开放流控制器)接收到对端发送的消息, 该消息中包 含了待建立的连接的参数中与对端有关的参数。
上述机制实现了对待建立的连接的参数的自动配置。 因此, 本发明实 施例提供的技术方案可以自动获取待建立的连接的参数。 开放流交换机或 开放流控制器可以根据自动获取的参数建立开放流交换机与开放流控制器 的连接。
附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例提供的一种发送消息的方法的流程图;
图 2是本发明实施例提供的一种接收消息的方法的流程图;
图 3是本发明实施例提供的另一种发送消息的方法的流程图
图 4是本发明实施例提供的另一种接收消息的方法的流程图
图 5是本发明实施例提供的另一种发送消息的方法的流程图
图 6是本发明实施例提供的另一种接收消息的方法的流程图
图 7是本发明实施例提供的另一种发送消息的方法的流程图
图 8是本发明实施例提供的另一种接收消息的方法的流程图
图 9是本发明实施例提供的另一种发送消息的方法的流程图
图 10是本发明实施例提供的另一种接收消息的方法的流程图; 图 11是本发明实施例提供的一种开放流控制器的结构示意图; 图 12是本发明实施例提供的一种第一开放流交换机的结构示意图; 图 13是本发明实施例提供的另一种开放流控制器的结构示意图; 图 14是本发明实施例提供的另一种第一开放流交换机的结构示意图; 图 15是本发明实施例提供的另一种开放流控制器的结构示意图; 图 16是本发明实施例提供的另一种第一开放流交换机的结构示意图; 图 17是本发明实施例提供的另一种开放流控制器的结构示意图; 图 18是本发明实施例提供的另一种第一开放流交换机的结构示意图; 图 19是本发明实施例提供的另一种开放流控制器的结构示意图; 图 20是本发明实施例提供的另一种第一开放流交换机的结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。
实施例一:
本发明实施例提供了一种发送消息的方法, 可以自动获取待建立的连
接的参数。参见图 1 ,图 1是本发明实施例提供的发送消息的方法的流程图, 该方法包括:
101 : 开放流控制器接收第一开放流交换机发送的第一消息。
开放流控制器 ( OpenFlow Controller ) 是开放流网络 ( OpenFlow Network ) 中的一种网络设备。 开放流控制器可以对开放流网络进行控制。 开放流控制器可以向开放流交换机下发流表。
开放流交换机 ( OpenFlow Switch )也是开放流网络中的一种网络设备。 开放流交换机可以根据流表转发报文。
关于开放流控制器、 开放流交换机以及开放流网络, 请参考标准制定 组织开放流网络基础 ( OpenFlow Networking Foundation, OFN )发布的《开 放流交换机规范》版本 1.0 ( OpenFlow Switch Specification 1.0 ) 。
第一开放流交换机向开放流控制器发送第一消息。
第一开放流交换机可以以广播形式发送该第一消息。 在这种场景下, 整个广播域都可以收到该第一消息。 开放流控制器位于该广播域。
第一开放流交换机可以以组播形式发送该第一消息。 在这种场景下, 所有组播组的成员都可以收到该第一消息。 当开放流控制器是该组播组的 成员时, 开放流控制器也可以收到第一开放流交换机以组播形式发送的第 一消息。 具体实现时, 第一开放流交换机可以根据网络创新的全球环境 ( Global Environment for Network Innovations, GENI )发布的开放;巟发现十办 议(OpenFlow Discovery Protocol, OFDP ) , 在第一开放流交换机的所有端 口上以组播形式发送第一消息。 开放流发现协议是基于链路层发现协议 ( Link Layer Discovery Protocol, LLDP ) 的十办议。
第一消息中可以包含源媒体访问控制 ( Media Access Control , MAC ) 协议地址, 源 MAC协议地址是第一开放流交换机的 MAC协议地址。 该第 一消息用于触发该开放流控制器根据该第一消息中的位置信息向该第一开 发流交换机发送响应消息。
开放流控制器可以通过下述方式接收第一消息:
第二开放流交换机与开放流控制器建立了控制通道 ( controller channel ) 。 第一开放流交换机通过广播方式或者组播方式发送第一消息。 其中, 当第一消息为广播时, 开放流控制器位于广播域; 当第一消息为组 播时, 开放流控制器为组播组的成员。 第一消息到达第二开放流交换机后, 第二开放流交换机可以通过控制通道将第一消息转发至开放流控制器。 关 于控制通道, 请参考 OFN发布的 《开放流交换机规范》版本 1.0。
上述方案可以达到以下技术效果:
在第一开放流交换机不知道开放流控制器的位置的情况下, 第一开放 流交换机可以通过广播方式或者组播方式发送第一消息。 第一消息可以随 着广播或者组播在整个广播域或者组播组内传播, 并最终到达开放流控制 器。 由于第一开放流交换机不知道开放流控制器的路径, 第一消息到达开 放流控制器可能需要较长的时间。
第二开放流交换机知道开放流控制器的路径, 因此第二开放流交换机 通过控制通道将第一消息转发至开放流控制器需要的时间可以相对较少。
开放流网络中, 开放流交换机与开放流控制器之间的链路可以存在中 继代理设备。 在这种场景下, 该中继代理设备与该开放流控制器之间具有 代理关系。 需要指出的是, 开放流交换机与开放流控制器之间的链路存在 的中继代理设备可以是一个, 也可以是多个。
中继代理设备具体实现时, 可以是开放流交换机, 也可以是路由器。 另外, 中继代理设备还可以是没有与开放流控制器建立控制通道的交换机。
中继代理设备与开放流控制器具有代理关系。 代理关系意味着该中继 代理设备接收到以组播或者广播形式发送的报文后, 可以通过单播的形式 将该报文转发至该中继代理设备所代理的开放流控制器。 具体实现时, 该 中继代理设备可以将该第一消息的广播地址或组播组地址替换为下一级中 继代理设备的地址, 并将修改后的第一消息转发至该下一级中继代理设备。
具体实现时, 该中继代理设备也可以将该第一消息的广播地址或组播组地 址替换为开放流控制器的地址, 并将修改后的第一消息转发至该开放流控 制器。
中继代理设备需要预先存储路径信息以及管辖清单。
关于预先存储的路径信息, 具体情况如下:
中继代理设备与该中继代理设备所代理的开放流控制器之间的链路没 有下一级中继代理设备时, 该中继代理设备预先存储中继代理设备到达所 代理的开放流控制器的路径信息, 该中继代理设备还需要预先存储返回开 放流交换机的路径信息。
中继代理设备与该中继代理设备所代理的开放流控制器之间的链路有 下一级中继代理设备时, 该中继代理设备预先存储中继代理设备到达下一 级中继代理设备的路径信息, 该下一级中继代理设备还需要预先存储返回 该中继代理设备的路径信息。
下一级中继代理设备属于中继代理设备。 具体地, 下一级中继代理设 备是指中继代理设备到达该中继代理设备所代理的开放流控制器需要经过 的下一台中继代理设备。
关于预先存储的管辖清单, 具体情况如下:
中继代理设备中预先存储了管辖清单。 管辖清单记录了中继代理设备 所代理的开放流控制器与该中继代理设备所代理的开放流控制器所管辖的 开放流交换机的对应关系。 管辖清单具体实现时, 可以是一个对应表。 该 对应表可以包括多个对应表表项。 每个对应表表项中包含开放流控制器的 标识以及该开放流控制器所管辖的开放流交换机的标识。
开放流控制器还可以通过中继代理设备接收第一消息。 下面分别提供 两个场景:
场景一: 开放流控制器与该开放流控制器所代理的开放流控制器之间 的链路不存在下一级中继代理设备。
具体实现时, 该中继代理设备接收到第一开放流交换机以组播或者广 播形式发送的第一消息。 该第一消息中包括该第一开放流交换机的标识。 该中继代理设备收到的该第一消息后, 根据该第一消息获得该第一开放流 交换机的标识。 该中继代理设备根据第一开放流交换机的标识, 在管辖清 单中查找到对该第一开放流交换机具有管辖权的开放流控制器。 如果管辖 清单中存在第一开放流交换机的标识, 则表明该中继代理设备与对第一开 放流交换机具有管辖权的开放流控制器具有代理关系。 该中继代理设备将 该第一消息转化为单播消息, 并根据保存的路径信息, 将该单播消息转发 至对该第一开放流交换机具有管辖权的开放流控制器。 如果管辖清单中不 存在第一开放流交换机的标识, 则表明该中继代理设备与对第一开放流交 换机具有管辖权的开放流控制器没有代理关系。 中继代理设备可以将第一 消息丟弃。
场景二: 开放流控制器与该开放流控制器所代理的开放流控制器之间 的链路存在下一级中继代理设备。
具体实现时, 该中继代理设备接收到第一开放流交换机以组播或者广 播形式发送的第一消息。 该第一消息中包括该第一开放流交换机的标识。 该中继代理设备收到的该第一消息后, 根据该第一消息获得该第一开放流 交换机的标识。 该中继代理设备根据第一开放流交换机的标识, 在管辖清 单中查找到对该第一开放流交换机具有管辖权的开放流控制器。 如果管辖 清单中存在第一开放流交换机的标识, 则表明该中继代理设备与对第一开 放流交换机具有管辖权的开放流控制器具有代理关系。 该中继代理设备将 该第一消息转化为单播消息, 并根据保存的路径信息, 将该单播消息转发 至下一级中继代理设备。 如果管辖清单中不存在第一开放流交换机的标识, 则表明该中继代理设备与对第一开放流交换机具有管辖权的开放流控制器 没有代理关系。 中继代理设备可以将第一消息丟弃。
在开放流网络中存在下一级中继代理设备的场景下, 中继代理设备可 以代理多个开放流控制器。 该中继代理设备保存上述多个开放流控制器中 的每个开放流控制器与所述每个开放流控制器所管辖的开放流交换机的对 应关系, 该对应关系包含了该开放流控制器标识与该开放流控制器所管辖 的开发流交换机标识。 该第一消息中可以包括该第一开放流交换机的标识。 该中继代理设备收到的该第一消息后, 可以根据该第一消息获得该第一开 放流交换机的标识。 该中继代理设备可以根据第一开放流交换机的标识, 在上述对应关系中查找到对该第一开放流交换机具有管辖权的开放流控制 器标识, 根据该开放流控制器标识进一步可以获得到达该开放流控制器的 下一级代理的路由。 该第一消息为广播消息或者组播消息, 该中继代理设 备可以将该广播消息或者组播消息转化为单播信息, 并将该单播消息转发 至对该第一开放流交换机具有管辖权的开放流控制器。 具体实现时, 请参 见上文中对开放流网络中具有下一级中继代理的场景的描述。
102: 当该开放流控制器根据该第一消息确定该第一开放流交换机属于 该开放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一 响应消息, 该第一响应消息包含第一连接的类型信息以及该第一连接的参 数中与该开放流控制器有关的参数, 该第一连接为待建立的该第一开放流 交换机与该开放流控制器的连接, 该第一响应消息对应于该第一消息。
开放流控制器可以根据该第一消息确定第一开放流交换机是否属于开 放流控制器管辖。 确定方法可以有多种, 本发明不作具体限定。 下文提供 了两种确定方法:
第一种确定方法:
开放流控制器可以访问包含了开放流控制器管辖的开放流交换机的标 识的数据库。 第一消息包含第一开放流交换机的标识。 当开放流控制器检 测到数据库包含第一开放流交换机的标识时, 开放流控制器确定第一开放
流交换机属于开放流控制器管辖。
第二种确定方法:
第一消息包含了该开放流控制器的标识。 当该开放流控制器判断出第 一消息中包含的该开放流控制器的标识对应的开放流控制器为该开放流控 制器时, 该开放流控制器确定第一开放流交换机属于开放流控制器管辖。
当开放流控制器根据第一消息确定第一开放流交换机属于开放流控制 器管辖时, 开放流控制器向第一开放流交换机发送第一响应消息。 第一响 应消息对应于第一消息。 具体实现时, 开放流控制器以单播形式向第一开 放流交换机发送第一响应消息。 在这种场景下, 第一响应消息的目的 MAC 协议地址为第一开放流交换机的 MAC协议地址。
第一响应消息到达该第一开放流交换机前, 可以先到达 101 中的中继代理 设备。 该中继代理设备收到该第一响应消息后, 可以以单播的形式将该第 一响应消息转发至该开放流控制器。 具体实现时, 请参见 101 中的有关描 述。
第一响应消息可以为待建立的第一开放流交换机与开放流控制器的连 接提供参数。 第一开放流交换机与开放流控制器的连接为第一连接。 第一 连接可以是传输控制协议(Transmission Control Protocol, TCP ) , 也可以 是安全套接层( Secure Sockets Layer, SSL )协议, 本发明不作具体限定。
第一响应消息中包含了第一连接的类型信息。 第一连接的类型信息用 于标识待建立的第一连接的类型。 具体实现时, 第一连接的类型信息可以 承载在第一响应消息的某个字段或者多个字段。
第一响应消息中包含了第一连接的参数中与开放流控制器有关的参 数。 第一连接的参数为建立第一连接需要用到的参数的集合。 例如, 当第 一连接的类型为 TCP 时, 第一连接的参数包括开放流控制器的网际协议 ( Internet Protocol, IP )地址、 第一开放流交换机的 IP地址、 建立 TCP连 接的方式、开放流控制器的 TCP端口号以及第一开放流交换机的 TCP端口
号。 其中, 建立 TCP连接的方式可以是主动建立连接, 也可以是被动建立 连接。
第一连接的参数包含与开放流控制器有关的参数以及与第一开放流交 换机有关的参数。 当第一连接的类型为 TCP时, 第一连接的参数中与开放 流控制器有关的参数包括开放流控制器的 IP地址以及开放流控制器的 TCP 端口号; 第一连接的参数中与第一开放流交换机有关的参数包括第一开放 流交换机的 IP地址以及第一开放流交换机的 TCP端口号。 可见, 通过本发明实施例提供的技术方案, 开放流控制器向开放流交 换机发送的消息中包含了待建立的连接的参数中与开放流控制器有关的参 数。 开放流交换机可以通过接收开放流控制器发送的消息, 自动获取待建 立的连接的参数。
上述机制实现了对待建立的连接的参数的自动配置。 开放流交换机可 以根据自动获取的参数建立开放流交换机与开放流控制器的连接。
可选的, 在本实施例提供的方法中, 102之后还可以包括:
103: 该开放流控制器执行建立该第一连接的动作, 该动作包括对该第 一开放流交换机根据该第一连接的类型信息以及该第一连接的参数中与该 开放流控制器有关的参数发起的该第一连接的建立请求进行响应。
建立第一连接的动作可以由第一连接对应的技术标准规定。例如, TCP 对应的标准规定了建立 TCP连接需要执行的动作。 一般来说, 建立第一连 接的动作至少包括发送第一连接的建立请求以及对第一连接的建立请求进 行响应。 其中, 发送第一连接的建立请求是指建立第一连接的发起方向建 立第一连接的接收方发送第一连接的建立请求。 对第一连接的建立请求进 行响应是指建立第一连接的接收方对第一连接的建立请求进行响应, 并将 响应发送至建立第一连接的发起方。
具体实现时, 建立第一连接的发起方可以是第一开放流交换机, 也可
以是开放流控制器。 当第一连接的类型为 TCP时, 建立 TCP连接的方式决 定了建立第一连接的发起方。
本实施例中, 第一连接的建立请求是第一开放流交换机发起的。 具体 来说, 第一开放流交换机根据第一连接的类型信息以及第一连接的参数中 与开放流控制器有关的参数发起第一连接的建立请求。 第一开放流交换机 收到第一连接的建立请求后, 第一开放流交换机对第一连接的建立请求进 行响应。 实施例二:
本发明实施例提供了另一种接收消息的方法, 可以自动获取待建立的 连接的参数。 参见图 2, 图 2是本发明实施例提供的接收消息的方法的流程 图, 该方法包括:
201 : 第一开放流交换机向开放流控制器发送第一消息, 以便于当该开 放流控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器 管辖时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第 一响应消息包含第一连接的类型信息以及该第一连接的参数中与该开放流 控制器有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放 流控制器的连接, 该第一响应消息对应于该第一消息。
具体实现时, 可以参见实施例一中的 101以及 102。
202: 该第一开放流交换机接收该第一响应消息。
具体实现时, 可以参见实施例一中的 102。
可选的, 在本实施例提供的方法中, 202之后还可以包括:
203: 该第一开放流交换机执行建立该第一连接的动作, 该动作包括根 据该第一连接的类型信息以及该第一连接的参数中与该开放流控制器有关 的参数向该开放流控制器发起该第一连接的建立请求。
具体实现时, 可以参见实施例一中的 103。
实施例三
本发明实施例提供了另一种发送消息的方法, 可以自动获取待建立的 连接的参数。 参见图 3 , 图 3是本发明实施例提供的发送消息的方法的流程 图, 该方法包括:
301 : 开放流控制器接收第一开放流交换机发送的第一消息。
具体实现时, 请参考实施例一中的 101。
302: 当该开放流控制器根据该第一消息确定该第一开放流交换机属于 该开放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一 响应消息, 该第一响应消息对应于该第一消息。
具体实现时, 请参考实施例一中的 102。
与实施例一中的 102不同, 本实施例中第一响应消息中没有包含第一 连接的类型信息以及该第一连接的参数中与该开放流控制器有关的参数。
303: 该开放流控制器接收该第一开放流交换机发送的第二消息, 该第 二消息包含第一连接的类型信息以及该第一连接的参数中与该第一开放流 交换机有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放 流控制器的连接。
在开放流控制器发起第一连接的建立请求的场景下, 开放流控制器需 要知道第一连接的参数中与该第一开放流交换机有关的参数, 以便于开放 流控制器与第一开放流交换机进行通信。 当第一连接的类型是 TCP时, 第 一连接的参数中与第一开放流交换机有关的参数包括第一开放流交换机的
IP地址以及第一开放流交换机的 TCP端口号。
可选的, 上述开放流控制器还可以通过下述方式接收上述第二消息: 该第一开放流交换机发送的第二消息先到达 101 中的中继代理设备。 该中继代理设备收到该第二消息后, 可以以单播的形式将该第二消息转发 至该开放流控制器。 具体实现时, 请参见 101 中的有关描述。 可选的, 本 实施例提供的方法中, 303之后还可以包括:
304: 该开放流控制器执行建立该第一连接的动作, 该动作包括根据该 第一连接的类型信息以及该第一连接的参数中与该第一开放流交换机有关 的参数向该第一开放流交换机发起该第一连接的建立请求。
具体实现时, 请参考实施例一中的 103。
实施例四
本发明实施例提供了另一种接收消息的方法, 可以自动获取待建立的 连接的参数。 参见图 4, 图 4是本发明实施例提供的接收消息的方法的流程 图, 该方法包括:
401 : 第一开放流交换机向开放流控制器发送第一消息, 以便于当该开 放流控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器 管辖时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第 一响应消息对应于该第一消息。
具体实现时, 请参考实施例三中的 301以及 302。
402: 该第一开放流交换机接收该第一响应消息。
具体实现时, 请参考实施例三中的 302。
403: 该第一开放流交换机向该开放流控制器发送第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该第一开放流交换 机有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控 制器的连接。
具体实现时, 请参考实施例三中的 303。
可选的, 本实施例提供的方法中, 403之后还可以包括:
404: 该第一开放流交换机执行建立该第一连接的动作, 该动作包括对 该开放流控制器根据该第一连接的类型信息以及该第一连接的参数中与该 第一开放流交换机有关的参数发起的该第一连接的建立请求进行响应。
具体实现时, 请参考实施例三中的 304。
实施例五
本发明实施例提供了另一种发送消息的方法, 可以自动获取待建立的 连接的参数。 参见图 5 , 图 5是本发明实施例提供的发送消息的方法的流程 图, 该方法包括:
501: 开放流控制器接收第一开放流交换机发送的第一消息。
具体实现时, 请参考实施例一中的 101。
502: 当该开放流控制器根据该第一消息确定该第一开放流交换机属于 该开放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一 响应消息, 该第一响应消息对应于该第一消息。
具体实现时, 请参考实施例一中的 102。
与实施例一不同, 本实施例中第一响应消息可以不包含第一连接的类 型信息以及该第一连接的参数中与该开放流控制器有关的参数。
503: 该开放流控制器向该第一开放流交换机发送第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器 的连接。
具体实现时, 请参考实施例三中的 303。
与实施例三不同, 本实施例中第二消息是开放流控制器发送的。 另夕卜, 第二消息中包含了第一连接的类型信息以及该第一连接的参数中与该开放 流控制器有关的参数。
该开放流控制器发送的第二消息先到达 101 中的中继代理设备。 该中 继代理设备收到该第二消息后, 可以以单播的形式将该第二消息转发至第 一开放流交换机。 具体实现时, 请参见 101中的有关描述。
可选的, 本实施例提供的方法中, 503之后还可以包括:
504: 该开放流控制器执行建立该第一连接的动作, 该动作包括对该第 一开放流交换机根据该第一连接的类型信息以及该第一连接的参数中与该 开放流控制器有关的参数发起的该第一连接的建立请求进行响应。
具体实现时, 请参考实施例三中的 304。
与实施例三不同, 本实施例中第一连接的建立请求是第一开放流交换 机发起的。
实施例六
本发明实施例提供了另一种接收消息的方法, 可以自动获取待建立的 连接的参数。 参见图 6, 图 6是本发明实施例提供的接收消息的方法的流程 图, 该方法包括:
601 : 第一开放流交换机向开放流控制器发送第一消息, 以便于当该开 放流控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器 管辖时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第 一响应消息对应于该第一消息。
具体实现时, 请参考实施例五中的 501以及 502。
602: 该第一开放流交换机接收该第一响应消息。
具体实现时, 请参考实施例五中的 502。
603: 该第一开放流交换机接收该开放流控制器发送的第二消息, 该第 二消息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制 器有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控 制器的连接。
具体实现时, 请参考实施例五中的 503。
可选的, 本实施例提供的方法中, 503之后还可以包括:
604: 该第一开放流交换机执行建立该第一连接的动作, 该动作包括根 据该第一连接的类型信息以及该第一连接的参数中与该开放流控制器有关 的参数向该开放流控制器发起该第一连接的建立请求。
具体实现时, 请参考实施例五中的 504。
实施例七
本发明实施例提供了另一种发送消息的方法, 可以自动获取待建立的
连接的参数。 参见图 7, 图 7是本发明实施例提供的发送消息的方法的流程 图, 该方法包括:
701: 开放流控制器接收第一开放流交换机发送的第一消息。
具体实现时, 请参考实施例一中的 101。
702: 当该开放流控制器根据该第一消息确定该第一开放流交换机属于 该开放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一 响应消息, 该第一响应消息对应于该第一消息。
具体实现时, 请参考实施例一中的 102。
703: 该开放流控制器向该第一开放流交换机发送第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器 的连接。
具体实现时, 请参考实施例五中的 503。
704: 该开放流控制器接收该第一开放流交换机发送的第二响应消息, 该第二响应消息中包含该第一连接的参数中与该第一开放流交换机有关的 参数, 该第二响应消息对应于该第二消息。
在开放流控制器发起第一连接的建立请求的场景下, 开放流控制器需 要知道第一连接的参数中与该第一开放流交换机有关的参数, 以便于开放 流控制器与第一开放流交换机进行通信。 当第一连接的类型是 TCP时, 第 一连接的参数中与第一开放流交换机有关的参数包括第一开放流交换机的
IP地址以及第一开放流交换机的 TCP端口号。
可选的, 上述开放流控制器还可以通过下述方式接收上述第二响应消 息:
上述第二响应消息到达该开放流控制器前, 可以先到达 101 中的中继 代理设备。 该中继代理设备收到该第二响应消息后, 可以以单播的形式将 该第二响应消息转发至该开放流控制器。 具体实现时, 请参见 101 中的有
关描述。 可选的, 本实施例提供的方法中, 704之后还可以包括:
705: 该开放流控制器执行建立该第一连接的动作, 该动作包括对该第 一开放流交换机根据该第一连接的类型信息、 该第一连接的参数中与该第 一开放流交换机有关的参数以及该第一连接的参数中与该开放流控制器有 关的参数发起的该第一连接的建立请求进行响应。
第一开放流交换机可以获得第一连接的类型信息以及第一连接的参数 中与开放流控制器有关的参数, 因此第一连接的建立请求可以是第一开放 流交换机发起的。
具体实现时, 可以参考实施例一中的 103。
可选的, 本实施例提供的方法中, 704之后还可以包括:
706: 该开放流控制器执行建立该第一连接的动作, 该动作包括根据该 第一连接的类型信息、 该第一连接的参数中与该第一开放流交换机有关的 参数以及该第一连接的参数中与该开放流控制器有关的参数向该第一开放 流交换机发起该第一连接的建立请求。
开放流控制器可以获得第一连接的类型信息以及第一连接的参数中与 第一开放流交换机有关的参数, 因此第一连接的建立请求可以是开放流控 制器发起的。
具体实现时, 可以参考实施例一中的 103。
与实施例一不同, 本实施例中第一连接的建立请求可以是开放流控制 器发起的。
实施例八
本发明实施例提供了另一种接收消息的方法, 可以自动获取待建立的 连接的参数。 参见图 8, 图 8是本发明实施例提供的接收消息的方法的流程 图, 该方法包括:
801 : 第一开放流交换机向开放流控制器发送第一消息, 以便于当该开 放流控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器
管辖时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第 一响应消息对应于该第一消息。
具体实现时, 请参考实施例七中的 701以及 702。
802: 该第一开放流交换机接收该第一响应消息。
具体实现时, 请参考实施例七中的 702。
803: 该第一开放流交换机接收该开放流控制器发送的第二消息, 该第 二消息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制 器有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控 制器的连接。
具体实现时, 请参考实施例七中的 703。
804: 该第一开放流交换机向该开放流控制器发送第二响应消息, 该第 二响应消息中包含该第一连接的参数中与该第一开放流交换机有关的参 数, 该第二响应消息对应于该第二消息。
具体实现时, 请参考实施例七中的 704。
可选的, 本实施例提供的方法中, 804之后还可以包括:
805: 该第一开放流交换机执行建立该第一连接的动作, 该动作包括根 据该第一连接的类型信息、 该第一连接的参数中与该第一开放流交换机有 关的参数以及该第一连接的参数中与该开放流控制器有关的参数向该开放 流控制器发起该第一连接的建立请求。
具体实现时, 请参考实施例七中的 706。
可选的, 本实施例提供的方法中, 804之后还可以包括:
806: 该第一开放流交换机执行建立该第一连接的动作, 该动作包括根 据该第一连接的类型信息、 该第一连接的参数中与该第一开放流交换机有 关的参数以及该第一连接的参数中与该开放流控制器有关的参数向该开放 流控制器发起该第一连接的建立请求。
实施例九
本发明实施例提供了另一种发送消息的方法, 可以自动获取待建立的 连接的参数。 参见图 9, 图 9是本发明实施例提供的发送消息的方法的流程 图, 该方法包括:
901: 开放流控制器接收第一开放流交换机发送的第一消息。
具体实现时, 请参考实施例七中的 701。
902: 当该开放流控制器根据该第一消息确定该第一开放流交换机属于 该开放流控制器管辖时, 该开放流控制器向该第一开放流交换机发送第一 响应消息, 该第一响应消息对应于该第一消息。
具体实现时, 请参考实施例七中的 702。
903: 该开放流控制器接收该第一开放流交换机发送的第二消息, 该第 二消息包含第一连接的类型信息以及该第一连接的参数中与该第一开放流 交换机有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放 流控制器的连接。
具体实现时, 请参考实施例七中的 703。
与实施例七不同, 本实施例中第二消息是第一开放流交换机发送的。 另外, 第二消息中包含了第一连接的类型信息以及该第一连接的参数中与 该第一开放流交换机有关的参数。
904: 该开放流控制器向该第一开放流交换机发送第二响应消息, 该第 二响应消息包含该第一连接的参数中与该开放流控制器有关的参数。
具体实现时, 请参考实施例七中的 704。
与实施例七不同, 本实施例中第二响应消息是开放流控制器发送的。 另外, 第二消息中包含了第一连接的类型信息以及该第一连接的参数中与 该有开放流控制器关的参数。
可选地, 上述第二响应消息到达该第一开放流交换机前, 可以先到达 101中的中继代理设备。 该中继代理设备收到该第二响应消息后, 可以以单
播的形式将该第二响应消息转发至该第一开放流交换机。 具体实现时, 请 参见 101中的有关描述。 可选的, 本实施例提供的方法中, 904之后还可以 包括:
905: 该开放流控制器执行建立该第一连接的动作, 该动作包括根据该 第一连接的类型信息、 该第一连接的参数中与该第一开放流交换机有关的 参数以及该第一连接的参数中与该开放流控制器有关的参数向该第一开放 流交换机发起该第一连接的建立请求。
具体实现时, 请参考实施例七中的 706。
可选的, 本实施例提供的方法中, 904之后还可以包括:
906: 该开放流控制器执行建立该第一连接的动作, 该动作包括对该第 一开放流交换机根据该第一连接的类型信息、 该第一连接的参数中与该第 一开放流交换机有关的参数以及该第一连接的参数中与该开放流控制器有 关的参数发起的该第一连接的建立请求进行响应。
具体实现时, 请参考实施例七中的 705。
实施例十
本发明实施例提供了另一种接收消息的方法, 可以自动获取待建立的 连接的参数。 参见图 10, 图 10是本发明实施例提供的建立连接的方法的流 程图, 该方法包括:
1001 : 第一开放流交换机向开放流控制器发送第一消息, 以便于当该 开放流控制器根据该第一消息确定该第一开放流交换机属于该开放流控制 器管辖时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该 第一响应消息对应于该第一消息。
具体实现时, 请参考实施例九中的 901以及 902。
1002: 该第一开放流交换机接收该第一响应消息。
具体实现时, 请参考实施例九中的 902。
1003 : 该第一开放流交换机向该开放流控制器发送第二消息, 该第二
消息包含第一连接的类型信息以及该第一连接的参数中与该第一开放流交 换机有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流 控制器的连接。
具体实现时, 请参考实施例九中的 903。
1004: 该第一开放流交换机接收该开放流控制器发送的第二响应消息, 该第二响应消息包含该第一连接的参数中与该开放流控制器有关的参数。
具体实现时, 请参考实施例九中的 904。
可选的, 本实施例提供的方法中, 1004之后还可以包括:
1005: 该第一开放流交换机执行建立该第一连接的动作, 该动作包括 对该开放流控制器根据该第一连接的类型信息、 该第一连接的参数中与该 第一开放流交换机有关的参数以及该第一连接的参数中与该开放流控制器 有关的参数发起的该第一连接的建立请求进行响应。
具体实现时, 请参考实施例九中的 905。
可选的, 本实施例提供的方法中, 1004之后还可以包括:
1006: 该第一开放流交换机执行建立该第一连接的动作, 该动作包括 对该开放流控制器根据该第一连接的类型信息、 该第一连接的参数中与该 第一开放流交换机有关的参数以及该第一连接的参数中与该开放流控制器 有关的参数发起的该第一连接的建立请求进行响应。
具体实现时, 请参考实施例九中的 906。
实施例十一
本发明实施例提供了一种开放流控制器, 可以自动获取待建立的连接 的参数。 参见图 11 , 图 11是本发明实施例提供的开放流控制器的结构示意 图, 包括:
接收器 1101以及发送器 1102;
该接收器 1101用于接收第一开放流交换机发送的第一消息;
该发送器 1102包括确定单元 1103以及发送单元 1104;
该确定单元 1103用于根据该第一消息确定该第一开放流交换机是否属 于该开放流控制器管辖;
该发送单元 1104用于当该确定单元 1103确定该第一开放流交换机属 于该开放流控制器管辖时, 向该第一开放流交换机发送第一响应消息, 该 第一响应消息包含第一连接的类型信息以及该第一连接的参数中与该开放 流控制器有关的参数, 该第一连接为待建立的该第一开放流交换机与该开 放流控制器的连接, 该第一响应消息对应于该第一消息。
可选的,
该确定单元 1103具体包括检测子单元以及第一确定子单元;
该检测子单元用于检测数据库是否包含该第一开放流交换机的标识, 该第一消息包含该第一开放流交换机的标识, 该数据库包含该开放流控制 器管辖的开放流交换机的标识;
该第一确定子单元用于当该检测子单元检测到该数据库包含该第一开 放流交换机的标识时, 确定该第一开放流交换机属于该开放流控制器管辖。
可选的,
该确定单元 1103具体包括判断子单元以及第二确定子单元;
该判断子单元用于判断该开放流控制器的标识对应的开放流控制器是 否为该开放流控制器, 该第一消息包含该开放流控制器的标识;
该第二确定子单元用于当该判断子单元判断出该开放流控制器的标识 对应的开放流控制器为该开放流控制器时, 确定该第一开放流交换机属于 该开放流控制器管辖。
可选的,
该接收器 1101包括第一接收子单元;
该第一接收子单元用于通过控制通道接收第二开放流交换机转发的来 源于该第一开放流交换机的以广播形式发送的该第一消息。
可选的,
该接收器 1101包括第二接收子单元;
该第二接收子单元用于通过控制通道接收第二开放流交换机转发的来 源于该第一开放流交换机的以组播形式发送的该第一消息, 该开放流控制 器为该组播对应的组播组的成员。
可选的,
该开放流控制器还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括对该第一开 放流交换机根据该第一连接的类型信息以及该第一连接的参数中与该开放 流控制器有关的参数发起的该第一连接的建立请求进行响应。
本实施例提供的开放流控制器可以通过实施例一提供的方法实现。 具 体实现时, 请参考实施例一。
实施例十二
本发明实施例提供了一种第一开放流交换机, 可以自动获取待建立的 连接的参数。 参见图 12, 图 12是本发明实施例提供的第一开放流交换机的 结构示意图, 包括:
发送器 1201 , 用于向开放流控制器发送第一消息, 以便于当该开放流 控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖 时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响 应消息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制 器有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控 制器的连接, 该第一响应消息对应于该第一消息;
接收器 1202, 用于接收该第一响应消息。
可选的,
该发送器具体包括第一发送子单元,
该第一发送子单元用于以广播的形式发送该第一消息, 以便于第二开 放流交换机接收到该第一消息后, 通过控制通道向该开放流控制器转发该
第一消息。
可选的,
该发送器具体包括第二发送子单元,
该第二发送子单元用于以组播的形式发送该第一消息, 以便于第二开 放流交换机接收到该第一消息后, 通过控制通道向该开放流控制器转发该 第一消息, 该开放流控制器为该组播对应的组播组的成员。
可选的,
该第一开放流交换机还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括根据该第一 连接的类型信息以及该第一连接的参数中与该开放流控制器有关的参数向 该开放流控制器发起该第一连接的建立请求。
本实施例提供的第一开放流交换机可以通过实施例二提供的方法实 现。 具体实现时, 请参考实施例二。
实施例十三
本发明实施例提供了另一种开放流控制器, 可以自动获取待建立的连 接的参数。 参见图 13 , 图 13是本发明实施例提供的开放流控制器的结构示 意图, 包括:
接收器 1301以及发送器 1302;
该接收器 1301用于接收第一开放流交换机发送的第一消息; 该发送器 1302包括确定单元 1303以及发送单元 1304;
该确定单元 1303用于根据该第一消息确定该第一开放流交换机是否属 于该开放流控制器管辖;
该发送单元 1304用于, 当该确定单元 1303确定该第一开放流交换机 属于该开放流控制器管辖时, 向该第一开放流交换机发送第一响应消息, 该第一响应消息对应于该第一消息;
该接收器 1301还用于接收该第一开放流交换机发送的第二消息, 该第
二消息包含第一连接的类型信息以及该第一连接的参数中与该第一开放流 交换机有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放 流控制器的连接。
可选的,
该确定单元 1303具体包括检测子单元以及第一确定子单元;
该检测子单元用于检测数据库是否包含该第一开放流交换机的标识, 该第一消息包含该第一开放流交换机的标识, 该数据库包含该开放流控制 器管辖的开放流交换机的标识;
该第一确定子单元用于当该检测子单元检测到该数据库包含该第一开 放流交换机的标识时, 确定该第一开放流交换机属于该开放流控制器管辖。
可选的,
该确定单元具体包括判断子单元以及第二确定子单元;
该判断子单元用于判断该开放流控制器的标识对应的开放流控制器是 否为该开放流控制器, 该第一消息包含该开放流控制器的标识;
该第二确定子单元用于当该判断子单元判断出该开放流控制器的标识 对应的开放流控制器为该开放流控制器时, 确定该第一开放流交换机属于 该开放流控制器管辖。
可选的,
该接收器包括第一接收子单元;
该第一接收子单元用于通过控制通道接收第二开放流交换机转发的来 源于该第一开放流交换机的以广播形式发送的该第一消息。
可选的,
该接收器包括第二接收子单元;
该第二接收子单元用于通过控制通道接收第二开放流交换机转发的来 源于该第一开放流交换机的以组播形式发送的该第一消息, 该开放流控制 器为该组播对应的组播组的成员。
可选的,
该开放流控制器还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括根据该第一 连接的类型信息以及该第一连接的参数中与该第一开放流交换机有关的参 数向该第一开放流交换机发起该第一连接的建立请求。
本实施例提供的开放流控制器可以通过实施例三提供的方法实现。 具 体实现时, 请参考实施例三。
实施例十四
本发明实施例提供了另一种第一开放流交换机, 可以自动获取待建立 的连接的参数。 参见图 14, 图 14是本发明实施例提供的第一开放流交换机 的结构示意图, 包括:
发送器 1401以及接收器 1402;
该发送器 1401用于向开放流控制器发送第一消息, 以便于当该开放流 控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖 时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响 应消息对应于该第一消息;
该接收器 1402用于接收该第一响应消息;
该发送器 1401还用于向该开放流控制器发送第二消息, 该第二消息包 含第一连接的类型信息以及该第一连接的参数中与该第一开放流交换机有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器 的连接。
可选的,
该发送器 1401具体包括第一发送子单元,
该第一发送子单元用于以广播的形式发送该第一消息, 以便于第二开 放流交换机接收到该第一消息后, 通过控制通道向该开放流控制器转发该 第一消息。
可选的,
该发送器 1401具体包括第二发送子单元,
第二发送子单元用于以组播的形式发送该第一消息, 以便于第二开放 流交换机接收到该第一消息后, 通过控制通道向该开放流控制器转发该第 一消息, 该开放流控制器为该组播对应的组播组的成员。
可选的,
该第一开放流交换机还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括对该开放流 控制器根据该第一连接的类型信息以及该第一连接的参数中与该第一开放 流交换机有关的参数发起的该第一连接的建立请求进行响应。
本实施例提供的第一开放流交换机可以通过实施例四提供的方法实 现。 具体实现时, 请参考实施例四。
实施例十五
本发明实施例提供了另一种开放流控制器, 可以自动获取待建立的连 接的参数。 参见图 15 , 图 15是本发明实施例提供的开放流控制器的结构示 意图, 包括:
接收器 1501以及发送器 1502;
该接收器 1501用于接收第一开放流交换机发送的第一消息; 该发送器 1502包括确定单元 1503以及发送单元 1504;
该确定单元 1503用于根据该第一消息确定该第一开放流交换机是否属 于该开放流控制器管辖;
该发送单元 1504用于, 当该确定单元 1503确定该第一开放流交换机 属于该开放流控制器管辖时, 向该第一开放流交换机发送第一响应消息, 该第一响应消息对应于该第一消息;
该发送器 1502还用于向该第一开放流交换机发送第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有
关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器 的连接。
可选的,
该确定单元 1503具体包括检测子单元以及第一确定子单元;
该检测子单元用于检测数据库是否包含该第一开放流交换机的标识, 该第一消息包含该第一开放流交换机的标识, 该数据库包含该开放流控制 器管辖的开放流交换机的标识;
该第一确定子单元用于当该检测子单元检测到该数据库包含该第一开 放流交换机的标识时, 确定该第一开放流交换机属于该开放流控制器管辖。
可选的,
该确定单元 1503具体包括判断子单元以及第二确定子单元;
该判断子单元用于判断该开放流控制器的标识对应的开放流控制器是 否为该开放流控制器, 该第一消息包含该开放流控制器的标识;
该第二确定子单元用于当该判断子单元判断出该开放流控制器的标识 对应的开放流控制器为该开放流控制器时, 确定该第一开放流交换机属于 该开放流控制器管辖。
可选的,
该接收器 1501包括第一接收子单元;
该第一接收子单元用于通过控制通道接收第二开放流交换机转发的来 源于该第一开放流交换机的以广播形式发送的该第一消息。
可选的,
该接收器 1501包括第二接收子单元;
该第二接收子单元用于通过控制通道接收第二开放流交换机转发的来 源于该第一开放流交换机的以组播形式发送的该第一消息, 该开放流控制 器为该组播对应的组播组的成员。
可选的,
该开放流控制器还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括对该第一开 放流交换机根据该第一连接的类型信息以及该第一连接的参数中与该开放 流控制器有关的参数发起的该第一连接的建立请求进行响应。
本实施例提供的开放流控制器可以通过实施例五提供的方法实现。 具 体实现时, 请参考实施例五。
实施例十六
本发明实施例提供了另一种第一开放流交换机, 可以自动获取待建立 的连接的参数。 参见图 16, 图 16是本发明实施例提供的第一开放流交换机 的结构示意图, 包括:
发送器 1601以及接收器 1602;
该发送器 1601用于向开放流控制器发送第一消息, 以便于当该开放流 控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖 时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响 应消息对应于该第一消息;
该接收器 1602用于接收该第一响应消息;
该接收器 1602还用于接收该开放流控制器发送的第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器 的连接。
可选的,
该发送器 1601具体包括第一发送子单元,
该第一发送子单元用于以广播的形式发送该第一消息, 以便于第二开 放流交换机接收到该第一消息后, 通过控制通道向该开放流控制器转发该 第一消息。
可选的,
该发送器 1601具体包括第二发送子单元,
第二发送子单元用于以组播的形式发送该第一消息, 以便于第二开放 流交换机接收到该第一消息后, 通过控制通道向该开放流控制器转发该第 一消息, 该开放流控制器为该组播对应的组播组的成员。
可选的,
该第一开放流交换机还包括执行单元, 该执行单元用于执行建立该第 一连接的动作, 该动作包括根据该第一连接的类型信息以及该第一连接的 参数中与该开放流控制器有关的参数向该开放流控制器发起该第一连接的 建立请求。
本实施例提供的第一开放流交换机可以通过实施例六提供的方法实 现。 具体实现时, 请参考实施例六。
实施例十七
本发明实施例提供了另一种开放流控制器, 可以自动获取待建立的连 接的参数。 参见图 17, 图 17是本发明实施例提供的开放流控制器的结构示 意图, 包括:
接收器 1701以及发送器 1702;
该接收器 1701用于接收第一开放流交换机发送的第一消息; 该发送器 1702包括确定单元 1703以及发送单元 1704;
该确定单元 1703用于根据该第一消息确定该第一开放流交换机是否属 于该开放流控制器管辖;
该发送单元 1704用于, 当该确定单元 1703确定该第一开放流交换机 属于该开放流控制器管辖时, 向该第一开放流交换机发送第一响应消息, 该第一响应消息对应于该第一消息;
该发送器 1702还用于向该第一开放流交换机发送第二消息, 该第二消 息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器
的连接;
该接收器 1701还用于接收该第一开放流交换机发送的第二响应消息, 该第二响应消息中包含该第一连接的参数中与该第一开放流交换机有关的 参数, 该第二响应消息对应于该第二消息。
可选的,
该确定单元 1703具体包括检测子单元以及第一确定子单元;
该检测子单元用于检测数据库是否包含该第一开放流交换机的标识, 该第一消息包含该第一开放流交换机的标识, 该数据库包含该开放流控制 器管辖的开放流交换机的标识;
该第一确定子单元用于当该检测子单元检测到该数据库包含该第一开 放流交换机的标识时, 确定该第一开放流交换机属于该开放流控制器管辖。
可选的,
该确定单元 1703具体包括判断子单元以及第二确定子单元;
该判断子单元用于判断该开放流控制器的标识对应的开放流控制器是 否为该开放流控制器, 该第一消息包含该开放流控制器的标识;
该第二确定子单元用于当该判断子单元判断出该开放流控制器的标识 对应的开放流控制器为该开放流控制器时, 确定该第一开放流交换机属于 该开放流控制器管辖。
可选的,
该接收器 1701包括第一接收子单元;
该第一接收子单元用于通过控制通道接收第二开放流交换机转发的来 源于该第一开放流交换机的以广播形式发送的该第一消息。
可选的,
该接收器 1701包括第二接收子单元;
该第二接收子单元用于通过控制通道接收第二开放流交换机转发的来 源于该第一开放流交换机的以组播形式发送的该第一消息, 该开放流控制
器为该组播对应的组播组的成员。
可选的,
该开放流控制器还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括对该第一开 放流交换机根据该第一连接的类型信息、 该第一连接的参数中与该第一开 放流交换机有关的参数以及该第一连接的参数中与该开放流控制器有关的 参数发起的该第一连接的建立请求进行响应。
可选的,
该开放流控制器还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括根据该第一 连接的类型信息、 该第一连接的参数中与该第一开放流交换机有关的参数 以及该第一连接的参数中与该开放流控制器有关的参数向该第一开放流交 换机发起该第一连接的建立请求。
本实施例提供的开放流控制器可以通过实施例七提供的方法实现。 具 体实现时, 请参考实施例七。
实施例十八
本发明实施例提供了另一种第一开放流交换机, 可以自动获取待建立 的连接的参数。 参见图 18, 图 18是本发明实施例提供的第一开放流交换机 的结构示意图, 包括:
发送器 1801以及接收器 1802;
该发送器 1801用于向开放流控制器发送第一消息, 以便于当该开放流 控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖 时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响 应消息对应于该第一消息;
该接收器 1802用于接收该第一响应消息;
该接收器 1802还用于接收该开放流控制器发送的第二消息, 该第二消
息包含第一连接的类型信息以及该第一连接的参数中与该开放流控制器有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器 的连接;
该发送器 1801还用于向该开放流控制器发送第二响应消息, 该第二响 应消息中包含该第一连接的参数中与该第一开放流交换机有关的参数, 该 第二响应消息对应于该第二消息。
可选的,
该发送器 1801具体包括第一发送子单元,
该第一发送子单元用于以广播的形式发送该第一消息, 以便于第二开 放流交换机接收到该第一消息后, 通过控制通道向该开放流控制器转发该 第一消息。
可选的,
该发送器 1801具体包括第二发送子单元,
第二发送子单元用于以组播的形式发送该第一消息, 以便于第二开放 流交换机接收到该第一消息后, 通过控制通道向该开放流控制器转发该第 一消息, 该开放流控制器为该组播对应的组播组的成员。
可选的,
该第一开放流交换机还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括根据该第一 连接的类型信息、 该第一连接的参数中与该第一开放流交换机有关的参数 以及该第一连接的参数中与该开放流控制器有关的参数向该开放流控制器 发起该第一连接的建立请求。
可选的,
该第一开放流交换机还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括对该开放流 控制器根据该第一连接的类型信息、 该第一连接的参数中与该第一开放流
交换机有关的参数以及该第一连接的参数中与该开放流控制器有关的参数 发起的该第一连接的建立请求进行响应。
本实施例提供的第一开放流交换机可以通过实施例八提供的方法实 现。 具体实现时, 请参考实施例八。
实施例十九
本发明实施例提供了另一种开放流控制器, 可以自动获取待建立的连 接的参数。 参见图 19, 图 19是本发明实施例提供的开放流控制器的结构示 意图, 包括:
接收器 1901以及发送器 1902;
该接收器 1901用于接收第一开放流交换机发送的第一消息; 该发送器 1902包括确定单元 1903以及发送单元 1904;
该确定单元 1903用于根据该第一消息确定该第一开放流交换机是否属 于该开放流控制器管辖;
该发送单元 1904用于, 当该确定单元 1903确定该第一开放流交换机 属于该开放流控制器管辖时, 向该第一开放流交换机发送第一响应消息, 该第一响应消息对应于该第一消息;
该接收器 1901还用于接收该第一开放流交换机发送的第二消息, 该第 二消息包含第一连接的类型信息以及该第一连接的参数中与该第一开放流 交换机有关的参数, 该第一连接为待建立的该第一开放流交换机与该开放 流控制器的连接;
该发送器 1902还用于向该第一开放流交换机发送第二响应消息, 该第 二响应消息包含该第一连接的参数中与该开放流控制器有关的参数。
可选的,
该确定单元 1903具体包括检测子单元以及第一确定子单元; 该检测子单元用于检测数据库是否包含该第一开放流交换机的标识, 该第一消息包含该第一开放流交换机的标识, 该数据库包含该开放流控制
器管辖的开放流交换机的标识;
该第一确定子单元用于当该检测子单元检测到该数据库包含该第一开 放流交换机的标识时, 确定该第一开放流交换机属于该开放流控制器管辖。
可选的,
该确定单元 1903具体包括判断子单元以及第二确定子单元;
该判断子单元用于判断该开放流控制器的标识对应的开放流控制器是 否为该开放流控制器, 该第一消息包含该开放流控制器的标识;
该第二确定子单元用于当该判断子单元判断出该开放流控制器的标识 对应的开放流控制器为该开放流控制器时, 确定该第一开放流交换机属于 该开放流控制器管辖。
可选的,
该接收器 1901包括第一接收子单元;
该第一接收子单元用于通过控制通道接收第二开放流交换机转发的来 源于该第一开放流交换机的以广播形式发送的该第一消息。
可选的,
该接收器 1901包括第二接收子单元;
该第二接收子单元用于通过控制通道接收第二开放流交换机转发的来 源于该第一开放流交换机的以组播形式发送的该第一消息, 该开放流控制 器为该组播对应的组播组的成员。
可选的,
该开放流控制器还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括根据该第一 连接的类型信息、 该第一连接的参数中与该第一开放流交换机有关的参数 以及该第一连接的参数中与该开放流控制器有关的参数向该第一开放流交 换机发起该第一连接的建立请求。
可选的,
该开放流控制器还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括对该第一开 放流交换机根据该第一连接的类型信息、 该第一连接的参数中与该第一开 放流交换机有关的参数以及该第一连接的参数中与该开放流控制器有关的 参数发起的该第一连接的建立请求进行响应。
本实施例提供的开放流控制器可以通过实施例九提供的方法实现。 具 体实现时, 请参考实施例九。
实施例二十
本发明实施例提供了另一种第一开放流交换机, 可以自动获取待建立 的连接的参数。 参见图 20, 图 20是本发明实施例提供的第一开放流交换机 的结构示意图, 包括:
发送器 2001以及接收器 2002;
该发送器 2001用于向开放流控制器发送第一消息, 以便于当该开放流 控制器根据该第一消息确定该第一开放流交换机属于该开放流控制器管辖 时, 该开放流控制器向该第一开放流交换机发送第一响应消息, 该第一响 应消息对应于该第一消息;
该接收器 2002用于接收该第一响应消息;
该发送器 2001还用于向该开放流控制器发送第二消息, 该第二消息包 含第一连接的类型信息以及该第一连接的参数中与该第一开放流交换机有 关的参数, 该第一连接为待建立的该第一开放流交换机与该开放流控制器 的连接;
该接收器 2002还用于接收该开放流控制器发送的第二响应消息, 该第 二响应消息包含该第一连接的参数中与该开放流控制器有关的参数。
可选的,
该发送器 2001具体包括第一发送子单元,
该第一发送子单元用于以广播的形式发送该第一消息, 以便于第二开
放流交换机接收到该第一消息后, 通过控制通道向该开放流控制器转发该 第一消息。
可选的,
该发送器 2001具体包括第二发送子单元,
第二发送子单元用于以组播的形式发送该第一消息, 以便于第二开放 流交换机接收到该第一消息后, 通过控制通道向该开放流控制器转发该第 一消息, 该开放流控制器为该组播对应的组播组的成员。
可选的,
该第一开放流交换机还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括对该开放流 控制器根据该第一连接的类型信息、 该第一连接的参数中与该第一开放流 交换机有关的参数以及该第一连接的参数中与该开放流控制器有关的参数 发起的该第一连接的建立请求进行响应。
可选的,
该第一开放流交换机还包括执行单元,
该执行单元用于执行建立该第一连接的动作, 该动作包括根据该第一 连接的类型信息、 该第一连接的参数中与该第一开放流交换机有关的参数 以及该第一连接的参数中与该开放流控制器有关的参数向该开放流控制器 发起该第一连接的建立请求。
本实施例提供的第一开放流交换机可以通过实施例十提供的方法实 现。 具体实现时, 请参考实施例十。 需要说明的是, 实施例一至实施例二十涉及到第一开放流交换机以及 第二开放流交换机。 其中, "第一开放流交换机" 中的 "第一" 仅用于强 调 "第一开放流交换机" 与 "第二开放流交换机" 不是同一台设备。 同理, "第二开放流交换机" 中的 "第二" 仅用于强调 "第二开放流交换机" 与
"第一开放流交换机" 不是同一台设备。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述程序可以存储于一计算机可 读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而 前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代 码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。
Claims
1.一种发送消息的方法, 其特征在于, 包括:
开放流控制器接收第一开放流交换机发送的第一消息;
当所述开放流控制器根据所述第一消息确定所述第一开放流交换机属 于所述开放流控制器管辖时, 所述开放流控制器向所述第一开放流交换机 发送第一响应消息, 所述第一响应消息包含第一连接的类型信息以及所述 第一连接的参数中与所述开放流控制器有关的参数, 所述第一连接为待建 立的所述第一开放流交换机与所述开放流控制器的连接, 所述第一响应消 息对应于所述第一消息。
2.根据权利要求 1所述方法, 其特征在于,
所述开放流控制器根据所述第一消息确定所述第一开放流交换机属于 所述开放流控制器管辖具体包括:
所述第一消息包含所述第一开放流交换机的标识, 当所述开放流控制 器检测到数据库包含所述第一开放流交换机的标识时, 所述开放流控制器 确定所述第一开放流交换机属于所述开放流控制器管辖, 所述数据库包含 所述开放流控制器管辖的开放流交换机的标识。
3.根据权利要求 1所述方法, 其特征在于,
所述开放流控制器根据所述第一消息确定所述第一开放流交换机属于 所述开放流控制器管辖具体包括:
所述第一消息包含所述开放流控制器的标识, 当所述开放流控制器判 断出所述标识对应的开放流控制器为所述开放流控制器时, 所述开放流控 制器确定所述第一开放流交换机属于所述开放流控制器管辖。
4.根据权利要求 1至 3中任一权利要求所述方法, 其特征在于, 所述开放流控制器接收第一开放流交换机发送的第一消息具体包括: 所述开放流控制器通过控制通道接收第二开放流交换机转发的来源于 所述第一开放流交换机的以广播形式发送的所述第一消息。
5.根据权利要求 1至 3中任一权利要求所述方法, 其特征在于, 所述开放流控制器接收第一开放流交换机发送的第一消息具体包括: 所述开放流控制器通过控制通道接收第二开放流交换机转发的来源于 所述第一开放流交换机的以组播形式发送的所述第一消息, 所述开放流控 制器为所述组播对应的组播组的成员。
6.根据权利要求 1至 3中任一权利要求所述方法, 其特征在于, 所述开放流控制器接收第一开放流交换机发送的第一消息具体包括: 所述开放流控制器接收中继代理设备转发的来源于所述第一开放流交 换机以广播或组播形式发送的所述第一消息。
7.根据权利要求 1至 6中任一权利要求所述方法, 其特征在于, 所述方法在所述开放流控制器向所述第一开放流交换机发送第一响应 消息之后还包括:
所述开放流控制器执行建立所述第一连接的动作, 所述动作包括对所 述第一开放流交换机根据所述第一连接的类型信息以及所述第一连接的参 数中与所述开放流控制器有关的参数发起的所述第一连接的建立请求进行 响应。
8.—种接收消息的方法, 其特征在于, 包括:
第一开放流交换机向开放流控制器发送第一消息, 以便于当所述开放 流控制器根据所述第一消息确定所述第一开放流交换机属于所述开放流控 制器管辖时, 所述开放流控制器向所述第一开放流交换机发送第一响应消 息, 所述第一响应消息包含第一连接的类型信息以及所述第一连接的参数 中与所述开放流控制器有关的参数, 所述第一连接为待建立的所述第一开 放流交换机与所述开放流控制器的连接, 所述第一响应消息对应于所述第 一消息;
所述第一开放流交换机接收所述第一响应消息。
9.根据权利要求 8所述方法, 其特征在于, 所述第一开放流交换机向开放流控制器发送第一消息具体包括: 所述第一开放流交换机以广播的形式发送所述第一消息, 以便于第二 开放流交换机接收到所述第一消息后, 通过控制通道向所述开放流控制器 转发所述第一消息。
10.根据权利要求 8所述方法, 其特征在于,
所述第一开放流交换机向开放流控制器发送第一消息具体包括: 所述第一开放流交换机以组播的形式发送所述第一消息, 以便于第二 开放流交换机接收到所述第一消息后, 通过控制通道向所述开放流控制器 转发所述第一消息, 所述开放流控制器为所述组播对应的组播组的成员。
11.根据权利要求 8所述方法, 其特征在于,
所述第一开放流交换机向开放流控制器发送第一消息具体包括: 所述第一开放流交换机以广播或组播的形式向中继代理设备发送所述 第一消息 , 以便于所述中继代理设备将第一消息转发至所述开发流控制器。
12.根据权利要求 8至 11中任一权利要求所述方法, 其特征在于, 所述 方法在所述第一开放流交换机接收所述第一响应消息之后还包括:
所述第一开放流交换机执行建立所述第一连接的动作, 所述动作包括 根据所述第一连接的类型信息以及所述第一连接的参数中与所述开放流控 制器有关的参数向所述开放流控制器发起所述第一连接的建立请求。
13.—种发送消息的方法, 其特征在于, 包括:
开放流控制器接收第一开放流交换机发送的第一消息;
当所述开放流控制器根据所述第一消息确定所述第一开放流交换机属 于所述开放流控制器管辖时, 所述开放流控制器向所述第一开放流交换机 发送第一响应消息, 所述第一响应消息对应于所述第一消息;
所述开放流控制器接收所述第一开放流交换机发送的第二消息, 所述 第二消息包含第一连接的类型信息以及所述第一连接的参数中与所述第一 开放流交换机有关的参数, 所述第一连接为待建立的所述第一开放流交换 机与所述开放流控制器的连接;
所述开放流控制器向所述第一开放流交换机发送第二响应消息, 所述 第二响应消息包含所述第一连接的参数中与所述开放流控制器有关的参 数。
14.根据权利要求 13所述方法, 其特征在于,
所述开放流控制器根据所述第一消息确定所述第一开放流交换机属于 所述开放流控制器管辖具体包括:
所述第一消息包含所述第一开放流交换机的标识, 当所述开放流控制 器检测到数据库包含所述第一开放流交换机的标识时, 所述开放流控制器 确定所述第一开放流交换机属于所述开放流控制器管辖, 所述数据库包含 所述开放流控制器管辖的开放流交换机的标识。
15.根据权利要求 13所述方法, 其特征在于,
所述开放流控制器根据所述第一消息确定所述第一开放流交换机属于 所述开放流控制器管辖具体包括:
所述第一消息包含所述开放流控制器的标识, 当所述开放流控制器判 断出所述标识对应的开放流控制器为所述开放流控制器时, 所述开放流控 制器确定所述第一开放流交换机属于所述开放流控制器管辖。
16.根据权利要求 13至 15中任一权利要求所述方法, 其特征在于, 所述开放流控制器接收第一开放流交换机发送的第一消息具体包括: 所述开放流控制器通过控制通道接收第二开放流交换机转发的来源于 所述第一开放流交换机的以广播形式发送的所述第一消息。
17.根据权利要求 13至 15中任一权利要求所述方法, 其特征在于, 所述开放流控制器接收第一开放流交换机发送的第一消息具体包括: 所述开放流控制器通过控制通道接收第二开放流交换机转发的来源于 所述第一开放流交换机的以组播形式发送的所述第一消息, 所述开放流控 制器为所述组播对应的组播组的成员。
18.根据权利要求 13至 15中任一权利要求所述方法, 其特征在于, 所述开放流控制器接收第一开放流交换机发送的第一消息具体包括: 所述开放流控制器接收中继代理设备转发的来源于所述第一开放流交 换机的以广播或组播形式发送的所述第一消息。
19.根据权利要求 13至 18中任一权利要求所述方法, 其特征在于, 所述方法在所述开放流控制器向所述第一开放流交换机发送第二响应 消息之后还包括:
所述开放流控制器执行建立所述第一连接的动作, 所述动作包括根据 所述第一连接的类型信息、 所述第一连接的参数中与所述第一开放流交换 机有关的参数以及所述第一连接的参数中与所述开放流控制器有关的参数 向所述第一开放流交换机发起所述第一连接的建立请求。
20.根据权利要求 13至 18中任一权利要求所述方法, 其特征在于, 所述方法在所述开放流控制器向所述第一开放流交换机发送第二响应 消息之后还包括:
所述开放流控制器执行建立所述第一连接的动作, 所述动作包括对所 述第一开放流交换机根据所述第一连接的类型信息、 所述第一连接的参数 中与所述第一开放流交换机有关的参数以及所述第一连接的参数中与所述 开放流控制器有关的参数发起的所述第一连接的建立请求进行响应。
21.—种接收消息的方法, 其特征在于, 包括:
第一开放流交换机向开放流控制器发送第一消息, 以便于当所述开放 流控制器根据所述第一消息确定所述第一开放流交换机属于所述开放流控 制器管辖时, 所述开放流控制器向所述第一开放流交换机发送第一响应消 息, 所述第一响应消息对应于所述第一消息;
所述第一开放流交换机接收所述第一响应消息;
所述第一开放流交换机向所述开放流控制器发送第二消息, 所述第二 消息包含第一连接的类型信息以及所述第一连接的参数中与所述第一开放 流交换机有关的参数, 所述第一连接为待建立的所述第一开放流交换机与 所述开放流控制器的连接;
所述第一开放流交换机接收所述开放流控制器发送的第二响应消息, 所述第二响应消息包含所述第一连接的参数中与所述开放流控制器有关的 参数。
22.根据权利要求 21所述方法, 其特征在于,
所述第一开放流交换机向开放流控制器发送第一消息具体包括: 所述第一开放流交换机以广播的形式发送所述第一消息, 以便于第二 开放流交换机接收到所述第一消息后, 通过控制通道向所述开放流控制器 转发所述第一消息。
23.根据权利要求 21所述方法, 其特征在于,
所述第一开放流交换机向开放流控制器发送第一消息具体包括: 所述第一开放流交换机以组播的形式发送所述第一消息, 以便于第二 开放流交换机接收到所述第一消息后, 通过控制通道向所述开放流控制器 转发所述第一消息, 所述开放流控制器为所述组播对应的组播组的成员。
24.根据权利要求 21所述方法, 其特征在于,
所述第一开放流交换机向开放流控制器发送第一消息具体包括: 所述第一开放流交换机以广播或组播的形式发送所述第一消息, 以便 于中继代理设备接收到所述第一消息后, 向所述开放流控制器转发所述第 一消息。
25.根据权利要求 21至 24中任一权利要求所述方法, 其特征在于, 所述方法在所述第一开放流交换机接收所述开放流控制器发送的第二 响应消息之后还包括:
所述第一开放流交换机执行建立所述第一连接的动作, 所述动作包括 对所述开放流控制器根据所述第一连接的类型信息、 所述第一连接的参数 中与所述第一开放流交换机有关的参数以及所述第一连接的参数中与所述 开放流控制器有关的参数发起的所述第一连接的建立请求进行响应。
26.根据权利要求 21至 25中任一权利要求所述方法, 其特征在于, 所述方法在所述第一开放流交换机接收所述开放流控制器发送的第二 响应消息之后还包括:
所述第一开放流交换机执行建立所述第一连接的动作, 所述动作包括 根据所述第一连接的类型信息、 所述第一连接的参数中与所述第一开放流 交换机有关的参数以及所述第一连接的参数中与所述开放流控制器有关的 参数向所述开放流控制器发起所述第一连接的建立请求。
27.—种开放流控制器, 其特征在于, 包括:
接收器以及发送器;
所述接收器用于接收第一开放流交换机发送的第一消息;
所述发送器包括确定单元以及发送单元;
所述确定单元用于根据所述第一消息确定所述第一开放流交换机是否 属于所述开放流控制器管辖;
所述发送单元用于当所述确定单元确定所述第一开放流交换机属于所 述开放流控制器管辖时, 向所述第一开放流交换机发送第一响应消息, 所 述第一响应消息包含第一连接的类型信息以及所述第一连接的参数中与所 述开放流控制器有关的参数, 所述第一连接为待建立的所述第一开放流交 换机与所述开放流控制器的连接, 所述第一响应消息对应于所述第一消息。
28.根据权利要求 27所述开放流控制器, 其特征在于,
所述确定单元具体包括检测子单元以及第一确定子单元;
所述检测子单元用于检测数据库是否包含所述第一开放流交换机的标 识, 所述第一消息包含所述第一开放流交换机的标识, 所述数据库包含所 述开放流控制器管辖的开放流交换机的标识;
所述第一确定子单元用于当所述检测子单元检测到所述数据库包含所 述第一开放流交换机的标识时, 确定所述第一开放流交换机属于所述开放 流控制器管辖。
29.根据权利要求 27所述开放流控制器, 其特征在于,
所述确定单元具体包括判断子单元以及第二确定子单元;
所述判断子单元用于判断所述开放流控制器的标识对应的开放流控制 器是否为所述开放流控制器, 所述第一消息包含所述开放流控制器的标识; 的标识对应的开放流控制器为所述开放流控制器时, 确定所述第一开放流 交换机属于所述开放流控制器管辖。
30.根据权利要求 27至 29中任一权利要求所述开放流控制器, 其特征 在于,
所述接收器包括第一接收子单元;
所述第一接收子单元用于通过控制通道接收第二开放流交换机转发的 来源于所述第一开放流交换机的以广播形式发送的所述第一消息。
31.根据权利要求 27至 29中任一权利要求所述开放流控制器, 其特征 在于,
所述接收器包括第二接收子单元;
所述第二接收子单元用于通过控制通道接收第二开放流交换机转发的 来源于所述第一开放流交换机的以组播形式发送的所述第一消息, 所述开 放流控制器为所述组播对应的组播组的成员。
32.根据权利要求 27至 29中任一权利要求所述开放流控制器, 其特征 在于,
所述开放流控制器还包括执行单元,
所述执行单元用于执行建立所述第一连接的动作, 所述动作包括对所 述第一开放流交换机根据所述第一连接的类型信息以及所述第一连接的参 数中与所述开放流控制器有关的参数发起的所述第一连接的建立请求进行 响应。
33.—种第一开放流交换机, 其特征在于, 包括:
发送器, 用于向开放流控制器发送第一消息, 以便于当所述开放流控 制器根据所述第一消息确定所述第一开放流交换机属于所述开放流控制器 管辖时, 所述开放流控制器向所述第一开放流交换机发送第一响应消息, 所述第一响应消息包含第一连接的类型信息以及所述第一连接的参数中与 所述开放流控制器有关的参数, 所述第一连接为待建立的所述第一开放流 交换机与所述开放流控制器的连接, 所述第一响应消息对应于所述第一消 息;
接收器, 用于接收所述第一响应消息。
34.根据权利要求 33所述第一开放流交换机, 其特征在于,
所述发送器具体包括第一发送子单元,
所述第一发送子单元用于以广播的形式发送所述第一消息, 以便于第 二开放流交换机接收到所述第一消息后, 通过控制通道向所述开放流控制 器转发所述第一消息。
35.根据权利要求 33所述第一开放流交换机, 其特征在于,
所述发送器具体包括第二发送子单元,
所述第二发送子单元用于以组播的形式发送所述第一消息, 以便于第 二开放流交换机接收到所述第一消息后, 通过控制通道向所述开放流控制 器转发所述第一消息, 所述开放流控制器为所述组播对应的组播组的成员。
36.根据权利要求 33至 35中任一权利要求所述第一开放流交换机, 其 特征在于,
所述第一开放流交换机还包括执行单元,
所述执行单元用于执行建立所述第一连接的动作, 所述动作包括根据 所述第一连接的类型信息以及所述第一连接的参数中与所述开放流控制器 有关的参数向所述开放流控制器发起所述第一连接的建立请求。
37.—种开放流控制器, 其特征在于, 包括: 接收器以及发送器;
所述接收器用于接收第一开放流交换机发送的第一消息;
所述发送器包括确定单元以及发送单元;
所述确定单元用于根据所述第一消息确定所述第一开放流交换机是否 属于所述开放流控制器管辖;
所述发送单元用于, 当所述确定单元确定所述第一开放流交换机属于 所述开放流控制器管辖时, 向所述第一开放流交换机发送第一响应消息, 所述第一响应消息对应于所述第一消息;
所述接收器还用于接收所述第一开放流交换机发送的第二消息, 所述 第二消息包含第一连接的类型信息以及所述第一连接的参数中与所述第一 开放流交换机有关的参数, 所述第一连接为待建立的所述第一开放流交换 机与所述开放流控制器的连接;
所述发送器还用于向所述第一开放流交换机发送第二响应消息, 所述 第二响应消息包含所述第一连接的参数中与所述开放流控制器有关的参 数。
38.根据权利要求 37所述开放流控制器, 其特征在于,
所述确定单元具体包括检测子单元以及第一确定子单元;
所述检测子单元用于检测数据库是否包含所述第一开放流交换机的标 识, 所述第一消息包含所述第一开放流交换机的标识, 所述数据库包含所 述开放流控制器管辖的开放流交换机的标识;
所述第一确定子单元用于当所述检测子单元检测到所述数据库包含所 述第一开放流交换机的标识时, 确定所述第一开放流交换机属于所述开放 流控制器管辖。
39.根据权利要求 37所述开放流控制器, 其特征在于,
所述确定单元具体包括判断子单元以及第二确定子单元;
所述判断子单元用于判断所述开放流控制器的标识对应的开放流控制 器是否为所述开放流控制器, 所述第一消息包含所述开放流控制器的标识; 的标识对应的开放流控制器为所述开放流控制器时, 确定所述第一开放流 交换机属于所述开放流控制器管辖。
40.根据权利要求 37至 39中任一权利要求所述开放流控制器, 其特征 在于,
所述接收器包括第一接收子单元;
所述第一接收子单元用于通过控制通道接收第二开放流交换机转发的 来源于所述第一开放流交换机的以广播形式发送的所述第一消息。
41.根据权利要求 37至 39中任一权利要求所述开放流控制器, 其特征 在于,
所述接收器包括第二接收子单元;
所述第二接收子单元用于通过控制通道接收第二开放流交换机转发的 来源于所述第一开放流交换机的以组播形式发送的所述第一消息, 所述开 放流控制器为所述组播对应的组播组的成员。
42.根据权利要求 37至 41中任一权利要求所述开放流控制器, 其特征 在于,
所述开放流控制器还包括执行单元,
所述执行单元用于执行建立所述第一连接的动作, 所述动作包括根据 所述第一连接的类型信息、 所述第一连接的参数中与所述第一开放流交换 机有关的参数以及所述第一连接的参数中与所述开放流控制器有关的参数 向所述第一开放流交换机发起所述第一连接的建立请求。
43.根据权利要求 37至 41中任一权利要求所述开放流控制器, 其特征 在于,
所述开放流控制器还包括执行单元,
所述执行单元用于执行建立所述第一连接的动作, 所述动作包括对所 述第一开放流交换机根据所述第一连接的类型信息、 所述第一连接的参数 中与所述第一开放流交换机有关的参数以及所述第一连接的参数中与所述 开放流控制器有关的参数发起的所述第一连接的建立请求进行响应。
44.一种第一开放流交换机, 其特征在于, 包括:
发送器以及接收器;
所述发送器用于向开放流控制器发送第一消息, 以便于当所述开放流 控制器根据所述第一消息确定所述第一开放流交换机属于所述开放流控制 器管辖时, 所述开放流控制器向所述第一开放流交换机发送第一响应消息, 所述第一响应消息对应于所述第一消息;
所述接收器用于接收所述第一响应消息;
所述发送器还用于向所述开放流控制器发送第二消息 , 所述第二消息 包含第一连接的类型信息以及所述第一连接的参数中与所述第一开放流交 换机有关的参数, 所述第一连接为待建立的所述第一开放流交换机与所述 开放流控制器的连接;
所述接收器还用于接收所述开放流控制器发送的第二响应消息, 所述 第二响应消息包含所述第一连接的参数中与所述开放流控制器有关的参 数。
45.根据权利要求 44所述第一开放流交换机, 其特征在于,
所述发送器具体包括第一发送子单元,
所述第一发送子单元用于以广播的形式发送所述第一消息, 以便于第 二开放流交换机接收到所述第一消息后, 通过控制通道向所述开放流控制 器转发所述第一消息。
46.根据权利要求 44所述第一开放流交换机, 其特征在于,
所述发送器具体包括第二发送子单元,
第二发送子单元用于以组播的形式发送所述第一消息, 以便于第二开 放流交换机接收到所述第一消息后, 通过控制通道向所述开放流控制器转 发所述第一消息, 所述开放流控制器为所述组播对应的组播组的成员。
47.根据权利要求 44至 46中任一权利要求所述第一开放流交换机, 其 特征在于,
所述第一开放流交换机还包括执行单元,
所述执行单元用于执行建立所述第一连接的动作, 所述动作包括对所 述开放流控制器根据所述第一连接的类型信息、 所述第一连接的参数中与 所述第一开放流交换机有关的参数以及所述第一连接的参数中与所述开放 流控制器有关的参数发起的所述第一连接的建立请求进行响应。
48.根据权利要求 44至 47中任一权利要求所述第一开放流交换机, 其 特征在于,
所述第一开放流交换机还包括执行单元,
所述执行单元用于执行建立所述第一连接的动作, 所述动作包括根据 所述第一连接的类型信息、 所述第一连接的参数中与所述第一开放流交换 机有关的参数以及所述第一连接的参数中与所述开放流控制器有关的参数 向所述开放流控制器发起所述第一连接的建立请求。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201280059046.XA CN103975561B (zh) | 2011-12-02 | 2012-01-09 | 发送消息的方法、接收消息方法、开放流控制器及第一开放流交换机 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/083391 WO2013078685A1 (zh) | 2011-12-02 | 2011-12-02 | 发送消息的方法、接收消息方法、开放流控制器及第一开放流交换机 |
CNPCT/CN2011/083391 | 2011-12-02 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013078780A1 true WO2013078780A1 (zh) | 2013-06-06 |
Family
ID=48534655
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/083391 WO2013078685A1 (zh) | 2011-12-02 | 2011-12-02 | 发送消息的方法、接收消息方法、开放流控制器及第一开放流交换机 |
PCT/CN2012/070136 WO2013078780A1 (zh) | 2011-12-02 | 2012-01-09 | 发送消息的方法、接收消息方法、开放流控制器及第一开放流交换机 |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/083391 WO2013078685A1 (zh) | 2011-12-02 | 2011-12-02 | 发送消息的方法、接收消息方法、开放流控制器及第一开放流交换机 |
Country Status (3)
Country | Link |
---|---|
US (1) | US9641421B2 (zh) |
EP (1) | EP2787694B1 (zh) |
WO (2) | WO2013078685A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160073403A (ko) * | 2013-10-26 | 2016-06-24 | 후아웨이 테크놀러지 컴퍼니 리미티드 | Sdn 교환기가 정확한 흐름 엔트리를 획득하는 방법, 및 sdn 교환기, 제어기, 및 시스템 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110261825A1 (en) * | 2009-03-09 | 2011-10-27 | Nec Corporation | OpenFlow COMMUNICATION SYSTEM AND OpenFlow COMMUNICATION METHOD |
WO2011144495A1 (en) * | 2010-05-19 | 2011-11-24 | Telefonaktiebolaget L M Ericsson (Publ) | Methods and apparatus for use in an openflow network |
US20110286359A1 (en) * | 2009-03-26 | 2011-11-24 | Nec Corporation | Route setup server, route setup method and route setup program |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030086367A1 (en) * | 1998-09-08 | 2003-05-08 | Lee D. Bengston | Method for monitoring spare capacity of a dra network |
US8266696B2 (en) * | 2005-11-14 | 2012-09-11 | Cisco Technology, Inc. | Techniques for network protection based on subscriber-aware application proxies |
JP5115437B2 (ja) | 2008-09-30 | 2013-01-09 | ブラザー工業株式会社 | ネットワークシステム、情報処理装置、情報処理方法及び情報処理装置用プログラム |
WO2010090182A1 (ja) | 2009-02-03 | 2010-08-12 | 日本電気株式会社 | アプリケーションスイッチシステム、及びアプリケーションスイッチ方法 |
WO2011030462A1 (ja) * | 2009-09-14 | 2011-03-17 | 日本電気株式会社 | 通信システム、ノード、制御サーバ、通信方法およびプログラム |
CN101877671B (zh) | 2009-12-02 | 2012-06-27 | 北京星网锐捷网络技术有限公司 | 镜像报文的发送方法、交换芯片及以太网路由器 |
WO2012023604A1 (ja) * | 2010-08-20 | 2012-02-23 | 日本電気株式会社 | 通信システム、制御装置、通信方法およびプログラム |
US20130246655A1 (en) * | 2010-12-13 | 2013-09-19 | Nobuhiko Itoh | Communication path control system, path control device, communication path control method, and path control program |
US8830820B2 (en) * | 2011-10-14 | 2014-09-09 | Google Inc. | Semi-centralized routing |
US8738756B2 (en) * | 2011-12-01 | 2014-05-27 | International Business Machines Corporation | Enabling co-existence of hosts or virtual machines with identical addresses |
CN103975561B (zh) | 2011-12-02 | 2017-02-22 | 华为技术有限公司 | 发送消息的方法、接收消息方法、开放流控制器及第一开放流交换机 |
-
2011
- 2011-12-02 EP EP11876638.5A patent/EP2787694B1/en not_active Not-in-force
- 2011-12-02 WO PCT/CN2011/083391 patent/WO2013078685A1/zh active Application Filing
-
2012
- 2012-01-09 WO PCT/CN2012/070136 patent/WO2013078780A1/zh active Application Filing
-
2014
- 2014-05-30 US US14/292,121 patent/US9641421B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110261825A1 (en) * | 2009-03-09 | 2011-10-27 | Nec Corporation | OpenFlow COMMUNICATION SYSTEM AND OpenFlow COMMUNICATION METHOD |
US20110286359A1 (en) * | 2009-03-26 | 2011-11-24 | Nec Corporation | Route setup server, route setup method and route setup program |
WO2011144495A1 (en) * | 2010-05-19 | 2011-11-24 | Telefonaktiebolaget L M Ericsson (Publ) | Methods and apparatus for use in an openflow network |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160073403A (ko) * | 2013-10-26 | 2016-06-24 | 후아웨이 테크놀러지 컴퍼니 리미티드 | Sdn 교환기가 정확한 흐름 엔트리를 획득하는 방법, 및 sdn 교환기, 제어기, 및 시스템 |
KR101700238B1 (ko) | 2013-10-26 | 2017-01-26 | 후아웨이 테크놀러지 컴퍼니 리미티드 | Sdn 교환기가 정확한 흐름 엔트리를 획득하는 방법, 및 sdn 교환기, 제어기, 및 시스템 |
US9742656B2 (en) | 2013-10-26 | 2017-08-22 | Huawei Technologies Co., Ltd. | Method for acquiring, by SDN switch, exact flow entry, and SDN switch, controller, and system |
US10367718B2 (en) | 2013-10-26 | 2019-07-30 | Huawei Technologies Co., Ltd. | Method for acquiring, by SDN switch, exact flow entry, and SDN switch, controller, and system |
Also Published As
Publication number | Publication date |
---|---|
US9641421B2 (en) | 2017-05-02 |
WO2013078685A1 (zh) | 2013-06-06 |
EP2787694A4 (en) | 2014-10-29 |
EP2787694A1 (en) | 2014-10-08 |
US20140269708A1 (en) | 2014-09-18 |
EP2787694B1 (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10652086B2 (en) | Converging IOT data with mobile core networks | |
EP2955940B1 (en) | Mobile network iot convergence | |
CN101741742B (zh) | 报文处理方法、接入设备和通信系统 | |
WO2013134937A1 (zh) | 发送建立连接请求的方法、交换机、服务器及系统 | |
JP5987841B2 (ja) | 通信システム、制御装置、転送ノード、通信システムの制御方法およびプログラム | |
US9871761B2 (en) | Methods and apparatus for implementing a fibre channel zone policy | |
US8995338B2 (en) | Multipath overlay network and its multipath management protocol | |
JP6480452B2 (ja) | パケット処理方法および装置 | |
CN105338535A (zh) | 一种使用移动终端进行无线组网的方法 | |
EP3414969A1 (en) | Method for converging iot data with mobile core | |
JP2016506174A (ja) | Ipアドレスに基づくudp中継 | |
CN102857415B (zh) | 介质访问控制地址学习控制方法、装置和路由桥 | |
CN112995038B (zh) | Profinet协议在工业sdn中的接入方法 | |
WO2013078780A1 (zh) | 发送消息的方法、接收消息方法、开放流控制器及第一开放流交换机 | |
EP3068082B1 (en) | Fault processing method and apparatus for edge route bridge in trill network | |
WO2014094490A1 (zh) | 一种接入互联网的业务分流方法及装置 | |
WO2016095750A1 (zh) | 虚拟交换集群中通信的方法及装置 | |
CN112994994B (zh) | 基于工业以太网协议在工业sdn中的接入方法 | |
WO2016202072A1 (zh) | 自动配置方法、控制器及设备 | |
JP5548093B2 (ja) | 通信システム | |
JP5861424B2 (ja) | 通信システム、制御装置、通信方法およびプログラム | |
CN103841029B (zh) | 数据传输方法、装置和系统 | |
JP2019024266A (ja) | パケット処理方法および装置 | |
WO2017088530A1 (zh) | 通话方法、装置及系统、存储介质 | |
WO2016197728A1 (zh) | 报文处理方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12852848 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: 12852848 Country of ref document: EP Kind code of ref document: A1 |