CN100518033C - Method for scheduling and processing user interface resources in WCDMA system - Google Patents

Method for scheduling and processing user interface resources in WCDMA system Download PDF

Info

Publication number
CN100518033C
CN100518033C CNB2003101122173A CN200310112217A CN100518033C CN 100518033 C CN100518033 C CN 100518033C CN B2003101122173 A CNB2003101122173 A CN B2003101122173A CN 200310112217 A CN200310112217 A CN 200310112217A CN 100518033 C CN100518033 C CN 100518033C
Authority
CN
China
Prior art keywords
message
access control
user
medium access
buffering area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2003101122173A
Other languages
Chinese (zh)
Other versions
CN1545237A (en
Inventor
柯昌伟
蔺荣岩
赵喆
段斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CNB2003101122173A priority Critical patent/CN100518033C/en
Publication of CN1545237A publication Critical patent/CN1545237A/en
Application granted granted Critical
Publication of CN100518033C publication Critical patent/CN100518033C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a calling and processing method of user interface resources in a wide-band code division multiaddress system in mobile communication field, including 1. TDM port and MAC port receive data of a processing unit, which are placed in the corresponding receiving buffer areas to generate interruption, respectively; 2) in interrupt service routine, it writes a message to the same circulating message queue in sequence, respectively; 3) the main program inquires the queue in sequence; 4) control interface message interface generates an interrupt once receiving a control interface message, and then processes and responds to the message in the interrupt service routine. It can solve the problems of unstable planning time delay, nonuniform burden and delayed response to control interface message in many modules of user interface resources, able to enhance system stability and service quality, it is a key technical breakthrough in user interface resources planning in MGW.

Description

