Data transmission method and device, electronic equipment, storage medium and computer program product

By adjusting the main clock to obtain the reference clock and determining the data transmission rate, the problem that the optical fiber communication protocol is difficult to achieve efficient and flexible transmission in ultra-short wave high-speed frequency hopping technology is solved, and the efficient and flexible transmission of data is achieved, meeting the needs of high-speed frequency hopping design. .

CN119110385APending Publication Date: 2024-12-10GUANGZHOU HAIGE COMMUNICATION GROUP INCORPORATED COMPANY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411470778.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The existing fiber optic communication protocols are difficult to meet the efficient and flexible transmission requirements of data in ultra-short wave high-speed frequency hopping technology, especially due to the fixed transmission rate and complex data analysis processes, which lead to poor real-time performance.

Method used

By acquiring clock parameter control information, adjusting the main clock to obtain a reference clock, and determining the data transmission rate based on the reference clock, data transmission is carried out, thereby realizing flexible clock configuration and data transmission at multiple rates.

Benefits of technology

It realizes efficient and flexible data transmission in ultra-short wave high-speed frequency hopping technology, meets the needs of high-speed frequency hopping design, and improves the flexibility and efficiency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119110385A_ABST
    Figure CN119110385A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and provides a data transmission method and device, electronic equipment, a storage medium and a computer program product, and the method comprises the steps: obtaining to-be-transmitted data and clock parameter control information; adjusting an accessed master clock based on the clock parameter control information to obtain a reference clock; determining a data sending rate according to the reference clock; and transmitting the data to be transmitted according to the data transmission rate. When data transmission needs to be carried out, the accessed main clock can be adjusted according to the obtained clock parameter control information, and the reference clock is obtained; determining a data sending rate required by the data to be transmitted according to the reference clock; thus, the to-be-transmitted data can be transmitted according to the data sending rate, clock configuration can be flexibly carried out, data transmission of various rates can be achieved, and the requirement for efficient and flexible data transmission in the design of the ultra-short wave high-speed frequency hopping technology can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data transmission method, device, electronic device, storage medium and computer program product. Background Art

[0002] With the development of wireless communication technology, most modern wireless communication devices are designed into two main processing units: baseband unit (BBU) and remote radio unit (RRU). The data exchange between the two processing units mainly relies on optical fiber transmission, which has the advantages of flexible deployment, large data transmission bandwidth and lossless transmission. As a data transmission medium, optical fiber has its corresponding transmission protocol according to different application requirements. Common optical fiber communication protocols include Ethernet protocol, Cpri protocol and eCpri protocol. These protocols define the format, rate, error detection and correction, high-speed serial transmission encoding and decoding and data synchronization methods of data transmission in optical fiber communication, ensuring efficient, stable and reliable data transmission.

[0003] Among them, the Ethernet protocol is mainly used in wireless communication systems for data transmission between embedded systems and computers in communication equipment. The processing of Ethernet protocol by embedded systems and computers has the advantages of flexibility and easy development. There are mature technical implementation solutions in product development, which can improve product development efficiency. The entire protocol layer of the Ethernet-based optical fiber transmission protocol includes application layer, transmission layer, network layer, data link layer and physical layer. The development of some protocol layers needs to rely on the software platform, which is suitable for data transmission between systems with software development platforms, server equipment, etc. In the field of communication, the design complexity of hardware-based RF data transmission and baseband processing units is relatively high, which is not conducive to improving product development efficiency. At the same time, due to the complex data parsing and packaging process, the real-time performance of data transmission based on the Ethernet protocol is poor, and it is difficult to meet the data transmission requirements of high-speed frequency hopping.

