Method, apparatus and system for managing routes
AssigneeHuawei Technologies Co., Ltd.
InventorNing Zhu
Life of this patent
Estimating the term…
Abstract
The present invention discloses a method, an apparatus, and a system for managing routes, enables the MG to implement routing functions in the network communications field, and facilitates the operations on the routing table in the MG. A route context stores route records, and the MG searches for a route by searching for the corresponding route context only, thus facilitating the route management. The embodiments of the present invention are primarily applied to the MG and the MGC, especially to the MG that implements the routing functions.
Claims13
A route management method, comprising:
- creating, by a Media Gateway (MG), a route context that stores at least one route record;
- and
- managing, by the MG, the route record by operating the route context, wherein the managing the route record by operating the route context comprises:
- detecting that a new route is added;
- sending an add-route event that carries a new route record to a Media Gateway Controller (MGC);
- receiving an instruction for adding the new route record from the MGC;
- creating the route context according to the instruction for adding the new route record, wherein the at least one route record stored in the route context is the route record carried in the add-route event.
A route management apparatus, comprising:
- a creating module, configured to create a route context that stores at least one route record in a Media Gateway (MG);
- a detecting module, configured to detect whether there is a new route;
- a sending module, configured to send an add-route event that carries a new route record to a Media Gateway Controller (MGC) if a new route is detected;
- and
- a receiving module, configured to receive an instruction for adding the new route record from the MGC;
- wherein the creating module is further configured to add the route record carried in the event into a created route context according to the instruction for adding the route record;
- or create a route context according to the instruction for adding the route record and store the route record carried in the event into the created route context.
A route management system, comprising a Media Gateway Controller (MGC) and a Media Gateway (MG), wherein:
- the MG is configured to create a route context that stores at least one route record in the MG;
- detect whether there is a new route;
- send an add-route event that carries a new route record to the MGC if a new route is detected;
- receive an instruction for adding the new route record from the MGC;
- and
- the MG is further configured to add the route record carried in the event into a created route context according to the instruction for adding the route record;
- or create a route context according to the instruction for adding the route record and store the route record carried in the event into the created route context.
Dependencies are inferred from the claim text.