Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention is suitable for various application scenes, such as the application scene of the distributed base station developed based on the high-speed development requirement of the mobile internet. In a distributed base station, a plurality of coverage modes with multiple connections of BBUs and RRUs are adopted to improve access capacity. Under the connection mode, a plurality of transmission channels are arranged between the BBU and the RRU. The scheme provided by the embodiment of the invention is applied to align the transmission signals among the plurality of transmission channels, and the signals of the transmission channels are transmitted to the air interface together after the transmission signals of the transmission channels are aligned, thereby improving the performance of the system. In a specific implementation, time delay between transmission signals may be caused by various reasons between transmission channels, such as situations caused by plugging and unplugging optical fibers or dropping synchronization.
Fig. 1 schematically illustrates a system architecture applicable to the embodiment of the present invention, and as shown in fig. 1, the system architecture applicable to the embodiment of the present invention includes M transmission channels, such as the transmission channel 101, the transmission channel 102, the transmission channel 103, and the transmission channel 104 shown in fig. 1. The transmission signals of the M transmission channels are emitted from the antenna 105. Alternatively, the signal received by the antenna 105 is transmitted to M transmission channels. And transmitting a transmission signal corresponding to the transmission channel on each of the M transmission channels.
Based on the above, fig. 2 schematically illustrates a flow chart of a multi-channel transmission signal alignment method according to an embodiment of the present invention. The multi-channel transmission signal alignment method provided by the embodiment of the invention is suitable for a communication system comprising M transmission channels, wherein M is an integer larger than 1. The multichannel transmission signal alignment method provided by the embodiment of the invention can be realized by a multichannel transmission signal alignment device. As shown in fig. 2, the method includes:
step 201, obtaining a flag bit of a transmission signal of each transmission channel in M transmission channels;
step 202, determining the delay time length between the transmission signals of any two transmission channels according to the flag bits of the transmission signals of any two transmission channels in the M transmission channels;
step 203, aligning the transmission signals of any two transmission channels according to the delay time length between the transmission signals of any two transmission channels.
In the embodiment of the invention, the flag bit of the transmission signal of each transmission channel in the M transmission channels is obtained, so that the delay time length between the transmission signals of any two transmission channels can be determined according to the flag bits of the transmission signals of any two transmission channels in the M transmission channels, and the transmission signals of any two transmission channels are aligned according to the delay time length between the transmission signals of any two transmission channels, so that the alignment process of the transmission signals of a plurality of transmission channels does not need to be participated in manually, and the manpower is saved; further, compared with a scheme of aligning the transmission signals of the plurality of transmission channels in a manual mode, the scheme provided by the embodiment of the invention is less in time consumption, and the efficiency of aligning the transmission signals is improved.
Optionally, in step 201, obtaining the flag bit of the transmission signal of each transmission channel of the M transmission channels includes: and periodically acquiring the zone bit of the transmission signal of each transmission channel in the M transmission channels. Therefore, the transmission signals of the M transmission channels can be aligned periodically, the aim of aligning the transmission signals of the M transmission channels in real time is fulfilled, and the performance of the system is further improved.
Specifically, the transmission signal of the transmission channel comprises a plurality of flag bits, and each flag bit in the transmission channel is used for identifying a fixed position of one transmission signal in the transmission channel. In order to be more compatible with the prior art, in the embodiment of the present invention, optionally, the flag bit of the transmission signal of each transmission channel is a frame header of the transmission signal of the transmission channel. In another optional scheme provided in the embodiment of the present invention, a flag bit may be added to the transmission signal.
In a specific implementation, a delay duration between two transmission channels of the M transmission channels may be different from or the same as a delay duration between the other two transmission channels, and in order to reduce the delay duration to the transmission channels in the alignment process of the transmission signals as much as possible, optionally, the two transmission channels with the smallest delay duration of the M transmission channels are aligned with the transmission signals, and then the other transmission channels are aligned with the two transmission channels. Optionally, in step 203, aligning the transmission signals of any two transmission channels according to a delay time length between the transmission signals of any two transmission channels includes: determining the delay time with the minimum value from all the delay time; aligning the transmission signals of the two transmission channels corresponding to the delay time with the minimum value; and aligning the transmission signals of the other M-2 transmission channels except the two transmission channels corresponding to the delay time with the minimum value with the transmission signal of any one of the two transmission channels corresponding to the delay time with the minimum value.
For multiple schemes of aligning transmission signals of any two transmission channels of M transmission channels, in order to further reduce the delay duration of the transmission channels in the process of aligning the transmission signals, in the embodiment of the present invention, when aligning the transmission signals of any two transmission channels of M transmission channels, optionally, in step 202, determining the delay duration between the transmission signals of any two transmission channels according to flag bits of the transmission signals of any two transmission channels of M transmission channels, includes: aiming at the ith transmission channel and the jth transmission channel in the M transmission channels, wherein i and j are different integers, and the value ranges [1, M ] of i and j](ii) a Executing: taking the ith transmission channel as a reference, obtaining the delay time length T of the transmission signal of the jth transmission channel relative to the transmission signal of the ith transmission channelij(ii) a Taking the jth transmission channel as a reference, obtaining the delay time length T of the transmission signal of the ith transmission channel relative to the transmission signal of the jth transmission channelji。
The embodiment of the invention provides another alternative scheme, i is in [1, M ]]The value of middle traversal, j is a value different from i and is also in [1, M ]]The value is traversed to obtain the delay time T between the transmission signals of the ith transmission channel and the jth transmission channelij. Alternatively, A may be obtained2 MA delay time duration, A2 MThe method refers to randomly selecting the number of the combinations of the two numbers from the M numbers, and sequencing the randomly selected combinations of the two numbers.
Optionally, in step 203, when the transmission signals of any two transmission channels of the M transmission channels are aligned: for the ith transmission channel and the jth transmission channel in the M transmission channels, executing:
in determining the delay period TijLess than delay period TjiBy delaying the transmission signal of the ith transmission channel by a time period TijAligning the transmission signals of the ith transmission channel and the jth transmission channel;
in determining the delay period TijGreater than delay time period TjiBy delaying the transmission signal of the jth transmission channel by a time period TjiAligning the transmission signals of the ith transmission channel and the jth transmission channel;
in determining the delay period TijIs equal to the delay duration TjiBy delaying the transmission signal of the ith transmission channel by a time period TijAligning the transmission signals of the ith transmission channel and the jth transmission channel; or by delaying the transmission signal of the jth transmission channel by a time period TjiThe transmission signals of the ith transmission channel and the jth transmission channel are aligned.
Optionally, in the embodiment of the present invention, the delay time period T1 of the transmission signal of one transmission channel is specifically configured in a plurality of operation schemes, for example, the transmission signal of the transmission channel is stored in a buffer, and after the delay time period T1 elapses, the transmission signal of the transmission channel is acquired from the buffer, so that the purpose of delaying the transmission signal of the transmission channel by the delay time period T1 is achieved.
Fig. 3 exemplarily shows a transmission signal diagram of an ith transmission channel and a jth transmission channel provided in the embodiment of the present invention, and as shown in fig. 3, the ith transmission channel obtains flag bits of two transmission signals, which are a flag bit 301 and a flag bit 302 respectively. The jth transmission channel acquires the flag bits of two transmission signals, namely, the flag bit 303 and the flag bit 304.
In fig. 3, with the ith transmission channel as a reference, a delay time T of a transmission signal of the jth transmission channel relative to a transmission signal of the ith transmission channel is obtainedij. Specifically, starting from the flag bit 301 of the ith transmission channel, the time duration between the flag bit 303 and the flag bit 301 of the first transmission signal transmitted by the jth transmission channel in the time period after the flag bit 301 of the ith transmission channel is the delay time duration Tij。
In FIG. 3, with the jth transmissionTaking the channel as a reference, and acquiring the delay time length T of the transmission signal of the ith transmission channel relative to the transmission signal of the jth transmission channelji. Specifically, starting with the flag bit 303 of the jth transmission channel, the time duration between the flag bit 302 and the flag bit 303 of the first transmission signal transmitted by the ith transmission channel in the time period after the flag bit 303 of the jth transmission channel is the delay time duration Tij。
Optionally, the delay time length T of the transmission signal of the jth transmission channel relative to the transmission signal of the ith transmission channel is obtained by taking the ith transmission channel as a referenceijThereafter, the delay period T may be subtracted from the total duration of one frame, without measurementijBy obtaining the delay time Tji. As can be seen in FIG. 3, Ti jAnd TjiIs equal to the total duration of one frame.
In the embodiment of the present invention, the scheme provided by the embodiment of the present invention may be repeatedly executed for multiple times, or alternatively, the scheme provided by the embodiment of the present invention may be periodically executed until the transmission signals between the channels are finally aligned. In the embodiment of the present invention, when the delay time period between the ith channel and the jth channel is monitored to be zero, it is indicated that the transmission signals between the ith channel and the jth channel are aligned.
Optionally, in determining the delay duration TijLess than delay period TjiIn case of (2), delaying the transmission signal of the ith transmission channel by a time period Tij. Optionally, in determining the delay duration TijGreater than delay time period TjiIn case of (2), delaying the transmission signal of the jth transmission channel by a time period Tji. Optionally, in determining the delay duration TijIs equal to the delay duration TjiIn case of (2), delaying the transmission signal of the jth transmission channel by a time period TjiOr delaying the transmission signal of the ith transmission channel by a time period Tij。
As can be seen from the above, according to the scheme provided in the embodiment of the present invention, the flag bits of each transmission channel can be automatically compared according to the flag bit of the transmission signal of each transmission channel in each transmission channel, and the delay duration between the transmission signals of each transmission channel can be estimated, so that the delay variation of each transmission channel can be tracked in real time, thereby performing automatic measurement and calibration without human intervention, and greatly improving convenience and adaptability.
Based on the same concept, the multi-channel transmission signal alignment apparatus provided in the embodiments of the present invention is configured to execute the above method flow, and the multi-channel transmission signal alignment apparatus provided in the embodiments of the present invention may be physically implemented by a Central Processing Unit (CPU), a Network Processor (NP), or a combination of the CPU and the NP. Or the multi-channel transmission signal alignment device can further comprise a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Fig. 4 schematically illustrates a structural diagram of a multi-channel transmission signal alignment apparatus according to an embodiment of the present invention, and as shown in fig. 4, the multi-channel transmission signal alignment apparatus 400 includes a frame parsing module 402, a frame header comparing module 404, and a data buffering module 403.
A frame parsing module 402, configured to obtain a flag bit of a transmission signal of each of the M transmission channels;
a frame header comparing module 404, configured to determine a delay duration between transmission signals of any two transmission channels in the M transmission channels according to the flag bits of the transmission signals of any two transmission channels;
the data buffer module 403 is configured to align the transmission signals of any two transmission channels according to a delay time length between the transmission signals of any two transmission channels.
Optionally, the multi-channel transmission signal alignment apparatus 400 further includes a transmission interface module 401.
Optionally, the transmission interface module 401 includes a plurality of transmission interface sub-modules, and optionally, each of the M transmission channels corresponds to one transmission interface sub-module, such as an ith transmission interface sub-module included in an ith transmission channel and a jth transmission interface sub-module included in a jth transmission channel shown in fig. 4. The transmission interface module 401 is used to implement transmission of a transmission signal in a transmission channel, for example, the transmission interface module 401 may be a serial-to-parallel conversion interface in an optical medium or an ethernet interface module in an ethernet medium. Specifically, the transmission interface sub-module corresponding to each transmission channel is used for realizing transmission of the transmission signal in the transmission channel.
Optionally, the frame parsing module 402 includes a plurality of frame parsing sub-modules, and optionally, each of the M transmission channels corresponds to one frame parsing sub-module, such as an ith frame parsing sub-module included in an ith transmission channel and a jth frame parsing sub-module included in a jth transmission channel shown in fig. 4. A frame parsing module 402, configured to obtain a flag bit of a transmission signal of each of the M transmission channels. Specifically, optionally, the frame parsing submodule on each transmission channel is configured to obtain a flag bit of the transmission signal on the transmission channel.
Optionally, the frame header comparing module 404 is configured to determine a delay duration between transmission signals of any two transmission channels in the M transmission channels according to the flag bits of the transmission signals of any two transmission channels.
Optionally, the data caching module 403 includes a plurality of data caching sub-modules, and optionally, each transmission channel in the M transmission channels corresponds to one data caching sub-module, such as an ith data caching sub-module included in an ith transmission channel and a jth data caching sub-module included in a jth transmission channel shown in fig. 4. The data buffer module 403 is configured to align the transmission signals of any two transmission channels according to a delay time length between the transmission signals of any two transmission channels. In particular, optionally, the frame parsing submodule on each transmission channel is configured to delay the transmission signal on the transmission channel.
Optionally, the data caching module is configured to: determining the delay time with the minimum value from all the delay time; aligning the transmission signals of the two transmission channels corresponding to the delay time with the minimum value; and aligning the transmission signals of the other M-2 transmission channels except the two transmission channels corresponding to the delay time with the minimum value with the transmission signal of any one of the two transmission channels corresponding to the delay time with the minimum value.
Optionally, the frame header comparing module is configured to: aiming at the ith transmission channel and the jth transmission channel in the M transmission channels, wherein i and j are different, and the value ranges [1, M ] of i and j](ii) a Executing: taking the ith transmission channel as a reference, obtaining the delay time length T of the transmission signal of the jth transmission channel relative to the transmission signal of the ith transmission channelij(ii) a Taking the jth transmission channel as a reference, obtaining the delay time length T of the transmission signal of the ith transmission channel relative to the transmission signal of the jth transmission channelji(ii) a A data caching module to: for the ith transmission channel and the jth transmission channel in the M transmission channels, executing: in determining the delay period TijLess than delay period TjiBy delaying the transmission signal of the ith transmission channel by a time period TijAligning the transmission signals of the ith transmission channel and the jth transmission channel; in determining the delay period TijGreater than delay time period TjiBy delaying the transmission signal of the jth transmission channel by a time period TjiAligning the transmission signals of the ith transmission channel and the jth transmission channel; in determining the delay period TijIs equal to the delay duration TjiBy delaying the transmission signal of the ith transmission channel by a time period TijAligning the transmission signals of the ith transmission channel and the jth transmission channel; or,by delaying the transmission signal of the jth transmission channel by a time period TjiThe transmission signals of the ith transmission channel and the jth transmission channel are aligned.
Optionally, the frame parsing module is configured to: and periodically acquiring the zone bit of the transmission signal of each transmission channel in the M transmission channels.
Optionally, the flag bit of the transmission signal of each transmission channel is a frame header of the transmission signal of the transmission channel.
As can be seen from the above, in the embodiment of the present invention, the flag bit of the transmission signal of each of the M transmission channels is obtained, so that the delay time between the transmission signals of any two transmission channels can be determined according to the flag bits of the transmission signals of any two transmission channels of the M transmission channels, and the transmission signals of any two transmission channels are aligned according to the delay time between the transmission signals of any two transmission channels, so that the alignment process of the transmission signals of multiple transmission channels does not need to be manually participated in, and manpower is saved; further, compared with a scheme of aligning the transmission signals of the plurality of transmission channels in a manual mode, the scheme provided by the embodiment of the invention is less in time consumption, and the efficiency of aligning the transmission signals is improved.
It should be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.