Summary of the invention
The invention provides a kind of uplink receiving end parameter storage controlling method and device, storage is controlled simpler.
A kind of uplink receiving end parameter storage controlling method that the embodiment of the present invention provides, comprises the following steps:
At uplink receiving end, if determine that the packet received from UE is user equipment (UE) parameter bag, then verify this packet;
If check results is correct, then the parameter of UE all in described packet is re-grouped package, and the parameter bag of each UE after re-grouping package is isometric, and by the UE parameter bag buffer memory after re-grouping package;
The UE parameter bag of buffer memory is carried out classification by affiliated channel store.
A kind of uplink receiving end parameter memory control device that the embodiment of the present invention provides, comprising:
Receive processing unit, if for determining that the packet received from UE is UE parameter bag, then verify this packet; If check results is correct, then the parameter of UE all in described packet is re-grouped package, and the parameter bag of each UE after re-grouping package is isometric, and by the UE parameter bag buffer memory after re-grouping package;
Classification storage control unit, stores for the UE parameter of buffer memory is carried out classification by affiliated channel.
A kind of uplink receiving end parameter memory control device that the embodiment of the present invention provides, comprising: antenna interface unit, storage control unit, parameter extraction control unit, wherein,
Antenna interface unit, for receiving the packet that reception antenna oral instructions are sent here;
Storage control unit, for determining whether this packet is UE parameter bag; If this packet is UE parameter bag, then described packet is verified; If check results is correct, UE parameter bag in described packet is re-grouped package, and the parameter bag of each UE after re-grouping package is isometric, and the UE parameter bag after re-grouping package is stored in corresponding buffer zone, and export UE number;
Parameter extraction control unit, for in the initial position of each subframe, if detect that the UE number that storage control module exports is not 0, then obtain the UE parameter bag in the buffer zone of storage control unit, the UE parameter bag got is carried out classification according to affiliated channel and stores.
In embodiments of the present invention, at uplink receiving end, if determine that the packet received from UE is UE parameter bag, then verify this packet; If check results is correct, then UE parameter bag in described packet is re-grouped package, and the parameter bag of each UE after re-grouping package is isometric, and by the UE parameter bag buffer memory after re-grouping package; The UE parameter bag of buffer memory is carried out classification by affiliated channel store.This programme to package storages by channel to reception data, and each data package size is identical, and align by word, access control is simple.
Embodiment
Control, at uplink receiving end, if determine that the packet received from UE is UE parameter bag, then verify this packet to simplify to store; If check results is correct, then UE parameter bag in described packet is carried out waiting bag to grow and re-group package, and by the UE parameter bag buffer memory after re-grouping package; The UE parameter of buffer memory is carried out classification by affiliated channel store.Here, wait long the re-grouping package of bag to refer to and re-group package UE parameter, and the parameter bag of each UE after re-grouping package is isometric.
Shown in Figure 1, a kind of uplink receiving end parameter storage controlling method of the embodiment of the present invention comprises the following steps:
Step 101: at uplink receiving end, if determine that the packet received from UE is UE parameter bag, then verify this packet.
Step 102: if check results is correct, then undertaken waiting bag to grow and re-group package by UE parameter bag in described packet, and by the UE parameter bag buffer memory after re-grouping package.
Here, can be stored in different buffer units by the UE packet in continuous at least three subframes, concrete number can according to different defaults, and such as in LTE system, can set continuous print number of subframes is 3.
Step 103: the UE parameter bag of buffer memory is carried out classification by affiliated channel and stores.
In step 103, one by one the UE parameter bag in each buffer unit can be extracted by buffer memory order, and determine channel type belonging to the UE parameter that extracts, according to the channel determined, the UE parameter extracted is placed in channel memory cell corresponding to this channel.
Channel comprises PUSCH, PUCCH or pilot tone (Sounding), the parameter of often kind of channel can be stored separately, also can stored in association, specifically can set according to mode classification.Such as: the parameter of PUSCH, PUCCH or pilot tone (Sounding) is stored separately, also the parametric joint of PUSCH and Sounding can be stored, or the parametric joint of PUCCH and Sounding is stored.
The method can be dispatched the parameter that classification stores further.
Shown in Figure 2, the device of the embodiment of the present invention, comprising: receive processing unit 21 and classification storage control unit 22.Wherein,
Receive processing unit 21, if for determining that the packet received from UE is UE parameter bag, then verify this packet; If check results is correct, then UE parameter bag in described packet is re-grouped package, and the parameter bag of each UE after re-grouping package is isometric, and by the UE parameter bag buffer memory after re-grouping package;
Classification storage control unit 22, stores for the UE parameter of buffer memory is carried out classification by affiliated channel.
Described reception processing unit 21, for being stored in the UE packet in continuous at least three subframes in different buffer units.
Described classification storage control unit 22, one by one the UE parameter bag in buffer unit is extracted for pressing buffer memory order, and determine channel type belonging to the UE parameter that extracts, according to the channel determined, the UE parameter extracted is placed in channel memory cell corresponding to this channel.
Channel comprises PUSCH, PUCCH or pilot tone (Sounding), the parameter of often kind of channel can store separately by described classification storage control unit 22, also can stored in association, such as: the parameter of PUSCH, PUCCH or pilot tone (Sounding) is stored separately, also the parametric joint of PUSCH and Sounding can be stored, or the parametric joint of PUCCH and Sounding is stored.
Can further include: scheduling unit, dispatch for the parameter stored classification.
This programme to package storages by channel to reception data, and each data package size is identical, and align by word, access control is simple.The channel indicator position control data in packet can also be utilized to store, storage is controlled simple and reliable.
Describe technical scheme of the present invention in detail for embodiment below, this embodiment realizes in the form of hardware.Specifically shown in Figure 3, the device of the embodiment of the present invention comprises: antenna interface unit 30, storage control unit 31, parameter extraction control unit 32, wherein,
Antenna interface unit 30, for receiving the packet that reception antenna oral instructions are sent here;
Storage control unit 31, for determining whether this packet is UE parameter bag; If this packet is UE parameter bag, then described packet is verified; If check results is correct, UE parameter bag in described packet is re-grouped package, and the parameter bag of each UE after re-grouping package is isometric, and the UE parameter bag after re-grouping package is stored in corresponding buffer zone, and export UE number;
Parameter extraction control unit 32, for in the initial position of each subframe, if detect that the UE number that storage control module exports is not 0, then obtain the UE parameter bag in the buffer zone of storage control unit, the UE parameter bag got is carried out classification according to affiliated channel and stores.
Described storage control unit 31, comprising: the first control unit 311 and at least three buffer units 312, wherein,
First control unit 311, for determining whether this packet is UE parameter bag; If this packet is UE parameter bag, then described packet is verified; If check results is correct, UE parameter bag in described packet is re-grouped package, and the parameter bag of each UE after re-grouping package is isometric, and the UE parameter bag after group bag is stored in buffer unit corresponding to present sub-frame, and output enable signal and UE parameter bag are to buffer unit;
Each buffer unit 312, under the control of enable signal, stores the UE parameter bag in corresponding subframe, and exports the UE number determined.
Described parameter extraction control module 32, comprising: the second control unit 321 and one with upper signal channel memory cell 322, wherein,
Second control unit 321, for in the initial position of each subframe, if detect that the UE number that storage control module exports is not 0, then obtain the UE parameter bag in the buffer zone of storage control unit, the UE parameter bag got is stored in corresponding channel memory cell according to affiliated channel classification
Each channel memory cell 322, under the control of the second control unit, stores the UE parameter of respective channels type.
Described parameter extraction control module 32 also comprises further:
Scheduling parameter memory cell 323, under the control of the second control unit, preserves the UE parameter obtained from channel memory cell, and under the control of each scheduler module, provides UE parameter.
In embodiments of the present invention, by AIF (Antenna Interface) interface, parameter bag can be sent to this module, the form of UE parameter bag is concrete as shown in Figure 4.Here, can draw according to different channels and can be divided into PUSCH (Physical Uplink Shared Channel)+Sounding or PUCCH (Physical Uplink Control Channel)+Sounding, or be independent PUSCH channel, PUCCH channel, Sounding channel.First by the 1st of UE parameter bag the, 2,3 words (0 word is banner word, and packet header identifies) are cached as common parameter, for PUSCH buffer memory the 4th, 5,6 words; For PUCCH buffer memory the 7th, 8,9,10 words; For Sounding buffer memory the 11st digital data.Such calculating is got up, and wrapping the longest situation should be PUCCH+Sounding, needs 3+4+1=8 word altogether.In order to extracting parameter is convenient, each UE improve parameter unification that often kind divides is made the bag of 8 word sizes, the highest word is used for the buffer memory of Sounding channel parameter, and other words are used for the buffer memory of other parameters, and no word NULL fills, as shown in Figure 5.
Shown in Figure 6, it is as follows that said apparatus realizes storing the process controlled:
Concrete processing procedure is as follows:
Step 601: antenna interface unit is in idle waiting state, receiving and buffer memory when receiving the laggard original data of parameter bag useful signal that up-stream module sends, forwarding step 602 to.
Step 602: storage control unit is resolved the packet received according to being surrounded by effect signal designation, and extract Packet type information from packet header, Packet type information is positioned at low 8 bits of the first character of UE parameter bag.If the packet received is UE parameter Bao Ze forward step 603 to, otherwise jumps to step 601 and wait for that next bag data arrives.
Step 603: storage control unit carries out BIP32 verification to the UE parameter bag received, and first this unit carries out buffer memory to the data received, and carries out verify calculation, provide check results in the process of data buffer storage at the end of data buffer storage.If check results correctly, jumps to step 604, otherwise jumps to step 605.
Step 604: parameter extraction control unit carries out classification to UE parameter bag by channel and stores, and carries out parameter scheduling controlling according to the process moment of up modules.Concrete handling process is as follows:
In designed LTE system, UE parameter needs a subframe in advance to send, and from this parameter entry-into-force time, the parameter minimum time needing maintenance 2 subframe lengths, because need the system delay of a wait subframe.
As shown in Figure 3, in the present embodiment, 3 pieces of SFRAM are utilized to carry out the UE supplemental characteristic of buffer memory 3 different subframes, altogether the SFRAM cached parameters of needs 3 800*32bit.This device designs a sub-frame counter in storage control module, carry out 0,1,2 cycle counts, the UE parameter that sub-frame counter is used for controlling each subframe is stored in which SFRAM (Random Access Memory for sub frame parameter store).Because UE parameter needs a subframe in advance to issue, so when group frame counter values is 0, data are stored in SFRAM1; When group frame counter values is 1, data are stored in SFRAM2; When group frame counter values is 2, data are stored in SFRAM0.In each subframe, UE parameter bag is cached in SFRAM according to sequencing.For each subframe, the device of the present embodiment arranges a UE counter, and when there being a UE parameter bag to issue, counter adds 1, until all UE parameter bags issue complete, UE Counter Value UE_NUM is now sent to parameter extraction control module, for UE parameter scheduling controlling.
If detect that in the position that each subframe is initial UE_NUM is not 0, then parameter extraction control module starts, read the UE parameter in SFRAM, UE parameter is opened according to channel decomposing, be stored into PUSCH CRAM0 (Random Access Memory for control) respectively, in PUCCH CRAM0 and Sounding CRAM0.PUSCH, PUCCH and Sounding need the size of CRAM to be respectively 600*32bit, 700*32bit, 400*32bit.When group frame counter values is 0, judge the UE_NUM that SFRAM0 is corresponding, if be not 0, then think that this subframe has UE to dispatch and exists, parameter extraction control module starts, read the UE parameter in SFRAM0, judge the channel belonging to this UE according to channel indicator PUSCH_FLAG, PUCCH_FLAG and the SOUNGDING_FLAG on UE parameter second word, in the middle of CRAM parameter being cached to respective channels.When same group frame counter values is 1, to SFRAM1 process; To SFRAM2 process when being 2.Parameter in PUSCH CRAM0 is mainly used in calculation of parameter, and channel estimating and frequency deviation are estimated; Parameter in PUCCH CRAM0 is used for PUCCH calculation of parameter and scheduling controlling; Parameter in Sounding CRAM0 is mainly used in calculation of parameter and channel estimating.When functional module process is effective, in the CRAM0 of correspondence, takes out used parameter, complete corresponding function process.
Timing module provides a para_int interrupting information in the original position of each subframe the 2nd time slot, and para_int is a pulse signal.After parameter extraction control module detects this signal, the parameter in PUSCH CRAM0 and Sounding CRAM0 is all moved in the middle of PUSCH CRAM1 and Sounding CRAM1.PUSCH CRAM1 controls by following dispatching process: antenna merges IDFT scrambling dispatching process, separates conduits weave demodulation descrambling dispatching process and decoding block cascade dispatching process; Sounding CRAM1 calculates dispatching process by Sounding CINR and controls.In the CRAM1 of correspondence, read UE parameter when process is effective and carry out subsequent calculations.
Step 605: storage control unit, after receiving check errors instruction, carries out abnormality processing, notifies that high-rise UE parameter bag receives mistake.
Be more than realize LTE uplink receiving end physical layer protocol by logical circuit, issue UE parameter bag control logic circuit by software and carry out UE data processing.But above-described embodiment just discloses a kind of example of the present invention, the present invention program not only can be applied in LTE system, can also be applied in other system, and other equal changes done according to application claims still belong to scope of the present invention.
The method of the invention and device compared with prior art, provide a kind of LTE uplink receiving end parameter access control method and device, clear in structure of the present invention, reception data to be packaged storage by channel, each data package size is identical, and by word alignment, access control is simple; Utilize the channel indicator position control data in packet to store, storage is controlled simple and reliable; In data extraction process process, receive data and first use RAM0 buffer memory, after associated process takes data, provide interruption index signal, by the data-moving in RAM0 in RAM1, fetched data from RAM1 by other treatment progress, complete corresponding processing procedure.And when the treatment progress of current UE read from RAM1 data carry out processing time, the treatment progress of next UE still can read data and process from RAM0.Therefore, from RAM0 and RAM1, while parallel read data, also achieve the stream treatment of each UE process.This processing method had both decreased the data write stand-by period, turn increased data effective retention time, and each RAM only corresponding specific treatment progress, and digital independent controls simple.The present invention program can ensure system delay demand, can ensure that again in data handling procedure, UE parameter is correctly extracted.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.