Embodiment
For also there is no at present a kind of scheme at synchronizing in self-organized network, if embodiment of the present invention subscriber equipment in the first duration of setting, receive self-organizing network in after the pilot code of other subscriber equipmenies, carry out superframe-synchronized and synchronizing sub-frame, and convert synchronous regime to by desynchronizing state.Owing to carrying out superframe-synchronized and synchronizing sub-frame after the pilot code of the embodiment of the present invention other subscriber equipmenies in the self-organizing network receiving, thus can be at synchronizing in self-organized network.
Wherein, the superframe of the embodiment of the present invention consists of at least one subframe.
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.
As shown in Figure 1, the method for embodiment of the present invention synchronizing in self-organized network comprises the following steps:
Step 101, the subscriber equipment in desynchronizing state carry out pilot code detection by continuous subframes;
Step 102, subscriber equipment, in the first duration of setting, receive after the pilot code of other subscriber equipmenies in self-organizing network, carry out superframe-synchronized and synchronizing sub-frame, and convert synchronous regime to by desynchronizing state.
Wherein, the subscriber equipment of the embodiment of the present invention in desynchronizing state comprises the subscriber equipment of firm start and by synchronous regime, is transformed into the subscriber equipment of desynchronizing state.
Wherein, pilot code comprises superframe pilot code and subframe pilot code.
Preferably, in step 102, after the superframe pilot code of subscriber equipment other subscriber equipmenies in being received from organization network, according to the superframe pilot code of receiving, determine super frame period; Wherein, each superframe pilot code can be determined a corresponding super frame period;
Subscriber equipment judges in definite super frame period, whether there is the super frame period that is greater than a subframe;
In definite super frame period, have after the super frame period that is greater than a subframe, subscriber equipment determines that corresponding super frame period is greater than the superframe pilot code of a subframe, then subscriber equipment the strongest superframe pilot code of selective reception power from definite superframe pilot code; If there is the superframe pilot code that a plurality of received powers are the strongest, therefrom select one;
Then, the fiducial time of subscriber equipment using reception initial time corresponding to definite superframe pilot code as the superframe pilot code of self, super frame period using the system for super-frame cycle as subscriber equipment, and the initial subframe using current subframe as superframe, so far superframe-synchronized completes;
Finally, subscriber equipment carries out synchronizing sub-frame according to the subframe pilot code of receiving.Concrete: the fiducial time of subscriber equipment using reception initial time corresponding to definite subframe pilot code as subframe pilot code.
Preferably, in step 102, after the superframe pilot code of subscriber equipment other subscriber equipmenies in being received from organization network, according to the superframe pilot code of receiving, determine super frame period;
Subscriber equipment judges in definite super frame period, whether there is the super frame period that is greater than a subframe;
In definite super frame period, be not greater than after the super frame period (each super frame period of determining equals a subframe) of a subframe, have two kinds of processing modes:
Mode one, subscriber equipment are determined all time differences corresponding to superframe pilot code, and wherein the time difference is that the superframe pilot code due in that detects of subscriber equipment and subscriber equipment are according to the difference of the definite superframe pilot code due in of internal clocking;
Then, subscriber equipment judges whether the time difference corresponding to superframe pilot code of received power maximum is greater than 0;
If the time difference corresponding to superframe pilot code of received power maximum is greater than 0, the super frame period of subscriber equipment using the system for super-frame cycle as subscriber equipment, and the initial subframe using current subframe as superframe;
If the time difference corresponding to superframe pilot code of received power maximum is not more than 0, subscriber equipment determines that corresponding super frame period is greater than the strongest superframe pilot code of received power in the superframe pilot code of a subframe, and the fiducial time using reception initial time corresponding to definite superframe pilot code as superframe pilot code, and the super frame period using the system for super-frame cycle as subscriber equipment, and the initial subframe using current subframe as superframe.
Mode two, subscriber equipment are determined the superframe pilot code corresponding to time difference of the time difference intermediate value minimum that all superframe pilot code are corresponding; Wherein the time difference is that the superframe pilot code due in that detects of subscriber equipment and subscriber equipment are according to the difference of the definite superframe pilot code due in of internal clocking;
Then, the fiducial time of subscriber equipment using reception initial time corresponding to definite superframe pilot code as superframe pilot code, and the super frame period using the system for super-frame cycle as subscriber equipment, and the initial subframe using current subframe as superframe.
For mode one, subscriber equipment, after converting synchronous regime to, is less than at 0 o'clock in definite time difference, determines that clock adjustment step value equals definite time difference;
Subscriber equipment is not less than at 0 o'clock in definite time difference, determines that clock adjustment step value equals 0.
For mode two, subscriber equipment, after converting synchronous regime to, is less than at 0 o'clock in the time difference of determining the time difference intermediate value minimum that all superframe pilot code are corresponding, determines that clock adjustment step value equals definite time difference;
Subscriber equipment is not less than at 0 o'clock in the time difference of determining the time difference intermediate value minimum that all superframe pilot code are corresponding, determines that clock adjustment step value equals 0.
In definite super frame period, be not greater than the situation of the super frame period of a subframe, after having carried out superframe-synchronized, synchronizing sub-frame is corresponding completing also, do not need to carry out separately synchronizing sub-frame again.
For stablizing of keeping system, after having determined clock adjustment step value, need to adjust step-length setting to maximum.Concrete, subscriber equipment is adjusted the absolute value of step value according to the adjustment factor and definite clock, determine relatively step value; Then from the comparative parameter value of relatively step value and setting, that selects maximum adjusts step value as maximum clock.
In force, comparative parameter value can be as required or experience set.Suppose that comparative parameter value is 1chip, t
max=Max (w*|tx|, 1chip).Wherein, t
maxthat maximum clock is adjusted step value; W adjusts the factor; Tx is that definite clock is adjusted step value.
After having determined maximum clock adjustment step value, can also adjust step value according to maximum clock and determine actual clock adjustment step value.Concrete, subscriber equipment is adjusted the absolute value of step value from maximum clock adjustment step value and definite clock, selects the actual clock of conduct of minimum value to adjust step value.Be tx=-Min (t
max, | tx|).
Preferably, after step 101, can further include:
Subscriber equipment is in the first duration of setting, in the pilot code that does not receive the pilot code of other subscriber equipmenies in self-organizing network or receive, there is no superframe pilot code, set up voluntarily the fiducial time of superframe pilot code, determine that super frame period is a subframe, and convert synchronous regime to by desynchronizing state.
Because super frame period is a subframe, so after having carried out superframe-synchronized, synchronizing sub-frame is corresponding completing also, do not need to carry out separately again synchronizing sub-frame.
Preferably, subscriber equipment was greater than after the second duration of setting in the time that converts synchronous regime to, by synchronous regime, converted desynchronizing state to.
Concrete, subscriber equipment, after converting synchronous regime to, starts a timer, if timer time is greater than the second duration, by synchronous regime, converts desynchronizing state to.
Preferably, subscriber equipment sends superframe pilot code and subframe pilot code after converting synchronous regime to.
Wherein, the first duration of the embodiment of the present invention and the second duration can be set with experience as required.
For the ease of identification, the embodiment of the present invention is designated as synchronization level 4 by synchronous regime, and desynchronizing state is designated as synchronization level 5.Because subscriber equipment is owing to only having two kinds of synchronous regimes, therefore, subscriber equipment only need to detect and send two kinds of superframe pilot code, superframe pilot code 4A is the superframe pilot code that the subscriber equipment of synchronization level 4 is sent out in the initial subframe of superframe, and superframe pilot code 4B is the superframe pilot code that the subscriber equipment of synchronization level 4 is sent out in the non-initial subframe of superframe.
As shown in Figure 2, embodiment of the present invention subscriber equipment carries out synchronous method and comprises the following steps:
Step 201, the subscriber equipment in synchronization level 5 carry out pilot code detection by continuous subframes.
The judgement of step 202, subscriber equipment in the first duration of setting, whether receive self-organizing network in the superframe pilot code of other subscriber equipmenies, if so, perform step 203; Otherwise, execution step 211.
Step 203, subscriber equipment are determined super frame period according to the superframe pilot code of receiving.
Step 204, subscriber equipment judge in definite super frame period whether have the super frame period that is greater than a subframe, if so, perform step 205; Otherwise execution step 208.
Step 205, subscriber equipment determine that from all superframe pilot code corresponding super frame period is greater than the superframe pilot code of a subframe.
Step 206, subscriber equipment determine that corresponding super frame period is greater than the strongest superframe pilot code of received power in the superframe pilot code of a subframe.
Step 207, subscriber equipment fiducial time using reception initial time corresponding to definite superframe pilot code as superframe pilot code, super frame period using the system for super-frame cycle as subscriber equipment, and the initial subframe using current subframe as superframe, and carry out synchronizing sub-frame (being about to reception initial time corresponding to definite subframe pilot code as the fiducial time of subframe pilot code) according to the subframe pilot code of receiving, by synchronization level 5, convert synchronization level 4 to, and perform step 212.
Preferably, in step 207, subscriber equipment just can send service request after converting synchronization level 4 to by synchronization level 5, and sends superframe pilot code 4A or 4B according to specific superframe pilot code transmitting criterion.
Step 208, subscriber equipment judge whether time difference corresponding to the superframe pilot code of received power maximum be greater than 0, if so, perform step 209; Otherwise, execution step 210.
Wherein, the processing mode that the embodiment of the present invention is not greater than after the super frame period of a subframe in the super frame period definite according to the superframe pilot code received is employing mode one, and the content of employing mode two is due to similar with mode one, so repeat no more.
Step 209, the super frame period of subscriber equipment using the system for super-frame cycle as subscriber equipment, and the initial subframe using current subframe as superframe, convert synchronization level 4 to by synchronization level 5, and perform step 212.
Preferably, in step 209, subscriber equipment can use a certain fixing physical resource to send business datum after converting synchronization level 4 to by synchronization level 5 at random, and sends superframe pilot code 4A according to superframe pilot code transmitting criterion.
Step 210, subscriber equipment determine that corresponding super frame period is greater than the strongest superframe pilot code of received power in the superframe pilot code of a subframe, and the fiducial time using reception initial time corresponding to definite superframe pilot code as superframe pilot code, and the super frame period using the system for super-frame cycle as subscriber equipment, and the initial subframe using current subframe as superframe, by synchronization level 5, convert synchronization level 4 to, and perform step 212.
Preferably, in step 210, subscriber equipment can use a certain fixing physical resource to send business datum after converting synchronization level 4 to by synchronization level 5 at random, and sends superframe pilot code 4A according to superframe pilot code transmitting criterion.
Step 211, subscriber equipment are in the first duration of setting, in the pilot code that does not receive the pilot code of other subscriber equipmenies in self-organizing network or receive, there is no superframe pilot code, set up voluntarily the fiducial time of superframe pilot code, determine that super frame period is a subframe, by synchronization level 5, convert synchronization level 4 to, and perform step 212.
Preferably, in step 211, subscriber equipment is converted to after synchronization level 4 by synchronization level 5, just can carry out the detection of superframe pilot code and business datum, and sends superframe pilot code 4A according to certain superframe pilot code transmitting criterion.
Step 212, subscriber equipment were greater than after the second duration of setting in the time in synchronization level 4, convert synchronization level 5 to, and return to step 201 by synchronization level 4.
Based on same inventive concept, a kind of subscriber equipment of synchronizing in self-organized network is also provided in the embodiment of the present invention, because the principle that this subscriber equipment is dealt with problems is similar to the method for synchronizing in self-organized network, therefore the enforcement of this subscriber equipment can, referring to the enforcement of method, repeat part and repeat no more.
As shown in Figure 3, the subscriber equipment of embodiment of the present invention synchronizing in self-organized network comprises: detection module 30 and synchronization module 31.
Detection module 30, at subscriber equipment after desynchronizing state, by continuous subframes, carry out pilot code detection;
Synchronization module 31, in the first duration setting, receives after the pilot code of other subscriber equipmenies in self-organizing network, carries out superframe-synchronized and synchronizing sub-frame, and converts synchronous regime to by desynchronizing state.
Preferably, in the definite super frame period of synchronization module 31 is received according to detection module 30 superframe pilot code, there is the super frame period that is greater than a subframe; Determine that corresponding super frame period is greater than the strongest superframe pilot code of received power in the superframe pilot code of a subframe; Fiducial time using reception initial time corresponding to definite superframe pilot code as superframe pilot code, super frame period using the system for super-frame cycle as subscriber equipment, and the initial subframe using current subframe as superframe, and the fiducial time using reception initial time corresponding to definite subframe pilot code as subframe pilot code.
Preferably, in the definite super frame period of superframe pilot code that synchronization module 31 is received according to detection module 30, be not greater than the super frame period of a subframe, and the time difference corresponding to superframe pilot code of received power maximum is greater than 0, super frame period using the system for super-frame cycle as subscriber equipment, and the initial subframe using current subframe as superframe;
In the definite super frame period of the superframe pilot code received according to detection module 30, be not greater than the super frame period of a subframe, and the time difference corresponding to superframe pilot code of received power maximum is not more than 0, determine that corresponding super frame period is greater than the strongest superframe pilot code of received power in the superframe pilot code of a subframe, and the fiducial time using reception initial time corresponding to definite superframe pilot code as superframe pilot code, and the super frame period using the system for super-frame cycle as subscriber equipment, and the initial subframe using current subframe as superframe;
Wherein, the time difference is that the superframe pilot code due in that detects of subscriber equipment and subscriber equipment are according to the difference of the definite superframe pilot code due in of internal clocking.
Preferably, in the definite super frame period of superframe pilot code that synchronization module 31 is received according to detection module 30, be not greater than the super frame period of a subframe, determine the superframe pilot code corresponding to time difference of the time difference intermediate value minimum that all superframe pilot code are corresponding, wherein the time difference is that the superframe pilot code due in that detects of subscriber equipment and subscriber equipment are according to the difference of the definite superframe pilot code due in of internal clocking; Fiducial time using reception initial time corresponding to definite superframe pilot code as superframe pilot code, and the super frame period using the system for super-frame cycle as subscriber equipment, and the initial subframe using current subframe as superframe.
Preferably, synchronization module 31 is less than at 0 o'clock in definite time difference, determines that clock adjustment step value equals definite time difference; In definite time difference, be not less than at 0 o'clock, determine that clock adjustment step value equals 0.
Preferably, synchronization module 31 is less than at 0 o'clock in the time difference of determining the time difference intermediate value minimum that all superframe pilot code are corresponding, determines that clock adjustment step value equals definite time difference; In the time difference of determining the time difference intermediate value minimum that all superframe pilot code are corresponding, be not less than at 0 o'clock, determine that clock adjustment step value equals 0.
Preferably, synchronization module 31 is adjusted the absolute value of step value according to the adjustment factor and definite clock, determine relatively step value; From the comparative parameter value of relatively step value and setting, that selects maximum adjusts step value as maximum clock; From maximum clock adjustment step value and definite clock, adjust the absolute value of step value, select the actual clock of conduct of minimum value to adjust step value.
Preferably, synchronization module 31 is in the first duration of setting, detection module 3 do not receive the pilot code of other subscriber equipmenies in self-organizing network or the pilot code received in there is no superframe pilot code, set up voluntarily the fiducial time of superframe pilot code, determine that super frame period is a subframe, and convert synchronous regime to by desynchronizing state.
Preferably, synchronization module 31 was greater than after the second duration of setting in the time that converts synchronous regime to, by synchronous regime, converted desynchronizing state to.
Preferably, synchronization module 31, after converting synchronous regime to, sends superframe pilot code and subframe pilot code.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computer or other programmable data processing device is produced for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame on computer or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.