CN102118211A - Timing and synchronization method for media-sharing STDM system - Google Patents
Timing and synchronization method for media-sharing STDM system Download PDFInfo
- Publication number
- CN102118211A CN102118211A CN2011100258753A CN201110025875A CN102118211A CN 102118211 A CN102118211 A CN 102118211A CN 2011100258753 A CN2011100258753 A CN 2011100258753A CN 201110025875 A CN201110025875 A CN 201110025875A CN 102118211 A CN102118211 A CN 102118211A
- Authority
- CN
- China
- Prior art keywords
- frame
- timing
- time
- round
- trip delay
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
本发明公开了一种用于共享媒质统计时分复用系统的定时与同步方法,主要解决点到多点网络现有技术的定时同步开销大,往返时延测量方法复杂的问题。其实现步骤是:中心站点周期性发送无时间戳的定时与同步帧D;从属站点以收到D帧的时刻为基准,在约定的偏移时刻发送往返时延测量帧U;中心站点收到U帧后通过U帧到达时刻的偏移值与约定偏移值之差得出往返时延;中心站点以本地发送D帧时刻为基准,用相对于基准的偏移值表示信道规划信息,并进行时延补偿处理;从属站点收到信道规划信息后,按中心站点指定的偏移时刻访问信道。本发明具有定时与同步开销小,往返时延测量简单的优点,可用于共享媒质的点到多点接入网和局域网领域。
The invention discloses a timing and synchronization method for a statistical time-division multiplexing system of a shared medium, which mainly solves the problems of large timing synchronization overhead and complicated round-trip delay measurement method in the prior art of point-to-multipoint network. The implementation steps are: the central station periodically sends timing and synchronization frame D without time stamp; the slave station sends the round-trip delay measurement frame U at the agreed offset time based on the time when the D frame is received; the central station receives After the U frame, the round-trip delay is obtained by the difference between the offset value of the arrival time of the U frame and the agreed offset value; the central station takes the time when the D frame is sent locally as the reference, and uses the offset value relative to the reference to represent the channel planning information, and Perform delay compensation processing; after receiving the channel planning information, the slave station accesses the channel according to the offset time specified by the central station. The invention has the advantages of small timing and synchronization overhead and simple round-trip delay measurement, and can be used in the field of point-to-multipoint access network and local area network sharing media.
Description
技术领域technical field
本发明属于通信技术领域,涉及一种定时与同步方法,具体涉及一种用于共享媒质统计时分复用系统的定时与同步方法,可用于基于共享媒质统计时分复用技术的点到多点局域网和接入网领域。The invention belongs to the technical field of communication, and relates to a timing and synchronization method, in particular to a timing and synchronization method for a shared medium statistical time division multiplexing system, which can be used for a point-to-multipoint local area network based on a shared medium statistical time division multiplexing technology and access networks.
背景技术Background technique
统计时分复用STDM是一种常用的信道复用技术,在这种技术中,信道被以时分的方式划分并在多个用户间动态共享。这种技术根据用户的实际需要动态分配信道资源,当某个用户有数据要传输时,则为该用户分配信道资源;当用户暂停数据传输时,则不为该用户分配信道资源,此时信道的传输能力可以被其他用户使用,从而具有较高的信道利用率。Statistical time-division multiplexing (STDM) is a commonly used channel multiplexing technology. In this technology, channels are divided in a time-division manner and dynamically shared among multiple users. This technology dynamically allocates channel resources according to the actual needs of users. When a user has data to transmit, channel resources are allocated to the user; when the user suspends data transmission, channel resources are not allocated to the user. The transmission capacity can be used by other users, thus having a high channel utilization rate.
这一技术广泛应用在基于共享媒质的局域网和接入网中,其常见形式是一个有中心的点到多点网络。在这种网络中,存在一个中心站点统一分配信道资源,除中心站点之外的其它站点称为从属站点,当从属站点有数据要传输时,首先要由中心站点为其分配信道资源,典型的方式是由从属站点向中心站点发出请求,然后中心站点进行准许分配,或者中心站点规划一段时间由多个站点以竞争的方式来共享这段信道资源,从属站点必须严格按照中心站点指定的时间接入信道。This technology is widely used in local area networks and access networks based on shared media, and its common form is a point-to-multipoint network with a center. In this kind of network, there is a central station that allocates channel resources uniformly, and other stations except the central station are called subordinate stations. When the subordinate stations have data to transmit, the central station must first allocate channel resources for them. Typical The method is that the subordinate station sends a request to the central station, and then the central station grants the allocation, or the central station plans a period of time for multiple stations to share this channel resource in a competitive manner, and the subordinate station must strictly follow the time specified by the central station. into the channel.
上述由中心站点基于统计时分复用技术分配信道资源的方式实际上将信道划分成了连续且大小不一的时间段,各从属站点按中心站点指定的时间段有序使用信道资源。为了让上述基于统计时分复用技术的共享媒质系统正常工作,首先需要解决两个问题,一是定时的问题,即中心站点如何表示其划分的各个时间段在信道时间轴上的起止时刻;二是同步的问题,即从属站点的时钟要与中心站点的时钟建立同步,这样才能使中心站点和从属站点基于相同的时间基准接入信道。此外,在覆盖范围较大的接入网中,各从属站点到中心站点的距离差异较大导致各从属站点到中心站点之间的信号传播时延差异较大,这将导致不同从属站点与中心站点之间的同步程度不同,从而可能导致不同从属站点的信号发生碰撞,因此,还需要解决同步校正的问题,即消除信号传播时延对同步造成的影响。The above method of allocating channel resources by the central station based on the statistical time division multiplexing technology actually divides the channel into continuous time periods of different sizes, and each subordinate station uses the channel resources in an orderly manner according to the time period specified by the central station. In order to make the above-mentioned shared media system based on statistical time division multiplexing technology work normally, two problems need to be solved at first. One is the timing problem, that is, how the central site indicates the start and end times of each time segment it divides on the channel time axis; It is a problem of synchronization, that is, the clock of the slave station must establish synchronization with the clock of the central station, so that the central station and the subordinate station can access the channel based on the same time reference. In addition, in an access network with a large coverage area, the distance between each subordinate site and the central site is greatly different, resulting in a large difference in the signal propagation delay between each subordinate site and the central site, which will lead to different The degree of synchronization between the stations is different, which may cause the signals of different subordinate stations to collide. Therefore, it is also necessary to solve the problem of synchronization correction, that is, to eliminate the influence of signal propagation delay on synchronization.
上述共享媒质统计时分复用技术在实际使用中,一般是将信道划分成连续的数据传输周期,每个数据传输周期DTC由若干个时间段组成,每个时间段是一次数据传输机会。系统的定时与同步是由中心站点发布系统时间,典型的方式是周期性发布携带系统时间戳的信标帧,从属站点根据中心站点发布的系统时间来重置本地的计时器,从而建立各从属站点与中心站点之间的同步。各数据传输周期的起止时刻以系统时钟值表示,每个数据传输周期中的各时间段则以相对数据传输周期起点时刻的偏移值表示。上述现有共享媒质统计时分复用系统使用现有定时与同步方法的数据传输周期示意图如图1所示,其中B帧为中心站点以固定周期发布的Beacon帧,即信标帧,携带有系统时间戳值,当从属站点收到B帧时重置自己的本地时钟值,从而与中心站点建立时钟同步。每个数据传输周期DTC的信道分配由中心站点通过专门的信道规划帧发布,在信道规划帧中使用系统时间值来表示DTC的起止时刻以及DTC中每个传输时间段的起止时刻,每个时间段的起止时刻使用相对该DTC起始时刻的偏移值来表示。In actual use of the above shared medium statistical time division multiplexing technology, the channel is generally divided into continuous data transmission periods, and each data transmission period DTC is composed of several time periods, and each time period is a data transmission opportunity. The timing and synchronization of the system is issued by the central site. The typical way is to periodically issue beacon frames carrying system time stamps. The slave sites reset the local timers according to the system time issued by the central site, thereby establishing the system time of each slave. Synchronization between sites and central site. The start and end times of each data transmission cycle are represented by the system clock value, and each time period in each data transmission cycle is represented by an offset value relative to the starting point of the data transmission cycle. The schematic diagram of the data transmission cycle of the above-mentioned existing shared media statistical time division multiplexing system using the existing timing and synchronization method is shown in Figure 1, wherein the B frame is the Beacon frame issued by the central station at a fixed period, that is, the beacon frame, carrying the system Timestamp value. When the slave station receives the B frame, it resets its own local clock value, thereby establishing clock synchronization with the central station. The channel allocation of DTC in each data transmission cycle is issued by the central site through a special channel planning frame, and the system time value is used in the channel planning frame to indicate the start and end moments of DTC and the start and end moments of each transmission period in DTC, each time The start and end times of a segment are represented by offset values relative to the start time of the DTC.
为解决上文所述的同步校正问题,需测量中心站点和从属站点之间的往返时延。通常采用的测量往返时延的方法如图2所示,当从属站点收到中心站点发来的带有时间戳的测量帧时,重置本地时钟为收到的时间戳值,等待一段时间进行处理后返回一个带有本地当前时间戳的响应帧,当中心站点收到从属站点发来的响应帧时,将利用该帧中携带的时间戳值计算它与从属站点之间的往返时延。往返时延等于下行时延与上行时延之和,由图2可知往返时延RTT=Tdown+Tup=T响应-T等待=(t2-t0)-(t1-t0)=t2-t1,即往返时延等于中心站点当前本地时钟值与所收到的响应帧中时间戳值的差值。按上述方法获得往返时延之后,中心站点调整从属站点的发送时刻以保证信号在中心站点期望的正确时间到达,从而避免碰撞。To solve the synchronization correction problem described above, it is necessary to measure the round-trip delay between the central site and the slave sites. The commonly used method of measuring the round-trip delay is shown in Figure 2. When the slave station receives the measurement frame with a time stamp from the central station, it resets the local clock to the received time stamp value and waits for a period of time to proceed. After processing, a response frame with the local current timestamp is returned. When the central station receives the response frame from the slave station, it will use the timestamp value carried in the frame to calculate the round-trip delay between it and the slave station. The round-trip delay is equal to the sum of the downlink delay and the uplink delay. From Figure 2, it can be seen that the round-trip delay RTT=T down +T up =T response -T wait =(t 2 -t 0 )-(t 1 -t 0 ) =t 2 -t 1 , that is, the round-trip delay is equal to the difference between the current local clock value of the central site and the time stamp value in the received response frame. After the round-trip time delay is obtained by the above method, the central station adjusts the sending time of the subordinate stations to ensure that the signal arrives at the correct time expected by the central station, thereby avoiding collisions.
上述的定时与同步方法依赖于中心站点发布的时间戳,数据传输周期的定时需要用系统时间表示,开销较大;往返时延的测量需要设计专门的流程,较为复杂。The above timing and synchronization methods rely on the timestamp issued by the central site, and the timing of the data transmission cycle needs to be represented by the system time, which is expensive; the measurement of the round-trip delay requires the design of a special process, which is relatively complicated.
发明内容Contents of the invention
本发明的目的在于避免上述已有技术中的不足,基于点到多点网络提出一种用于共享媒质统计时分复用系统的定时与同步方法,以减小系统的定时与同步开销,简化测量中心站点和从属站点之间往返时延的方法。The purpose of the present invention is to avoid the deficiencies in the above-mentioned prior art, and propose a timing and synchronization method for a shared medium statistical time division multiplexing system based on a point-to-multipoint network, so as to reduce the timing and synchronization overhead of the system and simplify measurement A method of round-trip delay between the central site and the slave sites.
实现本发明目的的技术方案,包括如下步骤:The technical solution for realizing the object of the present invention comprises the following steps:
1)中心站点以固定周期长度或可变周期长度发送无时间戳的定时与同步帧D;1) The central station sends a timing and synchronization frame D without a time stamp with a fixed cycle length or a variable cycle length;
2)从属站点用本地收到无时间戳的定时与同步帧D的时刻作为时间基准,在系统规定的偏移值对应的时刻发送无时间戳的往返时延测量帧U;2) The slave station uses the time when the timing and synchronization frame D without a time stamp is received locally as a time reference, and sends a round-trip delay measurement frame U without a time stamp at the time corresponding to the offset value specified by the system;
3)中心站点在收到无时间戳的往返时延测量帧U后,用本地发送无时间戳的定时与同步帧D的时刻作为时间基准,用收到U帧的当前时刻对应的计数值减去步骤2)中发送U帧的系统规定的偏移值,得出中心站点与上述从属站点之间的往返时延;3) After the central station receives the round-trip delay measurement frame U without a timestamp, it uses the timing and synchronization frame D sent locally without a timestamp as the time reference, and subtracts the corresponding count value from the current moment when the U frame is received Go step 2) in the offset value that sends the system regulation of U frame, draw the round-trip time delay between central station and above-mentioned subordinate station;
4)中心站点以本地发送无时间戳的定时与同步帧D的时刻作为时间基准进行信道规划,用相对于基准的偏移值表示信道规划信息,并使用步骤3)中得到的往返时延对偏移值进行时延补偿处理,再通过发送信道规划帧E发布信道规划信息;4) The central station uses the timing and the time when the synchronization frame D is sent locally without a time stamp as the time reference for channel planning, and uses the offset value relative to the reference to represent the channel planning information, and uses the round-trip delay obtained in step 3) to The offset value is processed for delay compensation, and then the channel planning information is released by sending the channel planning frame E;
5)从属站点在收到信道规划帧E时,用本地收到无时间戳的定时与同步帧D的时刻作为时间基准,在信道规划帧E中偏移值指定的时刻进行数据收发。5) When the slave station receives the channel planning frame E, it uses the time when it receives the timing and synchronization frame D locally without a time stamp as the time reference, and transmits and receives data at the time specified by the offset value in the channel planning frame E.
所述的无时间戳的定时与同步帧D和无时间戳的往返时延测量帧U,根据需要进一步用于承载任何有用信息。The timing and synchronization frame D without a time stamp and the round-trip delay measurement frame U without a time stamp are further used to carry any useful information as required.
所述的“用相对于基准的偏移值表示信道规划信息”,是以本地发送无时间戳的定时与同步帧D的时刻作为基准,用相对于基准的偏移值表示数据传输周期的起止时刻;以数据传输周期起始时刻作为基准,用相对于基准的偏移值表示该数据传输周期中各时间段的起止时刻。The above-mentioned "representing channel planning information with an offset value relative to the reference" is based on the timing of the local transmission without a time stamp and the time of the synchronization frame D, and uses an offset value relative to the reference to indicate the start and end of the data transmission cycle Time: Taking the start time of the data transmission cycle as a reference, the start and end time of each time period in the data transmission cycle is represented by an offset value relative to the reference.
所述的“时延补偿处理”,是指中心站点将从属站点收发数据的规划值减去中心站点与该从属站点之间的往返时延值。The "delay compensation processing" refers to that the central site subtracts the round-trip time delay value between the central site and the subordinate site from the planning value of data sent and received by the subordinate site.
本发明具有如下优点:The present invention has the following advantages:
1)本发明由于采用基于无时间戳的定时与同步帧D建立系统同步,并以D的起始时刻作为时间基准,使用相对于基准的偏移值表示信道规划信息,因而可减小系统的定时与同步开销。1) The present invention uses the timing based on no time stamp to establish system synchronization with the synchronization frame D, and uses the starting moment of D as the time reference, and uses the offset value relative to the reference to represent the channel planning information, thereby reducing the system's Timing and synchronization overhead.
2)本发明由于从属站点是在相对于无时间戳的定时与同步帧D的固定偏移时刻发送无时间戳的往返时延测量帧U,中心站点只需根据U帧的到达时刻与规定的到达时刻之差即可得到中心站点与从属站点之间的往返时延,简化了往返时延的测量过程。2) In the present invention, since the subordinate station sends the round-trip delay measurement frame U without a time stamp at a fixed offset moment relative to the timing without a time stamp and the synchronization frame D, the central station only needs to compare the time of arrival of the U frame with the specified The round-trip delay between the central site and the subordinate sites can be obtained from the difference of the arrival time, which simplifies the measurement process of the round-trip delay.
附图说明Description of drawings
图1是使用现有定时与同步方法的数据传输周期示意图;FIG. 1 is a schematic diagram of a data transmission cycle using an existing timing and synchronization method;
图2是现有的往返时延测量方法示意图;FIG. 2 is a schematic diagram of an existing round-trip delay measurement method;
图3是使用本发明定时与同步方法的数据传输周期示意图;Fig. 3 is a schematic diagram of a data transmission cycle using the timing and synchronization method of the present invention;
图4是本发明的定时与同步方法示意图。Fig. 4 is a schematic diagram of the timing and synchronization method of the present invention.
具体实施方式Detailed ways
下面结合附图对本发明的内容做进一步阐述。The content of the present invention will be further elaborated below in conjunction with the accompanying drawings.
在本实施例中,设网络环境是同轴电缆接入网,设无时间戳的定时与同步帧D以固定周期长度发送时,周期为64ms,以可变周期长度发送时,发送周期间隔最小为60ms最大为64ms,无时间戳的往返时延测量帧U的发送偏移时刻为32ms,系统的时钟计数器精度为20ns,采用时分双工和时分多址的接入技术,中心站点为各从属站点分配信道资源,统一调度各从属站点收发数据的时间。In this embodiment, assume that the network environment is a coaxial cable access network, and when the timing and synchronization frame D without a time stamp is sent with a fixed cycle length, the cycle is 64ms. When it is sent with a variable cycle length, the sending cycle interval is the smallest 60ms to a maximum of 64ms, the transmission offset time of the round-trip delay measurement frame U without a time stamp is 32ms, the system clock counter accuracy is 20ns, and the access technology of time division duplex and time division multiple access is adopted, and the central site is each slave The station allocates channel resources, and uniformly schedules the time for each subordinate station to send and receive data.
参见图4,本实施例的实现步骤如下:Referring to Fig. 4, the implementation steps of this embodiment are as follows:
步骤1,中心站点发送无时间戳的定时与同步帧D,并在发送该D帧的时刻将本地时钟计数器清零。Step 1, the central station sends a timing and synchronization frame D without a time stamp, and clears the local clock counter at the moment when the D frame is sent.
中心站点发送无时间戳的定时与同步帧D的数据传输周期如图3所示,其中的D帧没有时间戳,D帧之间有多个数据传输周期DTC,每个DTC含有多个传输数据的时间段。中心站点发送无时间戳的定时与同步帧D有两种方式,一种是以固定周期间隔64ms发送,另一种是以最小间隔为60ms最大间隔为64ms的周期发送,每一种的发送方式在发送定时与同步帧D的时刻,都要将本地时钟计数器清零。The data transmission period of the timing and synchronization frame D sent by the central site without a time stamp is shown in Figure 3, where the D frame has no time stamp, and there are multiple data transmission periods DTC between the D frames, and each DTC contains multiple transmission data time period. There are two ways for the central site to send timing and synchronization frames D without time stamps. One is to send at a fixed cycle interval of 64ms, and the other is to send at a cycle with a minimum interval of 60ms and a maximum interval of 64ms. Each transmission method At the moment when the timing and synchronization frame D is sent, the local clock counter must be cleared.
步骤2,从属站点在约定偏移时刻发送无时间戳的往返时延测量帧U。Step 2, the slave station sends a round-trip delay measurement frame U without a time stamp at the agreed offset time.
从属站点在收到无时间戳的定时与同步帧D时,将本地时钟计数器清零,根据本实施例假设发送无时间戳的往返时延测量帧U的偏移时刻为32ms,换算成计数器值为32ms/20ns=1600000,因此,从属站点在等到本地时钟计数器的值为1600000时,发送无时间戳的往返时延测量帧U。When the slave station receives the timing and synchronization frame D without a timestamp, it clears the local clock counter. According to this embodiment, it is assumed that the offset time of sending the round-trip delay measurement frame U without a timestamp is 32ms, which is converted into a counter value It is 32ms/20ns=1600000, therefore, when the slave station waits until the value of the local clock counter is 1600000, it sends a round-trip delay measurement frame U without a time stamp.
步骤3,中心站点在收到U帧时计算往返时延值。In step 3, the central station calculates the round-trip delay value when receiving the U frame.
中心站点用收到U帧时刻的本地计数器值减去约定的发送U帧时刻的计数器值,得出与从属站点之间的往返时延。以中心站点在收到U帧时本地时钟计数器值为1600500为例,从步骤2可知系统约定的发送U帧的偏移时刻对应的计数器值为1600000,从而得出中心站点与从属站点之间的往返时延RTT=(1600500-1600000)*20ns=10us,该往返时延对应计数器的计数值为:1600500-1600000=500。The central site subtracts the agreed counter value at the time of sending the U frame from the local counter value at the time of receiving the U frame to obtain the round-trip delay with the slave site. Taking the local clock counter value of 1600500 when the central site receives the U frame as an example, it can be seen from step 2 that the counter value corresponding to the offset time of sending the U frame agreed by the system is 1600000, thus the distance between the central site and the subordinate sites can be obtained The round-trip time delay RTT=(1600500-1600000)*20ns=10us, the count value of the counter corresponding to the round-trip time delay is: 1600500-1600000=500.
步骤4,中心站点对从属站点各数据的收发时间进行规划,并进行时延补偿处理。Step 4, the central site plans the sending and receiving time of each data of the subordinate sites, and performs delay compensation processing.
中心站点根据从属站点的资源需求情况对信道时间进行分配,即安排从属站点访问信道的时间,首先将数据传输周期的起止时刻用相对于本地D帧起始时刻的偏移值表示,再以数据传输周期起始时刻的偏移值为基准,将数据传输周期内从属站点访问信道的各时间段的起止时刻用相对于基准的偏移值表示;得出上述偏移值信息之后再进行时延补偿处理,即将偏移值减去往返时延对应的计数器值。以中心站点对两个D帧之间的某个数据传输周期T进行规划为例,以发送D帧的起始时刻为基准,假定数据传输周期T的起止时刻的偏移值分别为8ms和10ms,规划从属站点在数据传输周期T内发送数据P的起始偏移时刻为20us,发送数据P的结束偏移时刻为220us,即数据P对应的发送时间段长度为200us。The central station allocates the channel time according to the resource requirements of the subordinate stations, that is, arranges the time for the subordinate stations to access the channel. Firstly, the start and end times of the data transmission period are represented by the offset value relative to the start time of the local D frame, and then expressed by the data The offset value at the beginning of the transmission cycle is the reference, and the start and end of each time period in which the slave station accesses the channel in the data transmission cycle is represented by the offset value relative to the reference; after the above offset value information is obtained, the time delay is performed Compensation processing is to subtract the counter value corresponding to the round-trip delay from the offset value. Take the planning of a certain data transmission period T between two D frames by the central site as an example, and take the start time of sending D frames as the benchmark, assuming that the offset values of the start and end times of the data transmission period T are 8ms and 10ms respectively , it is planned that the start offset time of the slave station sending data P in the data transmission period T is 20us, and the end offset time of sending data P is 220us, that is, the length of the sending time period corresponding to data P is 200us.
4a)计算出数据传输周期T起止时刻对应的计数器值,本实施例中T的起始时刻对应的计数值为8ms/20ns=400000,终止时刻对应的计数值为10ms/20ns=500000;以数据传输周期T起始时刻为基准,计算出在一个数据传输周期T内从属站点进行发送的各时间段的起止时刻对应的计数值,本实施例中从属站点发送数据P的时间段起始时刻对应的计数值为20us/20ns=1000,该时间段终止时刻对应的计数值为220us/20ns=11000;4a) Calculate the counter value corresponding to the start and end moments of the data transmission cycle T, the count value corresponding to the start moment of T in this embodiment is 8ms/20ns=400000, and the count value corresponding to the end moment is 10ms/20ns=500000; The starting time of the transmission cycle T is used as a reference, and the count value corresponding to the start and end time of each time period sent by the slave station within a data transmission period T is calculated. In this embodiment, the starting time of the time period for sending data P by the slave station corresponds to The count value of the time period is 20us/20ns=1000, and the corresponding count value at the end of this time period is 220us/20ns=11000;
4b)将从属站点发送时间段起止时刻对应的偏移值减去往返时延对应的计数值,得出时延补偿之后的时间段偏移值,本实施例中将从属站点发送数据P的时间段起始时刻的偏移值进行时延补偿之后的值为1000-500=500,该时间段终止时刻的偏移值进行时延补偿之后的值为11000-500=10500;4b) Subtract the count value corresponding to the round-trip delay from the offset value corresponding to the start and end moments of the slave station sending time period to obtain the time period offset value after delay compensation. In this embodiment, the time when the slave station sends data P The value of the offset value at the beginning of the segment after delay compensation is 1000-500=500, and the value of the offset value at the end of the time segment after delay compensation is 11000-500=10500;
4c)将步骤4a)和4b)中规划偏移值信息封装到信道规划帧E中,E帧中含有以本地发送无时间戳的定时与同步帧D为基准,数据传输周期的起止偏移值时刻,以及以该数据传输周期起始时刻为基准,该数据传输周期中各时间段经过时延补偿之后的起止偏移值时刻;由于本实施例中两个D帧之间的间隔最大为64ms,其对应的计数值为3200000,因此本实施例中在信道规划帧E中最多需要22个二进制比特即可表示出上述规划偏移值信息。4c) Encapsulate the planned offset value information in steps 4a) and 4b) into the channel planning frame E, which contains the start and end offset values of the data transmission cycle based on the timing and synchronization frame D sent locally without a time stamp time, and with the start time of the data transmission cycle as the reference, the start and end offset value time after delay compensation of each time period in the data transmission cycle; since the interval between the two D frames in this embodiment is at most 64ms , and its corresponding count value is 3,200,000, so in this embodiment, at most 22 binary bits are needed in the channel planning frame E to represent the planning offset information.
步骤5,从属站点在收到信道规划帧E后,按指定的时刻访问信道。Step 5, after receiving the channel planning frame E, the slave station accesses the channel according to the specified time.
5a)根据E帧中的偏移值信息计算数据传输周期内各时间段发送起止时刻对应的计数器值,发送起始时刻的计数值为数据传输周期起始时刻的偏移值与数据传输周期内各发送时间段的起始时刻偏移值之和,发送结束时刻的计数值为数据传输周期起始时刻的偏移值与数据传输周期内各发送时间段结束时刻偏移值之和;本实施例中从属站点发送数据P的起始时刻对应的计数值为400000+500=400500,发送结束时刻对应的计数值为400000+10500=410500;5a) According to the offset value information in the E frame, calculate the counter value corresponding to the start and end time of each time period in the data transmission cycle, and the count value at the start time of the transmission is the offset value of the start time of the data transmission cycle and the data transmission cycle The sum of the start time offset values of each sending time period, the count value of the sending end time is the sum of the offset value of the start time of the data transmission cycle and the end time offset value of each sending time period in the data transmission cycle; this implementation In the example, the count value corresponding to the start time of the data P sent by the slave station is 400000+500=400500, and the count value corresponding to the end time of sending is 400000+10500=410500;
5b)从属站点按步骤5a)中得到的计数器值访问信道,本实施例中从属站点在其计数器值为400500时开始发送数据P,在其计数器值为410500时结束发送数据P。5b) The slave station accesses the channel according to the counter value obtained in step 5a). In this embodiment, the slave station starts sending data P when the counter value is 400500, and ends sending data P when the counter value is 410500.
在本实施例中,上述D帧和U帧除用于定时与同步外,可根据系统需要进一步承载任何有用信息,比如将D帧和U帧用于承载信道训练信息。In this embodiment, in addition to being used for timing and synchronization, the above-mentioned D frames and U frames may further carry any useful information according to system requirements, for example, the D frames and U frames are used to carry channel training information.
以上仅为本发明的一个优选实例,不构成对本发明的任何限制,显然根据本发明的构思本领域的技术人员均可作出不同的修改和置换,但这些均在本发明的保护之列。The above is only a preferred example of the present invention, and does not constitute any limitation to the present invention. Obviously, according to the concept of the present invention, those skilled in the art can make various modifications and replacements, but these are all included in the protection of the present invention.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011100258753A CN102118211A (en) | 2011-01-25 | 2011-01-25 | Timing and synchronization method for media-sharing STDM system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011100258753A CN102118211A (en) | 2011-01-25 | 2011-01-25 | Timing and synchronization method for media-sharing STDM system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102118211A true CN102118211A (en) | 2011-07-06 |
Family
ID=44216826
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2011100258753A Pending CN102118211A (en) | 2011-01-25 | 2011-01-25 | Timing and synchronization method for media-sharing STDM system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102118211A (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103220115A (en) * | 2013-05-05 | 2013-07-24 | 西安电子科技大学 | Time division duplex/time division multiple access channel plan frame encoding method |
| CN104348561A (en) * | 2013-08-07 | 2015-02-11 | 中国科学院声学研究所 | Synchronizing method of underwater communication network based on centralized topology structure |
| CN106707738A (en) * | 2017-02-10 | 2017-05-24 | 广东大仓机器人科技有限公司 | Method of Calibrating Clock Between Two Ultrasonic Modules |
| CN107819563A (en) * | 2017-08-30 | 2018-03-20 | 悦享趋势科技(北京)有限责任公司 | The measuring system of time synchronism apparatus and pulse wave conduction speed |
| WO2018068180A1 (en) * | 2016-10-10 | 2018-04-19 | 海能达通信股份有限公司 | Master node, slave node, and synchronization information self-correction method |
| WO2018085989A1 (en) * | 2016-11-08 | 2018-05-17 | 武汉芯泰科技有限公司 | Channel allocation and frame transmission controller |
| CN108064044A (en) * | 2016-11-08 | 2018-05-22 | 武汉芯泰科技有限公司 | A kind of channel distribution and frame transmission control unit (TCU) |
| CN109691191A (en) * | 2016-09-14 | 2019-04-26 | 华为技术有限公司 | Method and device for clock synchronization |
| CN113993009A (en) * | 2020-07-27 | 2022-01-28 | 上海诺基亚贝尔股份有限公司 | Method and device for multi-domain transmission by time synchronization, OLT and ONU |
| CN121037317A (en) * | 2025-10-27 | 2025-11-28 | 海尔新能源科技有限公司 | AI-based low-latency control methods and related products for photovoltaic and energy storage systems |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1291830A (en) * | 1999-07-28 | 2001-04-18 | 朗迅科技公司 | Precision timing source for locating geographical position of mobile station |
| EP1130801A2 (en) * | 2000-03-01 | 2001-09-05 | Lucent Technologies Inc. | Base station transceiver to radio network controller synchronization filtering function |
| CN1402444A (en) * | 2001-08-23 | 2003-03-12 | 三星电子株式会社 | Method for sending data and compensating propagation delay in point-to-point communication network |
| CN101616479A (en) * | 2008-06-25 | 2009-12-30 | 汤姆森许可贸易公司 | Method and device for time synchronization in TDMA multi-hop wireless network |
-
2011
- 2011-01-25 CN CN2011100258753A patent/CN102118211A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1291830A (en) * | 1999-07-28 | 2001-04-18 | 朗迅科技公司 | Precision timing source for locating geographical position of mobile station |
| EP1130801A2 (en) * | 2000-03-01 | 2001-09-05 | Lucent Technologies Inc. | Base station transceiver to radio network controller synchronization filtering function |
| CN1402444A (en) * | 2001-08-23 | 2003-03-12 | 三星电子株式会社 | Method for sending data and compensating propagation delay in point-to-point communication network |
| CN101616479A (en) * | 2008-06-25 | 2009-12-30 | 汤姆森许可贸易公司 | Method and device for time synchronization in TDMA multi-hop wireless network |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103220115A (en) * | 2013-05-05 | 2013-07-24 | 西安电子科技大学 | Time division duplex/time division multiple access channel plan frame encoding method |
| CN103220115B (en) * | 2013-05-05 | 2016-03-02 | 西安电子科技大学 | Time division duplex/time division multiple access channel planning frame coding method |
| CN104348561A (en) * | 2013-08-07 | 2015-02-11 | 中国科学院声学研究所 | Synchronizing method of underwater communication network based on centralized topology structure |
| CN104348561B (en) * | 2013-08-07 | 2017-08-25 | 中国科学院声学研究所 | The synchronous method of subsurface communication net based on Centralized Topology |
| CN109691191B (en) * | 2016-09-14 | 2020-11-17 | 华为技术有限公司 | Clock synchronization method and equipment |
| CN109691191A (en) * | 2016-09-14 | 2019-04-26 | 华为技术有限公司 | Method and device for clock synchronization |
| WO2018068180A1 (en) * | 2016-10-10 | 2018-04-19 | 海能达通信股份有限公司 | Master node, slave node, and synchronization information self-correction method |
| WO2018085989A1 (en) * | 2016-11-08 | 2018-05-17 | 武汉芯泰科技有限公司 | Channel allocation and frame transmission controller |
| CN108064044A (en) * | 2016-11-08 | 2018-05-22 | 武汉芯泰科技有限公司 | A kind of channel distribution and frame transmission control unit (TCU) |
| CN106707738A (en) * | 2017-02-10 | 2017-05-24 | 广东大仓机器人科技有限公司 | Method of Calibrating Clock Between Two Ultrasonic Modules |
| CN107819563A (en) * | 2017-08-30 | 2018-03-20 | 悦享趋势科技(北京)有限责任公司 | The measuring system of time synchronism apparatus and pulse wave conduction speed |
| CN113993009A (en) * | 2020-07-27 | 2022-01-28 | 上海诺基亚贝尔股份有限公司 | Method and device for multi-domain transmission by time synchronization, OLT and ONU |
| CN121037317A (en) * | 2025-10-27 | 2025-11-28 | 海尔新能源科技有限公司 | AI-based low-latency control methods and related products for photovoltaic and energy storage systems |
| CN121037317B (en) * | 2025-10-27 | 2026-02-13 | 海尔新能源科技股份有限公司 | AI-based low-latency control methods and related products for photovoltaic and energy storage systems |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102118211A (en) | Timing and synchronization method for media-sharing STDM system | |
| US11503557B2 (en) | Time synchronization in integrated 5G wireless and time-sensitive networking systems | |
| CN100359956C (en) | Method for Realizing Synchronization and Ranging in Wireless Communication System and Implementation Device | |
| KR100555674B1 (en) | Wireless communication method for voice communication in wireless personal area network | |
| KR101866421B1 (en) | System and Method for Managing DSME Network Fluctuation at Industrial Wireless Sensor Network | |
| IL267720B2 (en) | Data transmission method and apparatus | |
| KR101895481B1 (en) | Data Slot Segmentation Apparatus and Method for Improving Data Collection Efficiency in IoT Environment | |
| US12349083B2 (en) | Device synchronization and connection management in wireless networks | |
| US10034254B2 (en) | Method, device and system for adjusting timing advance | |
| CN110392360A (en) | A method and device for reporting available resources | |
| US11411848B2 (en) | Flexible ethernet latency measurement method and related device | |
| CN105262555A (en) | Time synchronization method, programmable logic device, single board and network element | |
| CN111050393B (en) | UWB positioning system | |
| JPWO2018020559A1 (en) | Optical terminal apparatus and upstream scheduling method for optical network | |
| KR101801801B1 (en) | Slot frame virtualization System and Method for TSCH based industrial wireless network | |
| CN103138828A (en) | Network node clock synchronization method and clock synchronization network | |
| CN116318506A (en) | A Clock Synchronization Method for Spacecraft Internal Wireless Time Sensitive Network | |
| CN107124384B (en) | A kind of method, apparatus of protection interval setting and base station | |
| CN105101257A (en) | Method for measuring reference signal transmission, user equipment and evolution base station | |
| CN107947848B (en) | Satellite communication ground synchronous simulation system based on IEEE1588v2 and application method | |
| CN104301923A (en) | Method for determining cell-proprietary sounding reference signal resource and user equipment | |
| Cena et al. | The reference-broadcast infrastructure synchronization protocol | |
| CN106711963B (en) | Multistage route differential protective system and method | |
| CN109429347A (en) | Slot allocation method and device | |
| CN102364982A (en) | Method for synchronizing groups and terminal in mixed self-organizing network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110706 |