CN103634896B - The data processing method and device of multimode terminal - Google Patents

The data processing method and device of multimode terminal Download PDF

Info

Publication number
CN103634896B
CN103634896B CN201210299227.1A CN201210299227A CN103634896B CN 103634896 B CN103634896 B CN 103634896B CN 201210299227 A CN201210299227 A CN 201210299227A CN 103634896 B CN103634896 B CN 103634896B
Authority
CN
China
Prior art keywords
event
mrtr
value
network standard
current network
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.)
Active
Application number
CN201210299227.1A
Other languages
Chinese (zh)
Other versions
CN103634896A (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.)
Shenzhen ZTE Microelectronics Technology Co Ltd
Original Assignee
Shenzhen ZTE Microelectronics Technology Co Ltd
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 Shenzhen ZTE Microelectronics Technology Co Ltd filed Critical Shenzhen ZTE Microelectronics Technology Co Ltd
Priority to CN201210299227.1A priority Critical patent/CN103634896B/en
Publication of CN103634896A publication Critical patent/CN103634896A/en
Application granted granted Critical
Publication of CN103634896B publication Critical patent/CN103634896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of data processing method of multimode terminal and devices, this method comprises: the MRTR value of multimode terminal is adjusted to and the network side frame boundaries consistent time under current network standard;Need the event registration responded into event information upstream data to be sent and/or the downlink data received;According to the event handling upstream data and/or downlink data in MRTR value and event information.Through the invention, the MRTR of multimode terminal is adjusted to and the network side frame boundaries consistent time under current network standard, the event that data to be processed need to respond is registered in event information, then according to the above-mentioned data of event handling in MRTR value and event information, wherein, event information is that the various network formats that multimode terminal is supported are general, realize multimode terminal its support multiple network standard in switch when, the MRTR of the terminal is adjusted, implementation method is simple, and software maintenance is easier to.

Description