The scheduling processing method of user's face resource in the broadband CDMA system
Technical field
The present invention relates to field of mobile communication, specifically, relate to the user's face processing method on the MGW in the WCDMA/TD-SCDMA system (Media GateWay, media gateway).
Background technology
Along with mobile communcations system in the increasingly extensive application of every field such as economic and social life, mobile communcations system technology itself is also among fast development, from at present just at widely used second generation mobile communcations system, arrive ripe perfect third generation mobile system, the demand of user for communication system satisfied in technical development day by day.The 3GPP of International Standards Organization is responsible for international standard WCDMA standard formulation of third generation mobile system and modification.User's face resource mainly comprises UP (User Plane in the WCDMA network, user's face) protocol processes and AMR (Adaptive Multi-Rate, adaptive multi-rate) voice coding/decoding algorithms, wherein, each user's of UP agreement principal security initial available information (comprising user data rate set, version information etc.), can adjust simultaneously the transmission rate of user data, and the user data time of carrying out adjusted, finish the error monitoring of UP information simultaneously, the data of process UP agreement have specific form.UP layer protocol processing corresponding interface (Iu mouth) with wireless side in the WCDMA network is IuUP, and the interface between the corresponding MGW (Nb mouth) is NbUP.And the AMR algorithm is the adaptive multi-rate algorithm, is the coded system of a kind of WCDMA of being applied in of 3GPP regulation, has 8 kinds of variable bit rates.
Two kinds of distributions of resource of UP and AMR have various ways, it then is the main mode that generally adopts at present that UP agreement and AMR algorithm are placed in the same processor, the physical interface that this kind mode relates to also comprises MAC (the Media Access Control of user face data stream, the medium access control) port, TDM (Time Division Multiplex, time division multiplexing) port and with the message interface of chain of command.UP handle comprise with the IuUP of wave point and with the NbUP of network interface, the scheduling of user's face resource of therefore, being mentioned is included in the MAC mouth, TDM mouth, chain of command message interface and IuUP, the NbUP that in a slice processor user face data are flowed, the scheduling of AMR processing module.Dispatching method commonly used at present has two kinds, and the one, by interrupt mode, when the data that receive expire a processing unit, produce and interrupt deal with data in interrupt service routine.But this mode might be because interrupt service routine be consuming time long, cause handling inhomogeneous, even interrupt nesting, and when a plurality of interface is arranged, interrupt priority level determine also very difficulty, so be usually used in requiring high to the response real-time, handle simply, in the more single application.Another kind is an inquiry mode, and full one of Data Receiving produces when handling unit and interrupts, and puts the READY sign on the corresponding interface, and main program do not stop the to circulate READY sign of each interface and passage indicates according to READY and calls.This mode has been avoided interrupt nesting and professional uneven situation basically, but may cause the time delay shakiness, the different miscellaneous service scheduling of complexity is unfair, the problem that some important message can not in time respond, be usually used in interface or passage is more, handle complicated application.
In user's face resource of MGW was handled, because business model is varied, interface was many, and the processing delay difference of each module is big, and the Business Processing complexity is also very high, also requires the chain of command message response timely simultaneously.With any one top method, be difficult to all satisfy that time delay is stable, traffic load evenly, message response requirement timely.
Summary of the invention
Technical problem to be solved by this invention provides in a kind of WCDMA network the scheduling processing method to user's face resource, in the hope of overcoming the inhomogeneous problem untimely, the equity dispatching that user's face resource processing delay is stable among the realization MGW, load evenly also can in time respond the chain of command interface message of reaching of a plurality of module schedules time delay of user's face resource shakiness, load that prior art exists to the chain of command message response.
For achieving the above object, the present invention proposes the scheduling processing method of user's face resource in a kind of broadband CDMA system, it is characterized in that, may further comprise the steps:
The first step: whenever receive data of handling unit on TDM mouth and the MAC mouth, they are put into separately reception buffering area, and produce respectively and interrupt;
Second step: in interrupt service routine, write message to same circulation message queue sequence respectively, the write pointer of message queue mutual exclusion in two interruptions (promptly guarantee that two interruptions can not use this write pointer simultaneously);
The 3rd step: the formation of main program sequential query circulation message, when formation is sky, wait in the current position of reading of formation; When formation has message pending, take out and handle corresponding TDM code stream or MAC bag from corresponding buffering area according to message content;
The 4th step: whenever receive a chain of command message on the chain of command message interface, produce an interruption, handle and response message at interrupt service routine then, thereby guaranteed timely response to chain of command message;
The 3rd step carried out simultaneously with the 4th step.
Adopt user's face resource regulating method of the present invention, utilize inquiry and interruption, treat the data processing of different priorities with a certain discrimination to the method for combination, simultaneously, for equal data, utilize message queue, guarantee the principle of " First Come First Served ", taken into account justice and efficient.Through measuring and calculating, compared with prior art, can solve a plurality of module schedules time delay of user's face resource shakiness, the inhomogeneous and problem untimely of load to the chain of command message response, can improve the stability and the quality of service (as speech quality) of system, be that the key technology that solves user's face scheduling of resource among the MGW breaks through.
Description of drawings
Fig. 1 is user's face resource processing system structural representation of the present invention.
Fig. 2 is the mutual schematic diagram of each processing links of the method for the invention.
Fig. 3 is the main program flow schematic diagram that the present invention dispatches.
Embodiment
Below in conjunction with accompanying drawing, concrete enforcement of the present invention is described in further detail.
Fig. 1 is a system environments structure chart of the present invention, comprises physical interface (TDM mouth, MAC mouth, chain of command message interface) and three Service Processing Modules (IuUP, NbUP, AMR).Wherein TDM mouth and MAC mouth are finished the transmitting-receiving of user face data stream, and the chain of command message interface is mainly finished the reception of chain of command message and produced Message Processing and interrupts.
Fig. 2 is the mutual schematic diagram between several main processing links among the present invention.Whenever receive data of handling unit on TDM mouth and the MAC mouth, they are put into corresponding reception buffering area, and generation is interrupted respectively, in interrupt service routine, write message to same circulation message queue sequence respectively, the write pointer of message queue mutual exclusion in two interruptions (promptly guarantee that two interruptions can not use this write pointer simultaneously).The formation of main program sequential query circulation message when formation is sky, is waited in the current position of reading of formation; When formation has message pending, take out and handle corresponding TDM code stream or MAC bag from corresponding buffering area according to message content.Guaranteed " First Come First Served " principle like this to user face data.Simultaneously, whenever receive a chain of command message on the chain of command message interface, produce an interruption, handle and response message at interrupt service routine then, thereby guaranteed timely response chain of command message.Particularly, comprise following four processes:
First link is to the response of chain of command interface message: the chain of command Message Processing is handled than user face data higher priority.When the chain of command message interface of system is received a piece of news, produce an interruption, program changes in the interrupt service subroutine, and the message of receiving is handled accordingly.Interrupt service subroutine is determined corresponding Message Processing flow process according to the type of message, and according to system's needs, produces and the generation response message.
The buffering of second link user face data stream: have identical priority because the user face data of different port is handled, so each port all must have the transmitting-receiving buffering area of oneself.For MAC (IP) mouthful, all receptions and transmission data are shared pool of buffer district respectively; And for the TDM mouth, buffering area also needs by the time slot grouping, and promptly each time slot has a group of received buffering area and one group of transmission buffering area.
The 3rd link user face data flows the driving to message queue: the user face data of unit (such as a MAC bag) is handled in one of the every reception of each user face data flow port, also to produce an interruption, but different with chain of command message be this moment of process user face data not.In interrupt service routine, according to the write pointer of the type and the current message queue of port, in message queue, write corresponding message, and the write pointer of mobile messaging formation.The message that writes message queue should comprise message effective marker, type of message and other relevant parameter (as the timeslot number of tdm data) etc.
The inquiry of main program to message queue saved at the Fourth Ring: the effective marker of the message that main program query messages formation always current read pointer is pointed.If the message that the current message queue read pointer points to is effective, then further judge type of message and relevant parameter, then according to the read pointer of type of message with these parameters and relative users face Data Receiving buffering area, read and handle corresponding user face data, then the read pointer of mobile subscriber's face Data Receiving buffering area and the read pointer of message queue.
Fig. 3 is the flow chart that the present invention dispatches main program.In the main program, current read pointer message pointed in the query messages formation always after the initialization if current message is effectively, then judges further that according to message content pending data are MAC data or tdm data.
If the MAC data then receive buffering area from corresponding M AC and take out pending data, and determine to do up still downlink processing according to the indication of chain of command.If up, then call the up processing procedure of UP, whether indication decision does the AMR decoding according to chain of command then, and will last output forms the MAC bag as required and deliver to the MAC mouth to send or deliver to TDM transmission buffering area etc. to be sent.If descending, then judge whether to do AMR coding earlier, make the UP downlink processing then, and will export at last and form the MAC bag and deliver to the MAC mouth and send or directly deliver to TDM to send buffering area etc. to be sent.
If tdm data, then the channel number according to the message indication receives the pending data of buffering area taking-up to corresponding TDM.And judge whether to do AMR coding, make the UP downlink processing then, and will export at last and form the MAC bag and deliver to the MAC mouth and send or directly deliver to TDM to send buffering area etc. to be sent.
After said process was finished, the indicated message of removing current message queue read pointer added 1 with this read pointer then, and delivery, even arrived the afterbody of message queue, then returned queue heads and restarted.
Continue the message of inquiry reposition then, repeat said process.
In this dispatching method, all user face datas are all handled according to the sequencing that arrives, and the time delay of processing is the most stable, and the Load distribution of processor is the most even, and is also the most fair to the scheduling of each resource.Message to chain of command also can respond with prestissimo simultaneously.

