Summary of the invention
In correlation technique, user's multipath information is managed to technical problems such as expending more hardware inner buffer space, the invention provides a kind of demodulation process method and device of multipath, at least to address the above problem.
According to an aspect of the present invention, provide a kind of demodulation process method of multipath, having comprised: obtain the multipath information of each multipath of each user, wherein, multipath information is for having carried out the needed parameter of multi-path demodulation; The multipath information of obtaining is configured according to user, wherein, the common multipath information of obtaining of using of each multipath of each user; According to the multipath information of configuration, user's multipath is carried out to demodulation process.
Before user's multipath being carried out to demodulation process according to the multipath information of configuration, also comprise: the mapping table of setting up predetermined point of time and each user's multipath information; When predetermined point of time arrives, according to corresponding relation, obtain the multipath information of configuration.
Before predetermined point of time arrives, also comprise: the validity to multipath information detects, if detected, pass through, maintain multipath information in the information of mapping table; Otherwise, abandon multipath information in the information of mapping table.
Before obtaining the multipath information of configuration, also comprise: the validity to multipath information detects, if detected, pass through, maintain multipath information in the information of mapping table; Otherwise, abandon multipath information in the information of mapping table.
The lastest imformation that above-mentioned multipath information is multipath.
According to the multipath information of configuration, user's multipath is carried out to demodulation process, comprising: the selected needed parameter of demodulation process of carrying out from the multipath information before lastest imformation obtained and lastest imformation; According to definite parameter, carry out demodulation process.
According to obtaining multipath information before lastest imformation and lastest imformation, determine and carry out the needed parameter of demodulation process, comprising: according to the entry-into-force time of the multipath the earliest point in current footpath and same user's multipath, be offset maximum definite threshold scope; According to definite threshold range, determine and adopt lastest imformation multipath information or lastest imformation before to carry out demodulation process to user's multipath.
According to the entry-into-force time of the multipath the earliest point in current footpath and same user's multipath skew maximum definite threshold scope, comprise: first threshold scope and the Second Threshold scope of according to the entry-into-force time of the multipath the earliest point in current footpath and same user's multipath skew maximum, determining treatment cycle number, wherein, the maximum of first threshold scope is less than the minimum value of Second Threshold scope;
According to definite threshold range, determine and adopt lastest imformation multipath information or lastest imformation before to carry out demodulation process to user's multipath, comprise: if treatment cycle number within the scope of first threshold, adopts lastest imformation to carry out demodulation process to user's multipath; If treatment cycle within the scope of Second Threshold, adopts the multipath information before lastest imformation.
According to another aspect of the present invention, provide a kind of demodulation processing device of multipath, having comprised: the first acquisition module, for obtaining each user's multipath information, wherein, multipath information is for carrying out the needed parameter of multi-path demodulation; Configuration module, for the multipath information of obtaining is configured according to user, wherein, the common multipath information of obtaining of using of each multipath of each user; Processing module, for carrying out demodulation process according to the multipath information of configuration to user's multipath.
Said apparatus also comprises: set up module, for setting up the mapping table of predetermined point of time and each user's multipath information; The second acquisition module, for when predetermined point of time arrives, obtains the multipath information of configuration according to corresponding relation.
The lastest imformation that above-mentioned multipath information is multipath.
Above-mentioned processing module, comprising: determining unit, for the multipath information before lastest imformation from obtaining and the selected needed parameter of demodulation process of carrying out of lastest imformation; Processing unit, for carrying out demodulation process according to definite parameter.
By the present invention, employing is configured the multipath information of obtaining technological means according to user, solved in correlation technique, user's multipath information has been managed to technical problems such as expending more hardware inner buffer space, thereby reached the effect of saving hardware memory space.
Embodiment
Hereinafter with reference to accompanying drawing, also describe the present invention in detail in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.
Consider in correlation technique user's multipath information is managed and expends more hardware inner buffer space, and, in correlation technique, there is no effectively the technical problems such as solution, below in conjunction with embodiment, provide relevant solution, existing detailed description in detail.
Embodiment 1
Fig. 1 is that as shown in Figure 1, the method comprises according to the flow chart of the demodulation process method of the multipath of the embodiment of the present invention:
Step S102, obtains the multipath information of each multipath of each user, and wherein, this multipath information is for carrying out the needed parameter of multi-path demodulation;
Step S104, is configured the above-mentioned multipath information of obtaining according to user, wherein, and the common above-mentioned multipath information of obtaining of using of each multipath of each user;
Step S106, carries out demodulation process according to the described multipath information of configuration to user's multipath.
By above-mentioned treatment step, owing to can the multipath information of obtaining is configured according to user and not adopt the mode of managing respectively multi-path demodulation parameter by every multipath of user according to adopting, all multipaths of having realized like this user can share one group of parameter, thereby have saved hardware inner buffer space.
In a preferred embodiment of the present invention, before user's multipath being carried out to demodulation process according to the described multipath information of configuration, can also comprise following processing procedure: the mapping table of setting up predetermined point of time and each user's described multipath information; When predetermined point of time arrives, according to described corresponding relation, obtain the described multipath information of configuration.
In order to improve the efficiency of demodulation process, before predetermined point of time arrives, can also detect the validity of above-mentioned multipath information, if detected, pass through, maintain described multipath information in the information of described mapping table; Otherwise, abandon described multipath information in the information of described mapping table.
Based on the identical object of processing procedure above, improve the efficiency of demodulation process, can also, before obtaining the multipath information of described configuration, the validity of above-mentioned multipath information be detected, if detected, pass through, maintain described multipath information in the information of described mapping table; Otherwise, abandon described multipath information in the information of described mapping table.
The lastest imformation that above-mentioned multipath information is multipath.Lastest imformation can be the information of current multipath herein.In this case, step S106, according to the described multipath information of configuration, user's multipath is carried out to demodulation process, comprise following processing procedure: the selected needed parameter of demodulation process of carrying out from the multipath information before described lastest imformation obtained and described lastest imformation; According to the described parameter of determining, carry out demodulation process.Wherein, according to multipath information and the definite needed parameter of demodulation process of carrying out of described lastest imformation obtained before described lastest imformation, specifically can comprise following processing procedure: first threshold scope and the Second Threshold scope of according to the entry-into-force time of the multipath the earliest point in current footpath and same user's multipath skew maximum, determining treatment cycle number, wherein, the maximum of first threshold scope is less than the minimum value of Second Threshold scope; If treatment cycle number within the scope of first threshold, adopts lastest imformation to carry out demodulation process to user's multipath; If treatment cycle within the scope of Second Threshold, adopts the multipath information before lastest imformation.
A kind of demodulation processing device of multipath is also provided in the present embodiment, for realizing above-described embodiment and preferred implementation, had carried out repeating no more of explanation, below the module relating in this device has been described.As used below, the combination of software and/or the hardware of predetermined function can be realized in term " module ".Although the described device of following examples is preferably realized with software, hardware, or the realization of the combination of software and hardware also may and be conceived.Fig. 2 is according to the structured flowchart of the demodulation processing device of the multipath of the embodiment of the present invention 1.As shown in Figure 2, this device comprises:
The first acquisition module 20, is connected to configuration module 22, and for obtaining the multipath information of each multipath of each user, wherein, described multipath information is for carrying out the needed parameter of multi-path demodulation;
Configuration module 22, is connected to processing module 24, for the described multipath information of obtaining is configured according to user, wherein, the common described multipath information of obtaining of using of each multipath of each user;
Processing module 24, for carrying out demodulation process according to the described multipath information of configuration to user's multipath.
In a preferred embodiment of the present invention, as shown in Figure 3, said apparatus can also comprise: set up module 30, be connected to the second acquisition module 32, for setting up the mapping table of predetermined point of time and each user's described multipath information; Acquisition module 32, for when predetermined point of time arrives, obtains the described multipath information of configuration according to described corresponding relation.
Embodiment is similar with said method, the lastest imformation that above-mentioned multipath information is multipath.
Preferably, as shown in Figure 3, above-mentioned processing module 24, comprising: determining unit 240, is connected to processing unit 242, for the multipath information before described lastest imformation from obtaining and the selected needed parameter of demodulation process of carrying out of described lastest imformation; Processing unit 242, for carrying out demodulation process according to the described parameter of determining.
Embodiment 2
The present embodiment relates to the processing scheme that WCDMA base station side dedicated channel demodulating process multipath phase place is upgraded.The present embodiment, in order to reduce the spatial cache of multi-path demodulation parameter and multipath phase parameter, has proposed the management Managed Solution that a kind of new multipath upgrades, and can effectively reduce hardware inner buffer space.The main design idea of the present embodiment is, due to the different multi-path demodulation parameter of each user, the overwhelming majority is identical, can adopt by user and store for the mode of minimum unit, user's multipath number is more like this, the access space that can save is larger, therefore, can carry out more new management of unified management to each user's multipath phase place.In order to realize by user, multipath to be upgraded and managed, the technical scheme that the present embodiment adopts is as follows:
The present embodiment provides a kind of multipath to upgrade processing unit, and as shown in Figure 4, this device comprises: customer parameter dispensing unit 40, user's multipath parameter buffer unit 42, user's multipath be new task detecting unit 44 and user's multipath renewal control unit 46 more.Specific implementation is as follows:
Customer parameter dispensing unit 40, the multipath information of searching for out for the treatment of searcher, the processing of the line correlation of going forward side by side, then configures to user's multipath parameter buffer unit 42 and user's multipath new task detecting unit 44 more by user's mode.
User's multipath parameter buffer unit 42, for cache user multipath state, and user's multipath timing information the earliest, and the relative user of other multipath of the user coherent multipath demodulation parameters such as relativity shift position of multipath the earliest, concrete internal structure as shown in Figure 5, in Fig. 5, the buffer address of user's multipath parameter={ user number, between parameter region }.
User's multipath is new task detecting unit 44 more, for receiving user's multipath lastest imformation of customer parameter dispensing unit 40 configurations, checks task entry-into-force time point, and the task that will come into force sends to user's multipath to upgrade control unit 44 and processes.Its inside, by comprising 4 subelements, as shown in Figure 6, comprising: task is upgraded buffer unit 440, task is upgraded check table unit 442, task status table unit 444 and regular check unit 446.Wherein:
Task is upgraded buffer unit 440, for the user task request of cache user parameter configuration unit configuration.
Task is upgraded check table unit 442, this module is upgraded buffer unit 440 and is read task request message from task, then task timing information is write in the buffer memory of this module, task effective status is write to task status table unit 444, before writing, need to check request task validity, if task is invalid, abandon and change task requests, and feed back to customer parameter dispensing unit 40.Prevent that illegal task or wrong task from entering subsequent treatment module, strengthen fault-tolerant ability.
Task status table unit 444, when upgrading buffer unit 440 from task and read task requests and write task status table unit 444 buffer unit, need this task requests sign to be set to effectively, after this user's task requests comes into force, need to this sign be set to invalid.While having task requests in task renewal buffer unit 440, when reading and upgrading task status table, colleague will read the content of task status table respective user, then upgrades the state flag bit of current task request, and then the data of this unit are write to task status table.
Regular check unit 446, each IP wants query task to check in updating block and checks updating form and task status table, whether the inspection task requests time arrives, and corresponding lastest imformation and task queue information are merged, and then sends to user's multipath to upgrade control unit.After task has been upgraded, need to task more new state be set to disarmed state, prevent repeatedly to upgrade.
The handling process of above-mentioned each subelement is as follows: the multipath task requests that more new task detecting unit 44 receives customer parameter dispensing unit writes task and upgrades buffer unit 440.Multipath more new task detecting unit 44 by an IP(treatment cycle) processing time be divided into for two stages, first stage is used for upgrading buffer unit 440 from task and reads task requests and write task renewal check table unit 442, second stage is used for query task list, check in task requests whether the entry-into-force time arrives, if the time arrives, (for example the corresponding multipath parameter of each user has two memory blocks to upgrade in the task status table unit 444 of the corresponding parameter of task requests buffer memory, whether this status list specifies the task requests of current memory block effective), and send task to user's multipath renewal control unit 46.More two stages of new task detecting unit 44 in the treatment cycle of an IP all will check the validity of task requests user's multipath, if task invalid configuration or wrong, abandon this task requests and to embedded software feedback error information, if judgement task is correct, feed back correct information.
User's multipath upgrades control unit 46, according to from user's multipath more new task detecting unit 44 receive task, to user's multipath parameter buffer unit 42, read parameter and process, then will press multipath by multi-path demodulation Parameter analysis of electrochemical out, send to subsequent demodulation unit to carry out multi-path demodulation.Its inside is by comprising 3 subelements, as shown in Figure 7:
User's multipath upgrades state-maintenance unit 460, user's multipath more new task detecting unit 44 needs task queue to be processed by next IP in each IP, write access customer multipath and upgrade in state-maintenance unit 460 buffer memorys, user's multipath upgrades state-maintenance unit 460 and from task queue RAM, reads task initial just beginning of each system IP.From address, 0 starts to read, address and user number are corresponding one by one, and each processing is all from user 0, and user N (N represents user's number) finishes, each user handling time is identical with the number that each user comprises multipath, and every multipath is treated to Yi Ge chronomere; Often handle a station address from adding once, start to process more new task of multipath in next user).If the task effective marker of reading is 1, represent that this task is effectively, start to carry out this task, if task effective marker is 0, represent that this task is invalid, does not spend execution.User's multipath upgrades state-maintenance unit 460 according to the mission bit stream reading from buffer memory, and user number reads relevant multipath parameter from user's multipath parameter buffer unit 42, send into user's multipath regularly computing unit 462 process.
User's multipath is computing unit 462 regularly, and this unit, according to the computational methods of the timing of multipath, by the relevant timing information computing of new and old parameter, is given subsequent user multi-path demodulation parameter selection unit 464 and is further processed.
Timing, the user relation regularly and between multipath skew as shown in Figure 8.
User's multipath regularly computing unit 462 calculates the time slot of multipath and the IP of multipath, the following formula of specific algorithm:
1): the computational methods of the time slot of multipath:
User_slot=sys_slot-slot_offset now, sys_slot>slot_offset, sys_ip>ip_offset;
User_slot=sys_slot-slot_offset-1 now, sys_slot>slot_offset, sys_ip<ip_offset;
User_slot=sys_slot+15-slot_offset now, sys_slot<slot_offset, sys_ip>ip_offset;
User_slot=sys_slot+14-slot_offset now, sys_slot<slot_offset, sys_ip<ip_offset;
2): the computational methods of the IP of multipath:
User_ip=sys_ip-ip_offset now, sys_ip>ip_offset;
User_ip=sys_ip-ip_offset+N now, (sys_ip<ip_offset;
3): the computational methods of the frame number of multipath:
User_frame=sys_frame-Frame offset now, sys_slot>slot_offset, sys_ip>ip_offset;
User_frame=sys_frame-Frame offset-1 now, sys_slot>slot_offset, sys_ip<ip_offset;
User_frame=sys_frame-Frame offset-1 now, sys_slot<slot_offset, sys_ip>ip_offset;
User_frame=sys_frame-Frame offset-2 now, sys_slot<slot_offset, sys_ip<ip_offset.
Wherein, user_slot is user's multipath time slot, slot_offset is user's multipath and system multipath slot offset, sys_slot is system time gap, and ip_offset is the current multipath of user and the IP skew of multipath the earliest, and user_ip is the IP of the current multipath of user, sys_ip is system IP, user_frame is user's multipath frame number, and sys_frame is System Frame Number, and Frame offset is the skew of user's frame and system-frame.N is the number of times of a time slot treatment cycle (IP);
User's multi-path demodulation parameter selection unit 464, this unit is according to the timing information of the new and old parameter of user's multipath every multipath that regularly computing unit calculates, and the relevant information such as multipath state, select correct multipath regularly and parameter is carried out demodulation to multi-path demodulation unit.
At multipath reproducting periods, because multipath upgrades by user, user upgrades and has only informed some update time of multipath the earliest, owing to may having skew between the different multipaths of user, therefore, how to judge every multi-path demodulation regularly and parameter select old timing information and parameter to carry out demodulation or new timing information and parameter to carry out demodulation and become the problem that needs solve, for addressing the above problem, the technical scheme that the present embodiment adopts is as follows:
First, the entry-into-force time point that user's multipath upgrades has navigated to the entry-into-force time time point of multipath the earliest in new footpath, multipath skew peak excursion between same user is 512 chips, and with the example that is designed to of 1IP=64CHIP, same like this user's peak excursion can not surpass 8 IP.
Secondly, multipath entry-into-force time point is always at user's time slot head, so the User IP of entry-into-force time point is 0 certainly.Because the skew of the multipath between same user peak excursion is 512 chips, according to linearity, calculate, the scope of the User IP that the several IP before certain multipath entry-into-force time point calculate is certainly in 64~79, and the scope of the User IP that the several IP after entry-into-force time point calculate should be in 0~15.
For the purpose of conservative, the new footpath judgment criterion that comes into force is made as: User IP <16 represents that new footpath comes into force, otherwise represents to continue to use old timing information and parameter.As above analyze, during multipath upgrades and comes into force (come into force from multipath the earliest 1 IP to multipath comes into force the latest IP), the scope of User IP, in 64~79 and 0~15, according to this judgment criterion, can make accurate judgment certainly.Outside during this period of time, the state upgrading due to multipath is fallen to become 0 clearly, should use new timing information and parameter completely.
Adopt the such scheme of the present embodiment, can flexibly and effectively dedicated channel demodulation multipath be upgraded and be managed.Owing to not adopting the mode of storing respectively multi-path demodulation parameter by every multipath, and adopt the mode of storing multi-path demodulation parameter by user, all multipaths of a user can share one group of parameter, have saved hardware memory space.
In another embodiment, also provide a kind of software, the technical scheme that this software is described for carrying out above-described embodiment and preferred implementation.
In another embodiment, also provide a kind of storage medium, stored above-mentioned software in this storage medium, this storage medium includes but not limited to: CD, floppy disk, hard disk, scratch pad memory etc.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, and in some cases, can carry out shown or described step with the order being different from herein, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
These are only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.