CN1545237A - 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
CN1545237A
CN1545237A CNA2003101122173A CN200310112217A CN1545237A CN 1545237 A CN1545237 A CN 1545237A CN A2003101122173 A CNA2003101122173 A CN A2003101122173A CN 200310112217 A CN200310112217 A CN 200310112217A CN 1545237 A CN1545237 A CN 1545237A
Authority
CN
China
Prior art keywords
message
mac
tdm
user
data
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.)
Granted
Application number
CNA2003101122173A
Other languages
Chinese (zh)
Other versions
CN100518033C (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 the complicated application of religion.
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 corresponding reception buffering area, and produce interruption respectively;
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 for processing, 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 for processing, 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 (6)

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 TDM mouth and the MAC mouth, they are put into corresponding reception buffering area, and produce interruption respectively;
Second step: in interrupt service routine, write message to same circulation message queue sequence respectively;
The 3rd step: main program sequential query circulation message formation;
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, when formation is sky, waits in the current position of reading of formation; When formation has message for processing, take out and handle corresponding TDM code stream or MAC bag from corresponding buffering area according to message content.
4, according to the scheduling processing method of user's face resource in claim 1 or the 3 described broadband CDMA systems, it 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 MAC data or tdm data;
Step 2:, and determine to do up still downlink processing according to the indication of chain of command if the MAC data then receive buffering area from corresponding M AC 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.
5, the scheduling processing method of user's face resource in the broadband CDMA system according to claim 4 is characterized in that, in the described step 2, further may further comprise the steps:
(1) 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;
(2) 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.
6, the scheduling processing method of user's face resource in the broadband CDMA system according to claim 4 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 TDM;
(2) judge whether to do the AMR coding;
(3) make the UP downlink processing, 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.
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 true CN1545237A (en) 2004-11-10
CN100518033C 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101978667A (en) * 2008-03-20 2011-02-16 诺基亚西门子通信公司 Different ip interfaces in a communication network system
WO2012055306A1 (en) * 2010-10-26 2012-05-03 电信科学技术研究院 Method and device for saving network resources

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101978667A (en) * 2008-03-20 2011-02-16 诺基亚西门子通信公司 Different ip interfaces in a communication network system
CN101978667B (en) * 2008-03-20 2014-12-31 诺基亚通信公司 Different IP interfaces in a communication network system
WO2012055306A1 (en) * 2010-10-26 2012-05-03 电信科学技术研究院 Method and device for saving network resources
CN102457871A (en) * 2010-10-26 2012-05-16 电信科学技术研究院 Method and system for saving network resource
CN102457871B (en) * 2010-10-26 2014-06-11 电信科学技术研究院 Method and system for saving network resource
US9066196B2 (en) 2010-10-26 2015-06-23 China Academy Of Telecommunications Technology Method and device for saving network resources

Also Published As

Publication number Publication date
CN100518033C (en) 2009-07-22

Similar Documents

Publication Publication Date Title
US7826351B2 (en) MMPP analysis of network traffic using a transition window
CN101340390B (en) Scheduling apparatus and method for real-time service
JP2001103120A (en) Method and system for scheduling traffic in communication network
CN1351803A (en) Reduced delay priority for comfort noise
CN101375618A (en) Base station deice and packet scheduling method
CN110704211B (en) Method and system for receiving packets across CPUs (central processing units) in multi-core system
CN101459605A (en) Method and device for flow control
CN101651615A (en) Method and device for scheduling messages
CN101374109B (en) Method and apparatus for scheduling packets
CN112000388A (en) Concurrent task scheduling method and device based on multi-edge cluster cooperation
CN107645455A (en) A kind of message transmission dispatching method of CAN
CN100456744C (en) Data dispatching method and system
CN100518033C (en) Method for scheduling and processing user interface resources in WCDMA system
CN106921586A (en) A kind of data flow shaping methods, data dispatching method and device
US7292847B2 (en) Method for coordinating tasks in a GSM network
CN103019857A (en) Multi-task priority scheduling method for attendance machine of internet of things
CN104022965A (en) Message dequeue scheduling method and equipment thereof
CN117076117A (en) Intelligent media meeting place scheduling method and system based on new communication architecture
CN109167713A (en) A kind of mixed scheduling method of CAN bus control network
CN100521681C (en) Coding of data in data package
CN109246631B (en) Method for sending short message
CN1945989A (en) Method for service speed regulation under no cascade operation/no coder operation
CN1464656A (en) Baseband multi-user coding and priority scheduling method and equipment for WCDMA system
CN115529353A (en) Method for realizing API gateway request forwarding scheduling
CN106162738A (en) Chain of command resource regulating method 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