Claims (5)

1, the scheduling processing method of user's face resource in a kind of broadband CDMA system is characterized in that, may further comprise the steps:
The first step: whenever receive data of handling unit on time division multiplexing port and the medium access control port, they are put into separately reception buffering area, and produce respectively and interrupt;
Second step: in interrupt service routine, write message to same circulation message queue sequence respectively;
The 3rd step: the formation of main program sequential query circulation message, when formation is sky, wait in the current position of reading of formation; When formation has message pending, take out and handle corresponding time division multiplexing code stream or medium access control bag from corresponding buffering area according to message content;
The 4th step: whenever receive a chain of command message on the chain of command message interface, produce an interruption, handle and response message at interrupt service routine then;
The 3rd step carried out simultaneously with the 4th step.
2, the scheduling processing method of user's face resource in the broadband CDMA system according to claim 1 is characterized in that, write pointer mutual exclusion in two interruptions of message queue described in second step.
3, the scheduling processing method of user's face resource in the broadband CDMA system according to claim 1 is characterized in that, in described the 3rd step, further may further comprise the steps:
Step 1: current read pointer message pointed in the main program query messages formation always, if current message is effectively, then judge further that according to message content pending data are medium access control data or TDM data;
Step 2:, and determine to do up still downlink processing according to the indication of chain of command if medium access control data then receive buffering area from corresponding medium access control and take out pending data;
Step 3: if TDM data then carries out respective handling;
Step 4: remove the indicated message of current message queue read pointer, then this read pointer is added 1, and delivery, return queue heads and restart;
Step 5: continue the message of inquiry reposition, repeat said process.
4, the scheduling processing method of user's face resource in the broadband CDMA system according to claim 3 is characterized in that, in the described step 2, further may further comprise the steps:
(1) if up, the up processing procedure of invoke user face then, whether indication decision does the adaptive multi-rate decoding according to chain of command then, and will last output forms medium access control bag as required and deliver to medium access control port to send or deliver to time division multiplexing transmission buffering area etc. to be sent;
(2) if descending, then judge whether earlier to make adaptive multi-rate coding, make user's face downlink processing then, and will export at last and form medium access control bag and deliver to medium access control port and send or directly deliver to time division multiplexing to send buffering area etc. to be sent.
5, the scheduling processing method of user's face resource in the broadband CDMA system according to claim 3 is characterized in that, in the described step 3, further may further comprise the steps:
(1) channel number according to the message indication receives the pending data of buffering area taking-up to corresponding time division multiplexing;
(2) judge whether to make adaptive multi-rate coding;
(3) make user's face downlink processing, and will export at last and form medium access control bag and deliver to medium access control port and send or directly deliver to time division multiplexing to send buffering area etc. to be sent.
CNB2003101122173A 2003-11-14 2003-11-14 Method for scheduling and processing user interface resources in WCDMA system Expired - Fee Related CN100518033C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101122173A CN100518033C (en) 2003-11-14 2003-11-14 Method for scheduling and processing user interface resources in WCDMA system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101122173A CN100518033C (en) 2003-11-14 2003-11-14 Method for scheduling and processing user interface resources in WCDMA system

