Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of dispatching method of FCCCH channel massage, makes full use of the FCCCH channel and sends the fast and framing of beep-page message speed advantage flexibly, improves the receiving efficiency of beep-page message.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of dispatching method of forward direction public control channel message, this method may further comprise the steps:
A. system's message that need send on the FCCCH channel that will receive is saved in the corresponding message formation that sets in advance according to message identifier.
B. system is according to system time gap number and the formation of FCCCH channel massage sign scheduling message, and cancel the transmission of breath framing by the dispatching sequence from message queue.
The described FCCCH channel massage sign of this method comprises: distinguish sign, the priority tag of general beep-page message and enhancing broadcast paging messages, and the sign of difference time slot and non-slotted messages.
Further, described slotted messages also comprises following sign: slot cycle sign, sending time slots sign, and distinguish crack and the normally sign of slotted messages in short-term.
Preferably, described slotted messages is further divided according to the sending time slots sign.
Described message queue is dispatched of step b may further comprise the steps in this method: system judges that this message queue has general paging sign or has the Radio Paging of enhancing sign, if have general paging sign, then send the message in this message queue, if have the Radio Paging of enhancing sign, then the message in this message queue sends after the message queue with general paging sign.
Preferably, scheduling to message queue with general paging sign further comprises: system judges that this message queue has the high priority sign or has the low priority sign, if have the high priority sign, then send the message in this message queue, if have the low priority sign, then the message in this message queue sends after the message queue with high priority sign.
Preferably, scheduling to message queue with equal priority sign further comprises: system judges that this message queue has the slotted messages sign or has non-slotted messages sign, if have the slotted messages sign, then send the message in this message queue, if have non-slotted messages sign, then the message in this message queue sends after the message queue with slotted messages sign.
Preferably, scheduling to message queue with slotted messages sign further comprises: system judges that this message queue has in short-term the crack message identifier or has normal slotted messages sign, if have crack message identifier in short-term, then send the message in this message queue, if have normal slotted messages sign, the then transmission after having the message queue of crack message identifier in short-term of the message in this message queue.
Further, system determines the slotted messages formation that current time slots is scheduled according to the sending time slots sign.
Message framing in this method in the formation of the described cancellation breath of step b may further comprise the steps:
B1. system judges whether write the memory space of distributing to current time slots among the frame BUFFER full, and is full if the memory space of current time slots has been write, execution in step b5 then, if write full, execution in step b2 then.
B2. judge the message that whether exists needs to send in certain message queue that current time slots is scheduled,, if there is no, then finish operation, search the message queue that the current time slots next one is scheduled this message queue if exist then execution in step b3.
B3. the taking-up a piece of news is inserted and is write frame BUFFER from this message queue.
B4. judge write the memory space of distributing to current time slots among the frame BUFFER whether write full, if full, execution in step b5 then, otherwise execution in step b2.
B5. finish the framing operation of current time slots.
As seen from the above technical solutions, the dispatching method of this FCCCH channel massage of the present invention makes full use of the FCCCH channel and sends the fast and framing of beep-page message speed advantage flexibly, the preferential short slotted messages of busy channel time that sends in the message scheduling, thereby shorten the stand-by period that portable terminal receives message, improve the receiving efficiency of beep-page message.This method has good application prospects in the field that requires the beep-page message real-time tranception.
Embodiment
The core concept of the inventive method is: base station side is provided with different classes of FCCCH channel massage formation according to FCCCH channel massage sign, the message that need send on the FCCCH channel that system will receive is saved in the corresponding message queue according to message identifier, final system is dispatched message queue according to different FCCCH channel massage signs, and cancels the transmission of breath framing by the dispatching sequence from message queue.
Wherein, FCCCH channel massage sign comprises: distinguish sign, the priority tag of general beep-page message and enhancing broadcast paging messages, and the sign of difference time slot and non-slotted messages.For slotted messages, also comprise: slot cycle sign, sending time slots identify (PGSLOT) and distinguish crack and the normally sign of slotted messages in short-term.
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
As shown in Figure 1, the present invention may further comprise the steps about the scheduling flow of FCCCH channel massage:
Step 101: base station side is provided with different classes of FCCCH channel massage formation according to FCCCH channel massage sign.
The division of FCCCH channel massage as shown in Figure 2.Can send general beep-page message 202 on the FCCCH channel and strengthen broadcast paging messages 203.Wherein, strengthening broadcast paging messages 203 is used for notifying portable terminal to receive the broadcast of specific Broadcast Control Channel (BCCH).
For general beep-page message 202, message can be divided into high-priority message 204 and low priority message 205 according to the priority tag of message.Priority tag is to be provided with according to the type of service of message, can give and calls out relevant message the high priority sign is set such as: base station, gives to call out uncorrelated message and low priority is set identifies.
To having the message of equal priority sign, by the sign of distinguishing time slot and non-slotted messages the type message further is subdivided into: high priority slotted messages 206, the non-slotted messages 207 of high priority, low priority slotted messages 208, and the non-slotted messages 209 of low priority.
Further, can also be divided in short-term crack message and normal slotted messages for slotted messages, that is: high priority crack message 210, the normal slotted messages 211 of high priority, low priority crack message 212 and the normal slotted messages 213 of low priority in short-term in short-term.Wherein, normal slotted paging message is meant that slot cycle is 1.28*2
iThe beep-page message of s, i are the slot cycle index (SLOT_CYCLE_INDEX) of slotted paging message.Follow the agreement regulation, the range of definition of i is 0~7.The normal relatively slotted paging message of short time slot paging message and defining, the slot cycle of the type beep-page message is less than the minimum slot cycle of normal slotted paging message, that is: slot cycle is called short time slot paging message less than the slotted paging message of 1.28s.
Divide according to above-mentioned type to FCCCH channel massage 201, system is that every kind of corresponding message queue of type of message structure is deposited different message, searches during convenient the scheduling.
Because slotted paging message only sends at certain time slot of its slot cycle, so system further divides formation to preserve according to its sending time slots sign (PGSLOT) to the type message.
For short time slot paging message, system is saved in each short time slot paging message in the corresponding formation according to the time slot queue number.Wherein, the time slot queue number obtains according to formula (1):
Time slot queue number=PGSLOT mod (message slot cycle/system unit time slot is long) (1)
In an embodiment of the present invention, system unit time slot length can be made as 80ms.
The slot cycle of short time slot paging message is 80ms, 160ms, 320ms and 640ms, distinguishes different slot cycles with four slot cycle signs.Slot cycle is that each slot cycle of short time slot paging message of 80ms has only a sending time slots, and it is 0 message queue that the type message has only a time slot queue number; Each slot cycle of the short time slot paging message of 160ms has two sending time slots, and system is that the type message constructing time slot queue number is two message queues of 0 and 1; Each slot cycle of the short time slot paging message of 320ms has four sending time slots, and system is that the type message constructing time slot queue number is four message queues of 0~3; Each slot cycle of the short time slot paging message of 640ms has eight sending time slots, and system is that the type message constructing time slot queue number is eight message queues of 0~7.
For normal slotted paging message, same, system is saved in each normal slotted paging message in the corresponding formation according to the time slot queue number, and wherein, the time slot queue number obtains according to formula (2):
Time slot queue number=PGSLOT mod (the minimum slot cycle of normal slotted messages/the system unit time slot is long) (2)
Wherein, the slot cycle of normal slotted paging message is 1.28*2
iS is so minimum slot cycle is 1.28s.In an embodiment of the present invention, supposing the system unit's time slot is long to be 80ms, and so, system will be 16 message queues of all normal slotted paging message constructing, and the time slot queue number is 0~15.
Step 102: the message that need send on the FCCCH channel that system will receive is saved in the corresponding message queue according to message identifier.
What the base station received that base station controller (BSC) sends need be after the message that sends on the FCCCH channel, according to the sign of this message the current message of receiving is saved in the corresponding message queue.
Step 103: system dispatches message queue according to timeslot number N and FCCCH channel massage sign, and cancels the transmission of breath framing by the dispatching sequence from message queue.
At system time gap number is certain time slot of N, and system searches in FCCCH channel massage formation 201 needs the message that sends, and the dispatching sequence of message queue is as follows:
For general beep-page message formation 202 and enhancing broadcast paging messages formation 203, system sends the message in the general beep-page message formation 202 earlier, and the back sends the message in the enhancing broadcast paging messages formation 203.
For the message queue of general beep-page message type, the priority tag of this message queue is judged by system, and the message in the high-priority message formation 204 sends earlier, sends after the message in the low priority message formation 205.
For the formation with equal priority sign, system sends the message in the message queue with time slot mark earlier, and the back sends the message in the message queue with non-time slot mark.Such as: for slotted messages formation 206 and non-slotted messages formation 207, the message in elder generation of the system sending time slots message queue 206.
For the formation with time slot mark, system sends earlier the message in the message queue with crack sign in short-term, and the back sends the message in the message queue with normal time slot mark.Such as: for crack message queue in short-term 210 and normal slotted messages formation 211, system sends the message in the crack message queue 210 in short-term earlier.
At system time gap number is certain time slot of N, the slotted messages formation that current time slots is scheduled is determined according to the sending time slots sign (PGSLOT) of message in the base station, satisfies condition: the message of ((N-PGSLOT) mod (slot cycle of message/system unit time slot is long)==0) is sent out in current time slots.
In system's current time slots, the process that system takes out message and framing from message queue as shown in Figure 3.
Step 301: current time slots triggers when arriving, and whether the memory space of distributing to current time slots among the frame BUFFER is write in system's judgement full, and full if the memory space of current time slots has been write, then execution in step 306; Do not expire if write, then execution in step 302.
Step 302: judge the message that whether exists needs to send in certain message queue that current time slots is scheduled, if exist then execution in step 303; If there is no execution in step 305 then.
Step 303: the taking-up a piece of news is inserted and is write frame BUFFER from this message queue.
Step 304: judge whether write the memory space of distributing to system's current time slots among the frame BUFFER writes full.If full, then execution in step 306; Otherwise execution in step 302.
Step 305: finish operation, continue to search the message queue that system's current time slots next one is scheduled to this message queue.
Step 306: the framing operation of ends with system current time slots, wait for that the next time slot that meets this message sending time slots condition arrives.
When framing, if the message in the message queue that is scheduled is earlier filled up the memory space of writing current time slots among the frame BUFFER, after message in the message queue that is scheduled will not be sent out, wait for that the next time slot that meets this message sending time slots condition arrives.
In the radio communication base station side, it is minimum chronomere that the FCCCH channel massage sends with the frame, i.e. the each frame message that sends of channel.In the existing protocol regulation, the system unit time slot is long to be 80ms, and the unit frame length is 5ms, 10ms or 20ms.For the situation of the frame length 20ms of unit, the system unit time slot is divided into four frames, and then each slotted messages divides four transmissions.
The described scheduling of step 103, framing and message transmit operation are undertaken by system synchronization.Message queue is searched according to the scheduling sequencing by system, and the message queue that finds current time slots to be scheduled is at first got the message framing in this formation.In the process of framing, the message queue that the system searching next one is scheduled.When each frame request comes, system cancels breath and sends from write frame BUFFER.
By the above embodiments as seen, the dispatching method of this FCCCH channel massage of the present invention is simple and practical.This method makes full use of the FCCCH channel and sends the fast and framing of beep-page message speed advantage flexibly, the preferential short slotted messages of busy channel time that sends in the message scheduling, thereby shorten the stand-by period that portable terminal receives message, improve the receiving efficiency of beep-page message.