1. Field of the Invention
The present invention is related to a method of managing a mobility management layer in a mobile device, and more particularly, to a method of managing a mobility management layer in a mobile device with improved system efficiency.
2. Description of the Prior Art
According to 3GPP (3rd Generation Partnership Project) mobile communication structure, the wireless interface protocol structure of a mobile device includes three layers: a physical layer, a data link layer, and a network layer. The data link layer includes a packet data convergence protocol (PDCP) layer, a radio link control (RLC) layer, and a medium access control (MAC) layer. The network layer includes a radio resource control (RRC) layer, a mobility management (MM) layer and a connection management (CM) layer.
The RLC layer is configured to provide services including protocol data unit (PDU) transmission, automatic retransmission request (ARQ) correction, concatenation, service data unit (SDU) segmentation/reassembly/deletion, sequential PDU transmission, duplicative detection, protocol error detection, and protocol reestablishment.
The MAC layer is configured to provide services including hybrid automatic repeat request (HARQ) error correction and transmission time interval (TTI) bundling transmission.
The CM layer is configured to provide call controls, including establishing connection, selecting connection type (voice or fax) and releasing connection, and manage supplementary service (SS) and short message service (SMS).
The RRC layer is configured to maintain connection, establish/release communication channel, and manage power control.
The MM layer is configured to handle user verification, signal encoding and all mobility-related functions so that the network may be informed of the current location of the mobile device.
According to current 3GPP specifications, after entering State 9, the MM layer has a RR connection to its peer entity in the network, but no MM connection is established. The mobile device is passive, awaiting further commands from the network. In the prior art, if the network somehow fails to respond, the MM layer of the mobile device may stay in State 9 and thus is unable to provide other services.
The present invention provides a method of managing a mobility management layer in a mobile device. The method includes acquiring a waiting period after the mobility management layer enters awaiting state; the mobility management layer exiting the waiting state according to a command received from a network if the waiting period does not exceed a predetermined value; and the mobility management layer exiting the waiting state if the waiting period exceeds the predetermined value.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Step 210: determine whether the MM layer is in a waiting state: if yes, execute step 220; if no execute step 210.
Step 220: activate a timer of the mobile device, execute step 230.
Step 230: determine whether the timer has expired: if yes, execute step 260; if no execute step 240.
Step 240: determine whether a specific command associated with exiting the waiting state is received from a network: if yes, execute step 250; if no execute step 230.
Step 250: exit the waiting state and perform a first action corresponding to the specific command, execute step 270.
Step 260: exit the waiting state and perform a second action, execute step 270.
Step 270: reset the timer, execute step 210.
In step 210, the waiting state may be state 9 defined in 3GPP specifications. In state 9, the MM layer has a RR connection to its peer entity in the network, but no MM connection is established. The mobile device is passive, awaiting further commands from the network. In the embodiment illustrated in
If it is determined in step 230 that the timer has not expired, step 240 is executed for determining whether the specific command associated with exiting the waiting state is received from the network. When receiving the specific command, step 250 is executed for exiting the waiting state and performing the first action corresponding to the specific command. In the embodiment illustrated in
If it is determined in step 230 that the timer has expired, step 260 is executed for exiting the waiting state and performing the second action. In the embodiment illustrated in
In the embodiment illustrated in
In the present invention, before the waiting period of the mobility management layer after entering a waiting state expires, the mobile device is configured to passively await further instructions from the network. After the waiting period of the mobility management layer after entering the waiting state expires, the mobile device is configured to control the MM layer to exit the waiting state. If the network somehow fails to respond, the MM layer of the mobile device may exit the waiting state for providing other services, thereby improving system efficiency.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
100136582 | Oct 2011 | TW | national |