Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method for receiving GSM system messages to reduce unnecessary receiving of system message positions.
In order to solve the above technical problem, the present invention provides a method for receiving a GSM system message, which comprises the following steps: screening a set of system messages needing to be received, and putting the screened system messages into a list to be identified; receiving each system message according to the set TC position and period; respectively judging whether each system message is in the identified scheduling cycle list; when the system message is not in the identified scheduling period list, identifying the scheduling period of each system message, and putting the system message with the identified scheduling period into the identified scheduling period list, wherein each scheduling period is used as a period for subsequent receiving of the corresponding system message; and when the system message is in the identified scheduling cycle list, checking the accuracy of the identification according to the receiving condition of the system message.
In an embodiment of the present invention, the step of identifying the scheduling period of each system message includes: a. judging whether the system message is in the list to be identified, if so, entering the step b, otherwise, ending the process; b. recording the frame number of the system message; c. judging whether the frame number of the system message reaches the set times, if so, entering the step d, otherwise, ending; d. calculating an adjacent frame number interval of the system message; e. judging whether the adjacent frame number interval meets the interval detection criterion, if so, entering the step f, otherwise, ending; f. adjusting the scheduling period of the corresponding system message to the adjacent frame number interval; g. and deleting the corresponding system message type from the list to be identified.
In an embodiment of the present invention, the step of identifying the scheduling period of each system message further includes, before step a: a0. and c, judging whether the received system message frame is a good frame, if so, entering the step a, and if not, ending the step.
In an embodiment of the invention, the interval detection criteria are that the adjacent frame number intervals are all equal.
In an embodiment of the present invention, the step of checking the accuracy of the identification according to the reception status of the system message comprises: a. judging whether the system message is of an expected type, if so, ending, otherwise, entering the step b; b. resetting a receiving scheduling period corresponding to the system message; c. the corresponding system message type is removed from the list of identified scheduling periods.
In an embodiment of the present invention, the step of checking the accuracy of the identification according to the reception status of the system message comprises: a. judging whether the system message is of an expected type, if so, ending, otherwise, entering the step b; b. resetting a receiving scheduling period corresponding to the system message; c. adding the corresponding system message type into a penalty list; deleting the corresponding system message type from the identified scheduling period list.
In an embodiment of the present invention, the step of checking the accuracy of the identification according to the reception status of the system message comprises: a. judging whether the received system message frame is a good frame, if so, entering the step b, otherwise, entering the step e; b. judging whether the system message is of an expected type, if so, ending, otherwise, entering the step c; c. resetting a receiving scheduling period corresponding to the system message; d. adding the corresponding system message type into a penalty list, and entering the step f; e. adding the corresponding system message to the list to be identified; f. the corresponding system message type is removed from the list of identified scheduling periods.
In an embodiment of the invention, the step of screening the set of system messages that need to be received comprises removing system messages contained in the penalty list.
In an embodiment of the invention, the method is re-executed when the cell reselects to a new cell.
In an embodiment of the present invention, the list of identified scheduling periods is maintained for a predetermined time after the cell reselects to the new cell.
Compared with the prior art, the method for receiving the GSM system message optimizes the power consumption and the receiving and sending performance of the mobile station by reducing the position for receiving unnecessary SI on the premise of not sacrificing the SI receiving performance of the mobile station.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described herein, and thus the present invention is not limited to the specific embodiments disclosed below.
Fig. 1 is a flow chart of a method for receiving a GSM system message according to an embodiment of the present invention. Referring to fig. 1, a method for receiving a system message according to this embodiment includes the following steps:
in step 101, a set of system messages to be received is screened, and the screened system messages are put into a list to be identified.
In step 102, each system message is received according to the set TC location and period.
In step 103, respectively judging whether each system message is in the identified scheduling period list, if not, entering step 104, otherwise, entering step 106;
at step 104, identifying a scheduling period for each system message;
in step 105, the system message with the identified scheduling period is put into the identified scheduling period list, each scheduling period is used as a period for subsequent receiving of the corresponding system message, and the process is ended;
in step 106, the accuracy of the identification is determined according to the receiving condition of the system message.
Through the above procedure, the scheduling period of the partial SI is identified, so that the system message can be received at a suitable period thereafter. Thus, unnecessary SI reception locations are reduced, and power consumption and transmission/reception performance of the mobile station are optimized.
The above step 101 is mainly to put the type of system message (SI) of the non-exclusive TC into the list to be identified L1. When the MS camps on a cell, it needs to listen to system messages. Such as the required SI3, SI1 (if SI1 is present in the cell) and SI13 (GPRS-capable MSs, which need to handle the SI), and other SIs (mainly SI2, SI2bis, SI2ter, SI2quater, etc., which contain a list of neighboring frequency points). The presence or absence and presence of some SI cells, the corresponding TC locations, are indicated in other system messages, such as SI3 indicating the presence or absence of SI2ter, SI13 indicating the TC location, SI2quater indicating the presence or absence and corresponding TC location, etc. (refer to 3GPP TS4401810.5.2.34).
When the MS receives and resolves the SI, it may increase the received TC locations, and the set S of received SI contains elements like SIx1, TCx1, { SIx2, TCx2, { SIx3), TCx3 }. Here, x1, x2, and x3 are constants representing specific types of SI, such as 1, 2bis, 2ter, 3, 4, 5bis, 5ter, 6, 13, etc. These SI are received by default every TC period. After receiving the SI, the MS may stop receiving the SI, but needs to periodically receive the SI 13.
Fig. 2 is a flow chart of screening system messages according to an embodiment of the invention. Referring to fig. 2, the step of screening the set of system messages required to be received in step 101 further includes the following steps:
in step 201, acquiring a set S of SIs to be received;
in step 202, one SI type SIx and corresponding TC in S are selected;
in step 203, for a certain SIx, it is determined whether each TC cycle will be issued SIx, if yes, step 205 is entered, otherwise step 204 is entered; here, x is a variable representing a particular type of SI, e.g., 1, 2bis, 2ter, 3, 4, 5bis, 5ter, 6, 13, etc.
In step 204, SIx is added to the list to be recognized L1;
in step 205, it is determined whether all SI have been traversed in the set S, and if so, the process ends, otherwise, the process returns to step 202.
Step 102 receives SI according to the latest set TC location and scheduling period, so the previously identified scheduling period will be applied here.
Fig. 3 is a flow chart of identifying a system message period in accordance with an embodiment of the present invention. Referring to fig. 3, the step of identifying the scheduling period of each system message in step 104 further includes:
in step 301, determining whether the system message SIx is in the list to be recognized L1, if yes, entering step 302, otherwise, ending the process;
at step 302, record the frame number of system message SIx;
in step 303, it is determined whether the frame number of the system message SIx reaches a set number, if yes, step 304 is performed, otherwise, the process is ended;
at step 304, the adjacent frame number interval of the system message is calculated;
in step 305, determining whether the adjacent frame number interval meets an interval detection criterion, if yes, entering step 306, otherwise, ending;
at step 306, adjust the scheduling period of the corresponding system message SIx to the adjacent frame number interval;
in step 307 the system message type is deleted from the list to be recognized L1.
For example, in step 302-.
In step 305, the criterion is considered to be satisfied if the calculated intervals are all equal, i.e., Delta (0) ═ Delta (1) ═ … ═ Delta (N-1), and Delta (0) is equal to an integer multiple of the TC period, such as P times.
In step 306, for SI type meeting the criteria, the scheduling period it receives is adjusted to P × TC periods and added to the list L2 of identified scheduling periods and scheduling period adjustments, while the SI type is deleted in L1.
Fig. 4 is a flow chart of identifying a system message period according to another embodiment of the present invention. Referring to fig. 4, the step of identifying a scheduling period of each system message in step 104 may further include:
step 400, judging whether the received system message frame is a good frame, if so, entering step 401, otherwise, ending the process;
in step 401, determining whether the system message SIx is in the list to be recognized L1, if yes, entering step 402, otherwise, ending the process;
at step 402, record the frame number of system message SIx;
in step 403, it is determined whether the frame number of the system message SIx reaches the set number, if yes, step 304 is performed, otherwise, the process is ended;
at step 404, calculating an adjacent frame number interval of the system message;
in step 405, judging whether the adjacent frame number interval meets the interval detection criterion, if so, entering step 406, otherwise, ending;
at step 406, adjust the scheduling period of the corresponding system message SIx to the adjacent frame number interval;
in step 407, the system message type is deleted from the list to be recognized L1.
Step 106 is to check the SI type of the identified scheduling period, determine the accuracy of the identification, and if not, reset the receiving scheduling period of the SI type.
Fig. 5 is a flowchart of checking the accuracy of cycle identification according to the reception status of a system message according to an embodiment of the present invention. Referring to fig. 5, the step of determining the accuracy of the identification according to the receiving status of the system message in step 106 further includes:
step 501, judging whether the system message SIx is of the expected SI type, if yes, ending, otherwise, entering step 502;
in step 502, the receiving scheduling period of the corresponding system message is reset;
in step 503, the corresponding system message type is removed from the identified scheduling period list L2.
Through this process, the effect of identifying an inaccurate reception scheduling period is removed.
In another embodiment, a penalty list L3 is introduced. Fig. 6 is a flowchart of checking the accuracy of cycle identification according to the reception status of a system message according to another embodiment of the present invention. Referring to fig. 6, the step of determining the accuracy of the identification according to the receiving status of the system message in step 106 further includes:
step 601, judging whether the system message SIx is the expected SI type, if yes, ending, otherwise, entering step 602;
in step 602, resetting a receiving scheduling period of a corresponding system message;
at step 603, add the system message to a penalty list;
at step 604, the corresponding system message type is removed from the list of identified scheduling periods.
That is, when the check fails, it indicates that the scheduling of the SI type has changed or is unexpected, and in addition to resetting the reception scheduling period of the SI type, the SI type is added to the penalty list L3 and is cleared from the list L2. On this cell, no detection and identification is performed anymore.
Fig. 7 is a flowchart of checking the accuracy of cycle identification according to the reception status of a system message according to still another embodiment of the present invention. Referring to fig. 7, the step of determining the accuracy of the identification according to the receiving status of the system message in step 106 further includes:
in step 700, determining whether the received system message frame is a good frame, if yes, entering step 701, otherwise entering step 704;
step 701, determining whether system message SIx is of an expected SI type, if yes, ending, otherwise, entering step 702;
in step 702, the receiving scheduling period of the corresponding system message is reset;
in step 703, add the system message to the penalty list, go to step 705;
in step 704, add the corresponding system message to the list to be identified L1;
in step 705, the corresponding system message type is deleted from the identified scheduling period list, ending the process.
When introducing the penalty list L3, referring to fig. 8, the flowchart of screening system messages according to another embodiment of the present invention, where the step of screening the set of system messages that need to be received in step 101 further includes the following steps:
in step 801, acquiring a set S of SIs to be received;
in step 802, one SI type SIx and corresponding TC in S is selected;
at step 803, a determination SIx is made as to whether it is in penalty list L3, if so step 806 is entered, otherwise step 804 is entered,
in step 804, for a certain SIx, determine whether each TC cycle will be issued SIx, if yes, go to step 806, otherwise go to step 805;
in step 805, SIx is added to the list to be recognized L1;
in step 806, it is determined whether all SI have been traversed in the set S, and if so, the process ends, otherwise, the process returns to step 802.
Returning to fig. 1, when the cell reselects to a new cell, the method shown in fig. 1 is re-executed to re-perform the detection of the scheduling period. In addition, the identified scheduling period list L2 may also be maintained for a predetermined time after the cell reselects to a new cell. In this way, the recognition results can still be reused when returning to the old cell.
Preferably, when detecting and identifying the SI13 with TC being 4, the MS may not stop the reception of the SI before receiving N times of the SI13 if it is to expedite identification of its scheduling period. In addition, when the SI13 or PSI13 indicates that the receiving position of a certain system message type SIz is changed, and SIz is in the list L2 or L3, L2 and L3 clear the SI type.
The method for receiving the GSM system message of the embodiment of the invention optimizes the power consumption and the transceiving performance of the mobile station by reducing the position for receiving unnecessary SI on the premise of not sacrificing the SI receiving performance of the mobile station. Embodiments of the present invention also reduce power consumption overhead caused by inter-core exchanges. The method of the invention can be applied to GSM/GPRS terminals.
Although the present invention has been described with reference to the present specific embodiments, it will be appreciated by those skilled in the art that the above embodiments are merely illustrative of the present invention, and various equivalent changes and substitutions may be made without departing from the spirit of the invention, and therefore, it is intended that all changes and modifications to the above embodiments within the spirit and scope of the present invention be covered by the appended claims.