The data processing method and device of multimode terminal
Technical field
The present invention relates to the communications fields, in particular to the data processing method and device of a kind of multimode terminal.
Background technique
In mobile communication system, Time division multiple access (Time Division-Synchronous Code Division Multiple Access, referred to as TD-SCDMA)/Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, referred to as WCDMA)/long term evolution (Long-Term Evolution, referred to as LTE) The time reference at system requirements user equipment (User Equipment, referred to as UE) end can be with the System Frame Number of persistent district (System Frame Number, referred to as SFN) keep synchronize, in connected state with Connection Frame Number (Connect Frame Number, referred to as CFN) it keeps synchronizing.And time processing unit (Time Process Unit, referred to as TPU) starting when It waits, mobile wireless time reference (Mobile Radio Timing Reference, referred to as MRTR) counts and persistent district one As be it is nonsynchronous, this requires TPU to be capable of providing the interface synchronous with SFN, CFN holding.It is connect so TPU is needed to provide one Mouthful, the MRTR that can adjust TPU is counted, and is aligned it with the SFN of system or CFN.
After on SFN the CFN preliminary synchronisation of UE and TD-SCDMA/WCDMA/LTE network side, due to UE and base station Brilliant shake there are minute differences, cause each chip actual step size to have minute differences, after being accumulated to certain amount, between the two Deviation is just produced, UE and network side frame boundaries misalignment are caused.At this moment it needs to be finely adjusted the side the UE time, so that UE and net Network side frame boundaries are consistent.Therefore, TPU needs to provide such fine adjustment function, so that the side UE passes through fine tuning and network side frame Boundary is consistent.
During the operation of TD-SCDMA/WCDMA/LTE system, some modules need (such as CSR) to know full frame or field Moment point executes corresponding operation in these special occasion points.The module in need for knowing full frame or field moment point, all It needs to tell TPU module designer in advance, TPU module designer can give these moulds when full frame or field moment point arrive The message that block sends full frame or field moment point arrives.TD-SCDMA/WCDMA/LTE system module needs are known when current Between put after a certain moment point specific to the time come, then notify the module, allow it to handle corresponding affairs, this requires TPU It is capable of providing the interface of a registered events mechanism.Corresponding module only needs to tell TPU module corresponding time point and process ID number, when the time point being waited to arrive, TPU can generate interruption, send out message to the module inside interrupt service routine, which receives To after message, so that it may carry out the processing of corresponding service.The event be single sign or periodically, it is only necessary to pass through one Indexed variable is passed to the interface that TPU is provided.
In the related technology, support multiple network standard multimode terminal need its support each network formats between into Row switching, and the time of each network formats is different, difficult, software maintenance complexity is realized in timing.
Summary of the invention
The present invention provides a kind of data processing method of multimode terminal and devices, at least to solve in the related technology, branch The multimode terminal for holding multiple network standard needs to switch between each network formats that it is supported, and each network formats Time it is different, difficult, the problem of software maintenance complexity is realized in timing.
According to an aspect of the invention, there is provided a kind of data processing method of multimode terminal, comprising: by multimode terminal MRTR value be adjusted to and the network side frame boundaries consistent time under current network standard;By upstream data to be sent and/ Or the downlink data received needs the event registration responded into event information;According to the event in MRTR value and event information Handle upstream data and/or downlink data.
Preferably, when the MRTR value of multimode terminal being adjusted to consistent with network side frame boundaries under current network standard Between include at least one of: be adjusted by MRTR value of the adjustment amplitude to multimode terminal of a time slot;It is directly entered down One frame;The length for increasing present frame, is aligned the frame head of next frame with the current persistent district of multimode terminal.
Preferably, when the MRTR value of multimode terminal being adjusted to consistent with network side frame boundaries under current network standard Between include: to be adjusted according to MRTR value of the primary frequency of a framing control to multimode terminal.
Preferably, when the MRTR value of multimode terminal being adjusted to consistent with network side frame boundaries under current network standard Between include: that corresponding with current network standard MRTR value is determined according to the MRTR value of current network standard and free-running, wherein The MRTR value of free-running is that the work clock of one of the multiple network standard supported using multimode terminal network formats is produced The MRTR value of raw free-running;The corresponding MRTR value of current network standard is adjusted to and the network side under current network standard The frame boundaries consistent time.
Preferably, the MRTR value of free-running is the MRTR value of the free-running generated using the work clock of LTE system.
Preferably, MRTR corresponding with current network standard is determined according to the MRTR value of current network standard and free-running If value includes: that current network standard is LTE system, determine the MRTR value of free-running as MRTR corresponding with LTE system Value;If current network standard is WCDMA system, according to the ratio of the work clock of LTE system and the work clock of WCDMA system The MRTR value of value and free-running determines MRTR value corresponding with WCDMA system;If current network standard is TD-SCDMA System, according to the MRTR value of the ratio and free-running of the work clock of LTE system and the work clock of TD-SCDMA system, Determine MRTR value corresponding with TD-SCDMA system.
Preferably, corresponding with current network standard according to the determination of the MRTR value of current network standard and free-running After MRTR value, the above method further include: convert MRTR value corresponding with current network standard under current network standard The MRTR value of frame structure format.
Preferably, the event registration for upstream data to be sent and/or the downlink data received being needed to respond is to thing It include: the event registration by present frame in part information into event information;By the event registration more than present frame to outstanding message In.
Preferably, will be more than present frame event registration into outstanding message after, the above method further include: according to pre- The fixed period judges whether the event in outstanding message becomes the event of present frame;If so, qualified event is mobile Into event information, and delete the qualified event in outstanding message.
Preferably, above-mentioned event information is event table, and event table includes the main table of event, interrupts sublist and radio frequency (Radio Frequency, referred to as RF) event sublist, wherein the main table of event stores the week of interruption and RF event according to wireless frame structure Phase property or single configuration, interrupt sublist storage interrupting information and interrupt flag bit information, and RF event sublist stores RF control word And offset address.
Preferably, the event registration responded is being needed to arrive upstream data to be sent and/or the downlink data received After in event information, the above method further include: judging the difference of the event to be deleted and current time in outstanding message is It is no less than 1 frame;If being not less than 1 frame, the deletion event directly in outstanding message, and by corresponding mark position 0;If it is less than 1 frame, by the relevant position 0 of corresponding event in the main table of event.
Preferably, above-mentioned outstanding message is to wait chained list.
Preferably, according in MRTR value and event information event handling upstream data and/or downlink data include: according to Interruption or RF event in MRTR value clocked flip event information;According to interruption or RF event, uplink is sent by radio frequency Data, and/or downlink data is handled.
Preferably, according to interruption or RF event, upstream data is sent by radio frequency, and/or carry out to downlink data Before processing, the above method further include: the RF control word in event information is parsed.
According to another aspect of the present invention, a kind of data processing equipment of multimode terminal is provided, comprising: adjustment module, For the MRTR value of multimode terminal to be adjusted to and the network side frame boundaries consistent time under current network standard;Register mould Block, for needing the event registration responded into event information upstream data to be sent and/or the downlink data received; Processing module, for according to the event handling upstream data and/or downlink data in MRTR value and event information.
Through the invention, the MRTR of multimode terminal is adjusted to consistent with the network side frame boundaries under current network standard Time registers the event that data to be processed need to respond, then according in MRTR value and event information in event information The above-mentioned data of event handling, wherein event information is that the various network formats that multimode terminal is supported are general, and multimode terminal exists In its multiple network standard supported when switching, the MRTR of the terminal is adjusted, implementation method is simple, and software maintenance compared with It is easy.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the data processing method of multimode terminal according to an embodiment of the present invention;
Fig. 2 is the structural block diagram of the data processing equipment of multimode terminal according to an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the data processing equipment of multimode terminal according to the preferred embodiment of the invention;
Fig. 4 is the timing diagram of ascending-descending subframes head positioning according to the preferred embodiment of the invention;
Fig. 5 is the timing diagram according to the preferred embodiment of the invention being finely adjusted to MRTR;
Fig. 6 is the timing diagram according to the preferred embodiment of the invention adjusted greatly to MRTR;
Fig. 7 is the schematic diagram according to the preferred embodiment of the invention for generating MRTR;
Fig. 8 is the flow diagram of event registration according to the preferred embodiment of the invention;
Fig. 9 is the schematic diagram of event ordering according to the preferred embodiment of the invention;
Figure 10 is that the flow diagram interrupted is interrupted and generated in registration according to the preferred embodiment of the invention;
Figure 11 is the schematic diagram of event table according to the preferred embodiment of the invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
The embodiment of the invention provides a kind of data processing method of multimode terminal, Fig. 1 is according to an embodiment of the present invention The flow chart of the data processing method of multimode terminal, as shown in Figure 1, including the following steps, namely S102 to step S106.
The MRTR value of multimode terminal is adjusted to consistent with the network side frame boundaries under current network standard by step S102 Time.
Upstream data to be sent and/or the downlink data received are needed the event registration responded to arrive by step S104 In event information.
Step S106, according to the event handling upstream data and/or downlink data in MRTR value and event information.
In the related technology, support multiple network standard multimode terminal need its support each network formats between into Row switching, and the time of each network formats is different, difficult, software maintenance complexity is realized in timing.Through the invention, by multimode The MRTR of terminal be adjusted to the network side frame boundaries consistent time under current network standard, register in event information wait locate The data of reason need the event responded, then according to the above-mentioned data of event handling in MRTR value and event information, wherein event Information is that the various network formats that multimode terminal is supported are general, and multimode terminal switches in the multiple network standard that it is supported When, the MRTR of the terminal is adjusted, implementation method is simple, and software maintenance is easier to.
In step S102, the MRTR value of multimode terminal is adjusted to consistent with the network side frame boundaries under current network standard Time can be adjusted at least one in the following manner: (1) be adjustment amplitude to multimode terminal using a time slot MRTR value is adjusted;(2) it is directly entered next frame;(3) length for increasing present frame, makes the frame head and multimode terminal of next frame Current persistent district alignment.Wherein, mode (1) is properly termed as finely tuning, and in practical application, last 5 time slots of a frame are provided Do not allow registered events, so being adjusted in last 5 time slots of a frame to the time, can guarantee that event is not lost in this way It loses.Mode (2) and mode (3) are properly termed as adjusting greatly, and after the completion of big adjustment, all event needs are re-registered, to prevent event Loss or repeated trigger.Preferably, it can be adjusted according to MRTR value of the primary frequency of a framing control to multimode terminal.
The process for generating MRTR is as follows:
MRTR value corresponding with current network standard is determined according to the MRTR value of current network standard and free-running, In, the MRTR value of free-running is the work clock of one of the multiple network standard supported using multimode terminal network formats The MRTR value of the free-running of generation;The corresponding MRTR value of current network standard is adjusted to and the network under current network standard The side frame boundaries consistent time.
Preferably, the MRTR value of free-running is the MRTR value of the free-running generated using the work clock of LTE system.
Preferably, MRTR corresponding with current network standard is determined according to the MRTR value of current network standard and free-running If value includes: that current network standard is LTE system, determine the MRTR value of free-running as MRTR corresponding with LTE system Value;If current network standard is WCDMA system, according to the ratio of the work clock of LTE system and the work clock of WCDMA system The MRTR value of value and free-running determines MRTR value corresponding with WCDMA system;If current network standard is TD-SCDMA System, according to the MRTR value of the ratio and free-running of the work clock of LTE system and the work clock of TD-SCDMA system, Determine MRTR value corresponding with TD-SCDMA system.
Preferably, corresponding with current network standard according to the determination of the MRTR value of current network standard and free-running After MRTR value, the above method further include: convert MRTR value corresponding with current network standard under current network standard The MRTR value of frame structure format.
In practical applications, MRTR is counted according to the frame structure of each network formats, and LTE requires work to exist Under 30.72M clock, WCDMA requires work under 15.36M clock, and TD-SCDMA requires work under 10.24M clock.
The MRTR value under each network formats is generated using the relationship between three clock frequencies, is produced using 30.72M clock The MRTR of a set of free-running is given birth to, can directly use for LTE after format conversion, then be supplied respectively after except 2 and except 3 WCDMA and TD-SCDMA is used, and format conversion is mainly the frame structure lattice converted the MRTR of free-running under corresponding modes Formula.
Step S104 includes: the event registration by present frame into event information;Event registration more than present frame is arrived In outstanding message.In practical applications, generally shift to an earlier date field registered events, resource can be saved.
Preferably, will be more than present frame event registration into outstanding message after, the above method further include: according to pre- The fixed period judges whether the event in outstanding message becomes the event of present frame;If so, qualified event is mobile Into event information, and delete the qualified event in outstanding message.
Event table module registered events interruption or universal input/output (General Purpose into RAM by software Input Output, referred to as GPIO) event, hardware is according to local_mrtr(Network Time Base) clocked flip event interrupt Or GPIO event.Interrupt can be full frame, in field or symbol any position interruption.Interrupt type can be periodically or Single.GPIO event supports symbol level.Event table stores the information of 3 tables using 3 block RAMs, through software into table Corresponding information is written, hardware accurately generates corresponding event and interrupt signal according to the count value of local_mrtr.LTE mould TPU allocation list provides normal cp(Cyclic Prefix, cyclic prefix respectively under formula) and extend cp both of which under Allocation list, hardware automatically switch 2 tables according to CP mode, and according to the when base of MRTR(free-running)+offset(radio frames Head offset) value, can for a frame each symbol (symbol) provide event triggering.
TPU hardware supports mixing CP pattern switching under LTE mode, also supports list CP mode.If not configuring switching, TPU can be always worked under normal cp or extend cp mode, if switching is determined by software completely.TPU configuration Each in table includes the control signal and symbol bias internal interrupted, each in table includes GPIO control signal and GPIO sublist index Address.
Preferably, above-mentioned outstanding message is to wait chained list.Above-mentioned event information is event table, and event table includes event master Table interrupts sublist and radio frequency event sublist, wherein the main table of event stores the week of interruption and RF event according to wireless frame structure Phase property or single configuration, interrupt sublist storage interrupting information and interrupt flag bit information, and RF event sublist stores RF control word And offset address.
Preferably, the event registration responded is being needed to arrive upstream data to be sent and/or the downlink data received After in event information, the above method further include: judging the difference of the event to be deleted and current time in outstanding message is It is no less than 1 frame;If being not less than 1 frame, the deletion event directly in outstanding message, and by corresponding mark position 0;If it is less than 1 frame, by the relevant position 0 of corresponding event in the main table of event.In this preferred embodiment, judgement the event to be deleted and it is current when Between difference whether less than 1 frame, to determine how to delete, if it is less than 1 frame, by the correlation of corresponding event in the main table of event Position 0, the event registered in the past in this way would not be responded.Since the address of the main table of MRTR and event of registered events is one by one Corresponding relationship, interruption may be implemented to be optionally plugged into, and software does not need to be ranked up interrupt event yet.
Step S106 includes: according to the interruption or RF event in MRTR value clocked flip event information;According to interrupt or Person's RF event sends upstream data by radio frequency, and/or handles downlink data.The processing of downlink data can be The operations such as filtering, parsing.
Preferably, according to interrupt or RF event, by radio frequency send upstream data, and/or to downlink data at Before reason, the above method further include: the RF control word in event information is parsed.
The embodiment of the invention also provides a kind of data processing equipment of multimode terminal, the data processing of the multimode terminal is filled Set the data processing method that can be used to implement above-mentioned multimode terminal.Fig. 2 is the number of multimode terminal according to an embodiment of the present invention According to the structural block diagram of processing unit, as shown in Fig. 2, the device includes adjustment module 22, registration module 24 and processing module 26.Under It is described in detail in face of its structure.
Module 22 is adjusted, for the MRTR value of multimode terminal to be adjusted to and the network side frame boundaries under current network standard The consistent time;Registration module 24, the thing for needing to respond upstream data to be sent and/or the downlink data received Part is registered in event information;Processing module 26 is connected to adjustment module 22 and registration module 24, for according to adjustment module 22 MRTR value adjusted and registration module 24 are registered to event handling upstream data and/or downlink data in event information.
In the related technology, support multiple network standard multimode terminal need its support each network formats between into Row switching, and the time of each network formats is different, difficult, software maintenance complexity is realized in timing.Through the invention, by multimode The MRTR of terminal be adjusted to the network side frame boundaries consistent time under current network standard, register in event information wait locate The data of reason need the event responded, then according to the above-mentioned data of event handling in MRTR value and event information, wherein event Information is that the various network formats that multimode terminal is supported are general, and multimode terminal switches in the multiple network standard that it is supported When, the MRTR of the terminal is adjusted, implementation method is simple, and software maintenance is easier to.
Preferably, adjustment module 22 can be adjusted by way of at least one of: with a time slot for adjustment Amplitude is adjusted the MRTR value of multimode terminal;It is directly entered next frame;The length for increasing present frame, makes the frame head of next frame It is aligned with the current persistent district of multimode terminal.
Preferably, adjustment module 22 can be adjusted according to MRTR value of the primary frequency of a framing control to multimode terminal It is whole.
Preferably, adjustment module 22 comprises determining that unit, for the MRTR value according to current network standard and free-running Determine MRTR value corresponding with current network standard, wherein the MRTR value of free-running is to utilize a variety of of multimode terminal support The MRTR value for the free-running that the work clock of one of network formats network formats generates;Adjustment unit is connected to determination Unit, it is consistent with the network side frame boundaries under current network standard for being adjusted to the corresponding MRTR value of current network standard Time.
Preferably, the MRTR value of free-running is the MRTR value of the free-running generated using the work clock of LTE system.
Preferably, determination unit includes: the first determining subelement, for the case where current network standard is LTE system Under, determine the MRTR value of free-running as MRTR value corresponding with LTE system;Second determines subelement, in current net In the case that network standard is WCDMA system, according to the ratio of the work clock of LTE system and the work clock of WCDMA system with And the MRTR value of free-running, determine MRTR value corresponding with WCDMA system;Third determines subelement, in current network In the case that standard is TD-SCDMA system, according to the ratio of the work clock of LTE system and the work clock of TD-SCDMA system The MRTR value of value and free-running determines MRTR value corresponding with TD-SCDMA system.
Preferably, module 22 is adjusted further include: format conversion unit is connected to determination unit, will be with current network standard Corresponding MRTR value is converted into the MRTR value of the frame structure format under current network standard.
Registration module 24 includes: the first registering unit, for by the event registration of present frame into event information;Second note Volume unit, for that will be more than the event registration of present frame into outstanding message.Preferably, above-mentioned outstanding message is to wait chained list.
Preferably, registration module 24 further include: judging unit is connected to the second registering unit, for according to scheduled week Phase judges whether the event in outstanding message becomes the event of present frame;Processing unit, for the case where judging result, which is, is Under, qualified event is moved in event information, and delete the qualified event in outstanding message.
Preferably, above-mentioned event information is event table, and event table includes the main table of event, interrupts sublist and radio frequency event Table, wherein the main table of event is configured according to the periodicity or single that wireless frame structure stores interruption and RF event, interrupts sublist Interrupting information and interrupt flag bit information are stored, RF event sublist stores RF control word and offset address.
Preferably, above-mentioned apparatus further include: judgment module is connected to registration module 24, for judging in outstanding message Whether the difference of the event and current time to be deleted is less than 1 frame;Removing module is used in the case where being not less than 1 frame, directly The deletion event in outstanding message, and by corresponding mark position 0;Set module is used for less than 1 frame, by thing The relevant position 0 of corresponding event in the main table of part.
Processing module 26 includes: trigger unit, for according in MRTR value clocked flip event information interruption or RF Event;Processing unit is connected to trigger unit, is used for according to interruption or RF event, by radio frequency transmission upstream data, and/ Or downlink data is handled.
Preferably, processing module 26 further include: resolution unit is connected to trigger unit, controls the RF in event information Word is parsed.
It should be noted that the data processing equipment of multimode terminal described in Installation practice corresponds to above-mentioned method Embodiment, concrete implementation process had carried out detailed description in embodiment of the method, and details are not described herein.
It can be seen from the above, the multimode terminal in the embodiment of the present invention, which is based on the time, carries out data processing, 3 kinds of modes are supported The MRTR of (WCDMA, TD-SCDMA, LTE) is counted, and using the adjustment mode (big reconcile is finely tuned) of 2 kinds of different scenes, keeps terminal MRTR and network side be aligned.The design method that MRTR value generates generates a free-running using 30.72M clock MRTR is then converted into the MRTR value of other modes.A kind of event table of software programmable has also been devised in the embodiment of the present invention, adopts The mechanism separated with main table sublist, can produce GPIO event and interrupt event, and mixing CP mould had both been supported under LTE mode Formula switching, also supports list CP mode.The embodiment of the present invention supports event table setting/removing (set/clear) function, avoids software Sequence to event.Wait_list is increased when registered events, software can write the event for needing to respond after reference field Enter in Wait_list, avoids the sequence of software.
In order to keep technical solution of the present invention and implementation method clearer, below in conjunction with preferred embodiment and attached Figure realizes that process is described in detail to it.
Fig. 3 is the structural schematic diagram of the data processing equipment of multimode terminal according to the preferred embodiment of the invention, such as Fig. 3 institute Show, which includes: uplink transmission unit 302, downlink reception unit 304, time reference unit 306, event list Member 308, radio frequency control word resolution unit 310 and serial peripheral interface (Serial Peripheral Interface, referred to as SPI) control unit 312.Its structure is described in detail below.
Uplink transmission unit 302(realizes the partial function of above-mentioned processing module 26), it completes to software radio The caching of the antenna data of (Software Defined Radio, referred to as SDR) TX input, it is accurate fixed to be generated using event table When signal control caching (BUFFER) data send.
Downlink reception unit 304(realizes the partial function of above-mentioned processing module 26), it completes to radio frequency input data The caching of antenna (RF/ABB) data, realize it is data cached be aligned with base when network, SDR takes respectively according to TPU accurate timing Data are handled out.
Time reference unit 306(realizes the function of above-mentioned adjustment module 22), 2 sets of time references are maintained, i.e., are freely transported Base and base when network when capable, according to base when LOCAL_MRTR(network)=MRTR(free-running operation when base)+OFFSET(is wireless Frame header deviation) it is adjusted, ascending-descending subframes head positions timing diagram, exists as shown in figure 4, being mainly used for locator frame head Position in buffer, calculation formula are as follows: (n+ (307200-offset-M) %30720) %30720, wherein n is data Number in buffer, the calculated result of above-mentioned formula are just position of the subframe head in buffer, since remainder operates It is bad to be realized using hardware, so being calculated as far as possible using software in practice;Base adjustment mode when devising 2 kinds of networks: micro- Adjustment and big adjustment;It completes LOCAL_MRTR and remains synchronous with main plot.
Event table unit 308(realizes the function of above-mentioned registration module 24), it completes event table module and passes through software to RAM Middle registered events interrupt or GPIO event, and hardware is according to LOCAL_MRTR clocked flip event interrupt or GPIO event.Interruption can Be full frame, in field or symbol any position interruption.Interrupt type can be periodic or single.GPIO event Support symbol level.Event table stores the information of 3 tables using 3 block RAMs, corresponding information is written into table by software, firmly Part accurately generates corresponding event and interrupt signal according to the count value of LOCAL_MRTR.
Radio frequency control word resolution unit 310(realizes the function of above-mentioned resolution unit), event table output is penetrated in completion These instructions and control word are issued different module and peripheral hardware by the parsing of frequency control word.
SPI control unit 312, the SPI control word for completing directly to generate software (are controlled by BMI bus transfer to SPI Unit 312) and timing controlled generate SPI order and synchronous serial interface controller (Synchronous Serial Interface Controller, referred to as SSC) module parallel data grabbing card.
Combining the treatment process of upstream data and downlink data separately below, the above scheme will be described in detail.
(1) for uplink transmission for, SDR TX according to the respective data rate of LTE/WCDMA/TD-SCDMA to It is write inside BUFFER, uplink transmission unit 302 is read according to phase same rate from BUFFER.It is accurate fixed to be generated by TPU RF event table When signal control BUFFER data read by radio-frequency antenna (RF/ABB) send, be described below in detail event table registration on act The process of part:
The first step selects operating mode, i.e., selects in LTE/WCDMA/TD-SCDMA one such as multimode terminal Working method.
Second step adjusts the MRTR time of the side UE by time reference unit 306, so that UE and network side frame boundaries are kept Unanimously.The big tune or fine adjustment function of TPU can be used in the MRTR time of the adjustment side UE, specific as shown in Figure 5 and Figure 6.
Fig. 5 is the timing diagram according to the preferred embodiment of the invention being finely adjusted to MRTR, as shown in figure 5, when system needs When micro-adjustment MRTR being wanted to be aligned with cell, TPU supports positive justification and two kinds of negative justification operations, and the adjustment frequency of micro-adjustment is a frame Adjustment is primary, and amplitude is +/- 1Ts.Software corresponding operation: when discovery needs that the TPU time is micro-adjusted, to accordingly posting Storage issues adjustment order, can be adjusted in the last 5Ts of a frame (10ms) to the time after the adjustment order of TPU Hardware Response Delay, It can guarantee that event is not lost in this way, because last 5Ts regulation does not allow registered events.
Fig. 6 is the timing diagram according to the preferred embodiment of the invention adjusted greatly to MRTR, as shown in fig. 6, when system needs When significantly adjusting MRTR, TPU supports short framing control and long framing control.Wherein, short framing control refers to that this frame receives adjustment life After order, lower frame is directly jumped into;Long framing control refers to that after receiving long adjustment order, adjustment increases the length of present frame backward Greatly, so that lower frame frame head be made to be aligned with cell.
The frequency significantly adjusted is that a frame is primary, range be any time slot in 1024 frames (Time Slot, referred to as TS).Software corresponding operation: when discovery needs to adjust the TPU time greatly, according to relationship LOCAL_MRTR=MRTR+ OFFSET sends out write-in adjusted value to corresponding registers, can adjust accordingly operation after the adjustment order of TPU Hardware Response Delay.Big adjustment After the completion, all event needs re-register, to prevent the loss or repeated trigger of event.
MRTR generates process as shown in fig. 7, MRTR is counted according to the frame structure of each mode, and LTE mode is wanted Ask work under 30.72M clock, WCDMA mode requires work under 15.36M clock, and TD-SCDMA mode requires work to exist 10.24M under clock.Time reference unit 306 mainly generates the MRTR of each mode using the relationship between three clock frequencies Value is generated the MRTR of a set of free-running using 30.72M clock, can directly used for LTE mode after format conversion, then It is used respectively for WCDMA and TD-SCDMA after except 2 and except 3, format conversion mainly converts the MRTR of free-running to Frame structure format under corresponding modes, this method will compare saving resource from realizing.
But except 3 circuits can generate error, the error except 3 circuits is held and measured in actual use.Except 3 electricity The specific implementation on road and error are as follows, wherein it can be completed except 3 circuit counting methods use to move to left with add circuit, as follows:
a/3=a/4+a/42+a/43+ ...+a/4 ..., wherein a is the number that remove 3, and error is less than a/(2*4n).
Third step registers uplink in event table unit 308 and handles event, upstream data is needed to ring in transmission process The event answered all is registered in event table, then to the moment, is issued and is interrupted to processor, execute corresponding interrupt processing journey Sequence, the processing of complete paired data.
The process of registered events is specific as shown in figure 8, the event of present frame directly registers in event table, more than present frame Event be then first registered in Wait_list.When the field moment arrives, hardware can inquire Wait_list automatically, will meet item The event of part is transplanted in event table (by symbol writing events table), while being discharged and being stored sky in Wait_list accordingly Between.During uplink and downlink registered events, the event for surmounting current frame number can be registered in waitlist table, these event meetings It is automatically registered in event table when corresponding frame number arrives, if this event does not need accordingly, can directly exist It is deleted in waitlist.
It is as follows that Wait_list specifically reads and writes event procedure:
When registered events, when the field moment arrives, qualified thing is searched for according to triggering moment from Wait_list Part is registered in mast, is searched for since first address every time.
Event procedure is write in Wait_list, the event for needing to respond can be written in Wait_list at any time for software, but need Frame number information is written.When writing event, software is write data into first in fixed register, and then hardware event is written corresponding Address in, which is the address calculated in advance of hardware, while corresponding address mark position 1(address mark position is 0 When indicate that the address can be written into data, be 1 when indicate that data cannot be written in the address), calculation method process as shown in figure 9, It is calculated according to the whether available marker bit in each address, calculates the higher address of priority every time.Priority is by address Size determines that is, 0 address priority highest, 255 address priorities are minimum.
It is as follows to delete interrupt event process:
If the trigger event and current time difference to be deleted is greater than 1 frame, directly deleted in Wait_list, simultaneously By corresponding mark position 0;If the time difference is regular interrupt event less than 1 frame, software can be by the address calculated With byte_en by the full set 0 of interruption relevant bits corresponding in main table, the event registered in the past in this way would not be responded.Due to The address of the MRTR of registered events and main table is one-to-one relationship, and corresponding relationship is seen below, and interruption may be implemented arbitrarily to insert Enter, software does not need to be ranked up interrupt event yet.
Figure 10 is that registration according to the preferred embodiment of the invention is interrupted and generates the flow diagram interrupted, such as Figure 10 institute Show, half frame time need to be shifted to an earlier date when registration is interrupted every time, the lower field event to be responded is registered in preceding field, to the lower field moment The event registered is responded when arrival.
Figure 11 is the schematic diagram of event table according to the preferred embodiment of the invention, and as shown in figure 11, whole event table uses The design of main table and sublist separation: main table is matched according to periodicity/single that wireless frame structure stores interruption and RF sublist event It sets;Interrupt sublist storage interrupting information and interrupt flag bit information;RF sublist stores RF control word information and offset address.
0 ~ 149 in the main table of TPU is the main table of TPU under normal CP mode, and 256 ~ 375 be the TPU master extended under CP mode Table.Wherein, int is 14 bits, and bit1 is periodically to generate signal, and bit2 is that single generates signal, during bit3-bit14 is Disconnected offset (offset_int).Rf is 8 bits, and bit1 ~ bit6 is GPIO allocation index, and bit7 is that single generates signal, Bit8 is periodically to generate signal.
Sublist, i.e. TPU int allocation list (140) are interrupted, interrupting the Tpuint in sublist is 2 bits, and bit2 indicates dsp It interrupts, bit1 indicates that arm is interrupted.Int_index has 8 bits, indicates Int_index_dsp or Int_index_arm, In, Int_index_arm represents the index of arm interruption, is initially arranged in table, when TPU, which is interrupted, to arrive, will be stored in interruption In indexed registers, which is obtained by read register.Int_index_dsp represents dsp and interrupts index, initially sets in table It sets, when TPU, which is interrupted, to arrive, will be stored in and interrupt in indexed registers, which is obtained by read register.When the main table of TPU Interruption is generated, which interrupts output and its index.
RF sublist, i.e. rf event table (1024), the Continue in RF sublist is 1 bit, is indicated according to symbol next RF event.Offset is 12 bits, and unit is chip, 0~2207.Rf is 32 bits.Also storage has RF control in the table Word.
By software, the registered events into RAM interrupt event table module or GPIO event, hardware are fixed according to local_mrtr When trigger event interrupt or GPIO event.Interrupt can be full frame, in field or symbol any position interruption.Interrupt type can To be periodic or single.GPIO event supports symbol level.Event table stores the information of 3 tables using 3 block RAMs, Be written corresponding information into table by software, hardware according to the count value of local_mrtr, accurately generate corresponding event and Interrupt signal.TPU allocation list provides the allocation list under normal cp and extend cp both of which respectively under LTE mode, firmly Part automatically switches 2 tables according to CP mode, and according to the value of MRTR+offset, can provide for each symbol of a frame Event triggering.
TPU hardware supports mixing CP pattern switching under LTE mode, also supports list CP mode.If not configuring switching, TPU can be always worked under normal cp or extend cp mode, if switching is determined by software completely.TPU configuration Each in table includes the control signal and symbol bias internal interrupted, each in table includes GPIO control signal and GPIO sublist index Address.
4th step, data to be sent are written in the BUFFER of uplink transmission unit 302, next to be sent out to handle The data sent.
5th step is passed through the data in BUFFER by MRTR value accurate timing and radio frequency control word resolution unit 310 Radio frequency is sent.
(2) for downlink reception, TPU accurate timing is only needed to take out number respectively downlink subsystems module According to handling, the process of event table registration downlink event is described below in detail:
The first step selects operating mode, i.e., selects in LTE/WCDMA/TD-SCDMA one such as multimode terminal Working method.
Second step adjusts the MRTR time of the side UE by time reference unit 306, so that UE and network side frame boundaries are kept Unanimously, the second step that specifically adjustment process and uplink are sent is identical, and details are not described herein again.
Third step, by event table unit 308, by the event registration for needing to respond in current downlink data to event table In, specific registration process is identical with the third step that uplink is sent, and details are not described herein again.
4th step, according to MRTR value accurate timing and radio frequency control word resolution unit 310, by radio frequency reception to data delay The BUFFER being stored in downlink reception unit 304.
5th step sends interrupts to processor when arriving constantly according to the event in event table, executes corresponding interrupt Processing routine, from the BUFFRR access in downlink reception unit 304 according to being handled.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
In conclusion according to the abovementioned embodiments of the present invention, providing the data processing method and dress of a kind of multimode terminal It sets.Through the invention, by the MRTR of multimode terminal be adjusted to the network side frame boundaries consistent time under current network standard, The event that data to be processed need to respond is registered in event information, then according to the event in MRTR value and event information at Manage above-mentioned data, wherein event information is that the various network formats that multimode terminal is supported are general, and multimode terminal is in its support Multiple network standard in when switching, the MRTR of the terminal is adjusted, implementation method is simple, and software maintenance is easier to.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored Be performed by computing device in the storage device, perhaps they are fabricated to each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific Hardware and software combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (14)

