CN111628841B - Method and system for realizing multi-service transmission clock synchronization - Google Patents

Method and system for realizing multi-service transmission clock synchronization Download PDF

Info

Publication number
CN111628841B
CN111628841B CN202010432531.3A CN202010432531A CN111628841B CN 111628841 B CN111628841 B CN 111628841B CN 202010432531 A CN202010432531 A CN 202010432531A CN 111628841 B CN111628841 B CN 111628841B
Authority
CN
China
Prior art keywords
service
wireless link
data
clock
effective
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.)
Expired - Fee Related
Application number
CN202010432531.3A
Other languages
Chinese (zh)
Other versions
CN111628841A (en
Inventor
孔德华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Donghu University
Original Assignee
Wuhan Donghu University
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 Wuhan Donghu University filed Critical Wuhan Donghu University
Priority to CN202010432531.3A priority Critical patent/CN111628841B/en
Publication of CN111628841A publication Critical patent/CN111628841A/en
Application granted granted Critical
Publication of CN111628841B publication Critical patent/CN111628841B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1611Synchronous digital hierarchy [SDH] or SONET

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a method and a system for realizing clock synchronization of multi-service transmission. By adopting the technical scheme provided by the embodiment of the invention, the clock synchronization of each service and the clock synchronization of the wireless link sending end and the wireless link receiving end can be realized, and the stability and the reliability of service data transmission are ensured.

Description

Method and system for realizing multi-service transmission clock synchronization
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a method and a system for realizing multi-service transmission clock synchronization.
Background
At present, the transmission of multiple services generally refers to the transmission of SDH (Synchronous Digital Hierarchy), PDH (Plesiochronous Digital Hierarchy) and ethernet services, which are mostly based on coaxial cables and optical fibers, but with the upgrade and large-area expansion of networks, especially in some hot spots, wired transmission resources are more and more tense, and cannot meet the requirements of service transmission, and the transmission of multiple services in a wireless manner becomes an option.
When the wireless transmission is performed, a wireless transmission clock must be selected, all services are transmitted based on the clock, and a common method is that a client designates a clock of one of the services as the wireless transmission clock, but each service contains its own clock information, and if the clock of one of the services is selected as the transmission clock, other services may lose their own clock information, which cannot ensure the stability and reliability of service transmission.
Disclosure of Invention
In order to overcome the problem of clock asynchronism in the existing multi-service transmission process or at least partially solve the problem, embodiments of the present invention provide a method and a system for implementing multi-service transmission clock synchronization.
According to a first aspect of the embodiments of the present invention, a method for implementing multi-service transmission clock synchronization is provided, including:
at a sending end of a wireless link, setting the number of effective data of each service in a wireless transmission data frame structure according to the relationship between a transmission clock of the wireless link and a channel associated clock of each service, so that at a receiving end of the wireless link, according to the number of the effective data of each service in the wireless transmission data frame structure and the transmission clock of the wireless link, a recovery clock of each service is controlled to realize clock synchronization of the sending end of the wireless link and the receiving end of the wireless link.
On the basis of the above technical solutions, the embodiments of the present invention may be further improved as follows.
Optionally, the setting, according to a relationship between a transmission clock of the wireless link and a channel associated clock of each service, the number of valid data of each service in the wireless transmission data frame structure further includes:
a corresponding service cache space is set for each service at a link sending end, and effective service data of each service is stored in the corresponding service cache space;
at a wireless link sending end, respectively setting a corresponding high threshold value and a corresponding low threshold value for a service cache space corresponding to each service;
marking the valid data state of the valid service data read from the service cache space according to the relation between the currently used space of the service cache space corresponding to each service and the high threshold value and the low threshold value;
and writing the effective service data and the effective data state of each service into a wireless transmission data frame structure.
Optionally, the marking the valid data state of the valid service data read from the service cache space according to the relationship between the currently used space of the service cache space corresponding to each service and the high threshold and the low threshold includes:
if the current used space of the service cache space is larger than the high threshold value, the number of the current services to be read in the current frame is indicated to be a high standard value, and the effective data state of the current services is marked as advanced;
if the current used space of the service cache space is smaller than the low threshold value, the number of the current services to be read in the current frame is indicated to be a low standard value, and the effective data state is marked to be delayed;
if the currently used space of the service cache space is smaller than the high threshold value and larger than the low threshold value, the number of the current services to be read in the current frame is a standard value, and the valid data state is marked as normal.
According to a second aspect of the embodiments of the present invention, a method for implementing multi-service transmission clock synchronization is provided, including:
at a receiving end of a wireless link, demodulating a wireless transmission data frame structure transmitted by a transmitting end of the wireless link to obtain effective service data and an effective data state of each service;
controlling a recovery clock of each service according to the effective data state of each service and the transmission clock of the wireless link so as to realize clock synchronization of a wireless link transmitting end and a wireless link receiving end;
at the sending end of the wireless link, the number of effective data of each service in the wireless transmission data frame structure is set according to the relationship between the transmission clock of the wireless link and the associated clock of each service.
Optionally, the demodulating the wireless transmission data frame structure transmitted by the wireless link sending end to obtain the effective service data and the effective data state of each service further includes:
setting a corresponding service cache space for each service, and storing the effective service data of each service analyzed in the corresponding service cache space;
at a receiving end of a wireless link, respectively setting a high threshold value and a low threshold value for a service cache space corresponding to each service;
and adjusting the recovered clock of each service according to the relation between the current used space of the service cache space corresponding to each service and the high threshold value and the low threshold value, wherein the wireless transmission clock of the receiving end of the wireless link is the same as the wireless transmission clock of the transmitting end of the wireless link.
According to a third aspect of the embodiments of the present invention, there is provided a radio link transmitting end for multi-service transmission, including:
the wireless link transmitting end is used for setting the number of effective data of each service in a wireless transmission data frame structure according to the relationship between the transmission clock of the wireless link and the associated clock of each service, so that at the wireless link receiving end, the recovery clock of each service is controlled according to the number of the effective data of each service in the wireless transmission data frame structure and the transmission clock of the wireless link, and the clock synchronization of the wireless link transmitting end and the wireless link receiving end is realized.
Optionally, the radio link transmitting end includes:
the system comprises a plurality of service interface chips, a plurality of service cache spaces, a plurality of reading control modules, a wireless link service data framing module and a wireless link modulation transmission module, wherein the number of the service interface chips, the number of the service cache spaces and the number of the reading control modules are the same;
each service cache space is used for storing effective service data of corresponding services, wherein the number of the effective data of the effective service data is set according to the relationship between a transmission clock of a wireless link and a channel associated clock of each service;
each reading control module is used for marking the effective data state of the effective service data read from the service cache space according to the relation between the used space in the corresponding service cache space and the high threshold value and the low threshold value;
the wireless link service data framing module is used for framing according to the effective service data and the effective data state read by each reading control module to obtain a wireless link transmission data frame structure;
and the wireless link modulation sending module is used for sending the wireless link transmission data frame structure to a wireless link receiving end.
According to a fourth aspect of the embodiments of the present invention, there is provided a radio link receiving end for multi-service transmission, including:
the wireless link receiving end is used for demodulating a wireless transmission data frame structure transmitted by the wireless link transmitting end to obtain effective service data and an effective data state of each service;
controlling a recovery clock of each service according to the effective data state of each service and the transmission clock of the wireless link so as to realize clock synchronization of a wireless link transmitting end and a wireless link receiving end;
at the sending end of the wireless link, the number of effective data of each service in the wireless transmission data frame structure is set according to the relationship between the transmission clock of the wireless link and the associated clock of each service.
Optionally, the wireless link receiving end includes:
the wireless link receiving and demodulating module, the wireless link service data deframing module, the plurality of writing control modules, the plurality of service cache spaces, the plurality of service interface chips, the plurality of voltage control modules and the plurality of voltage controlled oscillators are the same in number;
the wireless link receiving and demodulating module is used for receiving a wireless signal sent by a wireless link sending end, demodulating the wireless signal and recovering a wireless link transmission data frame structure;
the wireless link service data de-framing module is used for resolving each service data and corresponding effective data state information from the wireless link transmission data frame structure;
each write-in control module is used for writing the effective service data into the service cache space according to the effective data state information of each service;
each voltage control module is used for adjusting the output of control voltage according to the relation between the used space of each service cache space and the high threshold value and the low threshold value;
each voltage-controlled oscillator is used for adjusting the output frequency according to the control voltage input by the corresponding voltage control module, and further adjusting the recovered clock.
According to a fifth aspect of the embodiments of the present invention, a system for clock synchronization of multi-service transmission is provided, including a wireless link sending end and a wireless link receiving end.
According to a sixth aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor calls the program instruction to execute the method for implementing multi-service transmission clock synchronization provided in any one of the various possible implementations of the first aspect.
The embodiment of the invention provides a method and a system for realizing multi-service transmission clock synchronization, wherein the number of effective data of each service in a data frame can be adjusted at a transmitting end of a wireless link according to the deviation between a transmission clock of the wireless link and a channel associated clock of each service, and a recovery clock of each service is continuously adjusted at a receiving end of the wireless link according to the number of the effective data of the received service, so that the clock synchronization of each service and the clock synchronization of the transmitting end of the wireless link and the receiving end of the wireless link can be realized, and the stability and the reliability of service data transmission are ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for implementing multi-service transmission clock synchronization according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a wireless data frame structure according to an embodiment of the present invention;
fig. 3 is a connection block diagram of a system for implementing multi-service transmission clock synchronization according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a radio link transmitting end read control according to an embodiment of the present invention.
Fig. 5 is a flowchart illustrating write control at a receiving end of a wireless link according to an embodiment of the present invention.
Fig. 6 is a flowchart illustrating a control of a receiving end voltage of a wireless link according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
In one embodiment of the present invention, a method for implementing multi-service transmission clock synchronization is provided, which includes:
at a sending end of a wireless link, setting the number of effective data of each service in a wireless transmission data frame structure according to the relationship between a transmission clock of the wireless link and a channel associated clock of each service, so that at a receiving end of the wireless link, according to the number of the effective data of each service in the wireless transmission data frame structure and the transmission clock of the wireless link, a recovery clock of each service is controlled to realize clock synchronization of the sending end of the wireless link and the receiving end of the wireless link.
It can be understood that, for multi-service transmission, clocks of all services need to be kept consistent, and to solve this problem, referring to fig. 1, in the sending end of the wireless link according to the relationship between the transmission clock of the wireless link and the associated clock of each service, the embodiment of the present invention may set the number of valid data of each service in the wireless transmission data frame structure. The number of valid data of each service is divided into three cases: standard value, high standard value and low standard value. The first is that the number of the service effective data in the current data frame is a standard value; the second is that the number of the service effective data in the current data frame is a high standard value; and the third is that the number of the service effective data in the current data frame is a low standard value.
In this way, at the receiving end of the wireless link, the recovery clock of each service is controlled according to the number of effective data of each service in the wireless transmission data frame structure and the transmission clock of the wireless link, so as to realize the clock synchronization of the transmitting end of the wireless link and the receiving end of the wireless link.
The embodiment of the invention can adjust the number of effective data of each service in a data frame at the sending end of the wireless link according to the deviation between the transmission clock of the wireless link and the associated clock of each service, and continuously adjust the recovery clock of each service at the receiving end of the wireless link according to the number of the effective data of the received service, thereby realizing the clock synchronization of each service and the clock synchronization of the sending end of the wireless link and the receiving end of the wireless link and ensuring the stability and reliability of service data transmission.
As an optional embodiment, setting the number of valid data in the wireless transmission data frame structure of each service according to the relationship between the transmission clock of the wireless link and the associated clock of each service further includes:
a corresponding service cache space is set for each service at a link sending end, and effective service data of each service is stored in the corresponding service cache space;
at a wireless link sending end, respectively setting a corresponding high threshold value and a corresponding low threshold value for a service cache space corresponding to each service;
marking the valid data state of the valid service data read from the service cache space according to the relation between the currently used space of the service cache space corresponding to each service and the high threshold value and the low threshold value;
and writing the effective service data and the effective data state of each service into a wireless transmission data frame structure.
It can be understood that, at the sending end of the wireless link, a corresponding service buffer space is opened up for each service, and is mainly used for storing effective service data of each service. For example, in the communication field, multi-service transmission mainly includes SDH service, PDH service, and ethernet service. The corresponding service cache space is respectively located in an SDH service cache space, a PDH service cache space, and an ethernet service cache space, and is used for storing the effective service data of the SDH service, the effective service data of the PDH service, and the effective service data of the ethernet service.
When the service valid data is read from the service cache space, the valid data state of the service valid data is marked according to the comparison result of the currently used space of the service cache space and the high threshold value and the low threshold value.
Then writing the effective service data and effective data state of each service into the wireless transmission data frame structure.
As an optional embodiment, the marking, according to the relationship between the currently used service cache space corresponding to each service and the high threshold and the low threshold, of the valid data state of the valid service data read from the service cache space includes:
if the current used space of the service cache space is larger than the high threshold value, the number of the current services to be read in the current frame is indicated to be a high standard value, and the effective data state of the current services is marked as advanced;
if the current used space of the service cache space is smaller than the low threshold value, the number of the current services to be read in the current frame is indicated to be a low standard value, and the effective data state is marked to be delayed;
if the currently used space of the service cache space is smaller than the high threshold value and larger than the low threshold value, the number of the current services to be read in the current frame is a standard value, and the valid data state is marked as normal.
It can be understood that, since the effective service data of the corresponding service is stored in the service cache space, the currently used space of the service cache space is compared with the high threshold and the low threshold, and actually, the number of the effective data of the effective service data is compared with the high threshold and the low threshold. If the current used space of the service cache space is larger than the high threshold value, the number of the current services to be read in the current frame is indicated to be a high standard value, and the effective data state of the current services is marked as an advance value; if the used space of the current service cache space is smaller than the low threshold value, the number of the current services to be read in the current frame is indicated to be a low standard value, and the effective data state is marked to be delayed; if the used space of the current service cache space is smaller than the high threshold value and larger than the low threshold value, the number of the current services to be read in the current frame is a standard value, and the valid data state is marked as normal.
And reading the effective service data of each service and the effective data state of the service data, and writing the effective service data and the effective data state of each service into a wireless transmission data frame structure.
Another embodiment of the present invention provides a method for implementing multi-service transmission clock synchronization, including:
at a receiving end of a wireless link, demodulating a wireless transmission data frame structure transmitted by a transmitting end of the wireless link to obtain effective service data and an effective data state of each service;
controlling a recovery clock of each service according to the effective data state of each service and the transmission clock of the wireless link so as to realize clock synchronization of a wireless link transmitting end and a wireless link receiving end;
at the sending end of the wireless link, the number of effective data of each service in the wireless transmission data frame structure is set according to the relationship between the transmission clock of the wireless link and the associated clock of each service.
It can be understood that, at the receiving end of the wireless link, the frame structure of the wireless transmission data transmitted by the transmitting end of the wireless link is analyzed, and the effective service data and the effective data state of each service are analyzed.
The receiving end of the wireless link controls the recovery clock of each service according to the effective data state of each service and the transmission clock of the wireless link, and the clock synchronization of the transmitting end of the wireless link and the receiving end of the wireless link can be realized.
As an optional embodiment, demodulating the frame structure of the wireless transmission data transmitted by the transmitting end of the wireless link to obtain the valid service data and the valid data state of each service further includes:
setting a corresponding service cache space for each service, and storing the demodulated effective service data of each service in the corresponding service cache space;
at a receiving end of a wireless link, respectively setting a high threshold value and a low threshold value for a service cache space corresponding to each service;
and adjusting the recovered clock of each service according to the relation between the used service cache space corresponding to each service and the high threshold value and the low threshold value, wherein the wireless transmission clock of the receiving end of the wireless link is the same as the wireless transmission clock of the transmitting end of the wireless link.
It can be understood that, at the receiving end of the wireless link, a corresponding service cache space is set up for each service, and the analyzed valid service data is stored in the corresponding service cache space. And corresponding to the wireless link sending end, setting a corresponding high threshold limit and a corresponding low threshold value for each service at the wireless link receiving end, wherein the high threshold limit and the low threshold value set for each service at the wireless link receiving end are consistent with the high threshold limit and the low threshold value set for each service at the wireless link sending end. For example, the upper threshold and the lower threshold set for the service buffer space of the SDH service at the transmitting end of the radio link are consistent with the upper threshold and the lower threshold set for the service buffer space of the SDH service at the receiving end of the radio link.
And adjusting the recovery clock of each service according to the relation between the current used space of the service cache space corresponding to each service and the high threshold value and the low threshold value, wherein the wireless transmission clock of the wireless link receiving end is the same as the wireless transmission clock of the wireless link sending end.
In another embodiment of the present invention, a wireless link transmitting end for multi-service transmission is provided, which includes:
and the wireless link sending end is used for setting the number of effective data of each service in a wireless transmission data frame structure according to the relationship between the transmission clock of the wireless link and the associated clock of each service, so that at the wireless link receiving end, the recovery clock of each service is controlled according to the number of the effective data of each service in the wireless transmission data frame structure and the transmission clock of the wireless link, and the clock synchronization of the wireless link sending end and the wireless link receiving end is realized.
It can be understood that, in the embodiment of the present invention, at the transmitting end of the wireless link, the number of valid data of each service in the data frame can be adjusted according to the deviation between the transmission clock of the wireless link and the associated clock of each service, and at the receiving end of the wireless link, the recovery clock of each service is continuously adjusted according to the number of the valid data of the received service, so that the clock synchronization of each service and the clock synchronization of the transmitting end of the wireless link and the receiving end of the wireless link can be realized, and the stability and reliability of the service data transmission can be ensured.
As an alternative embodiment, the wireless link transmitting end includes:
the system comprises a plurality of service interface chips, a plurality of service cache spaces, a plurality of reading control modules, a wireless link service data framing module and a wireless link modulation transmission module, wherein the number of the service interface chips, the number of the service cache spaces and the number of the reading control modules are the same;
each service cache space is used for storing effective service data of corresponding services, wherein the number of the effective data of the effective service data is set according to the relationship between a transmission clock of a wireless link and a channel associated clock of each service;
each reading control module is used for marking the effective data state of the effective service data read from the service cache space according to the relation between the used space in the corresponding service cache space and the high threshold value and the low threshold value;
the wireless link service data framing module is used for framing according to the effective service data and the effective data state read by each reading control module to obtain a wireless transmission data frame structure;
and the wireless link modulation sending module is used for sending the wireless link transmission data frame structure to a wireless link receiving end.
The wireless link receiving end is used for demodulating a wireless transmission data frame structure transmitted by the wireless link transmitting end to obtain effective service data and an effective data state of each service;
controlling a recovery clock of each service according to the effective data state of each service and the transmission clock of the wireless link so as to realize clock synchronization of a wireless link transmitting end and a wireless link receiving end;
at the sending end of the wireless link, the number of effective data of each service in the wireless transmission data frame structure is set according to the relationship between the transmission clock of the wireless link and the associated clock of each service.
As an optional embodiment, the wireless link receiving end includes:
the wireless link receiving and demodulating module, the wireless link service data deframing module, the plurality of writing control modules, the plurality of service cache spaces, the plurality of service interface chips, the plurality of voltage control modules and the plurality of voltage controlled oscillators are the same in number;
the wireless link receiving and demodulating module is used for receiving a wireless signal sent by a wireless link sending end, demodulating the wireless signal and recovering a wireless link transmission data frame structure;
the wireless link service data de-framing module is used for resolving each service data and corresponding effective data state information from the wireless link transmission data frame structure;
each write-in control module is used for writing the effective service data into the service cache space according to the effective data state information of each service;
each voltage control module is used for adjusting the output of control voltage according to the relation between the used space of each service cache space and the high threshold value and the low threshold value;
each voltage-controlled oscillator is used for adjusting the output frequency according to the control voltage input by the corresponding voltage control module, and further adjusting the recovered clock.
When clock synchronization of multi-service transmission is realized, common coordination of a wireless link sending end and a wireless link receiving end is required, so that the embodiment of the invention provides a system for clock synchronization of multi-service transmission, which comprises the wireless link sending end and the wireless link receiving end.
The system for clock synchronization of multi-service transmission is described below with a specific particle.
Firstly, referring to fig. 2, a schematic diagram of a structure of a data frame for wireless transmission is shown, where the length of the data frame structure is 125 us; the PDH service is 1 path of E1 signal, the data rate is 2.048Mbps, the effective data state is represented by 3 bits, and the service data occupies 257 bits; the Ethernet service data rate is 100Mbps, the effective data state is represented by 2 bits, and the service data occupies 12504 bits; the SDH service is 1 path of STM-1 signals, the data rate is 155.52Mbps, the effective data state is expressed by 2 bits, and the service data occupies 19448 bits.
Fig. 3 shows a system including a wireless link transmitting end and a wireless link receiving end, where the wireless link transmitting end mainly includes a service interface chip, a service buffer space, a read control module, a wireless link service data framing module, and a wireless link modulation transmitting module, and these modules are respectively described below:
(1) the service interface chip mainly receives related service signals and outputs a channel associated clock and service data. The associated clock of the E1 signal is 2.048MHz, and the data bit width is 1 bit; the associated clock of the Ethernet service data is 25MHz, and the data bit width is 4 bits; the associated clock of the STM-1 signal is 19.44MHz, and the data bit width is 8 bits.
(2) The write-in clock of the service cache space is a channel associated clock, the data bit width of the service cache space is consistent with the data bit width of the service signal, the data bit width of the cache space of the E1 signal is 1 bit, the data bit width of the cache space of the ethernet service is 4 bits, the data bit width of the cache space of the STM-1 signal is 8 bits, and the read clock of the service cache space is a wireless link transmission clock.
(3) The working flow of the reading control module is as shown in fig. 4, and according to the relation between the used space of the service cache space and the high and low threshold values, the effective service data is read out, and the state of the effective service data is marked. Specifically, the E1 signal buffer space high threshold is set to 512, the low threshold is set to 256, when a frame is grouped by 125us, the relationship between the buffer space used space and the high and low thresholds is determined, if the buffer space used value is greater than 512, the frame needs to read 257 bits of valid data, the status information is represented by 3 bits 001, if the buffer space used value is less than 256, the frame needs to read 255 bits of valid data, there is 2 bits of invalid in the service data frame, the status information is represented by 3 bits 010, if the buffer space used value is between the high and low thresholds, the frame needs to read 256 bits of valid data, there is 1 bit of invalid in the service data frame, the status information is represented by 3 bits of 100; the high threshold value of the Ethernet signal buffer space is set to be 6250, the low threshold value is set to be 3125, when a frame is grouped at intervals of 125us, the relation between the used buffer space and the high threshold value is judged, if the used buffer space value is greater than 6250, the frame needs to read 12504-bit valid data, the state information is represented by 2-bit 01, if the used buffer space value is less than 3125, the frame needs to read only 12496-bit valid data, 8-bit invalid data exists in the service data frame, the state information is represented by 2-bit 10, if the used buffer space value is between the high threshold value and the low threshold value, the frame needs to read 12500-bit valid data, 4-bit invalid data exists in the service data frame, and the state information is represented by 2-bit 00; the STM-1 signal buffer space high threshold value is set to 4860, the low threshold value is set to 2430, when the interval 125us groups of frames is a first time, the relation between the buffer space used space and the high threshold value is judged, if the buffer space used value is larger than 4860, the frame needs to read 19448-bit valid data, the state information is represented by 2-bit 01, if the buffer space used value is smaller than 2430, the frame needs to read only 19432-bit valid data, 4 bits are invalid in the service data frame, the state information is represented by 2-bit 10, if the buffer space used value is between the high threshold value and the low threshold value, the frame needs to read 19440-bit valid data, 8 bits are invalid in the service data frame, and the state information is represented by 2-bit 00.
(4) The wireless link transmission clock is a reference clock for wireless link operation, and the clock operating frequency is 50 MHz.
(5) The wireless link service data framing module frames the service data according to the data frame structure defined in fig. 2.
(6) And the wireless link modulation and transmission module converts the service data frame into a wireless signal and transmits the wireless signal.
The wireless link receiving end mainly comprises a wireless link receiving demodulation module, a wireless link service data deframing module, a write-in control module, a service cache space, a voltage control module, a voltage-controlled oscillator and a service interface chip, and the modules are respectively explained as follows:
(1) the wireless link receiving and demodulating module receives the wireless signal sent by the wireless link sending end, demodulates the wireless signal and recovers the service data frame of the wireless link. The wireless link transmission clock is 50MHz, keeps consistent with the transmission clock frequency of the wireless link transmitting end, and is recovered by the wireless link receiving demodulation module.
(2) The radio link service data deframing module divides different services according to the structure shown in fig. 2, and separates a PDH service, an ethernet service, and an SDH service.
(3) The work flow of the write-in control module is as shown in fig. 5, and for each service, effective service data is selected according to the effective data state information, and written into the service cache space. Specifically, the E1 traffic status information indicates that the number of valid data in the frame E1 is 257 bits if the E1 traffic status information is 001, indicates that the number of valid data in the frame E1 is 255 bits if the E1 traffic status information is 010, and indicates that the number of valid data in the frame E1 is 256 bits if the E1 traffic status information is 100. If the ethernet traffic status information is 01, the number of the ethernet valid data in the frame is 12504 bits, if the ethernet traffic status information is 10, the number of the ethernet valid data in the frame is 12496 bits, and if the ethernet traffic status information is 00, the number of the ethernet valid data in the frame is 12500 bits. The STM-1 service state information indicates that the number of the frame of STM-1 valid data is 19448 bits if the number is 01, the number of the frame of STM-1 valid data is 19432 bits if the number is 10, and the number of the frame of STM-1 valid data is 19440 bits if the number is 00.
(4) The write-in clock of the service buffer space is a wireless link transmission clock, the read clock is a recovery clock of each service, the data bit width of the service buffer space is consistent with the data bit width of the service signal, the buffer space data bit width of the E1 signal is 1 bit, the buffer space data bit width of the Ethernet service is 4 bits, and the buffer space data bit width of the STM-1 signal is 8 bits.
(5) The working flow of the voltage control module is as shown in fig. 6, and the relation between the used space of the service cache space and the high and low threshold values is compared, and the output of the control voltage is adjusted. Specifically, the E1 signal buffer space high threshold is set to 512, the low threshold is set to 256, when a group of service data frames are received at the interval 125us, the relationship between the currently used space of the buffer space and the high threshold is determined, if the used value of the buffer space is greater than 512, the output control voltage is increased, if the used value of the buffer space is less than 256, the output control voltage is decreased, and if the used space is between the two thresholds, the output control voltage is kept unchanged. The upper threshold value of the Ethernet signal buffer space is set to be 6250, the lower threshold value is set to be 3125, when a group of service data frames are received at the interval 125us, the relation between the used buffer space and the upper threshold value is judged, if the used buffer space value is larger than 6250, the output control voltage is increased, if the used buffer space value is smaller than 3125, the output control voltage is reduced, and if the used buffer space value is between the two threshold values, the output control voltage is kept unchanged. The STM-1 signal buffer space high threshold value is set to 4860, the low threshold value is set to 2430, when a group of service data frames are received in the interval 125us, the relation between the used buffer space and the high threshold value is judged, if the used buffer space value is larger than 4860, the output control voltage is increased, if the used buffer space value is smaller than 2430, the output control voltage is reduced, and if the used buffer space value is between the two threshold values, the output control voltage is kept unchanged.
(6) The voltage-controlled oscillator continuously adjusts the output frequency according to the input control voltage, if the input control voltage is increased, the output frequency is also increased, if the input control voltage is decreased, the output frequency is also decreased, and if the input control voltage is kept unchanged, the output frequency is also kept unchanged. The center frequency of the voltage-controlled oscillator of the E1 signal is 2.048MHz, the center frequency of the voltage-controlled oscillator of the Ethernet service is 25MHz, and the center frequency of the voltage-controlled oscillator of the STM-1 signal is 19.44 MHz.
(7) The service interface chip converts the received recovery clock and service data of each service into corresponding service signals.
The method and the system for realizing the synchronization of the multi-service transmission clocks provided by the embodiment of the invention can adjust the number of effective data of each service in a data frame at a transmitting end of a wireless link according to the deviation between the transmission clock of the wireless link and the associated clock of each service, and continuously adjust the recovery clock of each service at a receiving end of the wireless link according to the number of the received effective data of the service, thereby realizing the synchronization of the service clocks between the transmitting end of the wireless link and the receiving end of the wireless link. By adopting the technical scheme provided by the embodiment of the invention, the clock synchronization of each service and the clock synchronization of the wireless link sending end and the wireless link receiving end can be realized, and the stability and the reliability of service data transmission are ensured.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A method for realizing multi-service transmission clock synchronization is characterized by comprising the following steps:
at a sending end of a wireless link, setting the number of effective data of each service in a wireless transmission data frame structure according to the relationship between a transmission clock of the wireless link and a channel associated clock of each service, wherein the number of the effective data of each service in the wireless transmission data frame structure is divided into three conditions: the number of effective data of the current service in the wireless transmission data frame structure is a standard value, the number of effective data of the current service in the wireless transmission data frame structure is a high standard value, and the number of effective data of the current service in the wireless transmission data frame structure is a low standard value;
setting a corresponding service cache space for each service, and storing effective service data of each service in the corresponding service cache space; the write-in clock of the service cache space is a channel associated clock, and the read clock of the service cache space is a wireless link transmission clock; the data bit width of the service cache space is consistent with the data bit width of the service signal;
respectively setting a corresponding high threshold value and a corresponding low threshold value for a service cache space corresponding to each service; marking the valid data state of the valid service data read from the service cache space according to the relation between the currently used space of the service cache space corresponding to each service and the high threshold value and the low threshold value;
writing the effective service data and the effective data state of each service into a wireless transmission data frame structure, and framing the service data;
and converting and modulating the service data frame into a wireless signal and sending the wireless signal out, so that at a receiving end of a wireless link, according to the number of effective data of each service in a wireless transmission data frame structure and a transmission clock of the wireless link, a recovery clock of each service is controlled, and clock synchronization of a transmitting end of the wireless link and the receiving end of the wireless link is realized.
2. The method for clock synchronization according to claim 1, wherein the marking the valid data state of the valid service data read from the service cache space according to the relationship between the currently used service cache space corresponding to each service and the high threshold and the low threshold comprises:
if the current used space of the service cache space is larger than the high threshold value, the number of the current services to be read in the current frame is indicated to be a high standard value, and the effective data state of the current services is marked as advanced;
if the current used space of the service cache space is smaller than the low threshold value, the number of the current services to be read in the current frame is indicated to be a low standard value, and the effective data state is marked to be delayed;
if the currently used space of the service cache space is smaller than the high threshold value and larger than the low threshold value, the number of the current services to be read in the current frame is a standard value, and the valid data state is marked as normal.
3. A method for realizing multi-service transmission clock synchronization is characterized by comprising the following steps:
at a receiving end of a wireless link, demodulating a wireless signal transmitted by a transmitting end of the wireless link to obtain a wireless transmission data frame structure;
demodulating a wireless transmission data frame structure to obtain effective service data and an effective data state of each service;
setting a corresponding service cache space for each service, and writing effective service data into the service cache space according to the effective data state information of each service; the write-in clock of the service cache space is a wireless link transmission clock, the read clock is a recovery clock of each service, and the data bit width of the service cache space is consistent with the data bit width of the service signal;
respectively setting a high threshold value and a low threshold value for a service cache space corresponding to each service, and adjusting the output of control voltage according to the relation between the used space of each service cache space and the high threshold value and the low threshold value;
adjusting the output frequency according to the control voltage of each service, and further adjusting the recovered clock of each service to realize the clock synchronization of the wireless link sending end and the wireless link receiving end;
at a sending end of a wireless link, setting the number of effective data of each service in a wireless transmission data frame structure according to the relationship between a transmission clock of the wireless link and a channel associated clock of each service, and setting the effective data state of each service according to the relationship between the currently used space of a service cache space corresponding to each service and a high threshold value and a low threshold value; the number of effective data of each service in the wireless transmission data frame structure is divided into three cases: the number of effective data of the current service in the wireless transmission data frame structure is a standard value, the number of effective data of the current service in the wireless transmission data frame structure is a high standard value, and the number of effective data of the current service in the wireless transmission data frame structure is a low standard value.
4. A wireless link sending end for realizing multi-service transmission clock synchronization is characterized by comprising:
the wireless link sending end is configured to set the number of valid data of each service in a wireless transmission data frame structure according to a relationship between a transmission clock of a wireless link and a channel associated clock of each service, where the number of valid data of each service in the wireless transmission data frame structure is divided into three cases: the number of effective data of the current service in the wireless transmission data frame structure is a standard value, the number of effective data of the current service in the wireless transmission data frame structure is a high standard value, and the number of effective data of the current service in the wireless transmission data frame structure is a low standard value;
the wireless link transmitting end includes:
the system comprises a plurality of service interface chips, a plurality of service cache spaces, a plurality of reading control modules, a wireless link service data framing module and a wireless link modulation transmission module, wherein the number of the service interface chips, the number of the service cache spaces and the number of the reading control modules are the same;
each service cache space is used for storing effective service data of corresponding services, wherein the number of the effective data of the effective service data is set according to the relationship between the transmission clock of the wireless link and the associated clock of each service; the write-in clock of the service cache space is a channel associated clock, and the read clock of the service cache space is a wireless link transmission clock; the data bit width of the service cache space is consistent with the data bit width of the service signal;
each reading control module is used for marking the effective data state of the effective service data read from the service cache space according to the relation between the current used space in the corresponding service cache space and the high threshold value and the low threshold value;
the wireless link service data framing module is used for framing according to the effective service data and the effective data state read by each reading control module to obtain a wireless link transmission data frame structure;
and the wireless link modulation sending module is used for sending the wireless link transmission data frame structure to a wireless link receiving end, so that at the wireless link receiving end, the recovery clock of each service is controlled according to the effective data number of each service in the wireless transmission data frame structure and the transmission clock of the wireless link, and the clock synchronization of the wireless link sending end and the wireless link receiving end is realized.
5. A wireless link receiving end for implementing multi-service transmission clock synchronization, comprising:
the wireless link receiving end is used for demodulating a wireless transmission data frame structure transmitted by the wireless link transmitting end to obtain effective service data and an effective data state of each service;
controlling a recovery clock of each service according to the effective data state of each service and the transmission clock of the wireless link so as to realize clock synchronization of a wireless link transmitting end and a wireless link receiving end;
at a sending end of a wireless link, setting the number of effective data of each service in a wireless transmission data frame structure according to the relationship between a transmission clock of the wireless link and a channel associated clock of each service, and setting the effective data state of each service according to the relationship between the currently used space of a service cache space corresponding to each service and a high threshold value and a low threshold value; the number of effective data of each service in the wireless transmission data frame structure is divided into three cases: the number of effective data of the current service in the wireless transmission data frame structure is a standard value, the number of effective data of the current service in the wireless transmission data frame structure is a high standard value, and the number of effective data of the current service in the wireless transmission data frame structure is a low standard value;
the wireless link receiving end includes:
the wireless link receiving and demodulating module, the wireless link service data deframing module, the plurality of writing control modules, the plurality of service cache spaces, the plurality of service interface chips, the plurality of voltage control modules and the plurality of voltage controlled oscillators are the same in number;
the wireless link receiving and demodulating module is used for receiving a wireless signal sent by a wireless link sending end, demodulating the wireless signal and recovering a wireless link transmission data frame structure;
the wireless link service data de-framing module is used for resolving each service data and corresponding effective data state information from the wireless link transmission data frame structure;
each write-in control module is used for writing the effective service data into the service cache space according to the effective data state information of each service;
each voltage control module is used for adjusting the output of control voltage according to the relation between the used space of each service cache space and the high threshold value and the low threshold value;
each voltage-controlled oscillator is used for adjusting the output frequency according to the control voltage input by the corresponding voltage control module, and further adjusting the recovered clock.
6. A system for implementing multi-service transmission clock synchronization, comprising the radio link transmitting end of claim 4 and the radio link receiving end of claim 5.
CN202010432531.3A 2020-05-20 2020-05-20 Method and system for realizing multi-service transmission clock synchronization Expired - Fee Related CN111628841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010432531.3A CN111628841B (en) 2020-05-20 2020-05-20 Method and system for realizing multi-service transmission clock synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010432531.3A CN111628841B (en) 2020-05-20 2020-05-20 Method and system for realizing multi-service transmission clock synchronization

Publications (2)

Publication Number Publication Date
CN111628841A CN111628841A (en) 2020-09-04
CN111628841B true CN111628841B (en) 2021-06-29

Family

ID=72259965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010432531.3A Expired - Fee Related CN111628841B (en) 2020-05-20 2020-05-20 Method and system for realizing multi-service transmission clock synchronization

Country Status (1)

Country Link
CN (1) CN111628841B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116996460A (en) * 2022-04-26 2023-11-03 华为技术有限公司 Data transmitting apparatus, data receiving apparatus, data transmitting method, and data transmitting system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968065A (en) * 2006-06-23 2007-05-23 华为技术有限公司 Microwave communication service transmission method and system
CN1980106A (en) * 2005-12-02 2007-06-13 北京邮电大学 Multi-business multiplexing method and optical transmitting system
CN101267272A (en) * 2008-05-08 2008-09-17 北京邮电大学 A multiplexing method and device for supporting multi-service access

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2023521A1 (en) * 2007-07-17 2009-02-11 Alcatel Lucent System and method for improving the use of radio spectrum in transmission of data
EP2245774B1 (en) * 2008-01-15 2012-01-04 Telefonaktiebolaget LM Ericsson (publ) Telecom multiplexer for variable rate composite bit stream

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980106A (en) * 2005-12-02 2007-06-13 北京邮电大学 Multi-business multiplexing method and optical transmitting system
CN1968065A (en) * 2006-06-23 2007-05-23 华为技术有限公司 Microwave communication service transmission method and system
CN101267272A (en) * 2008-05-08 2008-09-17 北京邮电大学 A multiplexing method and device for supporting multi-service access

Also Published As

Publication number Publication date
CN111628841A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
CN108347317B (en) Service transmission method, network equipment and network system
CN101299647B (en) Apparatus and method for implementing nondestructive switch of SDH service
US20130084063A1 (en) Hitless protection for traffic received from 1+1 protecting line cards in high-speed switching systems
CN103404226A (en) Method and device for data transmission
CN111628841B (en) Method and system for realizing multi-service transmission clock synchronization
US10178641B2 (en) System and method for automatic delay compensation in a radio base station system
CN102395189B (en) Clock synchronization method and system in BBU (Building Base band Unit) stacking system
CN113328961A (en) Binding method and device for flexible Ethernet group and computer readable storage medium
EP2461489B1 (en) Microwave transmission device
US5481547A (en) SDH radio communication system and transmitter/receiver equipment therefor
JPWO2005057970A1 (en) Inter-station transmission method, radio base station monitoring method, and apparatus using the method
CN1507227A (en) Method of preventing formation of timing loop in synchronous network
EP4135242A1 (en) Method and apparatus for switching between main and standby links, electronic device, router, and switch
WO2024011879A1 (en) Method and device for optimization of network latency in flexible ethernet
CN1859052B (en) Asynchronous clock domain signal processing method and system
US20240104046A1 (en) Spread spectrum clock negotiation method, and peripheral component interconnect express device and system
CN100571120C (en) Frame synchornization method in a kind of digital communication
CN101039157B (en) Microwave frame adapting apparatus and method
CN110460405B (en) Service signal transmission method and device
CN110417504A (en) A method of the signal solved in OTN is exported from SERDES
US7558260B2 (en) Byte-timeslot-synchronous, dynamically switched multi-source-node data transport bus system
EP1838054B1 (en) Method of hitless radio protection switching over ethernet and a system for carrying out the method
CN104065936A (en) Method for video data transmission of node optical transmitter and receiver, and node optical transmitter and receiver
CN1067823C (en) Protection equipment for data communication channel and service channel
CN116232529B (en) Semi-active wavelength division multiplexing system, method and network management equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210629