[0004] Cpri protocol and eCpri protocol are optical fiber transmission protocols used between "baseband processing unit" and "remote radio unit" in wireless communication of the fourth generation mobile communication technology (4G) and the fifth generation mobile communication technology (5G). Cpri protocol and eCpri protocol are data transmission protocol standards formulated by wireless communication equipment manufacturers according to 4G and 5G communication standards. Their data transmission mainly includes user-level data flow, control management layer data flow and synchronization data flow of 4G and 5G communication, and has its specific IQ data, control parameters and transmission rate definitions and transmission methods. IQ data is used to represent the plural form of the signal and is often used for signal processing in wireless communication. The optical fiber transmission protocol based on Cpri protocol and eCpri protocol is a communication protocol developed according to the design requirements of civil 4G and 5G communication systems to realize high-speed data transmission between BBU and RRU devices. It has the advantages of high transmission efficiency and strong specialization. However, due to the differences in communication protocols in terms of IQ data, channel control parameters and high-speed frequency hopping, this transmission protocol is difficult to meet the data efficient transmission of the commonly used ultra-short wave radio communication protocol.

[0005] The above-mentioned fiber optic communication protocols are all designed for corresponding dedicated communication fields. Different communication fields use their corresponding fiber optic communication protocols to enable users to achieve high-speed data communication. However, the Ethernet protocol generally only supports fixed serial rates of 1Gbps (Gigabits per second, gigabits transmitted per second)\10Gbps\50Gbps, and the Cpri protocol and eCpri protocol generally only support the transmission rates required by 4G and 5G communication protocols such as 3.072\6.144\9.830\10.137Gbps. The fiber optic data transmission rates of the two interfaces are relatively fixed. Therefore, for the design of ultra-short wave high-speed frequency hopping technology, it is difficult to achieve efficient and flexible data transmission using existing fiber optic communication protocols. Summary of the invention

[0006] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a data transmission method, device, electronic device, storage medium and computer program product to solve the problem that it is difficult to realize efficient and flexible data transmission using the existing optical fiber communication protocol for the design of ultra-short wave high-speed frequency hopping technology, and realize efficient and flexible data transmission.

[0007] According to the first aspect of the present application, a data transmission method includes: Obtaining data to be transmitted and clock parameter control information; Adjusting the accessed master clock based on the clock parameter control information to obtain a reference clock; Determine a data transmission rate according to the reference clock; The data to be transmitted is transmitted according to the data sending rate.

[0008] According to an embodiment of the present application, adjusting the connected master clock based on the clock parameter control information to obtain a reference clock includes: Parsing the clock parameter control information to obtain a target frequency; The frequency of the connected master clock is adjusted according to the target frequency to obtain a reference clock.

[0009] According to an embodiment of the present application, determining the data transmission rate according to the reference clock includes: Determining the number of data bits that can be transmitted by the reference clock in each clock cycle; The data bit number is multiplied by the frequency of the reference clock to obtain a data transmission rate.

[0010] According to an embodiment of the present application, transmitting the data to be transmitted according to the data sending rate includes: Performing framing processing on the data to be transmitted to obtain framing data; The frame data is transmitted according to the data transmission rate.

[0011] According to an embodiment of the present application, the step of performing framing processing on the data to be transmitted to obtain framing data includes: The data to be transmitted is framed according to the frame structure of the complex signal, frequency hopping parameters, channel control parameters and state parameters to obtain framed data.

[0012] According to an embodiment of the present application, after adjusting the accessed master clock based on the clock parameter control information to obtain the reference clock, the method further includes: The reference clock is sent to a receiving end of the data to be transmitted, so that the receiving end determines a data receiving rate based on the reference clock and receives data according to the data receiving rate.

[0013] According to the second aspect of the present application, the data transmission device includes a clock management module, a sending control module, a receiving control module, a control parameter management module, a transceiver, a controller, and a computer program stored in a memory and executable on the controller. When the controller executes the computer program, it implements any one of the above-mentioned data transmission methods.

[0014] According to an electronic device of an embodiment of the third aspect of the present application, the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the data transmission method described above is implemented.

[0015] According to the storage medium of the fourth aspect of the present application, the storage medium is a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements any of the data transmission methods described above.

[0016] The computer program product according to the fifth aspect of the present application includes a computer program, which, when executed by a processor, implements any of the above-mentioned data transmission methods.

