Specific embodiment
Below with reference to accompanying drawing and in conjunction with the embodiments describing the present invention in detail.It should be noted that not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
A kind of multi-path detecting method is present embodiments provided, as shown in figure 4, comprising the following steps:
Step S402:Multipath searching task is received, wherein, Multipath searching task includes:Multipath searching task is different long
The configured information of the hardware resource of occupancy is allowed on the time period of degree;
Step S404:Distribute hardware resource for Multipath searching task;
Step S406:Multipath detection is carried out to Multipath searching task according to the hardware resource of distribution.
In above-mentioned preferred implementation, in being assigned to the Multipath searching task of hardware, have predetermined that the multipath is searched
Rope task, so also can be so that be not take up this in the Multipath searching task in the hardware resource taken needed for different time sections
When part resource, these hardware resources are distributed to into other tasks and is used, cannot in prior art so as to solve
The technical problem controling effectively to the hardware resource of Multipath searching, has reached the time division multiplex to hardware resource, so as to carry
The utilization rate of hardware resource in high multipath detection.
For example, the distribution of hardware resource can be carried out on software, after software receives Multipath searching instruction, it is possible to
Hardware resource during multipath detection is determined according to the Multipath searching instruction, it is preferable that all of hardware resource can also be divided into
Multiple AP set, correspond to each time period each activity cycle (Action Period, referred to as AP) in set allowed accounts for
Resource, is that Multipath searching task distributes a suitable AP set according to the demand of Multipath searching task, to realize that this is more
The Multipath searching task for distributing hardware resource is handed down to hardware and is performed by occupancy of the path search task to resource.
In a preferred embodiment, Multipath searching task allows the hardware money for taking on the time period of different length
The configured information in source includes at least one of:Corresponding to the Multipath searching task in each activity cycle of AP, each AP's
Each symbol of each time slot and each time slot allows the configured information of the hardware resource for taking.That is, by Multipath searching
Task is divided into three layers, and this three layers is AP layers, slotmask layers, symbolmask layers respectively, its successively from outside to inside, the model of control
Enclose and progressively reduce.By this three layers and this three layers of durations, easy to do can realize that the time-division to the resource pool is multiple
With operation, and controllable task takes the time of resource pool on demand, subscriber signal is selectively accumulated in some cycles
Divide cumulative.
Can indicate with binary bit whether each time point allows to take hardware resource, be preferable to carry out at one
In mode, in Multipath searching task, each AP, each time slot or each symbol are indicated by setting corresponding bit
Whether permission takes hardware resource.Preferably, identify whether each symbol allows to take the bit of hardware resource and the symbol
Corresponding frequency pilot sign is identical.For example:Slotmask layers represent occupancy situation of the task to resource pool in current time slots, such as
Really the time slot is in GAP, shows that user's no data sends, is then not take up resource pool, and it is 1 to arrange mask corresponding bits position;Otherwise,
0 is given then.Symbolmask layers represent occupancy situation of the task to resource pool in current sign, this mask generally with
(E-) the energy symbol pattern of DPCCH signals is (for DPCCH is frequency pilot sign, for (E-) DPCCH can be voluntarily fixed by user
Justice) it is consistent, if current symbol is effectively, using resource pool;Otherwise, then resource pool is discharged to other tasks.
In view of it sometimes appear that upper strata determines hardware resource, but the Multipath searching is found to be when reaching hardware
The hardware resource of task distribution is occupied or abnormal etc., just needs this when again for the task Resources allocation, at one
In preferred implementation, it is that the Multipath searching task distribution hardware resource includes:Whether judge current hardware resource
Meet the resource indicated by the configured information;If it is, hardware resource is distributed to according to the configured information described many
Path search task;If it is not, then distributing hardware resource for the Multipath searching task according to current hardware resource situation again.
For example:Task controller in hardware judges the effectiveness of task in Multipath searching task requests and coming into force for task
Time, and analyze occupation condition, only as distribution of work associated hardware resource after, just pressing the task into operation queue is carried out
Multipath is detected.
Consider the spreading factor of (E-) DPCCH channels, search window length and process many factors such as time-consuming, can be with
Only cache 12 antenna on-time data from the current system nearest 640chips of timing, these antenna data can by according to
Secondary to be stored in 32 independent SSRAM, each SSRAM caches the antenna data of 20chips, the antenna data of each chip with
The chip times of 5 128chips of timing correspond, with 5 128chips as cycle, circulation storage.So as to reach
Effectively utilizes to storage resource, in a preferred embodiment, according to the hardware resource of distribution to the multipath
Search mission carries out multipath detection to be included:The antenna data corresponding to the Multipath searching task is read, wherein, the antenna number
Stored in the buffer according to circulating;Multipath detection is carried out to the antenna data for reading according to the hardware resource of distribution.It is preferred that
Ground, storage in caching are less than the chip corresponding to the antenna of predetermined threshold with timing.
In a preferred embodiment, the storage resource of system can be divided into into one or more storage resources in advance
Block, when the Multipath searching task is received, appoints for the Multipath searching according to the resource of the Multipath searching required by task
Business distributes one or more storage resource blocks, wherein, the storage resource block of distribution is used for storage and the Multipath searching task is entered
The testing result of row multipath detection.
After multipath detection is carried out, need to carry out multipath selection, it is preferable that can realize according to following steps:From correspondence
The result of multipath detection is read in the storage resource of the Multipath searching task;Carried out according to the result of the multipath detection read
Multipath is selected.
A kind of multi-path detection device is additionally provided in the present embodiment, and the device is used to realize above-described embodiment and preferred reality
Mode is applied, repeating no more for explanation had been carried out.As used below, term " unit " " module " can realize predetermined work(
The combination of the software and/or hardware of energy.Although the device described by following examples is preferably with software realizing, firmly
Part, or the realization of the combination of software and hardware is also may and to be contemplated.Fig. 5 is the preferred knot of one kind of multi-path detection device
Structure block diagram, as shown in figure 5, including:Receiving unit 502, allocation unit 504 and detector unit 506, are carried out to the structure below
Explanation.
Receiving unit 502, for receiving Multipath searching task, wherein, the Multipath searching task includes:The multipath is searched
Rope task allows the configured information of the hardware resource for taking on the time period of different length;
Allocation unit 504, is coupled with receiving unit 502, for distributing the hardware resource for the Multipath searching task;
Detector unit 506, is coupled with allocation unit 504, for being searched to the multipath according to the hardware resource of distribution
Rope task carries out multipath detection.
In a preferred embodiment, as shown in fig. 6, allocation unit includes:Judge module 602, it is current for judging
Hardware resource whether meet the resource indicated by the configured information;First distribute module 604, is coupled with judge module 602,
For in the case where judging to be, hardware resource being distributed to the Multipath searching task according to the configured information;Second point
With module 606, couple with judge module 602, for judge it is no in the case of, then according to current hardware resource situation again
Distribute hardware resource for the Multipath searching task.
The invention provides a kind of preferred embodiment is further explaining to the present invention, but it is noticeable
It is that the preferred embodiment is intended merely to the preferably description present invention, does not constitute and the present invention is improperly limited.
The technical program describes a kind of WCDMA Multipath searchings implementation method and device, Multipath searching as shown in Figure 7
Structured flowchart, mainly includes:Resource management, task control, antenna data access, PN code generators, multipath detection, block management,
It is nine most of that ADP storages, ADP are reported and multipath is selected etc..The present embodiment primarily focuses on following inventive concept:
1) software management, hardware-accelerated.
The fully high speed of combined with hardware and the motility of software so as to simple structure, easily realizes, beneficial to upgrading, carries
The speed of high Multipath searching, saves hardware resource.In view of the complexity of resource management and multipath selected section in control
And the changeableness and alternative on algorithm, this two parts realized in the form of software.However, other parts belong to number
According to intensive module, realized in the form of hardware.Management is controlled by operation of the software to hardware, hardware is needed to software
The data wanted carry out acceleration process, so combine both advantages, realize efficient Multipath searching.
2) hierarchical control, time-division are processed.
In view of the multiple of the search window length due to Multipath searching in actual items generally 16, resource pool can be adopted
Thought, design the 16 rank multipaths detection resource pool on a set of 16 tunnel, each user shares this set resource in a time multiplexed manner
Search is initiated to the search window that unique user length is 16 simultaneously in pond, each occupancy cycle.
Meanwhile, according to the frame characteristics of the multiformity and (E-) DPCCH channels of Multipath searching mission requirements, for convenience
Time division multiplex to shared resource pond, can divide three layers to be controlled task.This three layers are respectively:AP layers, slotmask layers,
And symbolmask layers, its successively from outside to inside, the scope of control progressively reduces.It is lasting by this three layers and this three layers
Time, the time division multiplex to the resource pool can be effectively realized and operated, and controllable task takes the time of resource pool on demand,
Selectively integration is carried out in some cycles to subscriber signal cumulative.AP layers are mainly by duration and distance two parts
Constitute.During duration, (task can carry out the meter of ADP in this period to the part for needing to take in resource pool to task
Calculate);And during distance, task is not take up any hardware resource pool.AP can define multiple format by system, constitute an AP
Set.When search mission is initiated, by explorer according to the distribution condition in Current resource pond, one is selected from set
Suitable AP gives the task.By AP layers, can control circulation of the task to resource pool and take, slotmask layers are represented when current
Occupancy situation of the task to resource pool in gap, if the time slot is in GAP, shows that user's no data sends, is then not take up money
Source pond, it is 1 to arrange mask corresponding bits position;Otherwise, then give 0.Symbolmask layers represent the task pair in current sign
The occupancy situation of resource pool, this mask is generally with the energy symbol pattern of (E-) DPCCH signals (for DPCCH is pilot tone
Symbol, for (E-) DPCCH can be by user's self-defining) it is consistent, if current symbol is effectively, using resource pool;Otherwise,
Resource pool is discharged then to other tasks.By this three layers of control, task can be mapped to one by one using the situation of hardware resource
On resource pool.
3) distribution according to need storage resource.
As the search window length of Multipath searching is the spreading factor of (E-) DPCCH channels, i.e., 256 to the maximum.If according to
This carrys out the interim storage resource of static allocation task, then waste substantial amounts of memory space.Reason is mainly:The search of each task
Window length can not possibly all be maximum, therefore can adopt time-division shared resource pond, in the case where the hardware clock cycle determines, its
The search window overall length of support is also limited, can typically be significantly smaller than the upper limit determined by search window greatest length.So, pass through
According to the demand assignment storage resource of task, memory space can be greatlyd save.In the implementation using 16 memory spaces as caching
Minimum basic unit (referred to as Block), give an ID to each Block.So, to the management of memorizer its essence just
It is the management to these BlockID, so as to simplify design.It is at the beginning of task run, corresponding according to the length allocation of search window
The BlockID of number, and recorded;Among task running, the search proceeded to according to task ID and currently
Window position, inquiry record, finds the BlockID that current task current location uses, so as to realize the correct access to memorizer;
After task end of run, record is searched, reclaim all storage resources that current task is occupied, appointed to follow-up to improve
Make sure use.
4) antenna data circulation storage, parallel to read.
Consider the spreading factor of (E-) DPCCH channels, search window length and process many factors such as time-consuming, can be with
12 antenna on-time data from the nearest 640chips of current system timing are cached only, these antenna data are deposited successively
In 32 independent SSRAM, each SSRAM caches the antenna data of 20chips, the antenna data and system of each chip for storage
The chip times of 5 128chips of timing correspond, with 5 128chips as cycle, circulation storage.
As resource pool uses the multi-path detecting method of 16 tunnel, 16 rank, what each cycle was processed simultaneously is 16 search
The position of window, to antenna data by the way of parallel reading 32chips simultaneously.And this 32 independent antenna datas need two
Secondary correlation can just be finished, so when reading antenna data needing to carry out simple shifting processing.
Based on above-mentioned inventive concept, processed using the hierarchical control time-division, software management is hardware-accelerated, and distribution according to need
Multipath, based on the concept of resource pool, is detected (the related non-phases of && Xiang Ganleijia && that add up in hardware components by the principle of storage resource
It is dry cumulative) resource time division multiplex, resource management and multipath selection algorithm are organically combined in software section, made full use of
The motility of the high speed and software of hardware, makes WCDMA Multipath searchings more flexible, is easy to upgrading;Simultaneously using distribution according to need
Strategy distribution temporary memory space and to antenna data take circulation memory parallel read mode, simplify answering for realization
Miscellaneous degree, saves hardware resource, so as to effectively reduce BTS hardware cost and power consumption.By a certain amount of hardware of time division multiplex
Resource and distribution according to need intermediate buffer space are saved hardware resource, reduce base station cost, reduce work(realizing Multipath searching
Consumption;Hardware resource is managed by hierarchical control simultaneously, software and hardware combining simplifies the complexity of design, improves motility, it is easy to real
Now and upgrading.
Below in conjunction with the accompanying drawings, above-mentioned inventive concept is described in detail, as shown in figure 8, including following step
Suddenly:
Step S802:Advance is to be allocated by block and reclaim by storage resource, and software is upon actuation first to hardware
Block resource initialized, prepare all of memory block resource, then wait the Multipath searching instruction on upper strata.
Step S804:Software receive Multipath searching instruction after, according to Current hardware resource (correlator and memory block)
Service condition, by the way of three layers of control decompose with encapsulation task and be handed down to hardware.
For above-mentioned steps S804 are mainly realized by the resource management module in such as Fig. 7 that the module is mainly used in basis
The search need of multipath management, is produced the request form suitable for various different search needs in the way of task, and issues this
A little requests control hardware and do Multipath searching in a time multiplexed manner to hardware.Due to the multiformity of search mission demand, can be with
According to the frame characteristics of (E-) DPCCH channels, three layers of control shell are set, are respectively:AP shells, slotmask shells,
Symbolmask shells, successively from outside to inside, the scope of control progressively reduces this three layers of shells.By this three layers of shells and this
The persistent period of three shells, effective time division multiplex operation can be carried out to shared hardware resource, and controllable task is accounted on demand
With the time of resource pool, selectively integration is carried out in some cycles to subscriber signal cumulative.One kind as shown in Figure 9
Three layers of control schematic diagram of WCDMA Multipath searchings, the AP in figure represent the cycle for calculating ADP.Each AP by duration and
Distance two parts are constituted, and the AP ON in wherein duration i.e. figure, distance are the part that fork is drawn in figure.System
System define it is a set of No. AP set, resource management module when each search mission is generated according to Multipath searching demand, with reference to
Distribution task takes the situation of hardware resource, selects one specific No. AP to the task from No. AP set.AP ON or
During person duration, (task can be carried out the meter of ADP to the part that task needs to take in total resources ponds in this period
Calculate), during the distance of AP, task is not take up the hardware resource pool searched for.By ground floor control, it is capable of achieving to hardware
The circulation of resource takes or discharges;Second layer control representation is occupancy situation in slot to hardware resource, if this when
Gap is in GAP, shows that user's no data sends, then be not take up hardware resource (as Fig. 9 is drawn shown in fork point);Third layer control table
Show be symbol during hardware resource occupancy situation, it is generally consistent with pilot symbol pattern for DPCCH channels, and for
E-DPCCH channels, its symbol pattern can be by User Defineds, if symbol effectively, takes hardware resource;Otherwise, then discharge
The hardware resource for going out this symbol gives other tasks (as Fig. 9 is drawn shown in fork point).
Step S806:Task controller judges the entry-into-force time of the effectiveness and task of task requests, analyzes resource occupation
Situation, into after distribution of work associated hardware resource, is pressed into operation queue task.
Above-mentioned steps S806 are mainly by the task control module realization in such as Fig. 7, knob of the module as software-hardware synergism
Band, plays a part of to form a connecting link, and is mainly used in receiving the task requests for coming from software, and by analysis and explains these
Business request, the time sharing segment of the shared hardware of control run and stop, to reach the purpose of time division multiplex hardware resource.Task control
Module realizes that block diagram is as shown in Figure 10.Resource management module issues request in the way of task to TskReqFIFO,
When TskReqChk modules judge this FIFO for non-NULL, current task solicited message is therefrom read, and with reference in TskStatRam
Historic task status information is done request and is checked, updates TskReqRam according to the result for checking, while produce task requests response disappearing
TskRspFIFO is ceased, notifies that resource management module reads in the way of interrupting.TskTimChk modules are according in TskReqRam
Task request message and TskStatRam in task status information complete the inspection of task entry-into-force time point, and after checking
The result of generation feeds back to TskAnalyze modules.Result of the TskAnalyze modules according to TskTimChk module checks, according to
Task ID order from small to large carries out cycle occupation condition analyses successively to the task that each comes into force, and from
The parameter that the task is read in TskParaRam and the middle log that the task is read from TskMiddRam, by ginseng
The information such as AP and mask in number, judge resources occupation situation of this task in this cycle, if necessary to take resource, then
This task is added to TskExeFifo, and the middle log safeguarded (Counter Value of description AP switchings and mask) is deposited
It is placed in TskMiddRam.
Step S808:Multipath detection module reads task from operation queue, and from antenna data memory block and parameter region
Read related data and PN codes are obtained from PN code generators, then perform corresponding multipath detection calculations.
Above-mentioned steps S808 mainly detect mould by the antenna data access module in Fig. 7, PN code generators module and multipath
Three part such as block is constituted.Antenna data access module is mainly used in caching the antenna data from antenna front ends processing module, is
The correlator of this module provides associated antenna data.From the perspective of in abstract angle, a serioparallel exchange and antenna data weight can be regarded as
The function of group.Specifically, the module is mainly under the control of system sequence (system clock, global counter Gcc), continuously
Constantly antenna data is in a planned way circulated and is deposited in local Ram, the antenna data of each chip will be joined with timing
System gets up;Meanwhile, 32chips antenna data of the parallel output per task specified locations under the control of task control module, with
Just it is supplied to 16 road parallel correlators to do subsequent treatment.Consider the spreading factor of (E-) DPCCH channels, search window length with
And many factors such as time-consuming are processed, this module caches 12 antenna on-time from the nearest 640chips of current system timing
Data, these antenna data are sequentially stored in 32 independent SSRAM, and each SSRAM caches the antenna number of 20chips
According to.The antenna data of each chip was corresponded with the chip times of the 5 of timing 128chips, with 5 128chips
For cycle, circulation storage.In reading antenna data, the antenna ID specified according to task, the initial phase offset of search window,
Several factors such as coherent accumulation counting and search window window length counting determine the address for reading RAM, as antenna RAM is read parallel
Number be 32, and this 32 independent antenna datas need correlation twice just be finished, so the antenna data for reading needs
Shifting processing is carried out, arrow show continuous four times related antenna datas and reads pattern in such as Figure 11.
Time slot ID, symbol ID, initial scrambler and frequency pilot sign that PN code generators module is specified according to each task
The parameters such as number, produce 16 plural number PN codes of the task in user's frame specified location parallel.The PN codes will be with corresponding antenna
Data are matched to reach the purpose of descrambling, despreading, depolarization.The realization of the module as shown in figure 12, further includes to disturb
Code generator (scmgen), rotation code generator (rotgen), PN synthesizers (pncomb) and xymidram, rotvecrom,
The intermediate stores such as pilotram.It is each that xymidram memorizeies preserve X/Y depositor of each task during scrambler generation
The intermediateness of 25bits;Rotvecrom read only memory preserve in a frame 150 × 4 of 150 character positions rotate to
Amount, each rotating vector are 25 bits;Pilotrom read only memory stores the pilot time slot form of DPCCH channels.scmgen
Module will be determined the value of current X/Y depositors is extracted from xymidram by the parameter being input into, and according to disturbing for being specified by agreement
Code generation rule produce 16 25bits scrambler, then rotgen modules by this scrambler with from rotvecrom read this
Business 4 rotating vectors in 2 carry out multiplication of vectors, then mould 2 plus, obtain 4 16bits vector output, finally by
Pncomb modules read the pilot symbol data of active user and rotcode from pilotram and carry out corresponding computing and take altogether
Yoke, obtains final 16 plural number PN codes.
Multipath detection module for the antenna data that receives and PN code-phases pass, then relevant/non-phase according to upper strata
Dry length, is added up twice to related accumulation result, obtains specifying the CDP or ADP of user.As multipath detects search window
Length legislations are 16 multiple, so relevant treatment is carried out to 16 search windows simultaneously using 16 road detection modules, such as Figure 13 institutes
Show, be broadly divided into six steps, realize in pipelined fashion.16 rank correlators for searcher chip slide it is related, one
A slip antenna data inside individual search window and the characteristics of constant correlation PN codes, select phase from 32 chip antenna datas of input
The 16 chip antenna datas answered are multiplied one by one and are added up with the PN codes of 16 chips, two sample point independence phases of each chip
Close, parallel work-flow.Frequency compensation module carries out corresponding frequency deviation compensation to the subscriber signal for receiving by step-length of 64chips,
For the DTX situations of compact model GAP and CPC, also compensated by the initial frequency deviation of software arrangements accordingly, do not done special
Process.Coherent accumulation module is mainly used in each Offset of 2 sample points of each search mission, according to the phase that high level is specified
Dry accumulation length, the middle accumulation result in the value and coherent accumulation caching of autocorrelator module output in future carry out adding up or
The middle accumulation result in related cumulative caching is replaced with the value of correlation output.Calculate approximate calculation of the ADP modules according to TI_abs
Method obtains signless ADP values to IQ two-way plural number modulus.Noncoherent accumulation module is mainly used in the unsigned number after modulus
Carry out cumulative with the middle accumulation result in noncoherent accumulation caching or noncoherent accumulation is replaced with the unsigned number after modulus
Middle accumulation result in caching.
Step S810:If being currently the multipath detection calculations result to certain first symbol of task, directly by result
The memory block corresponding to memory block ID of the task is distributed in storing step S806, otherwise, then according to ID from memory block
Read data and the Resource Block is stored after merging therewith.
Step S812:Judge whether all symbols of this task have been finished, if be finished, go to step
S814;Otherwise, then step S806 is transferred to, waits the arrival of the task next one symbol time.
Step S814:After all symbol operations of certain task are completed, notice reporting module reports result of calculation, reports mould
The memory block that block is specified result resettlement to software, and reclaim memory block resource.
Step S816:Software carries out respective handling to data after reporting information is received, and is then done according to multipath algorithm
Multipath is selected.
In another embodiment, a kind of software is additionally provided, the software is used to perform above-described embodiment and preferred reality
Apply the technical scheme described in mode.
In another embodiment, a kind of storage medium is additionally provided, be stored with the storage medium above-mentioned software, should
Storage medium is included but is not limited to:CD, floppy disk, hard disk, scratch pad memory etc..
As can be seen from the above description, present invention achieves following technique effect:It is assigned to the Multipath searching of hardware
The Multipath searching task has been had predetermined that in task in the hardware resource taken needed for different time sections, so also just can be with
So that when the Multipath searching task is not take up this part resource, these hardware resources being distributed to other tasks and entering to exercise
With so as to solve the technical problem that cannot be control effectively to the hardware resource of Multipath searching in prior art, reaching
Time division multiplex to hardware resource, so as to improve the utilization rate of hardware resource in multipath detection.
Obviously, those skilled in the art should be understood that each module or each step of the above-mentioned present invention can be with general
Computing device realizing, they can be concentrated on single computing device, or are distributed in multiple computing devices and are constituted
Network on, alternatively, they can be realized with the executable program code of computing device, it is thus possible to they are stored
In the storage device by computing device performing, and in some cases, can be with shown in performing different from order herein
The step of going out or describe, or they are fabricated to each integrated circuit modules respectively, or by the multiple modules in them or
Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.