Abstract:
A batch data query method and apparatus are provided. According to the method, multiple logical query plan trees corresponding to multiple query statements are obtained. The multiple logical query plan trees are divided into multiple query groups according to operators of each logical query plan tree. Logical query plan trees in each query group have the following relationship: an inter-query write-read dependency relationship, an operator overlap relationship, or an operand overlap relationship. Then, inter-query optimization is performed on the logical query plan trees in each query group, and multiple corresponding physical query plan trees are generated according to the multiple optimized logical query plan trees. Finally, physical queries are executed according to the multiple physical query plan trees, to obtain query results of the multiple query statements.
Abstract:
A method includes: continuously receiving a first upstream data packet and a second upstream data packet that are sent by an upstream node; copying the first upstream data packet, converting, based on an established connection mapping table, a first packet in two packets obtained through copying, sending a first downstream data packet obtained through conversion to a downstream node or a user terminal, and performing control management on a second packet obtained by copying the first upstream data packet; and copying the second upstream data packet, converting, based on the connection mapping table, a first packet in two packets obtained through copying, sending a second downstream data packet obtained through conversion to the downstream node or the user terminal, and performing control management on a second packet obtained by copying the second upstream data packet.
Abstract:
The present invention discloses a load balancing method, apparatus and system. In the present invention, a network management and control center of a basic network system interacts with a service management and control center of a network service system, and determines a load balancing policy according to entity information about service function execution entities in the network service system; and the network management and control center generates an execution flow table according to the load balancing policy, and controls a network device to perform a load balancing operation according to the execution flow table. The present invention is applicable to a network service system comprising a service function execution entity in a transparent mode, so as to implement load balancing processing on the service function execution entity in transparent mode in the network service system.
Abstract:
A method and an apparatus for sending a TCP data packet and a system. The method includes: obtaining a first round-trip time of sending a TCP data packet in a network, and determining a second round-trip time; if the first round-trip time is longer than the second round-trip time, using a congestion window determined according to a first algorithm as a first congestion window; otherwise, using a congestion window determined according to a second algorithm as the first congestion window; and sending the TCP data packet by using the first congestion window. In the technical solution disclosed in the present invention, a current congestion window that exists when a first round-trip time is obtained grows to a first congestion window at one go, so that a requirement of a service for a throughput can be better met, and a network bandwidth can be utilized more effectively.
Abstract:
The present invention discloses a method, system, service selection entity, and service management entity for selecting a service provision entity in a peer-to-peer (P2P) network communication, so as to select heterogeneous service provision entities for heterogeneous service requesting entities. The method includes: receiving service capability information of service provision entities; obtaining service request information of a service requesting entity; and selecting a service provision entity of an appropriate service capability to provide a service for the service requesting entity according to the service capability information of service provision entities and the service request information of the service requesting entity. The present invention is applicable to P2P overlay networks, wherein the service selection entity, the service requesting entities, and the service provision entity each comprises a respective network enabled communication device selected from anyone of: a client device, a server, and a storage device for peer-to-peer (P2P) network communication.
Abstract:
A method for generating configuration information includes: a network control unit receives a virtual machine association message, where the VM association message includes an identifier of a first VM and an identifier of a first virtual built-in network element (NE), where a state of the first VM changes and the first virtual built-in NE detects that the state of the first VM changes; and the network control unit determines first information according to the identifier of the first VM, where the first information includes at least one of: a first forwarding entry, a location information mapping entry of the first VM, and a first network policy. According to the method, a network control unit determines first information according to an identifier of a first VM whose state changes and whose identifier is included in a VM association message, network configuration efficiency and network performance are improved.
Abstract:
A data transmission method and an apparatus are provided. The data transmission method in the present invention includes: determining, by a first device and according to data stream information, whether a data transfer protocol TCP parameter in a data stream corresponding to the data stream information needs to be modified, where the data stream information includes at least one of the following information: information about the first device, information about a second device, service information, or network status information; if determining that the TCP parameter needs to be modified, modifying, by the first device, the TCP parameter, to obtain a modified TCP parameter; and generating, by the first device, a modification result of the TCP parameter.
Abstract:
A method for configuring a service node, a service node pool registrar, and a system are provided. The service node pool registrar receives a service node query request sent by a management configuration device, where the service node query request includes a service requirement, where the service requirement is from a user or caused by a network change; the service node pool registrar searches a service node database to obtain service node information that matches the service node query request and sends the matching service node information to the management configuration device, so that the management configuration device performs network and service configuration on the matching service node according to obtained network topology information and the matching service node information.
Abstract:
The present disclosure provide a method for creating a stream forwarding entry includes: receiving, by a data communication device, a packet; making statistics on the received packet to obtain a statistical value of a stream corresponding to the packet; judging whether the statistical value of the stream exceeds a preset threshold value; and if exceeds the preset threshold value, creating, by the data communication device, a stream forwarding entry for the stream corresponding to the packet, and performing stream forwarding for subsequent packets of the stream according to the stream forwarding entry. Through the present disclosure, the number of stream forwarding entries in a stream table is reduced, the required storage space is reduced, and the maintenance of the stream table is simplified; moreover, the data communication device is not vulnerable to attacks of denial of service and is highly secure.