[0017] The above one or more technical solutions in the embodiments of the present application have at least the following technical effects: When data transmission is required, the accessed master clock can be adjusted according to the acquired clock parameter control information to obtain a reference clock; and the data transmission rate required for the data to be transmitted can be determined according to the reference clock; and then the data to be transmitted can be transmitted according to the data transmission rate. Since the clock can be flexibly configured to achieve data transmission at various rates, it can meet the needs of efficient and flexible data transmission in the design of ultra-short wave high-speed frequency hopping technology.

[0018] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 It is a flowchart of the data transmission method provided in an embodiment of the present application.

[0021] Figure 2 It is a schematic diagram of the architecture of the data transmission device provided in an embodiment of the present application.

[0022] Figure 3 It is a schematic diagram of the basic frame structure for sending and receiving data provided in an embodiment of the present application.

[0023] Figure 4 It is a schematic diagram of the structure of the electronic device provided by this application. DETAILED DESCRIPTION

[0024] The following is a further detailed description of the implementation of the present application in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but cannot be used to limit the scope of the present application.

[0025] In the description of the embodiments of the present application, it should be noted that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the embodiments of the present application. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0026] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.

[0027] In the embodiments of the present application, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0028] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiments of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0029] Figure 1 is a flow chart of a data transmission method provided in an embodiment of the present application, such as Figure 1 As shown, the data transmission method includes: Step 110, obtaining data to be transmitted and clock parameter control information.

[0030] Step 120: Adjust the connected master clock based on the clock parameter control information to obtain a reference clock.

[0031] Step 130: determine the data transmission rate according to the reference clock.

[0032] Step 140: Transmit the data to be transmitted according to the data transmission rate.

[0033] It should be noted that the data transmission method provided in the embodiment of the present application can be applied to the design of ultra-short wave high-speed frequency hopping technology, and the execution subject can be a data transmission device, thereby the following method can be executed by the data transmission device: obtaining the data to be transmitted and the clock parameter control information; Adjusting the accessed master clock based on the clock parameter control information to obtain a reference clock; Determine a data transmission rate according to the reference clock; The data to be transmitted is transmitted according to the data sending rate.

[0034] Figure 2 is a schematic diagram of the architecture of a data transmission device provided in an embodiment of the present application, such as Figure 2 As shown, the data transmission device of the present application can be divided into a master end (Master) and a slave end (Slave), and the master end and the slave end are respectively a baseband processing unit type device and a remote radio frequency unit type device. That is, if the master end is a baseband processing unit type device, the slave end is a remote radio frequency unit type device; if the master end is a remote radio frequency unit type device, the slave end is a baseband processing unit type device.

[0035] The present application can use a Xilinx series Field-Programmable Gate Array (FPGA) to implement the above-mentioned master end and slave end and achieve reliable communication.

[0036] In the present application, both the master end and the slave end may include a clock management module, a transmission control module, a reception control module, a control parameter management module, a transceiver, a controller, and a computer program stored in a memory and executable on the controller. When the controller executes the computer program, the above-mentioned data transmission method is implemented. Among them, the transceiver may be a GT transceiver, which is a device for high-speed data communication that can send and receive data at a rate of gigabits per second. Data can be transmitted (Transmit, TX) and received (Receive, RX) through the GT transceiver.

[0037] In addition, the clock management module is connected to the clock interface, and the master clock can be accessed through the clock interface. Specifically, the clock management module is a clock system that processes the entire optical fiber communication protocol. The clock interface at the master end provides the master clock of the entire system. The master clock provides the reference clock for the GT transceiver after the timing processing of the clock management module. The clock configuration unit in the clock management module mainly processes the clock signal between the GT transceiver and outputs the user data clock according to the configuration parameters set by the configuration parameter management unit for the user to process the received and sent data; the clock management module at the slave end receives the synchronous clock recovered by the GT transceiver unit as the reference clock of the entire system, and outputs the clocks of various functions required by the system after processing by the clock configuration unit to achieve clock synchronization of the optical fiber transmission system.

[0038] The transmission control module mainly processes the transmission logic of data on the transmission channel, while the reception control module mainly processes the reception logic of data on the reception channel. The data may include complex signals (also called IQ data), frequency hopping parameters, channel control parameters and status parameters.

