Data transmission method and device for digital optical fiber repeater, and electronic device
By dividing the target data to be transmitted into different categories of target compression groups according to different preset compression ratios, and compressing them to form a target transmission group, the problem that the digital fiber repeater station data transmission method is difficult to take into account both system capacity and transmission performance, and the effect of flexible configuration of compression ratio is achieved.
Patent Information
- Application Number
- PCT/CN2024/114526
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-11
- Filing Date
- 2024-08-26
- Publication Date
- 2025-06-19
AI Technical Summary
The existing data transmission methods of digital fiber repeater stations are difficult to take into account both system capacity and transmission performance. The fixed compression ratio causes some data to fail to meet the system capacity or transmission performance requirements.
By assembling the target data to be transmitted into multiple target compression units, and dividing it into different categories of target compression groups according to different preset compression ratios, compressing according to category identification, forming a target transmission group, and finally building and transmitting the target basic frame.
It realizes the flexibly configuring compression ratios based on data characteristics and requirements, taking into account the needs of system capacity and transmission performance, and solves the problem that traditional methods cannot take into account both system capacity and transmission performance.
Smart Images

Figure CN2024114526_19062025_PF_FP_ABST
Abstract
Description
Data transmission method, device and electronic device for digital optical fiber repeater
[0001] Related applications
[0002] This application claims priority to Chinese patent application number 202311695927.7, filed on December 11, 2023, entitled “Data transmission method, device and electronic device for digital fiber optic repeater station”, the entire text of which is incorporated herein by reference. Technical Field
[0003] The present application relates to the field of communication network technology, and in particular to a data transmission method, device and electronic device for a digital optical fiber repeater. Background Art
[0004] A digital fiber optic repeater (DAS) is a relay transponder between a base station (BS) and a mobile station (MS). It is a radio transmission relay device that enhances the signal during wireless communication transmission. It is mainly composed of a near-end unit, optical fiber, and a remote unit. When the digital fiber optic repeater is working, it converts electrical signals into optical signals and transmits them between the near-end unit and the remote unit via optical fiber. Optical fiber transmission between the near-end unit and the remote unit usually adopts the Common Public Radio Interface (CPRI) protocol. In order to obtain a larger transmission bandwidth and transmit a larger amount of data, the baseband data is usually compressed. Related CPRI-based transmission methods mostly compress all baseband data to the same bit width according to a fixed compression ratio. When the compression ratio is lower, that is, the bit width of the compressed data is larger, the distortion caused by data compression is smaller, the compression noise caused is also smaller, and the transmission performance is better. However, at the same time, the amount of data required to be transmitted increases, the transmission bandwidth is smaller, and therefore the system capacity is reduced. Conversely, when the compression ratio is higher, that is, the bit width of the compressed data is smaller, the transmission bandwidth and system capacity are larger, but the transmission noise is also greater, and the transmission performance is poor. It can be seen that in different application scenarios, it is difficult to achieve a balance between system capacity and transmission performance.
[0005] There is currently no effective solution to the problem in related technologies that cannot balance system capacity and transmission performance.
[0006] Summary of the Invention
[0007] According to various embodiments of the present application, a data transmission method, device, electronic device, and storage medium for a digital fiber optic repeater are provided.
[0008] In a first aspect, this embodiment provides a data transmission method for a digital optical fiber repeater, comprising:
[0009] Assembling the target data to be transmitted into multiple target compression units;
[0010] According to different preset compression ratios of the plurality of target compression units, the plurality of target compression units are divided into target compression groups of different categories; wherein one target compression group includes at least one target compression unit;
[0011] compressing each target compression group into a corresponding target transmission group according to the number of target compression units in each target compression group and the compression ratio corresponding to the target compression group;
[0012] Based on the target transmission group, a target basic frame is constructed; wherein one target basic frame includes at least one target transmission group;
[0013] The target basic frame is transmitted.
[0014] In some embodiments, compressing each target compression group into a corresponding target transmission group according to the number of target compression units in each target compression group and the compression ratio corresponding to the target compression group includes:
[0015] using the compression ratio corresponding to the target compression group as a first category identifier of the target compression group;
[0016] using the number of the target compression units in the target compression group as a second category identifier of the target compression group;
[0017] using the first category identifier and the second category identifier as the category identifier of the target compression group;
[0018] The target compression units in each target compression group are compressed according to the category identifier to obtain the target transmission group.
[0019] In some embodiments, compressing the target compression units in each target compression group according to the category identifier to obtain the target transmission group includes:
[0020] According to the category identifier of the target compression group, based on a preset real-time compression algorithm, each target compression unit in the target compression group is compressed into the target transmission group.
[0021] In some embodiments, constructing a target basic frame based on the target transmission group includes:
[0022] Based on a preset basic frame format, the target transmission group and corresponding control information are encapsulated into the target basic frame; one of the target basic frames includes at least one target transmission group.
[0023] In some embodiments, the method further comprises:
[0024] The category identifier corresponding to each target transmission group in the target basic frame is converted into a control character, and the control character is used as the control information corresponding to the target basic frame.
[0025] In some embodiments, transmitting the target basic frame includes:
[0026] The target basic frame is transmitted using multiple optical fibers.
[0027] In a second aspect, in this embodiment, a data transmission device for a digital optical fiber repeater is provided, comprising: an assembly module, a grouping module, a compression module, a framing module, and a transmission module, wherein:
[0028] The assembling module is used to assemble the target data to be transmitted into multiple target compression units;
[0029] The grouping module is configured to group the plurality of target compression units into target compression groups of different categories according to different preset compression ratios of the plurality of target compression units; wherein one target compression group includes at least one target compression unit;
[0030] The compression module is configured to compress each target compression group into a corresponding target transmission group according to the number of target compression units in each target compression group and the compression ratio corresponding to the target compression group;
[0031] The framing module is configured to construct a target basic frame based on the target frame data; wherein one target basic frame includes at least one target transmission group;
[0032] The transmission module is used to transmit the target basic frame.
[0033] In some embodiments, the framing module includes a conversion submodule and an encapsulation submodule, wherein:
[0034] The conversion submodule is configured to convert the category identifier corresponding to each target transmission group in the target basic frame into a control character, and use the control character as the control information corresponding to the target basic frame;
[0035] The encapsulation submodule is configured to encapsulate the target transmission group and the corresponding control information into the target basic frame based on a preset basic frame format; one of the target basic frames includes at least one target transmission group.
[0036] In a third aspect, an electronic device is provided in this embodiment, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the data transmission method for a digital fiber optic repeater described in the first aspect is implemented.
[0037] In a fourth aspect, a storage medium is provided in this embodiment, on which a computer program is stored. When the program is executed by a processor, the data transmission method for a digital optical fiber repeater described in the first aspect is implemented.
[0038] The details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the disclosed drawings without any creative work.
[0040] FIG1 is a structural diagram of a digital optical fiber repeater device according to this embodiment.
[0041] FIG2 is a flow chart of a data transmission method for a digital optical fiber repeater according to this embodiment.
[0042] FIG3 is a flow chart of a data transmission method for a digital optical fiber repeater according to this optional embodiment.
[0043] FIG4 is a structural block diagram of a data transmission device for a digital optical fiber repeater according to this embodiment.
[0044] FIG5 is a structural block diagram of a framing module in a data transmission device for a digital optical fiber repeater according to this embodiment.
[0045] FIG6 is a schematic diagram of another data transmission method for a digital optical fiber repeater provided by this embodiment. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0047] Unless otherwise defined, the technical terms or scientific terms involved in this application should have the general meaning understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "an", "a", "the", "these" and the like in this application do not indicate quantitative restrictions, and they can be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "plurality" involved in this application refers to two or more. "And / or" describes the relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, and B exists alone. Generally, the character " / " indicates that the related objects are in an "or" relationship. The terms "first," "second," "third," etc. used in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0048] The method embodiments provided in this embodiment can be applied to a digital fiber optic repeater device. Figure 1 is a structural diagram of the digital fiber optic repeater device in this embodiment. As shown in Figure 1 , the device may include a near-end unit 102, a far-end unit 104, and optical fibers represented by bidirectional arrows. Fiber optic transmission generally utilizes the Common Public Radio Interface (CPRI) protocol. The near-end unit 102 may include, but is not limited to, an antenna interface, a duplexer, a downconverter, an analog-to-digital converter (ADC), an upconverter, a digital-to-analog converter (DAC), a baseband signal processor, and an optical transceiver. The far-end unit 104 has the same components as the near-end unit 102. Those skilled in the art will appreciate that the structure shown in Figure 1 is merely illustrative and does not limit the structure of the digital fiber optic repeater device described above. For example, the device may include more or fewer components than shown in Figure 1 , or have a different configuration than that shown. In one embodiment, the near-end and far-end units also include power amplifiers.
[0049] The digital fiber optic repeater equipment described above acts as a signal intermediary, transmitting signals from the near-end to the far-end. Near-end unit 102 receives downlink signals, converts them from electrical signals to optical signals suitable for fiber optic transmission, and transmits the optical signals to far-end unit 104. Optical fibers transmit the optical signals from near-end unit 102 to far-end unit 104. Far-end unit 104 receives the optical signals from near-end unit 102, converts them into electrical signals, or uplink signals, and transmits them. Specifically, the near-end device 102 receives a downlink signal via an antenna interface, down-converts the downlink signal through a downconverter to an intermediate frequency signal, samples the intermediate frequency signal in an analog-to-digital converter, converts it into a digital signal, processes the digital signal through a baseband signal processor, converts it into an optical signal, and transmits it to the far-end device via optical fiber. The optical transceiver in the far-end device 104 receives the optical signal, converts it into a digital signal after baseband processing, and converts the digital signal into an analog signal through a digital-to-analog converter. The analog signal is then up-converted to an uplink signal and transmitted through the antenna interface. Furthermore, the aforementioned digital fiber optic repeater equipment can also be used to transmit signals from the far-end to the near-end. The duplexers in the near-end device 102 and the far-end device 104 isolate the transmitted and received signals, ensuring that signal reception and transmission can occur simultaneously.
[0050] In this embodiment, a data transmission method for a digital fiber optic repeater is provided. The transmission method of this embodiment is executed by a baseband signal processor, an optical transceiver, and an optical fiber in the digital fiber optic repeater device shown in FIG1 . The baseband signal processor and the optical transceiver may be in the near-end machine 102 or in the far-end machine 104 depending on the signal transmission direction in different scenarios, and no specific limitation is made here.
[0051] FIG2 is a flow chart of a data transmission method for a digital optical fiber repeater according to an embodiment of the present invention. As shown in FIG2 , the flow chart includes the following steps:
[0052] Step S201: assemble target data to be transmitted into multiple target compression units.
[0053] Specifically, the target data primarily consists of baseband signal modulation data (I / Q data). When a digital fiber optic repeater transmits signals between near-end and far-end devices over optical fiber, it does so in basic frames. The line rate of optical fiber transmission is fixed, and under a given system clock, the maximum amount of data that can be transmitted per basic frame is also fixed. For a basic frame, aside from the control information transmitted in the frame header, the remaining space is generally used to transmit compressed baseband signal modulation data. The target data is organized into multiple target compression units, each containing a fixed amount of data, representing the amount of data processed during a single compression operation. This amount can be set based on the specific application scenario and transmission requirements.
[0054] Step S202 : dividing the plurality of target compression units into target compression groups of different categories according to their respective different preset compression ratios; wherein a target compression group includes at least one target compression unit.
[0055] Specifically, the compression ratio in this embodiment refers to the degree of data compression, which can be represented by the ratio of the data size before compression to the data size after compression. Different data types are suitable for different compression ratios. For data with high requirements for data accuracy and signal-to-noise ratio and small bandwidth, a lower compression ratio is configured to prioritize performance. For data with large bandwidth and relatively low accuracy requirements, a higher compression ratio is configured to prioritize system capacity.
[0056] The plurality of target compression units are divided into target compression groups of different categories based on different preset compression ratios of the plurality of target compression units; wherein a target compression group includes at least one target compression unit. Each target compression unit in the same target compression group has the same compression ratio, while target compression units in different target compression groups have different compression ratios.
[0057] Step S203 : compressing each target compression group into a corresponding target transmission group according to the number of target compression units in each target compression group and the compression ratio corresponding to the target compression group.
[0058] Specifically, the target compression units are compressed according to groups. For the target compression units in the same target transmission group, a uniform compression ratio is set, and they are compressed in sequence to obtain target transmission groups with different bit widths. For example, if target compression group A includes x target compression units and the corresponding compression ratio is y, then the compression ratio is set to y, and x compression operations are performed on target compression group A to obtain the corresponding target transmission group A, and the bit width of target transmission group A is z; if target compression group B includes u target compression units and the corresponding compression ratio is v, then the compression ratio is set to v, and z compression operations are performed on target compression group A to obtain the corresponding target transmission group B, and the bit width of target transmission group B is w.
[0059] Step S204: construct a target basic frame based on the target transmission group; wherein one target basic frame includes at least one target transmission group.
[0060] Specifically, optical fibers transmit data in frames, and this embodiment reframes the target transmission group according to a preset basic frame format to obtain a target basic frame, wherein one basic frame may include multiple target transmission groups corresponding to multiple compression ratios.
[0061] Step S205: Transmitting the target basic frame. Specifically, based on the optical fiber in the digital optical fiber repeater device, the compressed target data is transmitted between the near-end machine and the far-end machine in the form of the target basic frame.
[0062] Through the above steps S201 to S205, the target data to be transmitted is assembled into a plurality of target compression units; according to the different preset compression ratios of the plurality of target compression units, the plurality of target compression units are divided into target compression groups of different categories; wherein, a target compression group includes at least one target compression unit; according to the number of target compression units in each target compression group and the compression ratio corresponding to the target compression group, each target compression group is compressed into a corresponding target transmission group; based on the target transmission group, a target basic frame is constructed; wherein, a target basic frame includes at least one target transmission group; and the target basic frame is transmitted. Related data transmission methods often compress all data to be transmitted according to a fixed compression ratio. Since different data have different characteristics and different requirements for system capacity and transmission performance, a fixed compression ratio will inevitably lead to the inability to meet the system capacity requirements of some data or the inability to meet the transmission performance requirements of some data. The present application sets compression ratios for data classification according to the characteristics and actual needs of the data to be transmitted, compresses them according to their respective compression ratios, and then reframes them. The basic frame of optical fiber transmission can contain multiple groups of data corresponding to different compression ratios. The present application classifies the data and flexibly configures the compression ratio according to the respective requirements of each category of data for system capacity and transmission performance, and then transmits them in a unified manner, thereby solving the problem in related technologies that cannot take into account both system capacity and transmission performance, and taking into account the data's requirements for system capacity and transmission performance.
[0063] In some embodiments, based on the above step S203, compressing each target compression group into a corresponding target transmission group according to the number of target compression units in each target compression group and the compression ratio corresponding to the target compression group may specifically include:
[0064] The compression ratio corresponding to the target compression group is used as the first category identifier of the target compression group; the number of target compression units in the target compression group is used as the second category identifier of the target compression group; the first category identifier and the second category identifier are used as the category identifier of the target compression group; according to the category identifier, the target compression units in each target compression group are compressed to obtain the target transmission group.
[0065] Furthermore, in some embodiments, based on the above step S203, compressing the target compression units in each target compression group according to the category identifier to obtain the target transmission group specifically includes:
[0066] According to the category identifier of the target compression group, each target compression unit within the target compression group is compressed into a target transmission group based on a preset real-time compression algorithm. The real-time compression algorithm can be a Block Floating Point (BFP) compression algorithm. This algorithm does not require pre-storage of a lookup table corresponding to the compressed data; it only requires specifying the compression bit width to complete the data compression algorithm processing. A higher bit width results in less compression noise. The bit width of the target compression unit can be calculated based on the size of the target compression unit and the corresponding compression ratio.
[0067] Furthermore, in some embodiments, based on the above step S204 and based on the target transmission group, constructing a target basic frame may specifically include:
[0068] Based on a preset basic frame format, the target transmission group and corresponding control information are encapsulated into a target basic frame; one target basic frame includes at least one target transmission group. Optical fiber transmission between the near-end and far-end units of a digital optical fiber repeater typically utilizes the CPRI protocol. In some embodiments, based on the basic frame format of the CPRI protocol, a CPRI basic frame is constructed with the control information corresponding to each target transmission group as a frame header and the target transmission group as frame data. The control information includes protocol control information in the form of control words.
[0069] In some embodiments, the control information may also include the number of target transmission units and the compression ratio corresponding to each target transmission group in the target basic frame, i.e., the category identifier of the target compression group corresponding to the target transmission group. Specifically, the category identifier corresponding to each target transmission group in the target basic frame is converted into a control character, and the control character is used as the control information corresponding to the target basic frame. The above-mentioned category identifier is transmitted in the form of a control word in the CPRI basic frame. The receiving end can extract this category identifier information from the CPRI basic frame before decompression and then use this category identifier to decompress the data.
[0070] Furthermore, in some of the embodiments, based on the above step S205, transmitting the target basic frame may specifically include: using multiple optical fibers to transmit the target basic frame.
[0071] Digital fiber optic repeaters utilize light waves as carrier waves and optical fiber as the transmission medium to transmit information from near-end / remote-end to remote / near-end. In related digital fiber optic repeater equipment, both near-end and remote-end devices transmit data via a single optical fiber, resulting in limited transmission capacity and limited flexibility. This embodiment, however, utilizes dual or multiple optical fibers for transmission, expanding transmission capacity. Furthermore, each fiber transmits data independently, enabling the transmission of different carrier information using different compression methods, thereby increasing transmission bandwidth. While using multiple optical fibers for transmission increases bandwidth exponentially, this also requires more physical interfaces and increases data processing complexity. Therefore, in some embodiments, dual-fiber transmission is chosen to strike a balance between transmission capacity and bandwidth, as well as the number of physical interfaces and processing complexity. In actual use, the number of physical optical ports used for fiber optic transmission can be configured based on the environment.
[0072] The present embodiment is described and illustrated below through optional embodiments.
[0073] FIG3 is a flow chart of a data transmission method for a digital optical fiber repeater according to an optional embodiment. As shown in FIG3 , the method includes the following steps:
[0074] Step S301, assembling target data to be transmitted into multiple target compression units;
[0075] Step S302: dividing the plurality of target compression units into target compression groups of different categories according to different preset compression ratios of the plurality of target compression units; wherein a target compression group includes at least one target compression unit;
[0076] Step S303, compressing each target compression group into a corresponding target transmission group according to the number of target compression units in each target compression group and the compression ratio corresponding to the target compression group;
[0077] Step S304: construct a target basic frame based on the target transmission group; wherein one target basic frame corresponds to one target transmission group;
[0078] Step S305: different optical fibers are used to transmit different target basic frames.
[0079] This embodiment also provides a data transmission device for a digital fiber optic repeater. This device is used to implement the above-mentioned embodiments and optional implementations. Details already described are omitted. The terms "module," "unit," "subunit," etc. used below may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented using software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0080] FIG4 is a block diagram of a data transmission device for a digital optical fiber repeater according to an embodiment of the present invention. As shown in FIG4 , the device includes an assembly module 41, a grouping module 42, a compression module 43, a framing module 44, and a transmission module 45, wherein:
[0081] The assembly module 41 is used to assemble the target data to be transmitted into multiple target compression units; the grouping module 42 is used to divide the multiple target compression units into target compression groups of different categories according to the different preset compression ratios of the multiple target compression units; wherein, a target compression group includes at least one target compression unit; the compression module 43 is used to compress each target compression group into a corresponding target transmission group according to the number of target compression units in each target compression group and the compression ratio corresponding to the target compression group; the framing module 44 is used to construct a target basic frame based on the target frame data; wherein, a target basic frame includes at least one target transmission group; the transmission module 45 is used to transmit the target basic frame.
[0082] FIG5 is a structural block diagram of a framing module in a data transmission device for a digital optical fiber repeater according to the present embodiment. As shown in FIG5 , the framing module 44 includes a conversion submodule 51 and an encapsulation submodule 52, wherein:
[0083] The conversion submodule 51 is used to convert the category identifier corresponding to each target transmission group in the target basic frame into a control character, and use the control character as the control information corresponding to the target basic frame; the encapsulation submodule 52 is used to encapsulate the target transmission group and the corresponding control information into a target basic frame based on a preset basic frame format; one target basic frame includes at least one target transmission group.
[0084] It should be noted that the above modules can be either functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination; or the above modules can be different processors.
[0085] 6 is a schematic diagram of another data transmission method for a digital optical fiber repeater provided by this embodiment. As shown in FIG6 , baseband IQ data to be transmitted is combined into data units; the data units are divided into different categories according to the compressed bit width, such as Category 1, Category 2, ..., Category n, each category of data having a category identifier. The category identifier includes information identifying the compressed data bit width and the number of data units of the data category. Different shadings in FIG6 represent different categories. In addition, the compressed data bit width corresponds to the compression ratio and can be converted to each other. The classified baseband IQ data is placed in an IQ container to form different data groups, such as N1, N2, and N3; data compression is performed on each data group according to the compressed bit width of each group to obtain a compressed data group, wherein different lengths of rectangles represent different data bit widths; after compression, the compressed data is reframed according to the basic frame format in the CPRI protocol to obtain CPRI basic frame IQ data; on this basis, the category identifier is added to the frame header in the form of a control word to obtain a CPRI basic frame for transmission.
[0086] This embodiment further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0087] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0088] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program:
[0089] S1, assembling the target data to be transmitted into multiple target compression units;
[0090] S2, dividing the plurality of target compression units into target compression groups of different categories according to different preset compression ratios of the plurality of target compression units; wherein a target compression group includes at least one target compression unit;
[0091] S3, compressing each target compression group into a corresponding target transmission group according to the number of target compression units in each target compression group and the compression ratio corresponding to the target compression group;
[0092] S4, constructing a target basic frame based on the target transmission group; wherein one target basic frame includes at least one target transmission group;
[0093] S5, transmit the target basic frame.
[0094] It should be noted that, for specific examples in this embodiment, reference may be made to the examples described in the above embodiments and optional implementation modes, and will not be repeated in this embodiment.
[0095] In addition, in conjunction with the data transmission method for a digital fiber optic repeater provided in the above embodiments, a storage medium may also be provided in this embodiment to implement the method. The storage medium stores a computer program; when the computer program is executed by a processor, it implements any of the data transmission methods for a digital fiber optic repeater provided in the above embodiments.
[0096] It should be understood that the specific embodiments described herein are only used to explain this application and are not used to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0097] Obviously, the accompanying drawings are merely examples or embodiments of the present application. A person skilled in the art can also apply the present application to other similar situations based on these drawings without inventive effort. Furthermore, it is understandable that, although the work involved in this development process may be complex and lengthy, certain design, manufacturing, or production changes based on the technical content disclosed in this application are merely routine technical means for a person skilled in the art and should not be considered to constitute a deficiency in the disclosure of the present application.
[0098] The term "embodiment" as used in this application refers to specific features, structures, or characteristics described in conjunction with the embodiment that can be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily mean that the embodiment is the same, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. It is understood, either explicitly or implicitly, by those skilled in the art that the embodiments described in this application can be combined with other embodiments when there is no conflict.
[0099] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A data transmission method for a digital optical fiber repeater, characterized in that: include: Assembling the target data to be transmitted into a plurality of target compression units; According to different preset compression ratios of the plurality of target compression units, the plurality of target compression units are divided into target compression groups of different categories; wherein one of the target compression groups includes at least one target compression unit; compressing each of the target compression groups into a corresponding target transmission group according to the number of the target compression units in each of the target compression groups and the compression ratio corresponding to the target compression group; Based on the target transmission group, a target basic frame is constructed; wherein one of the target basic frames includes at least one of the target transmission groups; The target basic frame is transmitted.
2. The data transmission method according to claim 1, wherein: The compressing each of the target compression groups into a corresponding target transmission group according to the number of the target compression units in each of the target compression groups and the compression ratio corresponding to the target compression group comprises: Using the compression ratio corresponding to the target compression group as a first category identifier of the target compression group; Using the number of the target compression units in the target compression group as a second category identifier of the target compression group; Using the first category identifier and the second category identifier as the category identifier of the target compression group; The target compression units in each of the target compression groups are compressed according to the category identifier to obtain the target transmission group.
3. The data transmission method according to claim 2, wherein: The step of compressing the target compression units in each of the target compression groups according to the category identifier to obtain the target transmission group includes: According to the category identifier of the target compression group, based on a preset real-time compression algorithm, each of the target compression units in the target compression group is compressed into the target transmission group.
4. The data transmission method according to claim 1, wherein: The constructing a target basic frame based on the target transmission group includes: Based on a preset basic frame format, the target transmission group and corresponding control information are encapsulated into the target basic frame; one of the target basic frames includes at least one target transmission group.
5. The data transmission method according to claim 1, wherein: The method further comprises: The category identifier corresponding to each of the target transmission groups in the target basic frame is converted into a control character, and the control character is used as the control information corresponding to the target basic frame.
6. The data transmission method according to claim 1, wherein: The transmitting the target basic frame comprises: The target basic frame is transmitted using multiple optical fibers.
7. A data transmission device for a digital optical fiber repeater, characterized in that: include: An assembly module, a grouping module, a compression module, a framing module, and a transmission module, wherein: The assembling module is used to assemble the target data to be transmitted into a plurality of target compression units; The grouping module is used to divide the plurality of target compression units into target compression groups of different categories according to different preset compression ratios of the plurality of target compression units; wherein one target compression group includes at least One less target compression unit; The compression module is used to compress each target compression group into a corresponding target transmission group according to the number of the target compression units in each target compression group and the compression ratio corresponding to the target compression group; The frame assembly module is used to construct a target basic frame based on the target frame data; wherein one target basic frame includes at least one target transmission group; The transmission module is used to transmit the target basic frame.
8. The data transmission device according to claim 7, wherein: The framing module includes a conversion submodule and a packaging submodule, wherein: The conversion submodule is used to convert the category identifier corresponding to each target transmission group in the target basic frame into a control character, and use the control character as the control information corresponding to the target basic frame; The encapsulation submodule is used to encapsulate the target transmission group and the corresponding control information into the target basic frame based on a preset basic frame format; one of the target basic frames includes at least one target transmission group.
9. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the data transmission method for a digital optical fiber repeater according to any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the data transmission method for a digital optical fiber repeater described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method, device and system for compressing and uncompressing data in distributed base station system
CN102843720A
Data compression method based on CPRI protocol
CN112235828A
Data transmission method and device for digital optical fiber repeater and electronic device
CN117834026A
Transmission Of Multiprotocol Data in a Distributed Antenna System
US20120057572A1
Frame synchronization for data transmission over an optical network
US20160182218A1