1. a kind of data processing method of multimode terminal, characterized by comprising:
The mobile wireless time reference MRTR value of multimode terminal is adjusted to and the network side frame boundaries one under current network standard The time of cause;
Need the event registration responded into event information upstream data to be sent and/or the downlink data received;
According to upstream data described in the event handling in the MRTR value and the event information and/or the downlink data;
Wherein, the MRTR value of multimode terminal is adjusted to wrap with the network side frame boundaries consistent time under current network standard It includes:
MRTR value corresponding with the current network standard is determined according to the MRTR value of the current network standard and free-running, Wherein, the MRTR value of the free-running is one of the multiple network standard supported using multimode terminal network formats Work clock generate free-running MRTR value;
The corresponding MRTR value of the current network standard is adjusted to and the network side frame boundaries one under the current network standard The time of cause.
2. the method according to claim 1, wherein the MRTR value of multimode terminal is adjusted to and current network system The network side frame boundaries consistent time under formula includes at least one of:
It is adjusted by MRTR value of the adjustment amplitude to the multimode terminal of a time slot;
It is directly entered next frame;
The length for increasing present frame, is aligned the frame head of next frame with the current persistent district of the multimode terminal.
3. the method according to claim 1, wherein the MRTR value of multimode terminal is adjusted to and current network system The network side frame boundaries consistent time under formula includes: the MRTR value according to the primary frequency of a framing control to the multimode terminal It is adjusted.
4. the method according to claim 1, wherein the MRTR value of the free-running is to utilize long term evolution system The MRTR value for the free-running that the work clock of system generates.
5. according to the method described in claim 4, it is characterized in that, according to the MRTR of the current network standard and free-running Value determines that MRTR value corresponding with the current network standard includes:
If the current network standard is long term evolution LTE system, determine the MRTR value of the free-running as with it is described The corresponding MRTR value of LTE system;
If the current network standard is Wideband Code Division Multiple Access WCDMA system, according to the work clock of the LTE system With the ratio of the work clock of the WCDMA system and the MRTR value of the free-running, the determining and WCDMA system pair The MRTR value answered;
If the current network standard is Time division multiple access TD-SCDMA system, according to the LTE system The MRTR value of the ratio and the free-running of work clock and the work clock of the TD-SCDMA system, it is determining with it is described The corresponding MRTR value of TD-SCDMA system.
6. the method according to claim 1, wherein according to the current network standard and free-running After MRTR value determines MRTR value corresponding with the current network standard, the method also includes:
Convert MRTR value corresponding with the current network standard to the frame structure format under the current network standard MRTR value.
7. the method according to claim 1, wherein by upstream data to be sent and/or the downlink received Data need the event registration that responds to include: into event information
By the event registration of present frame into the event information;
It will be more than the event registration of present frame into outstanding message.
8. the method according to the description of claim 7 is characterized in that will be more than the event registration of present frame into outstanding message Later, the method also includes:
Judge whether the event in the outstanding message becomes the event of present frame according to the scheduled period;
If so, qualified event is moved in the event information, and delete the symbol in the outstanding message The event of conjunction condition.
9. method according to any one of claim 1 to 8, which is characterized in that the event information is event table, described Event table includes the main table of event, interrupts sublist and radio frequency event sublist, wherein the main table of event is deposited according to wireless frame structure Put the periodicity or single configuration of interruption and RF event, the interruption sublist storage interrupting information and interrupt flag bit letter Breath, the RF event sublist storage RF control word and offset address.
10. according to the method described in claim 9, it is characterized in that, by upstream data to be sent and/or under receiving After the event registration that row data needs respond is into event information, the method also includes:
Judge the difference of the event to be deleted and current time in outstanding message whether less than 1 frame;
If being not less than 1 frame, the event is directly deleted in the outstanding message, and by corresponding mark position 0;
If it is less than 1 frame, by the relevant position 0 of the event corresponding in the main table of the event.
11. according to the method described in claim 10, it is characterized in that, the outstanding message is to wait chained list.
12. method according to any one of claim 1 to 8, which is characterized in that according to the MRTR value and the event Upstream data described in event handling in information and/or the downlink data include:
According to the interruption or RF event in event information described in the MRTR value clocked flip;
According to it is described interruption or RF event, the upstream data is sent by radio frequency, and/or to the downlink data at Reason.
13. according to the method for claim 12, which is characterized in that according to interruption or RF event, sent by radio frequency Upstream data, and/or before handling downlink data, the method also includes:
RF control word in the event information is parsed.
14. a kind of data processing equipment of multimode terminal, characterized by comprising:
Module is adjusted, for the mobile wireless time reference MRTR value of multimode terminal to be adjusted to and the net under current network standard The network side frame boundaries consistent time;
Registration module, for needing the event registration responded to arrive upstream data to be sent and/or the downlink data received In event information;
Processing module, for the upstream data according to the event handling in the MRTR value and the event information and/or institute State downlink data;
Wherein, adjustment module comprises determining that unit, for determining and working as according to the MRTR value of current network standard and free-running The corresponding MRTR value of preceding network formats, wherein the MRTR value of free-running is the multiple network standard supported using multimode terminal One of network formats work clock generate free-running MRTR value;Adjustment unit is connected to determination unit, is used for The corresponding MRTR value of current network standard is adjusted to and the network side frame boundaries consistent time under current network standard.
CN201210299227.1A 2012-08-21 2012-08-21 The data processing method and device of multimode terminal Active CN103634896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210299227.1A CN103634896B (en) 2012-08-21 2012-08-21 The data processing method and device of multimode terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210299227.1A CN103634896B (en) 2012-08-21 2012-08-21 The data processing method and device of multimode terminal

