Abstract:
A data processing method implemented by a controller includes after receiving a processing request from a specified node carrying identifiers of a plurality of computing nodes configured to execute a specified calculation task, determining a target switching device from switching devices that are configured to connect to the plurality of computing nodes, and separately sending, to the target switching device and the specified node, routing information used to indicate data forwarding paths between the plurality of computing nodes and the target switching device. The target switching device is configured to combine, based on the routing information, data reported by the plurality of computing nodes, and then send combined data to each computing node. The specified node is configured to send the routing information to each computing node, and each computing node may report data to the target switching device based on the routing information.
Abstract:
The method includes, when a first data packet of a data stream is received and the first data packet is not the first data packet of the data stream, determining a time interval between a first receiving time and a second receiving time, where the first receiving time is when the first data packet is received, and the second receiving time is when a second data packet is received, obtaining a sent data amount of the data stream, and determining a transmission path of the first data packet from a plurality of available transmission paths based on the time interval and the sent data amount, and transmitting the first data packet through the determined transmission path.
Abstract:
A method of inter-board communication in a router cluster, a router, and a router cluster are provided. The method comprises: the main router configuring and enabling an IP address of the interconnection interface of the main router, and acquiring IP address(es) of other router(s) in the router cluster; other router(s) except the main router configuring and enabling IP address(es) of interconnection interface(s) of other router(s) except the main router respectively, and acquiring the IP address of the main router; the main router establishing communication connections with other router(s) in the router cluster, and enabling the function of communication agent; the main router and the other router(s) in the router cluster transmitting internal control messages of the router cluster through their respective communication agent modules.
Abstract:
A method of interface registration for a network device to join in a cluster system, comprises: when the network device joins in the cluster system, the network device's local interconnection board sends its board number to the network device's local main control board, the network device's local non-interconnection board receives the board number sent by the local main control board, wherein the local interconnection board is a board on which interfaces for interconnecting the network device to network devices in the cluster system are located; after the cluster interface registration of the local non-interconnection board and local interconnection board on the cluster main control board, the local non-interconnection board and the local interconnection board receive and store a mapping relationship between local interface information of the network device and global interface information of the network device sent by the cluster main control board respectively.
Abstract:
This application discloses a flow entry generating method and apparatus. The method includes: receiving a service path establishment request, where the service path establishment request includes a constraint, a source device, and a target device; finding, in a data transmission network according to a cross-layer information model, a service path that meets the constraint and is from the source device to the target device, where the cross-layer information model is a model that describes, at a same layer, an overall topology relationship between an IP layer and an optical layer; and generating a respective corresponding flow entry for each forwarding device in the service path, and sending the flow entry to a corresponding forwarding device. This application can greatly reduce time complexity of computing the service path, and improve efficiency of computing the service path, thereby improving efficiency of generating a flow entry.
Abstract:
A method for sending a connection establishment request is provided, comprising: sending a parameter requesting message to a configuration server from an OpenFlow switch for obtaining connection parameters of an OpenFlow controller; receiving by the OpenFlow switch an Internet Protocol (IP) address and a set of OpenFlow controller connection parameters sent from the configuration server, the set of connection parameters comprising at least connection parameters of a first OpenFlow controller; sending a connection establishment request message to the first OpenFlow controller from the OpenFlow switch according to the IP address and the connection parameter of the first OpenFlow controller. An OpenFlow switch, a configuration server and a system for sending a connection establishment request are also provided. With the solutions provided in embodiments of the disclosure, the automatic connection establishment between the OpenFlow switch and the OpenFlow controller can be realized.
Abstract:
The present invention relates to the field of communications and discloses a method and an apparatus for controlling a network device. An open service platform intercepts an instruction packet sent to a network device, identifies authority of the instruction packet and judges whether the instruction packet is in conflict with a previous instruction, and sends the instruction packet to the network device if the instruction packet has the authority and is not in conflict with the previous instruction. The method and apparatus can ensure correct and lawful control caused by the instruction packet on the network device.
Abstract:
This application discloses a congestion control method and related apparatus. In the congestion control method, a network device first obtains statistical information of a target egress queue within a first time period, where the target egress queue is any target egress queue in the network device. The network device determines an explicit congestion notification (ECN) threshold for the target egress queue within a second time period based on the statistical information of the target egress queue within the first time period, where the second time period is chronologically subsequent to the first time period. When a queue depth of the target egress queue exceeds the ECN threshold within the second time period, the network device sets an ECN mark for a data packet in the target egress queue.
Abstract:
A data processing method implemented by a controller includes receiving a processing request from a specified node that carries identifiers of a plurality of computing nodes, where the plurality of computing nodes are configured to execute a specified calculation task, determining a target switching device from switching devices that are configured to connect to the plurality of computing nodes, and separately sending, to the target switching device and the specified node, routing information that indicates data forwarding paths between the plurality of computing nodes and the target switching device. The target switching device is configured to combine, based on the routing information, data reported by the plurality of computing nodes, and then send combined data to each computing node. The specified node is configured to send the routing information to each computing node, and each computing node may report data to the target switching device based on the routing information.
Abstract:
A data forwarding method includes, after congestion of an egress queue is relieved, a network device that receives a packet from an upstream node, and determines whether a storage device associated with the egress queue buffers a previous packet that belongs to a same data flow as the packet. When the storage device does not buffer the previous packet, the network device schedules the packet to the egress queue, to forward the packet to a downstream node, where the storage device is configured to receive, during congestion of the egress queue, a packet sent by the network device.