[0039] The control parameter management module mainly provides register parameter reading and writing interface, channel control parameter setting and status information reading interface for the clock management module, transmission control module, reception control module and GT transceiver. The information of channel control parameter setting includes fiber plugging and unplugging status, synchronous link establishment status, clock parameter control information, data transmission rate control information and data reception rate control information.

[0040] Specifically, the user can manage parameters through the control parameter management module according to actual needs, for example, the user can configure clock parameter control information according to needs, so as to realize data transmission at various rates according to the flexibly configured clock parameter control information.

[0041] When either the master end or the slave end acts as the data transmitter, the controller can control the transmission control module to obtain the data to be transmitted including IQ data, frequency hopping parameters, channel control parameters and status parameters, and control the clock management module to extract the clock parameter control information configured therein.

[0042] Furthermore, the controller can control the clock management module to access the master clock through the clock interface, and further control the clock management module to adjust the frequency of the accessed master clock according to the clock parameter control information, and use the master clock after frequency adjustment as the reference clock.

[0043] Furthermore, the controller may control the clock management module to determine the data transmission rate according to the clock information of the reference clock and send the data transmission rate to the transmission control module.

[0044] Furthermore, the controller can control the transmission control module to frame the data to be processed, and send each frame of the framed data to the data transmission interface of the GT transceiver according to the data transmission rate. The GT transceiver can perform high-speed data transmission and reception functions such as parallel-to-serial conversion, serial-to-parallel conversion, 64 / 66B encoding and decoding, high-speed serial channel synchronous handshake link establishment, and then send the processed data to the data receiving interface of the GT transceiver at the receiving end.

[0045] The functions of the GT transceiver in this application can be implemented by using the Internet Protocol (IP) core of the FPGA Transceivers Wizard, which is a tool for generating and configuring high-speed serial transceiver IP cores.

[0046] The GT transceiver at the receiving end receives data through the data receiving interface, deframes each received basic frame, extracts IQ data, frequency hopping parameters, channel control parameters, and status parameters from each basic frame, and sends the data to the relevant interface in real time, thereby completing the transmission of data from the sending end to the receiving end.

[0047] According to the data transmission method of the embodiment of the present application, when data transmission is required, the accessed master clock can be adjusted according to the acquired clock parameter control information to obtain a reference clock; and the data transmission rate required for the data to be transmitted is determined according to the reference clock; and then the data to be transmitted can be transmitted according to the data transmission rate. Since the clock configuration can be flexibly performed to realize data transmission at various rates, the requirements for efficient and flexible data transmission in the design of ultra-short wave high-speed frequency hopping technology can be met.

[0048] This application can meet the design requirements of BBU and RRU interfaces at various rates within the rate range of the design bandwidth that meets the optical fiber module indicators.

[0049] Based on the above embodiment, adjusting the accessed master clock based on the clock parameter control information to obtain the reference clock includes: Parse the clock parameter control information to obtain the target frequency; The frequency of the connected master clock is adjusted according to the target frequency to obtain a reference clock.

[0050] Specifically, the controller of the present application can control the clock management module to parse the acquired clock parameter control information, such as parsing the target frequency, adjustment amount, time interval and other information, and extract the target frequency from it. The target frequency can be the clock frequency or the data transmission rate.

[0051] Then, the controller can control the clock management module to adjust the frequency of the connected master clock according to the target frequency, specifically, adjusting the current frequency of the master clock to the target frequency and using it as a reference clock.

[0052] More specifically, when adjusting the current frequency of the master clock to the target frequency, a phase-locked loop (PLL) circuit may be used to input the target frequency and adjust the frequency of the master clock through feedback.

[0053] If the target frequency is the data transmission rate, the corresponding clock frequency can be determined according to the conversion relationship between the data transmission rate and the clock frequency, and the current frequency of the master clock can be adjusted to the clock frequency and used as the reference clock.

[0054] The present application adjusts the accessed master clock according to the clock parameter control information, which can realize flexible configuration of the clock and further realize data transmission at various rates, thus meeting the requirements of efficient and flexible data transmission in the design of ultra-short wave high-speed frequency hopping technology.