Publications (2)

Publication Number Publication Date
CN103634896A CN103634896A (en) 2014-03-12
CN103634896B true CN103634896B (en) 2019-02-05

Family

ID=50215408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210299227.1A Active CN103634896B (en) 2012-08-21 2012-08-21 The data processing method and device of multimode terminal

Country Status (1)

Country Link
CN (1) CN103634896B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918321B (en) * 2015-04-24 2018-10-23 北京华力创通科技股份有限公司 A kind of the radio-frequency receiving-transmitting processing unit and method of satellite communication

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638885A (en) * 2011-02-14 2012-08-15 中兴通讯股份有限公司 Timing processing device and method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6560215B1 (en) * 1999-08-24 2003-05-06 Motorola, Inc. Method and apparatus for updating a timing offset in a communication device
JP2004173096A (en) * 2002-11-21 2004-06-17 Matsushita Electric Ind Co Ltd Timing controller
KR100547804B1 (en) * 2003-08-18 2006-01-31 삼성전자주식회사 Cell search method and system of mobile station for inter-system handover
KR101084137B1 (en) * 2005-05-02 2011-11-17 엘지전자 주식회사 Method of supporting handover in multi-mode mobile terminal
TWI325733B (en) * 2005-05-10 2010-06-01 Qualcomm Inc Base station synchronization using multi-communication mode user equipment
CN100527897C (en) * 2005-08-10 2009-08-12 上海明波通信技术有限公司 Multi-mode mobile terminal time schedule controller and method
CN101146341B (en) * 2006-09-12 2011-11-16 华为技术有限公司 A method and device for avoiding duplicate transaction execution in media independent switching
CN101146087A (en) * 2006-09-12 2008-03-19 华为技术有限公司 A method and system for querying registered events
CN102448199B (en) * 2010-09-30 2014-11-05 华为技术有限公司 Multimode base station and method for transmitting data for multimode base station
CN102448162B (en) * 2010-10-11 2014-07-16 中兴通讯股份有限公司 Uplink launching timing control method and device in LTE (Long Term Evolution) system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638885A (en) * 2011-02-14 2012-08-15 中兴通讯股份有限公司 Timing processing device and method

