Abstract:
The present application provides a method and an apparatus for avoiding interruptions in an on-going service. A LAN bridge intercepts a trusted port connected to a first routing bridge; determines whether the first routing bridge is forwarding or has a permission to forward data flow from a C-VLAN according to a result of the interception; and if the first routing bridge is not forwarding or no longer has the permission to forward the data flow from the C-VLAN, broadcasts the data flow from the C-VLAN to a second routing bridge so that the second routing bridge forwards the data flow from the C-VLAN. With the method provided in the embodiments of the present application, a forwarding path can be rapidly switched when a designated routing bridge is faulty and cannot carry out a traffic forwarding function or an appointed forwarder of a customer VLAN is changed.
Abstract:
Embodiments of the present invention disclose a linkage policy implementation method, which includes: receiving, by a linkage proxy module, a linkage policy request delivered by a third-party application service; calling a corresponding protocol converter according to a protocol identifier in the linkage policy request, and performing protocol conversion for the linkage policy request to convert it into a linkage policy request in a set protocol format; and sending the protocol-converted linkage policy request to a linkage client to instruct the linkage client to parse the linkage policy request based on the set protocol and execute linkage policy configuration. With the present invention, a linkage proxy is set to execute protocol conversion of various protocols. Therefore, the cost of the linkage client would not be increased for supporting multiple protocols; and when third-party applications are increased or decreased, it is unnecessary to reconfigure the linkage client.
Abstract:
A compilation method includes obtaining a source program code. The source program code includes a first function in a first language code and a second function in a second language code. The first language code is a native language. The second language code is a non-native language. The method also includes generating a third language code based on the source program code. The third language code includes a third function, a fourth function and a fifth function. The third function is generated based on the first function. The fourth function is generated based on the second function. The fifth function is generated based on the first function and the second function. Executing the third function invokes the fourth function via the fifth function.
Abstract:
This application provides a power sharing method and apparatus. The method includes: estimating a first transmit power based on a traffic volume of terminal devices to be scheduled in a first carrier in a first scheduling period, where the first transmit power is a transmit power required in the first carrier to schedule the to-be-scheduled terminal devices in the first scheduling period; and estimating a second transmit power based on the first transmit power and an initially configured transmit power of the first carrier, where the second transmit power is a remaining transmit power of the first carrier in the first scheduling period. According to the power sharing method and apparatus provided in this application, a remaining transmit power of a carrier in a scheduling period is estimated based on the traffic volume of the to-be-scheduled terminal devices, thereby improving accuracy of transmit power sharing.
Abstract:
Embodiments of the present invention disclose a method, a router bridge, and a system for TRILL network protection. An active RB node and a standby RB node share a virtual Nickname and a virtual MAC address, and construct a protection group. The active RB node, through the TRILL protocol, obtains a network topology and generates a forwarding path to perform forwarding of a data packet. When the active RB node is faulty, the standby RB node is raised to be active and the data packet is forwarded through the standby RB node, so that the time for fault recovery is shortened, thereby solving the problem that in an existing TRILL network when a root RB node is faulty, a long time for the fault recovery causes a service interruption and affects network performance.