Abstract:
A method and an apparatus for detecting an operating status of a node is provided. The method is as follows: selecting, from nodes of a transmission link established between a transmit end and a receive end, one node in the nodes as a to-be-detected node, and sending a detection instruction to the to-be-detected node; receiving a real-time control packet and a first quantity of IP data packets forwarded by the to-be-detected node, where the real-time control packet and the first quantity are returned by the to-be-detected node based on the detection instruction; determining, according to the real-time control packet, a second quantity of IP data packets that the to-be-detected node needs to bear; and obtaining a specified threshold and a quantity difference between the first quantity and the second quantity, and determining an operating status of the to-be-detected node according to the quantity difference and a value of the threshold.
Abstract:
A method and an apparatus for detecting an operating status of a node is provided. The method is as follows: selecting, from nodes of a transmission link established between a transmit end and a receive end, one node in the nodes as a to-be-detected node, and sending a detection instruction to the to-be-detected node; receiving a real-time control packet and a first quantity of IP data packets forwarded by the to-be-detected node, where the real-time control packet and the first quantity are returned by the to-be-detected node based on the detection instruction; determining, according to the real-time control packet, a second quantity of IP data packets that the to-be-detected node needs to bear; and obtaining a specified threshold and a quantity difference between the first quantity and the second quantity, and determining an operating status of the to-be-detected node according to the quantity difference and a value of the threshold.
Abstract:
A method, a controller, and a system for processing a data packet are disclosed. The method includes receiving, by a controller, a data packet that is reported by a switch and does not match a forwarding rule; after it is determined that a type of the data packet is a broadcast data packet, generating a forwarding rule for the data packet, where the forwarding rule includes an action attribute being discarded; and sending the forwarding rule of the data packet to the switch, so that when receiving the data packet again, the switch discards the data packet according to the action attribute of the forwarding rule. In the present invention, a broadcast storm on a network can be avoided without shielding a port of a switch. Therefore, for a fully-connected network, a forwarding capability of a port and a quantity of available transmission links on the network are ensured.
Abstract:
A task coordination apparatus in a computing system having a distributed shared memory (DSM) coordinates the execution of two related tasks, wherein the second task has an execution variable which is modified by the first task. The task coordination apparatus creates a snapshot of a memory space in the distributed shared memory assigned to the first task and a cooperation watching area of the second task. The cooperation watching area contains a memory address pointing to a location where the execution variable of the second task is stored in the memory space assigned to the first task. The first task is allocated to a first computing node for execution, and the memory space assigned to it is updated according to the execution result. After updating the memory space, the second task is allocated to a second computing node for execution using the execution variable updated by the first task.
Abstract:
A data packet processing method, a terminal, and a gateway, where the terminal, determines to transmit network traffic using a first network and a second network simultaneously based on an aggregation flow table, and upon that determination, the terminal sends a quantity of first uplink data packets to the gateway using a first network interface card corresponding to the first network, and sends a quantity of second uplink data packets belonging to the same Transmission Control Protocol (TCP) connection as the first uplink data packets to the gateway using a second network interface card corresponding to the second network, where a source Internet Protocol (IP) address carried in each of the first uplink data packets is the IP address of the first network interface card, and a source IP address carried in each of the second uplink data packets is the IP address of the second network interface card.
Abstract:
A data packet processing method includes acquiring, by a terminal, an aggregation flow table, where the aggregation flow table includes a management policy for managing network traffic of a first network and network traffic of a second network, determining, by the terminal, according to the aggregation flow table, a transmission network used for transmitting a first uplink data packet, and when the terminal determines to transmit the first uplink data packet using the first network, sending the first uplink data packet to the first network using a first network interface card, and forwarding the first uplink data packet to a gateway, and when the terminal determines to transmit the first uplink data packet using the second network, sending, by the terminal, the first uplink data packet to the second network using a second network interface card, and forwarding the first uplink data packet to a gateway.
Abstract:
A method for constructing a multipath forwarding rule, an apparatus, and a system. A controller invokes a multipath algorithm to generate multiple paths for a data stream; the controller generates a multiport rule of a forwarding device according to the multiple paths; the controller generates metadata according to the multiport rule of each forwarding device, where the metadata includes information for indicating at least one forwarding port of the forwarding device; the controller generates a flow entry establishment indication; the controller sends the flow entry establishment indication to a forwarding device, such that each forwarding device selects the at least one forwarding port of the forwarding device according to the flow entry establishment indication, to forward the data stream.
Abstract:
A data packet processing method includes acquiring, by a terminal, an aggregation flow table, where the aggregation flow table includes a management policy for managing network traffic of a first network and network traffic of a second network, determining, by the terminal, according to the aggregation flow table, a transmission network used for transmitting a first uplink data packet, and when the terminal determines to transmit the first uplink data packet using the first network, sending the first uplink data packet to the first network using a first network interface card, and forwarding the first uplink data packet to a gateway, and when the terminal determines to transmit the first uplink data packet using the second network, sending, by the terminal, the first uplink data packet to the second network using a second network interface card, and forwarding the first uplink data packet to a gateway.
Abstract:
A missing semantics complementing method in the field of natural language processing in the artificial intelligence field is provided. The method includes: obtaining a question statement and a historical dialog statement; resolving a to-be-resolved item in the question statement based on the historical dialog statement and location information of the to-be-resolved item, to obtain a resolved question statement; determining whether a component in the question statement is ellipted, and if a component in the question statement is ellipted, complementing the ellipted component based on the historical dialog statement, to obtain a question statement after ellipsis resolution; merging the resolved question statement and the question statement after ellipsis resolution, to obtain a merged question statement; and determining a target complemented question statement from the resolved question statement, the question statement after ellipsis resolution, and the merged question statement.
Abstract:
A data packet processing method, a terminal, and a gateway, where the terminal, determines to transmit network traffic using a first network and a second network simultaneously based on an aggregation flow table, and upon that determination, the terminal sends a quantity of first uplink data packets to the gateway using a first network interface card corresponding to the first network, and sends a quantity of second uplink data packets belonging to the same Transmission Control Protocol (TCP) connection as the first uplink data packets to the gateway using a second network interface card corresponding to the second network, where a source Internet Protocol (IP) address carried in each of the first uplink data packets is the IP address of the first network interface card, and a source IP address carried in each of the second uplink data packets is the IP address of the second network interface card.