[0055] Based on the above embodiment, determining the data transmission rate according to the reference clock includes: Determine the number of data bits that can be transmitted in each clock cycle of the reference clock; Multiply the number of data bits by the frequency of the reference clock to get the data transmission rate.

[0056] Specifically, the controller may control the clock management module to determine the frequency and period of the reference clock and determine the number of data bits that can be transmitted in each clock period.

[0057] Furthermore, the data transmission rate can be obtained by multiplying the number of data bits that can be transmitted in each clock cycle by the frequency of the reference clock.

[0058] After adjusting the accessed main clock according to the clock parameter control information, the present application realizes flexible configuration of the clock, thereby further determining the data transmission rate, and then realizing data transmission at various rates, thus meeting the needs of efficient and flexible data transmission in the design of ultra-short wave high-speed frequency hopping technology.

[0059] Based on the above embodiment, transmitting the data to be transmitted according to the data transmission rate includes: Performing framing processing on the data to be transmitted to obtain framing data; The framed data is transmitted according to the data transmission rate.

[0060] Further, the data to be transmitted is framed to obtain framed data, including: The data to be transmitted is framed according to the frame structure of the complex signal, frequency hopping parameters, channel control parameters and state parameters to obtain framed data.

[0061] Specifically, after acquiring the data to be transmitted, the controller may control the sending control module to perform framing processing on various types of data in the data to be transmitted according to a preset basic frame structure for transmitting and receiving, and obtain the framed data after completing the framing processing.

[0062] Figure 3 is a schematic diagram of a basic frame structure for sending and receiving data provided in an embodiment of the present application, such as Figure 3 As shown, in the present application, the controller can control the sending control module to group the data to be processed, including IQ data, frequency hopping parameters, channel control parameters, status parameters and other data, into frames according to the frame structure of IQ data, frequency hopping parameters, channel control parameters and status parameters, that is, the data in each frame of data has the structure of IQ data, frequency hopping parameters, channel control parameters and status parameters.

[0063] In one embodiment, if the data to be transmitted can be composed of three frames, the transmitted data is the framing state of IQ data, frequency hopping parameters, channel control parameters, status parameters, IQ data, frequency hopping parameters, channel control parameters, status parameters, IQ data, frequency hopping parameters, channel control parameters, and status parameters.

[0064] Furthermore, the controller can control the sending control module to send each frame of the framed data to the data sending interface of the GT transceiver according to the data sending rate. The GT transceiver can perform high-speed data receiving and transmitting functions such as parallel-to-serial conversion, serial-to-parallel conversion, 64 / 66B encoding and decoding, high-speed serial channel synchronous handshake link establishment, and then send the processed data to the data receiving interface of the GT transceiver at the receiving end.

[0065] Each frame of data in the present application includes IQ data, frequency hopping parameters, channel control parameters, and status parameters, which can realize low-latency transmission of IQ data and control parameters, and through framing, all data are transmitted through basic frames, which can greatly reduce the complexity of data processing and ensure that the data transmission requirements of ultra-short wave high-speed frequency hopping communication are met.

[0066] In one embodiment, after adjusting the accessed master clock based on the clock parameter control information to obtain the reference clock, the method further includes: The reference clock is sent to a receiving end of the data to be transmitted, so that the receiving end determines the data receiving rate based on the reference clock and receives the data according to the data receiving rate.

[0067] Specifically, after the controller of the present application controls the clock management module to adjust the connected master clock based on the clock parameter control information to obtain the reference clock, it can also control the clock management module to send the reference clock to the GT transceiver at the receiving end of the data to be transmitted through the GT transceiver.

[0068] The controller at the receiving end can control its clock management module to use the synchronization clock recovered by the received GT transceiver as the reference clock of the entire system, and output the clocks of various functions required by the system after processing by the clock configuration unit to achieve clock synchronization of the optical fiber transmission system.

[0069] After obtaining the reference clock, the clock management module at the receiving end can determine the frequency and period of the reference clock and the number of data bits that can be transmitted in each clock period.