Publications (2)

Publication Number Publication Date
CN1545237A CN1545237A (en) 2004-11-10
CN100518033C true CN100518033C (en) 2009-07-22

Family

ID=34336443

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101122173A Expired - Fee Related CN100518033C (en) 2003-11-14 2003-11-14 Method for scheduling and processing user interface resources in WCDMA system

Country Status (1)

Country Link
CN (1) CN100518033C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BRPI0822453B1 (en) * 2008-03-20 2020-09-15 Nokia Solutions And Networks Oy APPLIANCE FOR USE BY A MOBILE SWITCH CENTER SERVER AND METHOD
CN102457871B (en) * 2010-10-26 2014-06-11 电信科学技术研究院 Method and system for saving network resource

Also Published As

Publication number Publication date
CN1545237A (en) 2004-11-10

Similar Documents

Publication Publication Date Title
CN100394810C (en) Grouped dispatching method of wireless communication system
CN101257445B (en) Method for synchronous traffic shaping
CN101340390B (en) Scheduling apparatus and method for real-time service
CN101375618A (en) Base station deice and packet scheduling method
KR20050095307A (en) Apparatus and method of scheduling for processing packet data in a wireless communication system
Sheth et al. Enhancing the energy-efficiency and timeliness of IoT communication in WiFi networks
JP2001103120A (en) Method and system for scheduling traffic in communication network
CN103428874A (en) Data scheduling method and device
CN103906257A (en) LTE broadband communication system calculation resource dispatcher based on GPP and dispatching method thereof
CN107872403A (en) A kind of implementation level QoS Pyatyi queue scheduling device and method
JP2023501870A (en) Autonomous virtual radio access network control
CN101374109A (en) Method and apparatus for scheduling packets
CN103582149B (en) The resource regulating method of VOLTE and device
CN104123185A (en) Resource scheduling method, device and system
CN100518033C (en) Method for scheduling and processing user interface resources in WCDMA system
CN100456744C (en) Data dispatching method and system
US7292847B2 (en) Method for coordinating tasks in a GSM network
Wu et al. Analysis of the energy-response time tradeoff for delayed mobile cloud offloading
CN1984052A (en) Method and system for controlling Iub interface band width resource in wireless network
JPH10327125A (en) Fixed station for information communication system and method for converting, distributing and processing message for the same
CN106921586A (en) A kind of data flow shaping methods, data dispatching method and device
GB2404114B (en) Communication system, communication unit and method of power saving therein
CN103384406B (en) A kind of dispatching method of relay system
CN101883400A (en) Data transmission method and access control equipment in wireless local area network
CN100558186C (en) A kind of processing method for paging message and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090722

Termination date: 20131114