WO2013078901A1 - Method and terminal for synchronizing groups in hybrid self-organizing network - Google Patents

Method and terminal for synchronizing groups in hybrid self-organizing network Download PDF

Info

Publication number
WO2013078901A1
WO2013078901A1 PCT/CN2012/081693 CN2012081693W WO2013078901A1 WO 2013078901 A1 WO2013078901 A1 WO 2013078901A1 CN 2012081693 W CN2012081693 W CN 2012081693W WO 2013078901 A1 WO2013078901 A1 WO 2013078901A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
time adjustment
adjustment message
synchronized group
reference time
Prior art date
Application number
PCT/CN2012/081693
Other languages
French (fr)
Chinese (zh)
Inventor
周海军
赵丽
赵毅
郑银香
Original Assignee
电信科学技术研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 电信科学技术研究院 filed Critical 电信科学技术研究院
Publication of WO2013078901A1 publication Critical patent/WO2013078901A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/002Mutual synchronization

Definitions

  • a hybrid ad hoc network is an ad hoc network composed of terminals that are UTC (Universal Time Chiming) and have no UTC grants.
  • UTC Universal Time Chiming
  • Car networking which is based on vehicle communication and road communication, is a kind of hybrid ad hoc network.
  • the synchronization area that each terminal can cover is limited. If the first terminal is within the synchronization range of the second terminal, the first terminal and the second terminal can adjust the reference time of the two terminals to be consistent by synchronous adjustment. If the first terminal is outside the synchronization area of the second terminal, the first terminal may not be able to obtain the pilot code sent by the second terminal because the received signal of the second terminal is weak, and the two terminals cannot be synchronized.
  • the present invention provides a method for synchronizing between groups in a hybrid ad hoc network and corresponding terminals, so that terminals belonging to different synchronized groups can be adjusted to be consistent after entering the synchronization regions of different synchronized groups. , forming a larger synchronized group containing the original different synchronized groups.
  • the method provided by the present invention is:
  • the first edge terminal determines, according to the received signal for identifying the time information sent by the second edge terminal, whether the reference time of the second edge terminal is different from the reference time of the second edge terminal;
  • the first edge terminal determines that the reference time is different, determining that the first edge terminal and the second edge terminal belong to different synchronized groups respectively; and determining whether the reference time difference exceeds the setting according to the signal for identifying the time information Wai
  • the first edge terminal determines that the reference time difference exceeds the set range, and determines whether it needs to be adjusted according to the set rule;
  • the reference time of the first synchronized group to which the first edge terminal belongs is adjusted to the reference time of the second synchronized group to which the second edge terminal belongs.
  • the present invention also provides an inter-group synchronization terminal in a hybrid ad hoc network, the terminal comprising:
  • a reference time difference determining module configured to receive a signal sent by the second edge terminal for identifying time information, and determine, according to the signal identifying the time information, whether the reference time of the second edge terminal is different from the reference time of the second edge terminal; Determining that the reference time is different, determining that the first edge terminal and the second edge terminal belong to different synchronized groups respectively; determining whether the reference time difference exceeds a set range;
  • a rule judging module configured to judge whether it needs to be adjusted according to the set rule
  • a reference time adjustment module configured to: if the first edge terminal determines that it needs to be adjusted, adjust a reference time of the first synchronized group to which the first edge terminal belongs to a second that the second edge terminal belongs to The base time of the sync group.
  • FIG. 1 is a schematic diagram of a synchronized group of an ad hoc network according to the present invention
  • FIG. 2 is a flowchart of a method for synchronizing between groups according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for adjusting a reference time of a first synchronized group to a reference time of a second synchronized group according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an edge terminal according to an embodiment of the present invention.
  • DETAILED DESCRIPTION When edge terminals belonging to two different synchronized groups enter each other's synchronization area, in order to make the communication between the two terminals unobstructed, it is necessary to synchronize the two edge terminals to different synchronized groups for reference time synchronization.
  • the following description of the present invention In the embodiment of the invention, a method in which two edge terminals respectively belong to different synchronized groups for reference time synchronization is performed. As shown in FIG. 2, the method for synchronizing different synchronized groups in this embodiment is:
  • Step S201 The first edge terminal receives a signal sent by the second edge terminal for identifying time information.
  • step S201 when the two edge terminals are within the signal propagation range of the other party's identification time information, both edge terminals are themselves the first edge terminal, and the mutual recognition party is the second edge terminal, and receives the mutual time information for identifying the time information. signal.
  • Step S202 The first edge terminal determines, according to the received signal for identifying the time information sent by the second edge terminal, whether the reference time of the second edge terminal is different from the reference time of the second edge terminal.
  • the first edge terminal When the first edge terminal receives the signal for identifying the time information sent by the second edge terminal, it is first determined whether the reference time of the first edge terminal itself and the first edge terminal is different by the signal for identifying the time information. .
  • Step S203 If the first edge terminal determines that the reference time is different, determining that the first edge terminal and the second edge terminal belong to different synchronized groups respectively, and determining whether the reference time difference exceeds the setting according to the signal for identifying the time information. range.
  • step S203 if both terminals determine that the reference time difference between each other exceeds the set range, it may be determined that the first edge terminal and the second edge terminal belong to different synchronized groups. Otherwise, it can be determined that the two terminals belong to the same synchronized group, and no inter-group synchronization is required.
  • Step S204 The first edge terminal determines that the reference time difference exceeds the set range, and determines whether it needs to be adjusted according to the set rule.
  • Step S205 If the first edge terminal determines that it needs to be adjusted, adjust the reference time of the first synchronized group to which the first edge terminal belongs to the reference time of the second synchronized group to which the second edge terminal belongs.
  • one of the two terminals adjusts the reference time of the synchronized group to adjust the reference time to the reference time of the other synchronized group of the two synchronized groups, so that two different Synchronized group sync.
  • the first edge terminal and the second edge terminal may be any terminals in the synchronized group, and are not necessarily located at the edge of the synchronized group, as long as the first edge terminal can receive the second edge terminal to send.
  • the signal for identifying the time information can be synchronized by the inter-group synchronization method in the hybrid ad hoc network provided by the embodiment of the present invention. Therefore, in the embodiment of the present invention, the first edge terminal and the second edge terminal are not limited to The edge position of the synchronized group. Generally, if the synchronization group coverage area is large, the first edge terminal and the second edge terminal are located at different synchronized group edges, and the first edge terminal can receive the second edge terminal to send time information for identifying time information. It is more likely that the signal will determine that there is a difference in the reference time between the two groups.
  • the signal identifying the time information is a pilot signal.
  • the reference time information is usually carried by the pilot signal.
  • the reference time difference exceeds the set range as the superframe period is different, the superframe start bit is different, or the synchronization deviation is greater than the set number of chips.
  • the condition that the super frame period is different, the super frame start bit is different, or the synchronization deviation is larger than the set number of chips is a condition for judging that the reference time difference is out of the set range. As long as any one of the conditions is met, it is determined that the reference time difference is outside the set range.
  • the set number of chips is set according to the guard interval of the pilot code and the data portion, or the number of cycles that can be synchronously adjusted before the first edge terminal enters the 1-hop range is multiplied by the maximum adjustment step size.
  • the number of chips may be set according to the guard interval between the pilot code and the data portion, or may be set by multiplying the number of cycles that can be synchronously adjusted before the first edge terminal enters the 1-hop range by the maximum adjustment step size.
  • the first setting method is relatively simple, and the range can be set relatively easily.
  • the second setting method can more accurately set the range by calculating the correlation amount.
  • the first edge terminal belonging to the first synchronized group and the second edge terminal belonging to the second synchronized group are synchronously adjusted by the slow synchronization mode in the synchronous state.
  • the present embodiment also provides a processing method for determining that the reference time difference does not exceed the set range, i.e., performing the synchronous adjustment by the slow synchronization method in the synchronous state.
  • two unsynchronized terminals form a synchronization group, they are synchronized by the slow synchronization method.
  • the set rule is: if the synchronization level of the first synchronized group is lower than the synchronization level of the second synchronized group; or if the synchronization level of the first synchronized group and the synchronization level of the second synchronized group are the same And the number of edge terminals included in the first synchronized group is less than the number of edge terminals included in the second synchronized group; or if the synchronization level of the first synchronized group and the synchronization level of the second synchronized group are the same, and the first The synchronization group includes the same number of edge terminals as the second synchronized group, but the reference time of the first synchronized group is later than the reference time of the second synchronized group. If one of the three conditions in the set rule is met, the first edge terminal can determine that it needs to adjust.
  • the synchronization level of the synchronized group is the highest synchronization level of all the terminals included in the group, and the synchronization level of the terminal is divided according to the terminal synchronization capability. Because the timing of the terminal is different, the synchronization capability of the terminal is different, that is, the accuracy is different. Therefore, the synchronization capability of the terminal is divided according to the accuracy of the timing basis.
  • the method includes:
  • Step S301 The first edge terminal adjusts the reference time according to the time adjustment message, and sends a time adjustment message to the other terminals in the first synchronized group to which the first edge terminal belongs, where the time adjustment message is the time offset of the first edge terminal. Generated.
  • the first edge terminal needs to adjust its own reference time to adjust to the reference time of the second synchronized group, and also needs to adjust the reference time of the synchronized group to which the first edge terminal belongs. Therefore, the first edge terminal also needs to Other terminals in the synchronized group to which it belongs send a time adjustment message.
  • Step S302 The other terminal receives the time adjustment message, and adjusts the reference time according to the time adjustment message.
  • the other terminal except the first edge terminal in the first synchronization group to which the first edge terminal belongs receives the time adjustment message, and adjusts the reference time of the message according to the time adjustment message.
  • the time adjustment message includes: a reference time adjustment amount and a target synchronization level.
  • the reference time adjustment amount and the target synchronization level are information necessary for adjusting the reference time.
  • the reference time adjustment amount may indicate the amount to be adjusted by the terminal reference time and the target synchronization level indicates the synchronization level of the second synchronization group, and the second synchronization group is The target group to which the first synchronization group to which the first edge terminal belongs is adjusted.
  • the reference time adjustment amount is the first synchronized group and the second synchronized group reference time difference, or the reference time difference between the first synchronized group and the second synchronized group minus the first synchronized group
  • the reference time of the internal synchronization is estimated by the adjustment amount; the target synchronization level is the synchronization level of the second synchronized group.
  • the reference time adjustment amount may be directly the first synchronized group and the second synchronized group reference time difference, such that the first synchronization group is adjusted according to the reference time difference, that is, the reference time with the second synchronized group.
  • the terminal simultaneously processes the time adjustment message of the slow synchronization between the internal terminals of the group when processing the time adjustment message, it is necessary to subtract the reference time adjustment amount of the slow synchronization between the internal terminals, that is, subtract the first
  • the estimated time of the base time synchronization has been synchronized, and the time adjustment by the latter time adjustment amount is more accurate.
  • the time adjustment message further includes: one or more of a relative adjustment subframe number, an adjustment engagement time, and a target superframe period. Including these data allows for more precise adjustment of the reference time.
  • the present embodiment preferably provides a technical solution, that is, before the first edge terminal sends a time adjustment message to other terminals in the first synchronized group to which the first edge terminal belongs, the first edge terminal delays the time adjustment message. send.
  • Such multiple messages can be staggered in time to avoid resource collisions.
  • the delay is evenly distributed over an integer number of sub-frames. It is a specific practice to evenly distribute multiple messages within an integer number of subframes to delay the transmission of the message.
  • the two intersecting terminals enter the signal receiving range of the identification time information of each other, and the difference between the reference times of the different synchronized groups to which the two terminals belong is determined to exceed the set range.
  • the set rule determines that it is necessary to adjust which of the two terminals belongs to the reference time of all the terminals in the group to which the terminal belongs. After adjusting the reference time of all the terminals in the synchronized group that needs to be adjusted to the reference time of another synchronized group, the reference time of the synchronized group of the two terminals is the same, and constitutes a larger synchronized group, that is, It can be avoided that the terminals in the two synchronized groups cause communication errors due to different reference times.
  • the present invention also provides a scheme for receiving a time adjustment message as another terminal in the synchronized group and adjusting the reference time according to the time adjustment message. Therefore, in the embodiment, the other terminal in the first synchronized group adjusts the reference time to the reference time of the second synchronized group according to the time adjustment message, which specifically includes: Determining whether the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and detecting whether the terminal has an ineffective time adjustment message;
  • the received time adjustment message is not sent by the terminal in the synchronized group to which the terminal belongs, the received time adjustment message is discarded;
  • the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has no time adjustment message that is not valid, the time adjustment message is adjusted to the reference time, and the time adjustment message is saved;
  • the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has a time adjustment message that is not valid, compare the target synchronization level of the time adjustment message with the non-effective time adjustment message, if received The target synchronization level of the time adjustment message is higher than the target level of the time adjustment message that is not in effect, and the reference time adjustment is performed according to the received time adjustment message, the received time adjustment message is saved, and the time adjustment message that is not in effect is discarded; If the target synchronization level of the received time adjustment message is not higher than the target of the time adjustment message that is not valid, the received time adjustment message is discarded, where the target synchronization level is the synchronization level of the second synchronized group.
  • the terminal After receiving the time adjustment message, the terminal needs to determine whether the time adjustment message is sent by other terminals in the synchronized group to which the terminal belongs, and also needs to determine whether there are other time adjustment messages that are not effective in the terminal. If the time adjustment message is not sent by another terminal in the synchronized group to which the terminal belongs, the time adjustment message does not need to be processed, and may be discarded; if the information is sent by other terminals in the synchronized group to which the terminal belongs, Moreover, the information is only available in the terminal, and then the information can be adjusted in time.
  • the terminal adjusts the reference time according to the time adjustment message. If the target synchronization level of the received time adjustment message is not higher than the synchronization level of the time adjustment message that is not valid in the terminal, the received time adjustment message does not need to be processed, but can be directly discarded.
  • the target synchronization level is a type of information included in the time adjustment message, the information identifies the synchronization level of the target group, and the target group is another synchronized group to which the synchronized group to which the terminal belongs is adjusted, and the target synchronization level is The synchronization level of a synchronized group.
  • Discarding the time adjustment message with a low target synchronization level can help reduce the time adjustment message without actual use in the group, and alleviate the burden on the terminal for time adjustment message processing.
  • the message is adjusted for the time that needs to be processed and needs to be saved.
  • the terminal that receives the time adjustment message after the reference time adjustment is performed according to the time adjustment message is preferred. It is also necessary to forward the saved time adjustment message to the terminal in the group to which it belongs. The forwarding of the time adjustment message ensures that the effective time adjustment message is sent to all the terminals in the synchronized group to which the terminal belongs, so that the reference times of all the terminals are consistently adjusted.
  • the other terminals in the synchronized group After receiving the time adjustment message, the other terminals in the synchronized group that are provided in this embodiment need to determine whether the time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and if the terminal has only the time adjustment message, Adjusting the reference time of the terminal according to the time adjustment message; if there are other time adjustment messages that are not in effect, whether the target level of the received time adjustment message needs to be higher than the target of the time adjustment message that is not valid in the terminal. Level, if it is higher, adjust the reference time of the terminal according to the received time adjustment message.
  • the technical solution in the embodiment can ensure that the terminal adjusts its own reference time correctly and conveniently. Finally, the effect that the reference time of the synchronized group to which the terminal belongs is consistent with the reference time of the target group is achieved.
  • the two terminals start to determine whether it is necessary to adjust the reference time, and determine which terminal is to perform the reference time for other terminals in the synchronized group to which it belongs. Adjustment. After determining the synchronized group that needs to be adjusted, the terminal that makes the judgment acts as the triggering party, and sends a time adjustment message to other terminals in the group to trigger other terminals to adjust the reference time. The other terminal receives the time adjustment message, and determines whether the time adjustment message is from a terminal that belongs to the same synchronization group as itself, and needs to determine that the target synchronization level of the received message is higher than the target synchronization level of the existing message of the terminal, and the foregoing two conditions are met.
  • the time adjustment message can be used as the basis for time adjustment.
  • the time adjustment message needs to be saved and forwarded to ensure that all the terminals in the group whose time needs to be adjusted can receive the time adjustment message and adjust accordingly.
  • the goal of two different synchronized group synchronizations is achieved.
  • Step S401 The first edge terminal receives a signal sent by the second edge terminal for identifying time information.
  • Step S402 The first edge terminal determines, according to the received signal for identifying the time information sent by the second edge terminal, whether the reference time of the second edge terminal is different from the reference time of the second edge terminal.
  • the first edge terminal determines whether the second edge terminal belongs to a different synchronized group.
  • Step S403 if the first edge terminal determines that the reference time is different, determining that the first edge terminal and the second edge terminal belong to different synchronized groups respectively, and determining whether the reference time difference exceeds the setting according to the signal for identifying the time information. range.
  • the first edge terminal determines whether the signal for identifying the time information determines whether the reference time difference exceeds the set range.
  • Step S404 The first edge terminal determines that the reference time difference exceeds the set range, and determines whether it needs to be adjusted according to the set rule.
  • the rule in step S404 is: if the synchronization level of the first synchronized group is lower than the synchronization level of the second synchronized group; or if the synchronization level of the first synchronized group and the synchronization level of the second synchronized group are the same, and The number of edge terminals included in a synchronized group is less than the number of edge terminals included in the second synchronized group; or if the synchronization level of the first synchronized group and the synchronization level of the second synchronized group are the same, and the first synchronized group includes The number of edge terminals is the same as the number of edge terminals included in the second synchronized group, but the reference time of the first synchronized group is later than the reference time of the second synchronized group.
  • Step S405 If the first edge terminal determines that it needs to be adjusted, the first edge terminal adjusts the reference time according to the time adjustment message, and sends a time adjustment message to other terminals in the first synchronized group to which it belongs.
  • Step S406 The other terminal receives the time adjustment message, and adjusts the reference time according to the time adjustment message. After receiving the time adjustment message, the other terminal in step S406 determines whether the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and detects whether the terminal has an ineffective time adjustment message; if the received time If the adjustment message is not sent by the terminal in the synchronized group to which the terminal belongs, the received time adjustment message is discarded; if the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has no time adjustment message that is not valid.
  • the reference time is adjusted according to the time adjustment message, and saving the time adjustment message; if the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has an ineffective time adjustment message, compare The target synchronization level of the time adjustment message and the time adjustment message that is not valid. If the target synchronization level of the received time adjustment message is higher than the target of the time adjustment message that is not valid, the reference time is adjusted according to the received time adjustment message. Adjust, save the received time If the target synchronization level of the received time adjustment message is not higher than the target of the inactive time adjustment message, the received time adjustment message is discarded, where the target synchronization level is discarded. Is the synchronization level of the second synchronized group.
  • the present invention also provides a terminal corresponding to the method, and the mobile terminal embodiment will be described below with reference to the accompanying drawings.
  • the terminal provided by the present invention includes: a reference time difference determining module 51, a setting rule determining module 52, and a reference time adjusting module 53.
  • the reference time difference determining module 51 is configured to receive a signal sent by the second edge terminal for identifying time information, and determine whether the reference time is different according to the signal identifying the time information; if it is determined that the reference time is different, determine the self and The second edge terminals respectively belong to different synchronized groups; determine whether the reference time difference exceeds the set range; the setting rule determining module 52 is configured to determine whether it needs to be adjusted according to the set rule; the reference time adjusting module 53 is configured to determine If it needs to be adjusted, the reference time of the first synchronized group to which it belongs is adjusted to the reference time of the second synchronized group to which the second edge terminal belongs.
  • the signal identifying the time information is a pilot signal.
  • the difference in the reference time exceeds the set range as the superframe period is different, the superframe start bit is different, or the synchronization deviation is greater than the set number of chips.
  • the number of chips is set according to the guard interval between the pilot code and the data portion, or the number of cycles that can be synchronously adjusted before the first edge terminal enters the 1-hop range is multiplied by the maximum adjustment step size.
  • the embodiment provides another scheme for synchronizing two different synchronized groups, that is, if it is determined that the reference time difference does not exceed the set range, then belongs to the second synchronized group.
  • the second edge terminal is synchronously adjusted by the slow synchronization mode in the synchronous state.
  • the terminal determines whether to adjust itself according to the set rule, so the setting rule judging module 52 is configured to satisfy the synchronization level that determines that the synchronization level of the first synchronized group is lower than the synchronization level of the second synchronized group; or the first synchronized group. Synchronization, etc.
  • the synchronization level of the second synchronized group is the same, and the number of edge terminals included in the first synchronized group is less than the number of edge terminals included in the second synchronized group; or if the synchronization level of the first synchronized group And the synchronization level of the second synchronized group is the same, and the number of edge terminals included in the first synchronized group is the same as the number of edge terminals included in the second synchronized group, but the reference time of the first synchronized group After the reference time of the second synchronized group is exceeded, any one of the three conditions is satisfied, and the terminal can determine that it needs to be adjusted.
  • the synchronization level of the synchronized group is the highest synchronization level of all the terminals included in the group, and the synchronization level of the terminal is divided according to the terminal synchronization capability.
  • the specific method of adjusting the reference time of the first synchronized group to the reference time of the second synchronized group is to adjust its own reference time according to the time adjustment message generated by itself according to the time deviation, and to the first synchronized group to which it belongs Other terminals in the middle send time adjustment messages.
  • Each terminal in the synchronized group can be used as an edge terminal that triggers the adjustment of the reference time, or another terminal that adjusts its own reference time after receiving the time adjustment message. Therefore, the terminal should also include time adjustment message processing.
  • the module 54 and the time adjustment message processing module 54 are configured to receive the time adjustment message and adjust the reference time according to the time adjustment message.
  • the time adjustment message includes a reference time adjustment amount and a target synchronization level.
  • the reference time adjustment amount is the reference time difference between the first synchronized group and the second synchronized group, or the reference time difference between the first synchronized group and the second synchronized group minus the first synchronized intra-group synchronization
  • the reference time is estimated by the reference time; the target synchronization level is the synchronization level of the second synchronized group.
  • the time adjustment message further includes: one or more of a relative adjustment subframe number, an adjustment engagement time, and a target superframe period.
  • the reference time adjustment module 53 is further configured to send a time adjustment message to other terminals in the first synchronized group to which it belongs, before the first edge
  • the terminal delay time adjusts the transmission of the message. And the delay is evenly distributed over an integer number of sub-frames.
  • the terminal After receiving the time adjustment message, the terminal also needs to determine whether the message is from the group to which it belongs, and the terminal also needs to process if there is still a time adjustment message that has not yet taken effect in the terminal, so the time adjustment message processing module 54 is also used to Determining whether the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and detecting whether the terminal has an ineffective time adjustment message;
  • the time adjustment message is not sent by the terminal in the synchronized group to which the terminal belongs, the time adjustment message is discarded; if the time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has no ineffective time Adjusting the message, the time adjustment message is adjusted to adjust the reference time, and the time adjustment message is saved; if the time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has an ineffective time adjustment message, Comparing the target synchronization level of the time adjustment message with the time adjustment message that is not in effect, performing a reference time adjustment according to the received time adjustment message, saving the received time adjustment message, and discarding the time adjustment message that is not in effect; If the target synchronization level of the received time adjustment message is not higher than the target of the time adjustment message that is not valid, the received time adjustment message is discarded, where the target synchronization level is the synchronization level of the second synchronized group.
  • the time adjustment message processing module 54 is further configured to forward the saved time adjustment message to the terminal in the group.
  • the terminal in this embodiment can be used for both the terminal for time adjustment message transmission and the terminal for time adjustment reception processing. That is, the same terminal can complete the operation of determining whether to perform the reference time adjustment and send the time adjustment message to all the terminals in the group, and after completing the time adjustment message sent by other terminals, after a series of judgments, the time adjustment message is completed. The operation to make the processing. Therefore, the terminal in the synchronized group can be used as the initiator of the reference time adjustment or as the adjusted party.
  • the terminal in this embodiment can complete whether the reference time of the group to which it belongs needs to be adjusted as the initiator of the adjustment. It can also be accepted as a recipient of the time adjustment message, accepting the time adjustment message and processing accordingly. Thus, if the two terminals in the present embodiment enter the time information receiving range of each other, it can be determined which base time the reference time of the synchronized group needs to be adjusted. Then, the time adjustment message is sent to other terminals in the group, and the other terminals process the message after receiving the time adjustment message, and finally synchronize the reference time of the group to which the two terminals belong.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present invention can be embodied in the form of a computer program product embodied on one or more computer-usable storage interfaces (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
  • computer-usable storage interfaces including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions are provided for implementing one or more processes and/or block diagrams in the flowchart The steps of the function specified in the box or in multiple boxes.

Abstract

The present invention provides a method for synchronizing groups in a hybrid self-organizing network, and the method adjusts reference time of different synchronized groups to be consistent. The method provided in the present invention is: a first edge terminal determining whether there is a difference between reference time of the first edge terminal itself and reference time of a second edge terminal according to a received signal which is used to identify time information and is sent by the second edge terminal; if the first edge terminal determines that there is a difference between the reference time of the first edge terminal itself and the reference time of the second edge terminal, determining that the first edge terminal and the second edge terminal respectively belong to different synchronized groups, and according to the signal which is used to identify the time information, determining whether the reference time difference exceeds a set range; if the first edge terminal determines that the reference time difference exceeds the set range, determining, according to a set rule, whether the first edge terminal itself needs to be adjusted; and if the first edge terminal determines that the first edge terminal itself needs to be adjusted, adjusting the reference time of the first synchronized group into the reference time of the second synchronized group. The present invention also provides a terminal corresponding to the method.

Description

一种混合自组网络中群间同步方法及终端 本申请要求在 2011年 11月 29日提交中国专利局、 申请号为 201110388337.0、 发明名称为 Inter-group synchronization method and terminal in hybrid ad hoc network The application is submitted to the Chinese Patent Office on November 29, 2011, and the application number is 201110388337.0, and the invention name is
"一种混合自组网络中群间同步方法及终端 "的中国专利申请的优先权,其全部内容通过引用结 合在本申请中。 技术领域 本发明涉及通信技术领域, 尤其涉及一种混合自组网络中群间同步方法及终端。 背景技术 混合自组网网络为由 UTC(Universal Time Chiming, 通用时间协调)授时和没有 UTC授 时的终端组成的自组网络。 例如: 车车通信、 车路通信为主的 "车联网" 就是混合自组网 网络的一种。 The priority of the Chinese Patent Application, which is incorporated herein by reference. TECHNICAL FIELD The present invention relates to the field of communications technologies, and in particular, to a method and a terminal for synchronizing between groups in a hybrid ad hoc network. BACKGROUND OF THE INVENTION A hybrid ad hoc network is an ad hoc network composed of terminals that are UTC (Universal Time Chiming) and have no UTC grants. For example: "Car networking", which is based on vehicle communication and road communication, is a kind of hybrid ad hoc network.
在混合自组网网络中, 每个终端可覆盖的同步区域是有限的。 如果第一终端在第二终 端的同步范围内, 则第一终端和第二终端可以通过同步调整, 将两个终端的基准时间调整 为一致的。 如果第一终端在第二终端的同步区域外, 第一终端会因为所接收到的第二终端 的信号微弱而无法获得第二终端发送的导频码, 则导致两终端无法同步。 我们将同步在一 个基准时间的终端定义为一个已同步群。 在混合自组网网络中存在多个不同的已同步群。 而终端是具有移动性的, 不同已同步群中的终端可能会进入各自的同步区域, 如图 1所示, 已同步群 11中的终端与已同步群 12中的终端 (3和 5 )进入彼此时间信息发送范围 13。 但由 于不同群的基准时间不同, 属于不同已同步群的终端之间的通信可能会发生问题。 所以, 需要将不同群的终端的基准时间调整到一个同步基准时间, 形成一个更大的已同步群, 以 实现不同群终端之间的通信。 发明内容 本发明提供了一种混合自组网络中群间同步方法及相应的终端, 使得属于不同已同步 群的终端进入彼此的同步区域内后, 可将不同已同步群的基准时间调整为一致, 形成一个 包含原不同已同步群的更大的已同步群。 本发明提供的方法为:  In a hybrid ad hoc network, the synchronization area that each terminal can cover is limited. If the first terminal is within the synchronization range of the second terminal, the first terminal and the second terminal can adjust the reference time of the two terminals to be consistent by synchronous adjustment. If the first terminal is outside the synchronization area of the second terminal, the first terminal may not be able to obtain the pilot code sent by the second terminal because the received signal of the second terminal is weak, and the two terminals cannot be synchronized. We define a terminal that is synchronized at a reference time as a synchronized group. There are multiple different synchronized groups in a hybrid ad hoc network. The terminals are mobile, and the terminals in different synchronized groups may enter their respective synchronization areas. As shown in FIG. 1, the terminals in the synchronized group 11 and the terminals (3 and 5) in the synchronized group 12 enter. The time information transmission range 13 is mutually. However, due to the different reference times of different groups, communication between terminals belonging to different synchronized groups may cause problems. Therefore, it is necessary to adjust the reference time of the terminals of different groups to a synchronous reference time to form a larger synchronized group to realize communication between different group terminals. SUMMARY OF THE INVENTION The present invention provides a method for synchronizing between groups in a hybrid ad hoc network and corresponding terminals, so that terminals belonging to different synchronized groups can be adjusted to be consistent after entering the synchronization regions of different synchronized groups. , forming a larger synchronized group containing the original different synchronized groups. The method provided by the present invention is:
第一边缘终端根据接收到的第二边缘终端发送的用于标识时间信息的信号确定自身 的基准时间与第二边缘终端的基准时间是否有差异;  The first edge terminal determines, according to the received signal for identifying the time information sent by the second edge terminal, whether the reference time of the second edge terminal is different from the reference time of the second edge terminal;
如果第一边缘终端确定基准时间有差异, 则确定第一边缘终端和第二边缘终端分别属 于不同的已同步群; 并根据用于标识时间信息的信号确定基准时间差异是否超出设定范 围; If the first edge terminal determines that the reference time is different, determining that the first edge terminal and the second edge terminal belong to different synchronized groups respectively; and determining whether the reference time difference exceeds the setting according to the signal for identifying the time information Wai
所述第一边缘终端确定基准时间差异超出设定范围, 则根据设定的规则判断自身是否 需要调整;  The first edge terminal determines that the reference time difference exceeds the set range, and determines whether it needs to be adjusted according to the set rule;
如果所述第一边缘终端确定自身需要调整, 则将所述第一边缘终端所属的第一已同步 群的基准时间调整为所述第二边缘终端所属的第二已同步群的基准时间。  If the first edge terminal determines that it needs to be adjusted, the reference time of the first synchronized group to which the first edge terminal belongs is adjusted to the reference time of the second synchronized group to which the second edge terminal belongs.
本发明还提供了一种混合自组网络中群间同步终端, 该终端包括:  The present invention also provides an inter-group synchronization terminal in a hybrid ad hoc network, the terminal comprising:
基准时间差异确定模块, 用于接收第二边缘终端发送的用于标识时间信息的信号, 并 根据所述标识时间信息的信号确定自身的基准时间与第二边缘终端的基准时间是否有差 异; 如果确定基准时间有差异, 则确定第一边缘终端和第二边缘终端分别属于不同的已同 步群; 确定基准时间差异是否超出设定范围;  a reference time difference determining module, configured to receive a signal sent by the second edge terminal for identifying time information, and determine, according to the signal identifying the time information, whether the reference time of the second edge terminal is different from the reference time of the second edge terminal; Determining that the reference time is different, determining that the first edge terminal and the second edge terminal belong to different synchronized groups respectively; determining whether the reference time difference exceeds a set range;
设定规则判断模块, 用于根据设定的规则判断自身是否需要调整;  Setting a rule judging module, configured to judge whether it needs to be adjusted according to the set rule;
基准时间调整模块, 用于如果所述第一边缘终端确定自身需要调整, 则将所述第一边 缘终端所属的第一已同步群的基准时间调整为所述第二边缘终端所属的第二已同步群的 基准时间。  a reference time adjustment module, configured to: if the first edge terminal determines that it needs to be adjusted, adjust a reference time of the first synchronized group to which the first edge terminal belongs to a second that the second edge terminal belongs to The base time of the sync group.
本发明提供的技术方案, 先由边缘终端确定两个边缘终端所属的不同已同步群之间的 基准时间差异是否超过设定的范围。 如确定超过设定的范围再根据相应的规则判断是否对 边缘终端自身所属的已同步群的基准时间进行调整。 两个边缘终端都进行前面所述的确定 和判断, 然后根据设定的规则有一个边缘终端会对自身所属的已同步群中终端的基准时间 都进行调整, 并将自身所属已同步群的基准时间调整为另一终端所属已同步群的基准时 间, 最终两个已同步群的基准时间达成一致。 附图说明 图 1为本发明的自组网络已同步群示意图;  According to the technical solution provided by the present invention, it is determined by the edge terminal whether the reference time difference between different synchronized groups to which the two edge terminals belong exceeds a set range. If it is determined that the set range is exceeded, it is determined according to the corresponding rule whether to adjust the reference time of the synchronized group to which the edge terminal belongs. Both edge terminals perform the foregoing determination and determination, and then according to the set rules, an edge terminal adjusts the reference time of the terminal in the synchronized group to which it belongs, and benchmarks the synchronized group to which it belongs. The time is adjusted to the reference time of the synchronized group to which the other terminal belongs, and the reference time of the two synchronized groups is finally agreed. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic diagram of a synchronized group of an ad hoc network according to the present invention;
图 2为本发明实施例群间同步方法流程图;  2 is a flowchart of a method for synchronizing between groups according to an embodiment of the present invention;
图 3为本发明实施例将第一已同步群的基准时间调整为第二已同步群的基准时间的方 法流程图;  3 is a flowchart of a method for adjusting a reference time of a first synchronized group to a reference time of a second synchronized group according to an embodiment of the present invention;
图 4为本发明具体实施例方法流程图;  4 is a flowchart of a method according to an embodiment of the present invention;
图 5为本发明实施例边缘终端的结构示意图。 具体实施方式 当属于两个不同已同步群的边缘终端进入彼此的同步区域时, 为使两终端通信无障 碍, 需要将两个边缘终端分别所属不同已同步群进行基准时间同步。 下面结合附图说明本 发明实施例将两个边缘终端分别所属不同已同步群进行基准时间同步的方法。 如图 2所示, 本实施例将不同已同步群同步的方法为: FIG. 5 is a schematic structural diagram of an edge terminal according to an embodiment of the present invention. DETAILED DESCRIPTION When edge terminals belonging to two different synchronized groups enter each other's synchronization area, in order to make the communication between the two terminals unobstructed, it is necessary to synchronize the two edge terminals to different synchronized groups for reference time synchronization. The following description of the present invention In the embodiment of the invention, a method in which two edge terminals respectively belong to different synchronized groups for reference time synchronization is performed. As shown in FIG. 2, the method for synchronizing different synchronized groups in this embodiment is:
步骤 S201 , 第一边缘终端接收第二边缘终端发送的用于标识时间信息的信号。  Step S201: The first edge terminal receives a signal sent by the second edge terminal for identifying time information.
在步骤 S201中, 两个边缘终端在对方标识时间信息的信号传播范围内时, 都以自身为 第一边缘终端, 互认对方为第二边缘终端, 并接收彼此发送的用于标识时间信息的信号。  In step S201, when the two edge terminals are within the signal propagation range of the other party's identification time information, both edge terminals are themselves the first edge terminal, and the mutual recognition party is the second edge terminal, and receives the mutual time information for identifying the time information. signal.
步骤 S202 , 第一边缘终端根据接收到的第二边缘终端发送的用于标识时间信息的信号 确定自身的基准时间与第二边缘终端的基准时间是否有差异。  Step S202: The first edge terminal determines, according to the received signal for identifying the time information sent by the second edge terminal, whether the reference time of the second edge terminal is different from the reference time of the second edge terminal.
当第一边缘终端接收到第二边缘终端发送的用于标识时间信息的信号时, 先要通过用 于标识时间信息的信号来判断第一边缘终端自身和第一边缘终端的基准时间是否有差异。  When the first edge terminal receives the signal for identifying the time information sent by the second edge terminal, it is first determined whether the reference time of the first edge terminal itself and the first edge terminal is different by the signal for identifying the time information. .
步骤 S203 , 如果第一边缘终端确定基准时间有差异, 则确定第一边缘终端和第二边缘 终端分别属于不同的已同步群, 并根据用于标识时间信息的信号确定基准时间差异是否超 出设定范围。  Step S203: If the first edge terminal determines that the reference time is different, determining that the first edge terminal and the second edge terminal belong to different synchronized groups respectively, and determining whether the reference time difference exceeds the setting according to the signal for identifying the time information. range.
在步骤 S203中, 如果两个终端都确定彼此的基准时间差异超出设定范围, 则可以确定 第一边缘终端和第二边缘终端属于不同的已同步群。 否则可以确定两终端本来就属于同一 个已同步群, 不再需要进行群间同步。  In step S203, if both terminals determine that the reference time difference between each other exceeds the set range, it may be determined that the first edge terminal and the second edge terminal belong to different synchronized groups. Otherwise, it can be determined that the two terminals belong to the same synchronized group, and no inter-group synchronization is required.
步骤 S204 , 第一边缘终端确定基准时间差异超出设定范围, 则根据设定的规则判断自 身是否需要调整。  Step S204: The first edge terminal determines that the reference time difference exceeds the set range, and determines whether it needs to be adjusted according to the set rule.
如果确定基准时间差异超出设定范围, 则继续根据设定的规则判断是否要对本终端所 在已同步群的基准时间进行调整。  If it is determined that the reference time difference exceeds the set range, it is determined whether or not to adjust the reference time of the synchronized group of the terminal according to the set rule.
步骤 S205 , 如果第一边缘终端确定自身需要调整, 则将第一边缘终端所属的第一已同 步群的基准时间调整为第二边缘终端所属的第二已同步群的基准时间。  Step S205: If the first edge terminal determines that it needs to be adjusted, adjust the reference time of the first synchronized group to which the first edge terminal belongs to the reference time of the second synchronized group to which the second edge terminal belongs.
经过步骤 S205 , 两个终端中会有一个对其所在已同步群的基准时间进行调整, 将基准 时间调整成两个已同步群中的另一个已同步群的基准时间, 以使得两个不同的已同步群同 步。  After step S205, one of the two terminals adjusts the reference time of the synchronized group to adjust the reference time to the reference time of the other synchronized group of the two synchronized groups, so that two different Synchronized group sync.
在本发明实施例中, 第一边缘终端和第二边缘终端都可以是已同步群中的任意终端, 并不一定位于已同步群的边缘, 只要第一边缘终端能够接收到第二边缘终端发送的用于标 识时间信息的信号, 即可通过本发明实施例提供的混合自组网络中群间同步方法进行同 步, 因此,本发明实施例中第一边缘终端和第二边缘终端并不限于在已同步群的边缘位置。 通常情况下, 若已同步群覆盖面积较大, 则第一边缘终端和第二边缘终端位于不同已同步 群边缘时, 第一边缘终端能够接收到第二边缘终端发送的用于标识时间信息的信号并判断 出两个群间基准时间有差异的可能性较大。  In the embodiment of the present invention, the first edge terminal and the second edge terminal may be any terminals in the synchronized group, and are not necessarily located at the edge of the synchronized group, as long as the first edge terminal can receive the second edge terminal to send. The signal for identifying the time information can be synchronized by the inter-group synchronization method in the hybrid ad hoc network provided by the embodiment of the present invention. Therefore, in the embodiment of the present invention, the first edge terminal and the second edge terminal are not limited to The edge position of the synchronized group. Generally, if the synchronization group coverage area is large, the first edge terminal and the second edge terminal are located at different synchronized group edges, and the first edge terminal can receive the second edge terminal to send time information for identifying time information. It is more likely that the signal will determine that there is a difference in the reference time between the two groups.
较优地, 标识时间信息的信号为导频信号。 在自组网络中, 通常由导频信号携带基准 时间信息。 较优地, 基准时间差异超出设定范围为超帧周期不同、 超帧起始位不同或者同步偏差 大于设定的码片数量。 超帧周期不同、 超帧起始位不同或者同步偏差大于设定的码片数量 为判断基准时间差异超出设定范围的条件。 只要满足其中任意一个条件 , 就确定基准时间 差异超出设定范围。 Preferably, the signal identifying the time information is a pilot signal. In an ad hoc network, the reference time information is usually carried by the pilot signal. Preferably, the reference time difference exceeds the set range as the superframe period is different, the superframe start bit is different, or the synchronization deviation is greater than the set number of chips. The condition that the super frame period is different, the super frame start bit is different, or the synchronization deviation is larger than the set number of chips is a condition for judging that the reference time difference is out of the set range. As long as any one of the conditions is met, it is determined that the reference time difference is outside the set range.
较优地, 设定的码片数量根据导频码与数据部分的保护间隔设定, 或者根据第一边缘 终端进入 1跳范围前可进行同步调整的周期数乘以最大调整步长设定。 本实施例中码片的 数量可以根据导频码与数据部分的保护间隔设定, 也可以根据第一边缘终端进入 1跳范围 前可进行同步调整的周期数乘以最大调整步长设定。 第一种设定方式比较筒化, 可较容易 的设定出范围, 第二种设定方式则通过相关量的计算, 更精确的设定范围。  Preferably, the set number of chips is set according to the guard interval of the pilot code and the data portion, or the number of cycles that can be synchronously adjusted before the first edge terminal enters the 1-hop range is multiplied by the maximum adjustment step size. In this embodiment, the number of chips may be set according to the guard interval between the pilot code and the data portion, or may be set by multiplying the number of cycles that can be synchronously adjusted before the first edge terminal enters the 1-hop range by the maximum adjustment step size. The first setting method is relatively simple, and the range can be set relatively easily. The second setting method can more accurately set the range by calculating the correlation amount.
较优地, 如果确定基准时间差异未超出设定范围, 属于第一已同步群的第一边缘终端 与属于第二已同步群的第二边缘终端通过同步状态下的慢速同步方式进行同步调整。 本实 施例还提供了如果确定基准时间差异未超出设定范围的处理方式, 即通过同步状态下的慢 速同步方式进行同步调整。 两个不同步的终端组成一同步群时, 即通过慢速同步方式进行 同步。  Preferably, if it is determined that the reference time difference does not exceed the set range, the first edge terminal belonging to the first synchronized group and the second edge terminal belonging to the second synchronized group are synchronously adjusted by the slow synchronization mode in the synchronous state. . The present embodiment also provides a processing method for determining that the reference time difference does not exceed the set range, i.e., performing the synchronous adjustment by the slow synchronization method in the synchronous state. When two unsynchronized terminals form a synchronization group, they are synchronized by the slow synchronization method.
较优地,设定的规则为:如果第一已同步群的同步等级低于第二已同步群的同步等级; 或者如果第一已同步群的同步等级和第二已同步群的同步等级相同, 且第一已同步群包含 的边缘终端数量少于第二已同步群包含的边缘终端数量; 或者如果第一已同步群的同步等 级和第二已同步群的同步等级相同, 且第一已同步群包含的边缘终端数量与第二已同步群 包含的边缘终端数量相同, 但第一已同步群的基准时间晚于第二已同步群的基准时间。 如 果符合设定规则中三种条件的其中一种条件 , 则第一边缘终端即可确定自身需要调整。  Preferably, the set rule is: if the synchronization level of the first synchronized group is lower than the synchronization level of the second synchronized group; or if the synchronization level of the first synchronized group and the synchronization level of the second synchronized group are the same And the number of edge terminals included in the first synchronized group is less than the number of edge terminals included in the second synchronized group; or if the synchronization level of the first synchronized group and the synchronization level of the second synchronized group are the same, and the first The synchronization group includes the same number of edge terminals as the second synchronized group, but the reference time of the first synchronized group is later than the reference time of the second synchronized group. If one of the three conditions in the set rule is met, the first edge terminal can determine that it needs to adjust.
较优地, 已同步群的同步等级为群包含的所有终端的最高同步等级, 终端的同步等级 根据终端同步能力划分。 终端因为授时依据的不同, 自身的同步能力, 即精确度有所不同, 所以根据授时依据的精确程度对终端的同步能力进行划分。  Preferably, the synchronization level of the synchronized group is the highest synchronization level of all the terminals included in the group, and the synchronization level of the terminal is divided according to the terminal synchronization capability. Because the timing of the terminal is different, the synchronization capability of the terminal is different, that is, the accuracy is different. Therefore, the synchronization capability of the terminal is divided according to the accuracy of the timing basis.
在确定对需要进行基准时间调整已同步群后, 就需要具体对已同步群的基准时间进行 调整, 较优地, 将第一已同步群的基准时间调整为第二已同步群的基准时间的方法, 如图 3所示, 包括:  After determining that the synchronized group needs to be adjusted for the reference time, it is necessary to specifically adjust the reference time of the synchronized group, and preferably, adjust the reference time of the first synchronized group to the reference time of the second synchronized group. The method, as shown in Figure 3, includes:
步骤 S301 , 第一边缘终端根据时间调整消息对基准时间进行调整, 并向其所属的第一 已同步群中其他终端发送时间调整消息, 其中, 时间调整消息为第一边缘终端才 居时间偏 差量生成的。  Step S301: The first edge terminal adjusts the reference time according to the time adjustment message, and sends a time adjustment message to the other terminals in the first synchronized group to which the first edge terminal belongs, where the time adjustment message is the time offset of the first edge terminal. Generated.
第一边缘终端需要对其自身的基准时间进行调整, 调整为第二已同步群的基准时间, 同时还需要调整第一边缘终端所属已同步群的基准时间, 因此, 第一边缘终端还会向其所 属已同步群中的其他终端发送时间调整消息。  The first edge terminal needs to adjust its own reference time to adjust to the reference time of the second synchronized group, and also needs to adjust the reference time of the synchronized group to which the first edge terminal belongs. Therefore, the first edge terminal also needs to Other terminals in the synchronized group to which it belongs send a time adjustment message.
步骤 S302 , 其他终端接收时间调整消息, 并根据时间调整消息对基准时间进行调整。 第一边缘终端所属的第一同步群中除第一边缘终端外的其他终端会接收时间调整消 息, 并根据时间调整消息对自身的基准时间做出调整。 Step S302: The other terminal receives the time adjustment message, and adjusts the reference time according to the time adjustment message. The other terminal except the first edge terminal in the first synchronization group to which the first edge terminal belongs receives the time adjustment message, and adjusts the reference time of the message according to the time adjustment message.
较优地, 时间调整消息包括: 基准时间调整量和目标同步等级。 基准时间调整量和目 标同步等级是对基准时间进行调整所必须的信息, 基准时间调整量可指示终端基准时间需 要调整的量和目标同步等级指示第二同步群的同步等级, 第二同步群为将第一边缘终端所 属的第一同步群调整为的目标群。  Preferably, the time adjustment message includes: a reference time adjustment amount and a target synchronization level. The reference time adjustment amount and the target synchronization level are information necessary for adjusting the reference time. The reference time adjustment amount may indicate the amount to be adjusted by the terminal reference time and the target synchronization level indicates the synchronization level of the second synchronization group, and the second synchronization group is The target group to which the first synchronization group to which the first edge terminal belongs is adjusted.
较优地, 基准时间调整量为第一已同步群与第二已同步群基准时间差值, 或者为第一 已同步群与第二已同步群的基准时间差值减去第一已同步群内同步的基准时间预计调整 量; 所述目标同步等级为第二已同步群的同步等级。 基准时间调整量可直接为第一已同步 群与第二已同步群基准时间差值, 这样将第一同步群根据基准时间差值进行调整后, 即为 与第二已同步群的基准时间。 但如果当处理时间调整消息时, 终端在同时处理群内部终端 之间慢速同步的时间调整消息, 则需要将内部终端之间的慢速同步的基准时间调整量减 去, 即减去第一已同步群内同步的基准时间预计调整量, 通过后种时间调整量进行的时间 调整更准确。  Preferably, the reference time adjustment amount is the first synchronized group and the second synchronized group reference time difference, or the reference time difference between the first synchronized group and the second synchronized group minus the first synchronized group The reference time of the internal synchronization is estimated by the adjustment amount; the target synchronization level is the synchronization level of the second synchronized group. The reference time adjustment amount may be directly the first synchronized group and the second synchronized group reference time difference, such that the first synchronization group is adjusted according to the reference time difference, that is, the reference time with the second synchronized group. However, if the terminal simultaneously processes the time adjustment message of the slow synchronization between the internal terminals of the group when processing the time adjustment message, it is necessary to subtract the reference time adjustment amount of the slow synchronization between the internal terminals, that is, subtract the first The estimated time of the base time synchronization has been synchronized, and the time adjustment by the latter time adjustment amount is more accurate.
较优地, 时间调整消息还包括: 相对调整子帧数、 调整约定时间和目标超帧周期中的 一种或多种。 包括这些数据可更精确对基准时间进行调整。  Preferably, the time adjustment message further includes: one or more of a relative adjustment subframe number, an adjustment engagement time, and a target superframe period. Including these data allows for more precise adjustment of the reference time.
由于一个已同步群中会有多个终端, 而有可能在同一时刻多个终端作为边缘终端与其 他多个群的多个边缘终端相遇, 所以会出现一个已同步群中的多个边缘终端经判断后, 都 确定需要向群内发送时间调整消息, 因此同一时刻的多个消息的发送会引发资源碰撞。 为 解决此问题, 本实施例较优地提供了一技术方案, 即在第一边缘终端向其所属的第一已同 步群中其他终端发送时间调整消息之前, 第一边缘终端延迟时间调整消息的发送。 这样多 个消息可在时间上错开发送而避免了资源碰撞。  Since there are multiple terminals in one synchronized group, and it is possible that multiple terminals meet as edge terminals of multiple other groups at the same time, multiple edge terminals in a synchronized group may appear. After the judgment, it is determined that the time adjustment message needs to be sent to the group, so the sending of multiple messages at the same time may cause a resource collision. To solve this problem, the present embodiment preferably provides a technical solution, that is, before the first edge terminal sends a time adjustment message to other terminals in the first synchronized group to which the first edge terminal belongs, the first edge terminal delays the time adjustment message. send. Such multiple messages can be staggered in time to avoid resource collisions.
较优地, 延迟在整数个子帧内均匀分布。 将多个消息在整数个子帧内均匀分布为将消 息发送延迟的一种具体做法。  Preferably, the delay is evenly distributed over an integer number of sub-frames. It is a specific practice to evenly distribute multiple messages within an integer number of subframes to delay the transmission of the message.
本实施例的技术方案中, 两相遇终端进入彼此的标识时间信息的信号接收范围内, 通 过鉴别两终端所属的不同已同步群的基准时间的差异是否超过设定的范围, 如超过则需根 据设定的规则判断需要调整两终端中的哪一个终端所属群中所有终端的基准时间。 将需要 调整的已同步群中所有终端的基准时间都调整为另一已同步群的基准时候后, 两个终端所 属已同步群的的基准时间相同, 组成了一个更大的已同步群, 即可避免两个已同步群中的 终端因基准时间不同而引发通信错误。  In the technical solution of the embodiment, the two intersecting terminals enter the signal receiving range of the identification time information of each other, and the difference between the reference times of the different synchronized groups to which the two terminals belong is determined to exceed the set range. The set rule determines that it is necessary to adjust which of the two terminals belongs to the reference time of all the terminals in the group to which the terminal belongs. After adjusting the reference time of all the terminals in the synchronized group that needs to be adjusted to the reference time of another synchronized group, the reference time of the synchronized group of the two terminals is the same, and constitutes a larger synchronized group, that is, It can be avoided that the terminals in the two synchronized groups cause communication errors due to different reference times.
本发明还提供了作为已同步群中的其他终端, 在接收时间调整消息, 并根据时间调整 消息对基准时间进行调整的方案。 因此, 较优地, 本实施例中将第一已同步群中的其他终 端根据所述时间调整消息将基准时间调整为第二已同步群的基准时间, 具体包括: 判断接收到的时间调整消息是否为终端所属已同步群中的终端发送, 并检测终端是否 有未生效的时间调整消息; The present invention also provides a scheme for receiving a time adjustment message as another terminal in the synchronized group and adjusting the reference time according to the time adjustment message. Therefore, in the embodiment, the other terminal in the first synchronized group adjusts the reference time to the reference time of the second synchronized group according to the time adjustment message, which specifically includes: Determining whether the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and detecting whether the terminal has an ineffective time adjustment message;
如果接收到的时间调整消息不为终端所属已同步群中的终端发送, 则丢弃接收到的时 间调整消息;  If the received time adjustment message is not sent by the terminal in the synchronized group to which the terminal belongs, the received time adjustment message is discarded;
如果接收到的时间调整消息为终端所属已同步群中的终端发送, 且终端没有未生效的 时间调整消息, 则才 居所述时间调整消息调整基准时间, 并保存所述时间调整消息;  If the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has no time adjustment message that is not valid, the time adjustment message is adjusted to the reference time, and the time adjustment message is saved;
如果接收到的时间调整消息为终端所属已同步群中的终端发送, 且终端有未生效的时 间调整消息, 则比较所述时间调整消息与未生效的时间调整消息的目标同步等级, 如果接 收到的时间调整消息的目标同步等级高于未生效的时间调整消息的目标等级, 则根据接收 到的时间调整消息进行基准时间调整, 保存接收到的时间调整消息并丢弃未生效的时间调 整消息; 如果接收到的时间调整消息的目标同步等级不高于未生效的时间调整消息的目 标, 则丢弃接收到的时间调整消息, 其中, 所述目标同步等级为第二已同步群的同步等级。  If the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has a time adjustment message that is not valid, compare the target synchronization level of the time adjustment message with the non-effective time adjustment message, if received The target synchronization level of the time adjustment message is higher than the target level of the time adjustment message that is not in effect, and the reference time adjustment is performed according to the received time adjustment message, the received time adjustment message is saved, and the time adjustment message that is not in effect is discarded; If the target synchronization level of the received time adjustment message is not higher than the target of the time adjustment message that is not valid, the received time adjustment message is discarded, where the target synchronization level is the synchronization level of the second synchronized group.
终端接收到时间调整消息后, 需要判断时间调整消息是否为本终端所属的已同步群内 其他终端发送, 同时还需要判断本终端内部是否还有其他未生效的时间调整消息。 如果该 时间调整消息不是本终端所属的已同步群内其他终端发送, 则不需要对该时间调整消息进 行处理, 可将其丢弃; 如果该信息是本终端所属的已同步群内其他终端发送, 而且本终端 内也只有该信息, 则才 居该信息进行时间调整即可。  After receiving the time adjustment message, the terminal needs to determine whether the time adjustment message is sent by other terminals in the synchronized group to which the terminal belongs, and also needs to determine whether there are other time adjustment messages that are not effective in the terminal. If the time adjustment message is not sent by another terminal in the synchronized group to which the terminal belongs, the time adjustment message does not need to be processed, and may be discarded; if the information is sent by other terminals in the synchronized group to which the terminal belongs, Moreover, the information is only available in the terminal, and then the information can be adjusted in time.
如果该信息是本终端所属的已同步群内其他终端发送, 但本终端内还有未生效的其他 时间调整消息, 则需要对所有的时间调整消息进行比较。 如果接收到的时间调整消息的目 标同步等级高于终端内的未生效时间调整消息的目标同步等级, 则终端根据此时间调整消 息对基准时间进行调整。 如果接收到的时间调整消息的目标同步等级不高于终端内未生效 时间调整消息的同步等级, 则不需要对此次接收到的时间调整消息作出处理, 而可直接将 其丢弃。 目标同步等级是时间调整消息所含有的一种信息,该信息标识目标群的同步等级, 目标群则是将本终端所属已同步群调整为的另一已同步群, 目标同步等级即为此另一已同 步群的同步等级。  If the information is sent by other terminals in the synchronized group to which the terminal belongs, but there are other time adjustment messages that are not valid in the terminal, all time adjustment messages need to be compared. If the target synchronization level of the received time adjustment message is higher than the target synchronization level of the non-effective time adjustment message in the terminal, the terminal adjusts the reference time according to the time adjustment message. If the target synchronization level of the received time adjustment message is not higher than the synchronization level of the time adjustment message that is not valid in the terminal, the received time adjustment message does not need to be processed, but can be directly discarded. The target synchronization level is a type of information included in the time adjustment message, the information identifies the synchronization level of the target group, and the target group is another synchronized group to which the synchronized group to which the terminal belongs is adjusted, and the target synchronization level is The synchronization level of a synchronized group.
将目标同步等级低的时间调整消息丢弃可帮助群内减少无实际用处的时间调整消息, 减轻终端对时间调整消息处理的负担。 对于需要进行处理的时间调整消息, 同时还需要被 保存。  Discarding the time adjustment message with a low target synchronization level can help reduce the time adjustment message without actual use in the group, and alleviate the burden on the terminal for time adjustment message processing. The message is adjusted for the time that needs to be processed and needs to be saved.
在完成了对时间消息的处理后, 为了避免发生终端所属已同步群中有终端未接收到时 间调整消息, 所以较优地, 根据时间调整消息进行基准时间调整之后, 接收到时间调整消 息的终端还需要向所属群中终端转发被保存的时间调整消息。 这样对时间调整消息的转发 可保证有效的时间调整消息发送至终端所属已同步群内所有终端, 使得所有终端的基准时 间一致进行调整。 本实施例中提供的已同步群内其他终端在接收到时间调整消息后, 需要判断该时间调 整消息是否为终端所属已同步群内的终端发送的, 并且如果本终端只有该时间调整消息, 则根据此时间调整消息对本终端的基准时间进行调整; 如果还有其他未生效的时间调整消 息, 则需要此次接收到的时间调整消息的目标等级是否高于终端中未生效的时间调整消息 的目标等级, 如果高于才根据接收到的时间调整消息对本终端的基准时间进行调整。 釆用 本实施例中的技术方案可保证终端正确、 筒便的对自身基准时间做出调整。 最终达到本终 端所属已同步群的基准时间与目标群的基准时间一致的效果。 After the processing of the time message is completed, in order to avoid that a terminal in the synchronized group to which the terminal belongs does not receive the time adjustment message, the terminal that receives the time adjustment message after the reference time adjustment is performed according to the time adjustment message is preferred. It is also necessary to forward the saved time adjustment message to the terminal in the group to which it belongs. The forwarding of the time adjustment message ensures that the effective time adjustment message is sent to all the terminals in the synchronized group to which the terminal belongs, so that the reference times of all the terminals are consistently adjusted. After receiving the time adjustment message, the other terminals in the synchronized group that are provided in this embodiment need to determine whether the time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and if the terminal has only the time adjustment message, Adjusting the reference time of the terminal according to the time adjustment message; if there are other time adjustment messages that are not in effect, whether the target level of the received time adjustment message needs to be higher than the target of the time adjustment message that is not valid in the terminal. Level, if it is higher, adjust the reference time of the terminal according to the received time adjustment message. The technical solution in the embodiment can ensure that the terminal adjusts its own reference time correctly and conveniently. Finally, the effect that the reference time of the synchronized group to which the terminal belongs is consistent with the reference time of the target group is achieved.
本实施例中, 当两个属于不同已同步群的终端相遇时, 两个终端开始判断是否需要对 基准时间进行调整, 并判断由哪一个终端对其所属的已同步群中其他终端进行基准时间调 整。 确定好需要进行调整的已同步群后, 由作出判断的终端作为触发方, 向所属群中其他 终端发送时间调整消息触发其他终端对其基准时间进行调整。 其他终端接收时间调整消 息, 鉴别该时间调整消息是否来自与自身同属一个同步群的终端, 还需要确定接收的消息 的目标同步等级高于终端已有的消息的目标同步等级, 满足前述两个条件的时间调整消息 才能作为时间调整的依据 , 对此时间调整消息还需进行保存和转发, 以保证时间需要被调 整的群中所有终端都能接收到此时间调整消息并进行相应的调整。 最终达到两不同已同步 群同步的目的。  In this embodiment, when two terminals belonging to different synchronized groups meet, the two terminals start to determine whether it is necessary to adjust the reference time, and determine which terminal is to perform the reference time for other terminals in the synchronized group to which it belongs. Adjustment. After determining the synchronized group that needs to be adjusted, the terminal that makes the judgment acts as the triggering party, and sends a time adjustment message to other terminals in the group to trigger other terminals to adjust the reference time. The other terminal receives the time adjustment message, and determines whether the time adjustment message is from a terminal that belongs to the same synchronization group as itself, and needs to determine that the target synchronization level of the received message is higher than the target synchronization level of the existing message of the terminal, and the foregoing two conditions are met. The time adjustment message can be used as the basis for time adjustment. The time adjustment message needs to be saved and forwarded to ensure that all the terminals in the group whose time needs to be adjusted can receive the time adjustment message and adjust accordingly. Eventually, the goal of two different synchronized group synchronizations is achieved.
结合图 4对本发明的具体实施例进行说明。 如图 4所示, 本实施例的流程为: 步骤 S401 , 第一边缘终端接收第二边缘终端发送的用于标识时间信息的信号。  Specific embodiments of the present invention will be described with reference to FIG. As shown in FIG. 4, the process in this embodiment is: Step S401: The first edge terminal receives a signal sent by the second edge terminal for identifying time information.
步骤 S402 , 第一边缘终端根据接收到的第二边缘终端发送的用于标识时间信息的信号 确定自身的基准时间与第二边缘终端的基准时间是否有差异。  Step S402: The first edge terminal determines, according to the received signal for identifying the time information sent by the second edge terminal, whether the reference time of the second edge terminal is different from the reference time of the second edge terminal.
第一边缘终端判断与第二边缘终端是否属于不同的已同步群。  The first edge terminal determines whether the second edge terminal belongs to a different synchronized group.
步骤 S403 , 如果第一边缘终端确定基准时间有差异, 则确定第一边缘终端和第二边缘 终端分别属于不同的已同步群, 并根据用于标识时间信息的信号确定基准时间差异是否超 出设定范围。  Step S403, if the first edge terminal determines that the reference time is different, determining that the first edge terminal and the second edge terminal belong to different synchronized groups respectively, and determining whether the reference time difference exceeds the setting according to the signal for identifying the time information. range.
第一边缘终端判断用于标识时间信息的信号确定基准时间差异是否超出设定范围。 步骤 S404 , 第一边缘终端确定基准时间差异超出设定范围, 则根据设定的规则判断自 身是否需要调整。  The first edge terminal determines whether the signal for identifying the time information determines whether the reference time difference exceeds the set range. Step S404: The first edge terminal determines that the reference time difference exceeds the set range, and determines whether it needs to be adjusted according to the set rule.
步骤 S404中的规则为, 如果第一已同步群的同步等级低于第二已同步群的同步等级; 或者如果第一已同步群的同步等级和第二已同步群的同步等级相同, 且第一已同步群包含 的边缘终端数量少于第二已同步群包含的边缘终端数量; 或者如果第一已同步群的同步等 级和第二已同步群的同步等级相同, 且第一已同步群包含的边缘终端数量与第二已同步群 包含的边缘终端数量相同, 但第一已同步群的基准时间晚于第二已同步群的基准时间。 如 果符合设定规则中三种条件的其中一种条件 , 则第一边缘终端即可确定自身需要调整。 步骤 S405 , 如果第一边缘终端确定自身需要调整, 则第一边缘终端根据时间调整消息 对基准时间进行调整, 并向其所属的第一已同步群中其他终端发送时间调整消息。 The rule in step S404 is: if the synchronization level of the first synchronized group is lower than the synchronization level of the second synchronized group; or if the synchronization level of the first synchronized group and the synchronization level of the second synchronized group are the same, and The number of edge terminals included in a synchronized group is less than the number of edge terminals included in the second synchronized group; or if the synchronization level of the first synchronized group and the synchronization level of the second synchronized group are the same, and the first synchronized group includes The number of edge terminals is the same as the number of edge terminals included in the second synchronized group, but the reference time of the first synchronized group is later than the reference time of the second synchronized group. If one of the three conditions in the set rule is met, the first edge terminal can determine that it needs to adjust. Step S405: If the first edge terminal determines that it needs to be adjusted, the first edge terminal adjusts the reference time according to the time adjustment message, and sends a time adjustment message to other terminals in the first synchronized group to which it belongs.
步骤 S406 , 其他终端接收时间调整消息, 并根据时间调整消息对基准时间进行调整。 步骤 S406中的其他终端在接收到时间调整消息后, 判断接收到的时间调整消息是否为 终端所属已同步群中的终端发送, 并检测终端是否有未生效的时间调整消息; 如果接收到 的时间调整消息不为终端所属已同步群中的终端发送, 则丢弃接收到的时间调整消息; 如 果接收到的时间调整消息为终端所属已同步群中的终端发送, 且终端没有未生效的时间调 整消息, 则根据所述时间调整消息调整基准时间, 并保存所述时间调整消息; 如果接收到 的时间调整消息为终端所属已同步群中的终端发送, 且终端有未生效的时间调整消息, 则 比较所述时间调整消息与未生效的时间调整消息的目标同步等级, 如果接收到的时间调整 消息的目标同步等级高于未生效的时间调整消息的目标, 则根据接收到的时间调整消息进 行基准时间调整, 保存接收到的时间调整消息并丢弃未生效的时间调整消息; 如果接收到 的时间调整消息的目标同步等级不高于未生效的时间调整消息的目标, 则丢弃接收到的时 间调整消息, 其中, 所述目标同步等级为第二已同步群的同步等级。  Step S406: The other terminal receives the time adjustment message, and adjusts the reference time according to the time adjustment message. After receiving the time adjustment message, the other terminal in step S406 determines whether the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and detects whether the terminal has an ineffective time adjustment message; if the received time If the adjustment message is not sent by the terminal in the synchronized group to which the terminal belongs, the received time adjustment message is discarded; if the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has no time adjustment message that is not valid. And adjusting the reference time according to the time adjustment message, and saving the time adjustment message; if the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has an ineffective time adjustment message, compare The target synchronization level of the time adjustment message and the time adjustment message that is not valid. If the target synchronization level of the received time adjustment message is higher than the target of the time adjustment message that is not valid, the reference time is adjusted according to the received time adjustment message. Adjust, save the received time If the target synchronization level of the received time adjustment message is not higher than the target of the inactive time adjustment message, the received time adjustment message is discarded, where the target synchronization level is discarded. Is the synchronization level of the second synchronized group.
本发明还提供了与方法对应的终端, 下面结合附图对移动终端实施例进行说明。 如图 5所述, 本发明提供的终端包括: 基准时间差异确定模块 51、 设定规则判断模块 52和基准时间调整模块 53。  The present invention also provides a terminal corresponding to the method, and the mobile terminal embodiment will be described below with reference to the accompanying drawings. As shown in FIG. 5, the terminal provided by the present invention includes: a reference time difference determining module 51, a setting rule determining module 52, and a reference time adjusting module 53.
其中, 基准时间差异确定模块 51用于接收第二边缘终端发送的用于标识时间信息的信 号, 并根据标识时间信息的信号确定基准时间是否有差异; 如果确定基准时间有差异, 则 确定自身和第二边缘终端分别属于不同的已同步群; 确定基准时间差异是否超出设定范 围; 设定规则判断模块 52用于根据设定的规则判断自身是否需要调整; 基准时间调整模块 53用于如果确定自身需要调整, 则将所属的第一已同步群的基准时间调整为第二边缘终端 所属的第二已同步群的基准时间。  The reference time difference determining module 51 is configured to receive a signal sent by the second edge terminal for identifying time information, and determine whether the reference time is different according to the signal identifying the time information; if it is determined that the reference time is different, determine the self and The second edge terminals respectively belong to different synchronized groups; determine whether the reference time difference exceeds the set range; the setting rule determining module 52 is configured to determine whether it needs to be adjusted according to the set rule; the reference time adjusting module 53 is configured to determine If it needs to be adjusted, the reference time of the first synchronized group to which it belongs is adjusted to the reference time of the second synchronized group to which the second edge terminal belongs.
较优地, 标识时间信息的信号为导频信号。  Preferably, the signal identifying the time information is a pilot signal.
较优地, 基准时间差异超出设定范围为超帧周期不同、 超帧起始位不同或者同步偏差 大于设定的码片数量。  Preferably, the difference in the reference time exceeds the set range as the superframe period is different, the superframe start bit is different, or the synchronization deviation is greater than the set number of chips.
较优地, 码片数量根据导频码与数据部分的保护间隔设定, 或者根据第一边缘终端进 入 1跳范围前可进行同步调整的周期数乘以最大调整步长设定。  Preferably, the number of chips is set according to the guard interval between the pilot code and the data portion, or the number of cycles that can be synchronously adjusted before the first edge terminal enters the 1-hop range is multiplied by the maximum adjustment step size.
如果确定基准时间差异未超出设定范围, 本实施例提供了另一种可将两不同已同步群 同步的方案, 即如果确定基准时间差异未超出设定范围, 则与属于第二已同步群的第二边 缘终端通过同步状态下的慢速同步方式进行同步调整。  If it is determined that the reference time difference does not exceed the set range, the embodiment provides another scheme for synchronizing two different synchronized groups, that is, if it is determined that the reference time difference does not exceed the set range, then belongs to the second synchronized group. The second edge terminal is synchronously adjusted by the slow synchronization mode in the synchronous state.
终端根据设定的规则判断是否对自身进行调整, 因此设定规则判断模块 52用于在满足 确定第一已同步群的同步等级低于第二已同步群的同步等级; 或者第一已同步群的同步等 级和所述第二已同步群的同步等级相同, 且所述第一已同步群包含的边缘终端数量少于第 二已同步群包含的边缘终端数量; 或者如果第一已同步群的同步等级和第二已同步群的同 步等级相同, 且所述第一已同步群包含的边缘终端数量与所述第二已同步群包含的边缘终 端数量相同, 但所述第一已同步群的基准时间晚于所述第二已同步群的基准时间, 这三个 条件下中满足任意一个条件, 终端即可确定自身需要调整。 The terminal determines whether to adjust itself according to the set rule, so the setting rule judging module 52 is configured to satisfy the synchronization level that determines that the synchronization level of the first synchronized group is lower than the synchronization level of the second synchronized group; or the first synchronized group. Synchronization, etc. And the synchronization level of the second synchronized group is the same, and the number of edge terminals included in the first synchronized group is less than the number of edge terminals included in the second synchronized group; or if the synchronization level of the first synchronized group And the synchronization level of the second synchronized group is the same, and the number of edge terminals included in the first synchronized group is the same as the number of edge terminals included in the second synchronized group, but the reference time of the first synchronized group After the reference time of the second synchronized group is exceeded, any one of the three conditions is satisfied, and the terminal can determine that it needs to be adjusted.
较优地, 已同步群的同步等级为群包含的所有终端的最高同步等级, 终端的同步等级 根据终端同步能力划分。  Preferably, the synchronization level of the synchronized group is the highest synchronization level of all the terminals included in the group, and the synchronization level of the terminal is divided according to the terminal synchronization capability.
将第一已同步群的基准时间调整为第二已同步群的基准时间的具体方法为, 根据自身 根据时间偏差生成的时间调整消息调整自身的基准时间, 并向其所属的第一已同步群中其 他终端发送时间调整消息。  The specific method of adjusting the reference time of the first synchronized group to the reference time of the second synchronized group is to adjust its own reference time according to the time adjustment message generated by itself according to the time deviation, and to the first synchronized group to which it belongs Other terminals in the middle send time adjustment messages.
已同步群中的每个终端, 既可作为触发基准时间调整的边缘终端, 也可为接收到时间 调整消息后, 对自身基准时间进行调整的其他终端, 因此, 终端还应该包括时间调整消息 处理模块 54 , 时间调整消息处理模块 54用于接收时间调整消息, 并根据时间调整消息对基 准时间进行调整。  Each terminal in the synchronized group can be used as an edge terminal that triggers the adjustment of the reference time, or another terminal that adjusts its own reference time after receiving the time adjustment message. Therefore, the terminal should also include time adjustment message processing. The module 54 and the time adjustment message processing module 54 are configured to receive the time adjustment message and adjust the reference time according to the time adjustment message.
较优地, 时间调整消息包括基准时间调整量和目标同步等级。  Preferably, the time adjustment message includes a reference time adjustment amount and a target synchronization level.
基准时间调整量为所述第一已同步群与第二已同步群基准时间差值, 或者为第一已同 步群与第二已同步群的基准时间差值减去第一已同步群内同步的基准时间预计调整量; 所 述目标同步等级为第二已同步群的同步等级。  The reference time adjustment amount is the reference time difference between the first synchronized group and the second synchronized group, or the reference time difference between the first synchronized group and the second synchronized group minus the first synchronized intra-group synchronization The reference time is estimated by the reference time; the target synchronization level is the synchronization level of the second synchronized group.
时间调整消息还包括: 相对调整子帧数、 调整约定时间和目标超帧周期中的一种或多 种。  The time adjustment message further includes: one or more of a relative adjustment subframe number, an adjustment engagement time, and a target superframe period.
为避免同一已同步群中有多个边缘终端同时发送时间调整消息, 所述基准时间调整模 块 53还用于在向其所属的第一已同步群中其他终端发送时间调整消息之前, 第一边缘终端 延迟时间调整消息的发送。 并且延迟在整数个子帧内均匀分布。  To avoid that multiple edge terminals in the same synchronized group simultaneously send time adjustment messages, the reference time adjustment module 53 is further configured to send a time adjustment message to other terminals in the first synchronized group to which it belongs, before the first edge The terminal delay time adjusts the transmission of the message. And the delay is evenly distributed over an integer number of sub-frames.
终端在接收到时间调整消息后还需要判断消息是否来自于其所属群, 并且该终端还需 要处理如果终端中还存有尚未生效的时间调整消息的情况, 因此时间调整消息处理模块 54 还用于, 判断接收到的时间调整消息是否为终端所属已同步群中的终端发送, 并检测终端 是否有未生效的时间调整消息;  After receiving the time adjustment message, the terminal also needs to determine whether the message is from the group to which it belongs, and the terminal also needs to process if there is still a time adjustment message that has not yet taken effect in the terminal, so the time adjustment message processing module 54 is also used to Determining whether the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and detecting whether the terminal has an ineffective time adjustment message;
如果所述时间调整消息不为终端所属已同步群中的终端发送, 则丢弃所述时间调整消 息; 如果所述时间调整消息为终端所属已同步群中的终端发送, 且终端没有未生效的时间 调整消息, 则才 居所述时间调整消息调整基准时间, 并保存所述时间调整消息; 如果所述 时间调整消息为终端所属已同步群中的终端发送, 且终端有未生效的时间调整消息, 则比 较所述时间调整消息与未生效的时间调整消息的目标同步等级, 则根据接收到的时间调整 消息进行基准时间调整, 保存接收到的时间调整消息并丢弃未生效的时间调整消息; 如果 接收到的时间调整消息的目标同步等级不高于未生效的时间调整消息的目标, 则丢弃接收 到的时间调整消息, 其中, 所述目标同步等级为第二已同步群的同步等级。 If the time adjustment message is not sent by the terminal in the synchronized group to which the terminal belongs, the time adjustment message is discarded; if the time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has no ineffective time Adjusting the message, the time adjustment message is adjusted to adjust the reference time, and the time adjustment message is saved; if the time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has an ineffective time adjustment message, Comparing the target synchronization level of the time adjustment message with the time adjustment message that is not in effect, performing a reference time adjustment according to the received time adjustment message, saving the received time adjustment message, and discarding the time adjustment message that is not in effect; If the target synchronization level of the received time adjustment message is not higher than the target of the time adjustment message that is not valid, the received time adjustment message is discarded, where the target synchronization level is the synchronization level of the second synchronized group.
为了保证群内所有终端都能进行有效调整, 较优地, 时间调整消息处理模块 54还用于 向所属群中终端转发被保存的时间调整消息。  In order to ensure that all the terminals in the group can be effectively adjusted, the time adjustment message processing module 54 is further configured to forward the saved time adjustment message to the terminal in the group.
本实施例中的终端既可用于时间调整消息发送的终端, 也可为时间调整接收处理的终 端。 即同一个终端可完成判断是否对所属群内所有终端进行基准时间调整并发送时间调整 消息的操作, 也可完成在接收到其他终端发送的时间调整消息后, 经过一系列判断, 对时 间调整消息作出处理的操作。 因此, 已同步群中的终端即可作为基准时间调整的发起者, 也可作为被调整方。  The terminal in this embodiment can be used for both the terminal for time adjustment message transmission and the terminal for time adjustment reception processing. That is, the same terminal can complete the operation of determining whether to perform the reference time adjustment and send the time adjustment message to all the terminals in the group, and after completing the time adjustment message sent by other terminals, after a series of judgments, the time adjustment message is completed. The operation to make the processing. Therefore, the terminal in the synchronized group can be used as the initiator of the reference time adjustment or as the adjusted party.
本实施例中的终端可完成是否需要对其所属群的基准时间进行调整, 作为调整的发起 者。 也可作为接受时间调整消息的接受者, 接受时间调整消息并作出相应的处理。 这样, 如本实施例的中的两终端进入彼此的时间信息接收范围内, 即可判断出哪个终端所在已同 步群的基准时间需要被调整。 继而发出时间调整消息给所属群中的其他终端, 其他终端在 接收到时间调整消息后对消息作出相应处理, 最终使得两终端所属群的基准时间同步。  The terminal in this embodiment can complete whether the reference time of the group to which it belongs needs to be adjusted as the initiator of the adjustment. It can also be accepted as a recipient of the time adjustment message, accepting the time adjustment message and processing accordingly. Thus, if the two terminals in the present embodiment enter the time information receiving range of each other, it can be determined which base time the reference time of the synchronized group needs to be adjusted. Then, the time adjustment message is sent to other terminals in the group, and the other terminals process the message after receiving the time adjustment message, and finally synchronize the reference time of the group to which the two terminals belong.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产 品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实 施例的形式。 而且, 本发明可釆用在一个或多个其中包含有计算机可用程序代码的计算机 可用存储介盾 (包括但不限于磁盘存储器、 CD-ROM、 光学存储器等)上实施的计算机程 序产品的形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present invention can be embodied in the form of a computer program product embodied on one or more computer-usable storage interfaces (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
本发明是参照根据本发明实施例的方法、 设备 (系统) 、 和计算机程序产品的流程图 和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图和 /或方框图中的每一流 程和 /或方框、 以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机 程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器 以产生一个机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用 于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each process and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中, 使得存储在该计算机可读存储器中的指令产生包括指令装 置的制造品, 该指令装置实现在流程图一个流程或多个流程和 /或方框图一个方框或多个 方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理, 从而在计算机或其他 可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和 /或方框图一个 方框或多个方框中指定的功能的步骤。 These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions are provided for implementing one or more processes and/or block diagrams in the flowchart The steps of the function specified in the box or in multiple boxes.
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了基本创造性概 念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权利要求意欲解释为包括优选 实施例以及落入本发明范围的所有变更和修改。  Although the preferred embodiment of the invention has been described, it will be apparent to those of ordinary skill in the art that <RTIgt; Therefore, the appended claims are intended to be construed as including the preferred embodiments and the modifications
显然, 本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实 施例的精神和范围。 这样, 倘若本发明实施例的这些修改和变型属于本发明权利要求及其 等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  It is apparent that those skilled in the art can make various modifications and variations to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Thus, it is intended that the present invention cover the modifications and modifications of the inventions

Claims

权 利 要 求 Rights request
1、 一种混合自组网络中群间同步方法, 其特征在于, 该方法包括: A method for synchronizing between groups in a hybrid ad hoc network, the method comprising:
第一边缘终端根据接收到的第二边缘终端发送的用于标识时间信息的信号确定自身 的基准时间与第二边缘终端的基准时间是否有差异;  The first edge terminal determines, according to the received signal for identifying the time information sent by the second edge terminal, whether the reference time of the second edge terminal is different from the reference time of the second edge terminal;
如果第一边缘终端确定基准时间有差异, 则确定第一边缘终端和第二边缘终端分别属 于不同的已同步群, 并根据用于标识时间信息的信号确定基准时间差异是否超出设定范 围;  If the first edge terminal determines that the reference time is different, determining that the first edge terminal and the second edge terminal belong to different synchronized groups respectively, and determining whether the reference time difference exceeds the set range according to the signal for identifying the time information;
所述第一边缘终端确定基准时间差异超出设定范围, 则根据设定的规则判断自身是否 需要调整;  The first edge terminal determines that the reference time difference exceeds the set range, and determines whether it needs to be adjusted according to the set rule;
如果所述第一边缘终端确定自身需要调整, 则将所述第一边缘终端所属的第一已同步 群的基准时间调整为所述第二边缘终端所属的第二已同步群的基准时间。  If the first edge terminal determines that it needs to be adjusted, the reference time of the first synchronized group to which the first edge terminal belongs is adjusted to the reference time of the second synchronized group to which the second edge terminal belongs.
2、 根据权利要求 1所述的方法, 其特征在于, 所述标识时间信息的信号为导频信号。 2. The method according to claim 1, wherein the signal identifying the time information is a pilot signal.
3、 根据权利要求 2所述的方法, 其特征在于, 所述基准时间差异超出设定范围为超帧 周期不同、 超帧起始位不同或者同步偏差大于设定的码片数量。 3. The method according to claim 2, wherein the reference time difference exceeds a set range of a superframe period, a superframe start bit is different, or a synchronization offset is greater than a set number of chips.
4、 根据权利要求 3所述的方法, 其特征在于, 所述码片数量根据导频码与数据部分的 保护间隔设定, 或者根据第一边缘终端进入 1跳范围前可进行同步调整的周期数乘以最大 调整步长设定。  The method according to claim 3, wherein the number of chips is set according to a guard interval of the pilot code and the data part, or a period during which the first edge terminal can perform synchronization adjustment before entering the one-hop range Multiply the number by the maximum adjustment step size setting.
5、根据权利要求 1所述的方法, 其特征在于, 如果确定基准时间差异未超出设定范围, 则该方法进一步包括:  The method according to claim 1, wherein if it is determined that the reference time difference does not exceed the set range, the method further comprises:
属于第一已同步群的第一边缘终端与属于第二已同步群的第二边缘终端通过同步状 态下的慢速同步方式进行同步调整。  The first edge terminal belonging to the first synchronized group and the second edge terminal belonging to the second synchronized group are synchronously adjusted by the slow synchronization mode in the synchronous state.
6、 根据权利要求 1所述的方法, 其特征在于, 所述第一边缘终端确定基准时间差异超 出设定范围, 则根据设定的规则判断自身是否需要调整, 包括:  The method according to claim 1, wherein the first edge terminal determines whether the reference time difference exceeds the set range, and determines whether the user needs to adjust according to the set rule, including:
如果所述第一已同步群的同步等级低于所述第二已同步群的同步等级; 或者如果所述 第一已同步群的同步等级和所述第二已同步群的同步等级相同, 且所述第一已同步群包含 的边缘终端数量少于所述第二已同步群包含的边缘终端数量; 或者如果所述第一已同步群 的同步等级和所述第二已同步群的同步等级相同, 且所述第一已同步群包含的边缘终端数 量与所述第二已同步群包含的边缘终端数量相同, 但所述第一已同步群的基准时间晚于所 述第二已同步群的基准时间, 则确定自身需要调整。  If the synchronization level of the first synchronized group is lower than the synchronization level of the second synchronized group; or if the synchronization level of the first synchronized group and the synchronization level of the second synchronized group are the same, and The first synchronized group includes fewer edge terminals than the second synchronized group includes; or if the first synchronized group has a synchronization level and the second synchronized group has a synchronization level Similarly, the number of edge terminals included in the first synchronized group is the same as the number of edge terminals included in the second synchronized group, but the reference time of the first synchronized group is later than the second synchronized group. The benchmark time determines that it needs to be adjusted.
7、 根据权利要求 6所述方法, 其特征在于, 所述已同步群的同步等级为已同步群包含 的所有终端的最高同步等级, 终端的同步等级 居终端同步能力划分。  The method according to claim 6, wherein the synchronization level of the synchronized group is the highest synchronization level of all terminals included in the synchronized group, and the synchronization level of the terminal is divided by the terminal synchronization capability.
8、 根据权利要求 7所述的方法, 其特征在于, 所述将所述第一已同步群的基准时间调 整为所述第二已同步群的基准时间, 包括: The method according to claim 7, wherein the reference time of the first synchronized group is adjusted The entire reference time of the second synchronized group includes:
所述第一边缘终端根据自身生成的时间调整消息对基准时间进行调整, 并向其所属的 第一已同步群中其他终端发送时间调整消息;  The first edge terminal adjusts the reference time according to the time adjustment message generated by itself, and sends a time adjustment message to other terminals in the first synchronized group to which it belongs;
所述其他终端接收时间调整消息, 并根据时间调整消息对基准时间进行调整。  The other terminal receives the time adjustment message and adjusts the reference time according to the time adjustment message.
9、 根据权利要求 8所述的方法, 其特征在于, 所述时间调整消息包括: 基准时间调整 量和目标同步等级。  9. The method according to claim 8, wherein the time adjustment message comprises: a reference time adjustment amount and a target synchronization level.
10、 根据权利要求 9所述的方法, 其特征在于, 所述基准时间调整量为所述第一已同 步群与第二已同步群基准时间差值, 或者为第一已同步群与第二已同步群的基准时间差值 减去第一已同步群内同步的基准时间预计调整量。  The method according to claim 9, wherein the reference time adjustment amount is the first synchronized group and the second synchronized group reference time difference, or is the first synchronized group and the second The reference time difference of the synchronized group is subtracted from the reference time estimated adjustment of the first synchronized intra-group synchronization.
11、 根据权利要求 9所述的方法, 其特征在于, 所述时间调整消息还包括: 相对调整 子帧数、 调整约定时间和目标超帧周期中的一种或多种。  The method according to claim 9, wherein the time adjustment message further comprises: one or more of a relative adjustment subframe number, an adjustment appointment time, and a target superframe period.
12、 根据权利要求 8所述的方法, 其特征在于, 所述第一边缘终端向其所属的第一已 同步群中其他终端发送时间调整消息之前, 该方法进一步包括:  The method according to claim 8, wherein before the first edge terminal sends a time adjustment message to other terminals in the first synchronized group to which the first edge terminal belongs, the method further includes:
所述第一边缘终端延迟时间调整消息的发送。  The first edge terminal delays transmission of a time adjustment message.
13、 根据权利要求 12所述的方法, 其特征在于, 所述延迟在整数个子帧内均匀分布。 13. Method according to claim 12, characterized in that the delay is evenly distributed over an integer number of subframes.
14、 根据权利要求 9所述的方法, 其特征在于, 所述其他终端接收时间调整消息, 并 根据时间调整消息对基准时间进行调整, 包括: The method according to claim 9, wherein the other terminal receives the time adjustment message, and adjusts the reference time according to the time adjustment message, including:
所述其他终端判断接收到的时间调整消息是否为终端所属已同步群中的终端发送, 并 检测终端是否有未生效的时间调整消息;  Determining, by the other terminal, whether the received time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and detecting whether the terminal has an ineffective time adjustment message;
如果接收到的时间调整消息不为终端所属已同步群中的终端发送, 则丢弃接收到的时 间调整消息;  If the received time adjustment message is not sent by the terminal in the synchronized group to which the terminal belongs, the received time adjustment message is discarded;
如果接收到的时间调整消息为所述其他终端所属已同步群中的终端发送, 且所述其他 终端没有未生效的时间调整消息, 则根据所述时间调整消息调整基准时间, 并保存接收到 的时间调整消息;  If the received time adjustment message is sent by the terminal in the synchronized group to which the other terminal belongs, and the other terminal has no time adjustment message that is not valid, adjust the reference time according to the time adjustment message, and save the received Time adjustment message
如果接收到的时间调整消息为所述其他终端所属已同步群中的终端发送, 且终端有未 生效的时间调整消息, 则比较所述时间调整消息与未生效的时间调整消息的目标同步等 级, 如果接收到的时间调整消息的目标同步等级高于未生效的时间调整消息的目标等级, 则根据接收到的时间调整消息进行基准时间调整, 保存接收到的时间调整消息并丢弃未生 效的时间调整消息; 如果接收到的时间调整消息的目标同步等级不高于未生效的时间调整 消息的目标, 则丢弃接收到的时间调整消息, 其中, 所述目标同步等级为第二已同步群的 同步等级。  If the received time adjustment message is sent by the terminal in the synchronized group to which the other terminal belongs, and the terminal has a time adjustment message that is not valid, compare the target synchronization level of the time adjustment message with the time adjustment message that is not valid, If the target synchronization level of the received time adjustment message is higher than the target level of the time adjustment message that is not in effect, the reference time adjustment is performed according to the received time adjustment message, the received time adjustment message is saved, and the time adjustment that is not in effect is discarded. If the target synchronization level of the received time adjustment message is not higher than the target of the time adjustment message that is not valid, the received time adjustment message is discarded, where the target synchronization level is the synchronization level of the second synchronized group. .
15、 根据权利要求 14所述的方法, 其特征在于, 保存所述时间调整消息之后, 该方法 进一步包括: 所述其他终端向所属已同步群中终端转发被保存的时间调整消息。 The method according to claim 14, wherein after the saving the time adjustment message, the method further comprises: The other terminal forwards the saved time adjustment message to the terminal in the synchronized group.
16、 一种混合自组网络中群间同步终端, 其特征在于, 该终端包括:  16. A inter-group synchronization terminal in a hybrid ad hoc network, the terminal comprising:
基准时间差异确定模块, 用于接收第二边缘终端发送的用于标识时间信息的信号, 并 根据所述标识时间信息的信号确定自身的基准时间与第二边缘终端的基准时间是否有差 异; 如果确定基准时间有差异, 则确定自身和第二边缘终端分别属于不同的已同步群; 确 定基准时间差异是否超出设定范围;  a reference time difference determining module, configured to receive a signal sent by the second edge terminal for identifying time information, and determine, according to the signal identifying the time information, whether the reference time of the second edge terminal is different from the reference time of the second edge terminal; Determining that there is a difference in the reference time, determining that the self and the second edge terminal belong to different synchronized groups respectively; determining whether the reference time difference exceeds the set range;
设定规则判断模块, 用于根据设定的规则判断自身是否需要调整;  Setting a rule judging module, configured to judge whether it needs to be adjusted according to the set rule;
基准时间调整模块, 用于如果确定自身需要调整, 则将所属的第一已同步群的基准时 间调整为所述第二边缘终端所属的第二已同步群的基准时间。  The reference time adjustment module is configured to adjust the reference time of the associated first synchronized group to the reference time of the second synchronized group to which the second edge terminal belongs if it determines that it needs to be adjusted.
17、根据权利要求 16所述的终端, 其特征在于, 所述标识时间信息的信号为导频信号。 The terminal according to claim 16, wherein the signal identifying the time information is a pilot signal.
18、 根据权利要求 17所述的终端, 其特征在于, 所述基准时间差异超出设定范围为超 帧周期不同、 超帧起始位不同或者同步偏差大于设定的码片数量。 The terminal according to claim 17, wherein the reference time difference exceeds a set range of a superframe period, a superframe start bit is different, or a synchronization offset is greater than a set number of chips.
19、 根据权利要求 16所述的终端, 其特征在于, 所述基准时间调整模块还用于, 如果 确定基准时间差异未超出设定范围, 则与属于第二已同步群的第二边缘终端通过同步状态 下的慢速同步方式进行同步调整。  The terminal according to claim 16, wherein the reference time adjustment module is further configured to: if it is determined that the reference time difference does not exceed the set range, pass the second edge terminal belonging to the second synchronized group Synchronous adjustment is performed in the slow synchronization mode in the synchronous state.
20、 根据权利要求 16所述的终端, 其特征在于, 所述设定规则判断模块, 用于如果所 述第一已同步群的同步等级低于所述第二已同步群的同步等级; 或者如果所述第一已同步 群的同步等级和所述第二已同步群的同步等级相同, 且所述第一已同步群包含的边缘终端 数量少于所述第二已同步群包含的边缘终端数量; 或者如果所述第一已同步群的同步等级 和所述第二已同步群的同步等级相同, 且所述第一已同步群包含的边缘终端数量与所述第 二已同步群包含的边缘终端数量相同, 但所述第一已同步群的基准时间晚于所述第二已同 步群的基准时间, 则确定自身需要调整。  The terminal according to claim 16, wherein the setting rule determining module is configured to: if a synchronization level of the first synchronized group is lower than a synchronization level of the second synchronized group; or If the synchronization level of the first synchronized group and the synchronization level of the second synchronized group are the same, and the number of edge terminals included in the first synchronized group is less than the edge terminal included in the second synchronized group Or if the synchronization level of the first synchronized group and the synchronization level of the second synchronized group are the same, and the number of edge terminals included in the first synchronized group and the second synchronized group are included The number of edge terminals is the same, but the reference time of the first synchronized group is later than the reference time of the second synchronized group, then it is determined that it needs to be adjusted.
21、 根据权利要求 20所述的终端, 其特征在于, 所述基准时间调整模块用于根据自身 生成的时间调整消息对基准时间进行调整, 并向其所属的第一已同步群中其他终端发送时 间调整消息。  The terminal according to claim 20, wherein the reference time adjustment module is configured to adjust a reference time according to a time adjustment message generated by itself, and send the reference time to other terminals in the first synchronized group to which it belongs. Time adjustment message.
22、 根据权利要求 21所述的终端, 其特征在于, 所述终端还包括:  The terminal according to claim 21, wherein the terminal further comprises:
时间调整消息处理模块, 用于接收时间调整消息, 并根据时间调整消息对基准时间进 行调整。  The time adjustment message processing module is configured to receive the time adjustment message, and adjust the reference time according to the time adjustment message.
23、 根据权利要求 22所述的终端, 其特征在于, 所述时间调整消息包括: 基准时间调 整量和目标同步等级;  The terminal according to claim 22, wherein the time adjustment message comprises: a reference time adjustment amount and a target synchronization level;
所述基准时间调整量为所述第一已同步群与第二已同步群基准时间差值, 或者为第一 已同步群与第二已同步群的基准时间差值减去第一已同步群内同步的基准时间预计调整 量; 所述目标同步等级为第二已同步群的同步等级。 The reference time adjustment amount is a reference time difference between the first synchronized group and the second synchronized group, or a reference time difference between the first synchronized group and the second synchronized group minus the first synchronized group The reference time of the internal synchronization is estimated by the adjustment amount; the target synchronization level is the synchronization level of the second synchronized group.
24、 根据权利要求 22所述的终端, 其特征在于, 所述时间调整消息还包括: 相对调整 子帧数、 调整约定时间和目标超帧周期中的一种或多种。 The terminal according to claim 22, wherein the time adjustment message further comprises: one or more of a relative adjustment subframe number, an adjustment appointment time, and a target superframe period.
25、 根据权利要求 24所述的终端, 其特征在于, 所述基准时间调整模块还用于, 在向 其所属的第一已同步群中其他终端发送时间调整消息之前, 延迟时间调整消息的发送。  The terminal according to claim 24, wherein the reference time adjustment module is further configured to: send a delay time adjustment message before sending a time adjustment message to other terminals in the first synchronized group to which it belongs .
26、 根据权利要求 22所述的终端, 其特征在于, 所述时间调整消息处理模块还用于, 判断接收到的时间调整消息是否为终端所属已同步群中的终端发送, 并检测终端是否有未 生效的时间调整消息;  The terminal according to claim 22, wherein the time adjustment message processing module is further configured to: determine whether the received time adjustment message is sent by a terminal in the synchronized group to which the terminal belongs, and detect whether the terminal has Time adjustment message that is not in effect;
如果所述时间调整消息不为终端所属已同步群中的终端发送, 则丢弃所述时间调整消 息;  If the time adjustment message is not sent by the terminal in the synchronized group to which the terminal belongs, discarding the time adjustment message;
如果所述时间调整消息为终端所属已同步群中的终端发送, 且终端没有未生效的时间 调整消息, 则才 居所述时间调整消息调整基准时间, 并保存所述时间调整消息;  If the time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has no time adjustment message that is not valid, the time adjustment message is adjusted to the reference time, and the time adjustment message is saved;
如果所述时间调整消息为终端所属已同步群中的终端发送, 且终端有未生效的时间调 整消息, 则比较所述时间调整消息与未生效的时间调整消息的目标同步等级, 如果接收到 的时间调整消息的目标同步等级高于未生效的时间调整消息的目标等级, 则根据接收到的 时间调整消息进行基准时间调整, 保存接收到的时间调整消息并丢弃未生效的时间调整消 息; 如果接收到的时间调整消息的目标同步等级不高于未生效的时间调整消息的目标, 则 丢弃接收到的时间调整消息, 其中, 所述目标同步等级为第二已同步群的同步等级。  If the time adjustment message is sent by the terminal in the synchronized group to which the terminal belongs, and the terminal has a time adjustment message that is not valid, compare the target synchronization level of the time adjustment message with the non-effective time adjustment message, if received If the target synchronization level of the time adjustment message is higher than the target level of the time adjustment message that is not in effect, the reference time adjustment is performed according to the received time adjustment message, the received time adjustment message is saved, and the time adjustment message that is not in effect is discarded; If the target synchronization level of the time adjustment message is not higher than the target of the time adjustment message that is not valid, the received time adjustment message is discarded, where the target synchronization level is the synchronization level of the second synchronized group.
27、 根据权利要求 26所述的终端, 其特征在于, 所述时间调整消息处理模块还用于向 所属已同步群中终端转发被保存的时间调整消息。  The terminal according to claim 26, wherein the time adjustment message processing module is further configured to forward the saved time adjustment message to the terminal in the synchronized group.
PCT/CN2012/081693 2011-11-29 2012-09-20 Method and terminal for synchronizing groups in hybrid self-organizing network WO2013078901A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110388337.0 2011-11-29
CN2011103883370A CN102364982A (en) 2011-11-29 2011-11-29 Method for synchronizing groups and terminal in mixed self-organizing network

Publications (1)

Publication Number Publication Date
WO2013078901A1 true WO2013078901A1 (en) 2013-06-06

Family

ID=45691528

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/081693 WO2013078901A1 (en) 2011-11-29 2012-09-20 Method and terminal for synchronizing groups in hybrid self-organizing network

Country Status (2)

Country Link
CN (1) CN102364982A (en)
WO (1) WO2013078901A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015020603A1 (en) * 2013-08-09 2015-02-12 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for timing misalignment signalling
US9560614B2 (en) 2013-08-09 2017-01-31 Telefonaktiebolaget Lm Ericsson (Publ) Direct control signaling in a wireless communication system
US9974051B2 (en) 2013-04-12 2018-05-15 Telefonaktiebolaget L M Ericsson (Publ) Method and wireless device for providing device-to-device communication

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364982A (en) * 2011-11-29 2012-02-29 电信科学技术研究院 Method for synchronizing groups and terminal in mixed self-organizing network
JP5782560B2 (en) * 2012-03-02 2015-09-24 富士通株式会社 Node and communication control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050117530A1 (en) * 2003-11-06 2005-06-02 Lucent Technologies Inc. Clustering based load adaptive sleeping protocol for ad hoc networks
CN1645766A (en) * 2004-11-30 2005-07-27 西安电子科技大学 Inter-synchronuos method for mobile wireless self-organized network
CN1719792A (en) * 2005-05-30 2006-01-11 中国人民解放军理工大学 Wireless communication simulator and simulating method for TDMA Ad hoc network
CN101136693A (en) * 2007-10-09 2008-03-05 东南大学 Time-division synchronous code division multiple access based self-organizing network synchronous system implementing method
CN102364982A (en) * 2011-11-29 2012-02-29 电信科学技术研究院 Method for synchronizing groups and terminal in mixed self-organizing network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2374845C (en) * 1999-05-28 2008-08-05 Brian K. Mcmillin Wireless transceiver network employing node-to-node data messaging
US8838776B2 (en) * 2007-09-26 2014-09-16 Vega Grieshaber Kg Method for the automatic time synchronisation of devices in network-based systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050117530A1 (en) * 2003-11-06 2005-06-02 Lucent Technologies Inc. Clustering based load adaptive sleeping protocol for ad hoc networks
CN1645766A (en) * 2004-11-30 2005-07-27 西安电子科技大学 Inter-synchronuos method for mobile wireless self-organized network
CN1719792A (en) * 2005-05-30 2006-01-11 中国人民解放军理工大学 Wireless communication simulator and simulating method for TDMA Ad hoc network
CN101136693A (en) * 2007-10-09 2008-03-05 东南大学 Time-division synchronous code division multiple access based self-organizing network synchronous system implementing method
CN102364982A (en) * 2011-11-29 2012-02-29 电信科学技术研究院 Method for synchronizing groups and terminal in mixed self-organizing network

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9974051B2 (en) 2013-04-12 2018-05-15 Telefonaktiebolaget L M Ericsson (Publ) Method and wireless device for providing device-to-device communication
US10912062B2 (en) 2013-04-12 2021-02-02 Telefonaktiebolaget Lm Ericsson (Publ) Method and wireless device for providing device-to-device communication
WO2015020603A1 (en) * 2013-08-09 2015-02-12 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for timing misalignment signalling
US9560614B2 (en) 2013-08-09 2017-01-31 Telefonaktiebolaget Lm Ericsson (Publ) Direct control signaling in a wireless communication system
US10104714B2 (en) 2013-08-09 2018-10-16 Telefonaktiebolaget L M Ericsson (Publ) Method and Apparatus for timing misalignment signalling
US10306575B2 (en) 2013-08-09 2019-05-28 Telefonaktiebolaget Lm Ericsson (Publ) Direct control signaling in a wireless communication system
US10834691B2 (en) 2013-08-09 2020-11-10 Telefonaktiebolaget Lm Ericsson (Publ) Direct control signaling in a wireless communication system

Also Published As

Publication number Publication date
CN102364982A (en) 2012-02-29

Similar Documents

Publication Publication Date Title
US8730937B2 (en) Method and an apparatus for synchronization among the neighboring base stations in the wireless communication system
JP6397016B2 (en) User equipment
WO2013078901A1 (en) Method and terminal for synchronizing groups in hybrid self-organizing network
CN102869087B (en) The hardware time synchronization implementation method of industry Internet of Things chip
EP2375834A2 (en) Maintaining time of day synchronization
WO2008053519A1 (en) Wireless lan communication device and beacon transmitting method
US11259144B2 (en) Media access control (MAC) frame structure and data communication method in a real-time localization system
WO2013020499A1 (en) Method and device for implementing automatic compensation for asymmetric delay of 1588 link
EP2997393B1 (en) Access point-assisted positioning framework
WO2016037571A1 (en) A method and apparatus for clock synchronization
WO2016141071A1 (en) Wireless synchronization based on beacons
CN111095838B (en) Early data retransmission for message 3
US8942201B1 (en) Beacon frame scheduling in an independent basic service set network
CN113170505B (en) Enhanced channel occupancy sharing mechanism for random access and PUCCH in unlicensed spectrum
US11486998B2 (en) Ultra-wideband (UWB) positioning system, base station, tag and operation methods thereof
JP2017521975A (en) Synchronization method, synchronization device, and base station
TW201733386A (en) Clock synchronization method, mobile network system, network controller and network switch
JP7220798B2 (en) Arrival Time Difference Based Timing Advance Change Detection
CN102665287B (en) Exponential backoff multiple access method in cooperation with network-assisted diversity
WO2014012259A1 (en) Method, base station and system for achieving time division duplex configuration of auxiliary cell
WO2015042955A1 (en) Synchronization method and apparatus
CN103701581B (en) Method for realizing IEEE1588 master clock
WO2013044866A1 (en) Synchronization time difference obtaining method, device, and system
KR101498561B1 (en) System and method for can communication based tdma digital technology for global synchronization
Lin et al. Exploiting spatial correlation at the link layer for event–driven sensor networks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12854207

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12854207

Country of ref document: EP

Kind code of ref document: A1