[0070] Furthermore, the data reception rate can be obtained by multiplying the number of data bits that can be transmitted in each clock cycle by the frequency of the reference clock.

[0071] Furthermore, the controller at the receiving end can control the clock management module and send the data receiving rate to the receiving control module at the receiving end, so that the receiving control module can receive the data sent by the sending end according to the data receiving rate, and further deframe the received data and transmit it to the corresponding interface.

[0072] The present application can realize flexible configuration of the clock by performing clock synchronization, thereby realizing data transmission at various rates, and thus can meet the demand for efficient and flexible data transmission in the design of ultra-short wave high-speed frequency hopping technology.

[0073] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the following method: obtaining data to be transmitted and clock parameter control information; Adjusting the accessed master clock based on the clock parameter control information to obtain a reference clock; Determine a data transmission rate according to the reference clock; The data to be transmitted is transmitted according to the data sending rate.

[0074] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0075] In another aspect, an embodiment of the present application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method provided by each of the above embodiments is implemented, for example, including: obtaining data to be transmitted and clock parameter control information; Adjusting the accessed master clock based on the clock parameter control information to obtain a reference clock; Determine a data transmission rate according to the reference clock; The data to be transmitted is transmitted according to the data sending rate.

[0076] In another aspect, an embodiment of the present application further provides a computer program product having a computer program stored thereon, and when the computer program is executed by a processor, the method provided by each of the above embodiments is implemented, for example, including: obtaining data to be transmitted and clock parameter control information; Adjusting the accessed master clock based on the clock parameter control information to obtain a reference clock; Determine a data transmission rate according to the reference clock; The data to be transmitted is transmitted according to the data sending rate.

[0077] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0078] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0079] Finally, it should be noted that the above implementation modes are only used to illustrate the present application, rather than to limit the present application. Although the present application is described in detail with reference to the embodiments, a person skilled in the art should understand that various combinations, modifications or equivalent substitutions of the technical solutions of the present application do not depart from the spirit and scope of the technical solutions of the present application.

Claims

1. A data transmission method, characterized in that: include: Obtaining data to be transmitted and clock parameter control information; Adjusting the accessed master clock based on the clock parameter control information to obtain a reference clock; Determine a data transmission rate according to the reference clock; The data to be transmitted is transmitted according to the data sending rate.

2. The data transmission method according to claim 1, characterized in that: The adjusting the accessed master clock based on the clock parameter control information to obtain a reference clock includes: Parsing the clock parameter control information to obtain a target frequency; The frequency of the connected master clock is adjusted according to the target frequency to obtain a reference clock.

3. The data transmission method according to claim 1, characterized in that: The determining the data transmission rate according to the reference clock comprises: Determining the number of data bits that can be transmitted by the reference clock in each clock cycle; The data bit number is multiplied by the frequency of the reference clock to obtain a data transmission rate.

4. The data transmission method according to claim 1, characterized in that: The transmitting the data to be transmitted according to the data transmission rate includes: Performing framing processing on the data to be transmitted to obtain framing data; The frame data is transmitted according to the data transmission rate.

5. The data transmission method according to claim 4, characterized in that: The step of performing framing processing on the data to be transmitted to obtain framing data includes: The data to be transmitted is framed according to the frame structure of the complex signal, frequency hopping parameters, channel control parameters and state parameters to obtain framed data.

6. The data transmission method according to claim 2, characterized in that: After adjusting the accessed master clock based on the clock parameter control information to obtain the reference clock, the method further includes: The reference clock is sent to a receiving end of the data to be transmitted, so that the receiving end determines a data receiving rate based on the reference clock and receives data according to the data receiving rate.

7. A data transmission device, characterized in that: It includes a clock management module, a sending control module, a receiving control module, a control parameter management module, a transceiver, a controller, and a computer program stored in a memory and executable on the controller. When the controller executes the computer program, the data transmission method according to any one of claims 1 to 6 is implemented.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the data transmission method according to any one of claims 1 to 6 is implemented.

9. A storage medium, the storage medium being a non-transitory computer-readable storage medium, on which a computer program is stored, characterized in that: When the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 6 is implemented.