Also Published As

Publication number Publication date
CN103634896A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN102316574B (en) A kind of multimode terminal system clock timing method and device
CN101184277B (en) Inter-base station synchronization method in time division multiple access system
CN102469571B (en) Method and system for realizing delay compensation in distributed base station system
RU2005127326A (en) SYSTEM AND METHOD INTENDED TO EXTEND THE NEARBY CELL SEARCH WINDOW
CN101594673A (en) A kind of method and system of processing 1588 time stamp in distribution mode
US9209919B2 (en) Synchronization control system
EP2339892A1 (en) Wireless base station, wireless access network, communication control circuit, storage medium and communication control method
WO2021008532A1 (en) Active antenna unit delay alignment method and apparatus and active antenna unit
WO2012003746A1 (en) Method and device for realizing boundary clock
CN101442798B (en) Ascending/descending synchronous communication method for radio base station control node and cascade far-end node thereof
CN107295627B (en) Time synchronization method and time synchronization device of baseband pool server
CN101471724A (en) Ascending data synchronization method for TDD system
KR102148281B1 (en) Method and device for displaying synchronization priority
CN102820941A (en) Clock synchronization method and device of communication network
CN106559157A (en) A kind of clock synchronizing method, device and communication equipment
CN102857315B (en) Master clock service is from the method and system of clock
CN113905399A (en) Time delay processing method, equipment, device and medium
WO2015139320A1 (en) Method and apparatus for configuring position of frequency resource
CN103634896B (en) The data processing method and device of multimode terminal
US10531330B2 (en) Frame start optimizing in telecommunications systems
CN105101418B (en) A kind of method, system and equipment determined with reference to subframe
US9179429B2 (en) Synchronization method, device, and system
CN113573403B (en) Slave clock synchronization system and method for 5G RRU
CN111478863B (en) Switch system and network port time synchronization method thereof
US8493963B1 (en) Multiple time accurate strobe (TAS) messaging

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20151127

Address after: Dameisha Yantian District of Shenzhen City, Guangdong province 518085 Building No. 1

Applicant after: SHENZHEN ZTE MICROELECTRONICS TECHNOLOGY CO., LTD.

Address before: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Applicant before: ZTE Corporation

GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140312

Assignee: Xi'an Chris Semiconductor Technology Co. Ltd.

Assignor: SHENZHEN ZTE MICROELECTRONICS TECHNOLOGY CO., LTD.

Contract record no.: 2019440020036

Denomination of invention: Data processing method and apparatus for multi-mode terminal

Granted publication date: 20190205

License type: Common License

Record date: 20190619