Data transmission method, apparatus, device, medium, and program product

By acquiring the receiver's status parameters and using the FEC unequal difference protection strategy model for FEC packet assembly, the stability and quality issues of data transmission in wireless networks are resolved, achieving high-quality multimedia information transmission and improving user experience and bandwidth utilization.

CN118802067BActive Publication Date: 2026-06-05CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD
Filing Date
2024-02-05
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing technologies using the FEC method to encode and transmit data cannot achieve stable and high-quality data transmission, especially in wireless network environments. Video data is prone to loss and errors, resulting in screen corruption or sound interruption on the terminal side.

Method used

By acquiring the receiver's state parameters, such as buffer capacity, freeze duration, and signal reconstruction quality, and inputting them into a deep learning-based FEC unequal difference protection strategy model, the FEC protection rate is determined. Based on this protection rate, FEC packets are assembled to achieve stable, high-quality data transmission.

Benefits of technology

It achieves stable, high-quality multimedia information transmission in wireless network environments, improves user experience and bandwidth utilization, adapts to different network conditions, and reduces data loss and errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802067B_ABST
    Figure CN118802067B_ABST
Patent Text Reader

Abstract

The application discloses a data transmission method, device, equipment, medium and program product. The method comprises the following steps: acquiring an environment state parameter of to-be-transmitted information, wherein the environment state parameter at least comprises a state parameter of a receiving end, and the state parameter of the receiving end comprises a buffer capacity of the receiving end, a freeze frame time length of the receiving end and a signal reconstruction quality of the receiving end; inputting the environment state parameter into a first forward error correction (FEC) unequal error protection strategy model to obtain an FEC protection rate corresponding to the environment state parameter; performing FEC packetization on the to-be-transmitted information according to the FEC protection rate to obtain target transmission information; and performing transmission on the target transmission information based on a transmission link. Stable high-quality data transmission is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, specifically to a data transmission method, apparatus, device, medium, and program product. Background Technology

[0002] With the development of wireless multimedia communication technology and video surveillance services, video traffic on the Internet is growing exponentially. Video transmission based on wireless networks will be the main form of multimedia communication in the future. However, when transmitting video data over wireless networks, User Datagram Protocol (UDP) messages are often used. UDP messages may experience data loss after passing through multiple network devices, and broadcast streams may suffer from bit errors due to transmission environment factors, resulting in image corruption or sound interruptions at the terminal. Forward Error Correction (FEC) coding is a widely used coding technique in communication systems. It adds redundant data to video frames during transmission at the sending end and performs FEC decoding at the receiving end to recover lost information. Compared to automatic retransmission, FEC coding eliminates the need for retransmissions, effectively reducing latency.

[0003] However, currently, when using the FEC method to encode and transmit data, it is not possible to transmit the data stably and with high quality. Summary of the Invention

[0004] The purpose of this application is to provide a data transmission method, apparatus, device, medium, and program product to achieve stable, high-quality data transmission.

[0005] The technical solution of this application is as follows:

[0006] Firstly, a data transmission method is provided, the method comprising:

[0007] The environmental state parameters of the information to be transmitted are obtained, wherein the environmental state parameters include at least the state parameters of the receiving end, and the state parameters of the receiving end include: the buffer capacity of the receiving end, the freeze duration of the receiving end, and the signal reconstruction quality of the receiving end;

[0008] The environmental state parameters are input into the first forward error correction coding FEC unequal difference protection strategy model to obtain the FEC protection rate corresponding to the environmental state parameters.

[0009] Based on the FEC protection rate, the information to be transmitted is packetized using FEC to obtain the target transmission information;

[0010] The target transmission information is transmitted based on the transmission link.

[0011] Secondly, a data transmission apparatus is provided, the apparatus comprising:

[0012] The first acquisition module is used to acquire environmental state parameters of the information to be transmitted, wherein the environmental state parameters include at least the state parameters of the receiving end, and the state parameters of the receiving end include: the buffer capacity of the receiving end, the freeze duration of the receiving end, and the signal reconstruction quality of the receiving end.

[0013] The first determining module is used to input the environmental state parameters into the first forward error correction coding FEC unequal difference protection strategy model to obtain the FEC protection rate corresponding to the environmental state parameters.

[0014] The second determining module is used to perform FEC packetization on the information to be transmitted according to the FEC protection rate to obtain the target transmission information;

[0015] The data transmission module is used to transmit the target transmission information based on the transmission link.

[0016] Thirdly, embodiments of this application provide an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the steps of any of the data transmission methods described in the embodiments of this application.

[0017] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, and when the program or instructions are executed by a processor, they implement the steps of any of the data transmission methods described in embodiments of this application.

[0018] Fifthly, embodiments of this application provide a computer program product, wherein instructions in the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the steps of any of the data transmission methods described in embodiments of this application.

[0019] The technical solutions provided by the embodiments of this application bring at least the following beneficial effects:

[0020] In this embodiment, the state parameters of the receiving end of the information to be transmitted are obtained: the buffer capacity of the receiving end, the freeze time of the receiving end, and the signal reconstruction quality of the receiving end. Then, the environmental state parameters are input into the first forward error correction coding (FEC) unequal difference protection strategy model to obtain the FEC protection rate corresponding to the environmental state parameters. Then, according to the FEC protection rate, the information to be transmitted can be FEC packetized to obtain the target transmission information. The target transmission information is transmitted based on the transmission link to achieve stable and high-quality multimedia information transmission.

[0021] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0022] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application, and do not constitute an undue limitation of this application.

[0023] Figure 1 This is a flowchart illustrating a data transmission method provided in an embodiment of this application;

[0024] Figure 2 This is a schematic diagram of the training process of the second FEC unequal difference protection strategy model in an embodiment of this application;

[0025] Figure 3 This is a flowchart illustrating a data transmission method provided in an embodiment of this application;

[0026] Figure 4 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of this application;

[0027] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0028] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0029] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples consistent with some aspects of this application as detailed in the appended claims.

[0030] As described in the background art, in the prior art, when using the FEC method to encode and transmit data, there is a problem that the data to be transmitted cannot be transmitted stably and with high quality. In order to solve the above problem, the embodiments of this application provide a data transmission method, apparatus, device, medium and program product. By obtaining the state parameters of the receiving end of the information to be transmitted: the buffer capacity of the receiving end, the freeze frame duration of the receiving end and the signal reconstruction quality of the receiving end, and then inputting the environmental state parameters into the first forward error correction coding FEC unequal difference protection strategy model, the FEC protection rate corresponding to the environmental state parameters is obtained. Then, according to the FEC protection rate, the information to be transmitted can be FEC packetized to obtain the target transmission information. The target transmission information is transmitted based on the transmission link to achieve stable and high-quality multimedia information transmission.

[0031] The data transmission method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0032] Figure 1 This is a flowchart illustrating a data transmission method provided in an embodiment of this application. The execution entity of this data transmission method can be a server.

[0033] like Figure 1 As shown, the data transmission method provided in this application embodiment may include steps 310-340.

[0034] Step 110: Obtain the environmental status parameters of the information to be transmitted.

[0035] The information to be transmitted can be information to be transmitted, such as multimedia information to be transmitted, or multimedia video to be transmitted.

[0036] Environmental state parameters can be parameters used to characterize the environmental state of the information to be transmitted. These environmental state parameters can include at least the state parameters of the receiving end, which include: the buffer capacity of the receiving end, the freeze frame duration of the receiving end, and the signal reconstruction quality of the receiving end.

[0037] The receiving end mentioned above can be the end that receives the information to be transmitted. If the information to be transmitted is multimedia video, the receiving end can be a playback end that receives the multimedia video, such as a media player.

[0038] In some embodiments of this application, the environmental state parameters may also include network state parameters of the transmission link used to transmit the information to be transmitted. These network state parameters may include: the bandwidth of the transmission link, the download time of the transmission link, the round-trip time of the transmission signal of the transmission link, and the bit rate of the next data packet of the current transmission data packet of the information to be transmitted.

[0039] The bitrate of the next data packet can be determined based on the size of the next data packet and the duration of the information to be transmitted. The specific size of the next data packet is the size of the next data packet.

[0040] In some embodiments of this application, to further achieve stable transmission of high-quality data, step 110 may specifically include:

[0041] If it is determined that the information to be transmitted is being transmitted for the first time, the status parameters of the receiving end are the pre-set default status parameters;

[0042] If it is determined that the information to be transmitted is not the first transmission, obtain the current environmental state parameters of the data to be transmitted.

[0043] In some embodiments of this application, when it is determined that the information to be transmitted is being transmitted for the first time, the status parameters of the receiving end can be preset default status parameters, which can be preset by the engineer based on prior experience.

[0044] If it is determined that the information to be transmitted is not the first transmission, the current environmental status parameters of the data to be transmitted can be obtained in real time for subsequent processing.

[0045] In the embodiments of this application, the status parameters of the receiving end are determined based on whether the information to be transmitted is being transmitted for the first time. This allows the transmission method of the information to be transmitted to be determined based on the transmission status of the information to be transmitted, thereby improving the transmission flexibility of the information to be transmitted.

[0046] Step 120: Input the environmental state parameters into the first forward error correction coding FEC unequal difference protection strategy model to obtain the FEC protection rate corresponding to the environmental state parameters.

[0047] The first FEC unequal difference protection strategy model can be a model based on deep learning to determine the FEC protection rate of the information to be transmitted under different environmental state parameters. This first FEC unequal difference protection strategy model can be a model constructed based on the Asynchronous Advantage Actor-Critic (A3C) algorithm.

[0048] Step 130: Based on the FEC protection rate, perform FEC packetization on the information to be transmitted to obtain the target transmission information.

[0049] The target transmission information can be the transmission information obtained after performing FEC packetization on the information to be transmitted according to the FEC protection rate, that is, the transmission information obtained after performing FEC encoding on the information to be transmitted according to the FEC protection rate.

[0050] In some embodiments of this application, after obtaining the FEC protection rate, the information to be transmitted can be packetized using FEC based on the FEC protection rate in an existing manner, which will not be elaborated here.

[0051] Step 140: Transmit the target transmission information based on the transmission link.

[0052] In existing technologies, such as the invention patent 202210795302.7, "A Method for FEC Encoding and Transmission Control of Low-Latency Real-Time Video," discloses a method for FEC encoding and transmission control of low-latency real-time video, including the following steps: Step S1: Set FEC encoding parameters and network parameters; Step S2: Evaluate the current video transmission latency based on the remaining data in the current buffer and determine whether it meets the preset requirements. If it does, wait for the arrival of the next video frame data; if not, proceed to Step S3; Step S3: In the current state, i.e., the remaining un-FEC encoded data in the current buffer does not meet the data packet conditions, but due to the end-to-end latency limit of the video, FEC encoding needs to be performed immediately, and the data is sent based on an improved strategy. This scheme evaluates the current video transmission latency based on the remaining data in the current buffer and determines whether to perform FEC encoding according to the preset requirements. However, in actual commercial video services, the video capacity varies greatly over time, resulting in a significant decrease in the accuracy of capacity estimation, further restricting the effective utilization of FEC.

[0053] To address the aforementioned issues, this application embodiment introduces a frame freeze duration. If, during the transmission of target transmission information, the receiving end experiences a pause in receiving the target transmission information due to other reasons, the frame freeze duration can be used to resolve this issue. Specifically, the frame freeze duration is used to delay the buffering of the target transmission information, thereby allowing for accurate estimation of the buffered target transmission information capacity.

[0054] In existing technologies, the invention patent 201510010097.9, entitled "A Media Content-Based FEC Method," proposes a media content-based FEC mechanism. This mechanism classifies media content and assigns different levels of importance. Then, based on packets belonging to frames of different importance levels, and considering channel conditions and user experience, it changes the coding scheme to protect them according to the importance of their respective frames. This scheme can achieve a high recognition rate for sensitive targets already present in the training set, but the target detection algorithm it employs significantly increases the computational burden. Furthermore, this scheme uses fixed control rules to determine the degree of FEC protection, making it difficult to extend to a wide range of network conditions and user experience quality.

[0055] Patent 202010057362.X, entitled "An Adaptive Forward Error Correction Method and Application for Audio and Video Service Quality Control," discloses an adaptive forward error correction method and application for audio and video service quality control. By deriving the effective channel loss rate and calculating path capacity and delay boundaries, it dynamically adjusts the number and departure time of FEC packets to minimize the FEC block size and transmission time interval of FEC packets, thereby maximizing bandwidth utilization to improve the Service Quality (QoS) of wireless audio and video transmission. However, this scheme only considers network quality parameters such as bandwidth, packet loss rate, and latency, making it difficult to accurately measure the user's subjective experience (QoE) and failing to effectively improve the user's subjective experience.

[0056] To address the aforementioned issues, this application provides a first FEC unequal difference protection strategy model, which solves the problems described above.

[0057] refer to Figure 2 , Figure 2 This diagram illustrates the training process of the first FEC unequal-gradient protection strategy model. Under different states i and different rewards i, the second FEC unequal-gradient protection strategy model will produce different decisions i. A detailed explanation follows. Figure 2 The training process of the first FEC unequal difference protection strategy model is shown.

[0058] In some embodiments of this application, in order to obtain the first FEC unequal difference protection strategy model, the method described above may further include the following steps before step 110:

[0059] Multiple sets of training samples are obtained. Each set of training samples includes historical environmental state parameters of the historical information to be transmitted, and the user's first score of the transmission quality of the historical information to be transmitted after transmitting the historical information under the historical environmental state parameters.

[0060] For each training sample, the second FEC unequal difference protection strategy model is trained based on the following formula (1) to obtain the first FEC unequal difference protection strategy model:

[0061]

[0062] Among them, s t Used to represent historical environmental state parameters, a t p represents the historical FEC protection rate output by the second FEC unequal difference protection strategy model under historical environmental state parameters. θ (·) indicates that in s t Below, the second FEC unequal difference protection strategy model outputs a t The probability, A θ’(·) denotes the advantage function, used to measure the difference between the first score and the score based on s. t and a t The score for the fit, clip(·) represents the clipping function, and the constraints The upper and lower bounds are within the range of (1-ε, 1+ε).

[0063] The aforementioned historical information to be transmitted can be information transmitted before the current time. Historical environmental state parameters can be environmental state parameters of historical information to be transmitted within a historical time period before the current time.

[0064] The first rating can be the user's rating of the transmission quality of historical information after it has been transmitted under historical environmental conditions.

[0065] The second FEC unequal difference protection strategy model can be the FEC unequal difference protection strategy model to be trained. After the second FEC unequal difference protection strategy model is trained, the first FEC unequal difference protection strategy model can be obtained. That is, the second FEC unequal difference protection strategy model is the model before the first FEC unequal difference protection strategy model is trained.

[0066] After obtaining multiple sets of training samples, for each training sample, the second FEC unequal difference protection strategy model can be trained based on the Proximal Policy Optimization (PPO) algorithm shown in formula (1).

[0067] It should be noted that the advantage function mentioned above is used to measure the difference between the first rating and the rating based on s. t and a t The fitted score, based on s t and a t The score for the fit can be in s t and a t The ratings of users who made the prediction.

[0068] The ε mentioned above is a constant, and its value is continuously adjusted in the second FEC unequal difference protection strategy model.

[0069] The above Figure 2 In this context, reward i refers to the user's first rating in state i. The user will have different first ratings in different states. Reward i, state i, and decision i are in one-to-one correspondence. That is, in a certain state, there is a corresponding reward, and under that state and reward, there will be a corresponding strategy.

[0070] In some embodiments of this application, the training process of the second FEC unequal difference protection strategy model can be carried out in a simulation environment. This is because in real scenarios, training the FEC protection mechanism requires decision processing only when each data packet is sent, which severely restricts the training speed of the algorithm. In the embodiments of this application, the training of the FEC protection mechanism is carried out in a simulation environment, which is not limited by the sending of data packets and improves the training speed of the algorithm.

[0071] In the embodiments of this application, the second FEC unequal difference protection strategy model uses a reinforcement learning model during training to learn decision-making behavior under different network states and different receiver state parameters. Compared with the traditional simplified deployment environment model, it can better adapt to the current network conditions and better protect data transmission while improving bandwidth utilization. Secondly, the embodiments of this application collect network states, receiver state parameters, and user QoE scores under various network conditions, and optimize the model based on the user QoE scores. Compared with the traditional method of estimating user experience based on the quality of service provided by the network, it effectively improves the user's subjective experience. Thus, by introducing user buffer size and policy selection through reinforcement learning-based FEC unequal difference protection, it can better adapt to the current network conditions and receiver devices, and better protect data transmission while improving bandwidth utilization.

[0072] In some embodiments of this application, for the purpose of better understanding the technical solutions of the embodiments of this application, reference is made to... Figure 3 This application provides another possible implementation of the data transmission method, such as... Figure 3 As shown, the data transmission method includes steps 310-360.

[0073] Step 310: Obtain the network status parameters of the transmission link for transmitting the information to be transmitted.

[0074] Step 320: Determine whether the information to be transmitted is being transmitted for the first time. If yes, proceed to step 330; otherwise, proceed to step 340.

[0075] Step 330: Set the status parameters of the default receiver.

[0076] Step 340: Obtain the current status parameters of the receiving end.

[0077] Step 350: Reasoning of the FEC unequal difference protection strategy model.

[0078] In step 350, the inference of the FEC unequal difference protection strategy model is the application process of the first FEC unequal difference protection strategy model mentioned above. That is, firstly, the network status under the current signal transmission is obtained; secondly, the receiving end transmits the buffer capacity, the freeze frame duration, and the receiving end signal reconstruction quality to the transmitting end; then, the above information is input into the first FEC unequal difference protection strategy model to obtain the FEC unequal difference protection (i.e., the FEC protection rate).

[0079] Step 360: FEC packet transmission.

[0080] Step 360 involves allocating sufficient FEC packets under path capacity and delay constraints after obtaining the FEC protection rate, thereby achieving stable, high-quality multimedia information transmission.

[0081] It should be noted that the data transmission method provided in this application embodiment can be executed by a data transmission device or a control module in the data transmission device for executing the data transmission method.

[0082] Based on the same inventive concept as the data transmission method described above, this application also provides a data transmission device. The following is in conjunction with... Figure 4 The data transmission apparatus provided in the embodiments of this application will be described in detail.

[0083] Figure 4 This is a schematic diagram of the structure of a data transmission device according to an exemplary embodiment.

[0084] like Figure 4 As shown, the data transmission device 400 may include:

[0085] The first acquisition module 410 is used to acquire environmental state parameters of the information to be transmitted, wherein the environmental state parameters include at least the state parameters of the receiving end, and the state parameters of the receiving end include: the buffer capacity of the receiving end, the freeze frame duration of the receiving end, and the signal reconstruction quality of the receiving end.

[0086] The first determining module 420 is used to input the environmental state parameters into the first forward error correction coding FEC unequal difference protection strategy model to obtain the FEC protection rate corresponding to the environmental state parameters.

[0087] The second determining module 430 is used to perform FEC packetization on the information to be transmitted according to the FEC protection rate to obtain the target transmission information;

[0088] The data transmission module 440 is used to transmit the target transmission information based on the transmission link.

[0089] In this embodiment, the state parameters of the receiving end of the information to be transmitted are obtained: the buffer capacity of the receiving end, the freeze time of the receiving end, and the signal reconstruction quality of the receiving end. Then, the environmental state parameters are input into the first forward error correction coding (FEC) unequal difference protection strategy model to obtain the FEC protection rate corresponding to the environmental state parameters. Then, according to the FEC protection rate, the information to be transmitted can be FEC packetized to obtain the target transmission information. The target transmission information is transmitted based on the transmission link to achieve stable and high-quality multimedia information transmission.

[0090] In some embodiments of this application, the environmental state parameters further include network state parameters, which include: the bandwidth of the transmission link, the download duration of the transmission link, the round-trip time of the transmission signal of the transmission link, and the bit rate of the next data packet of the current transmission data packet of the information to be transmitted.

[0091] In some embodiments of this application, the apparatus described above may further include:

[0092] The second acquisition module is used to acquire multiple sets of training samples, wherein each set of training samples includes historical environmental state parameters of historical information to be transmitted, and a first score of the transmission quality of the historical information to be transmitted by the user after transmitting the historical information to be transmitted under the historical environmental state parameters.

[0093] The model training module is used to train the second FEC unequal difference protection strategy model for each training sample based on the following formula, thereby obtaining the first FEC unequal difference protection strategy model:

[0094]

[0095] Among them, s t a is used to represent the historical environmental state parameter. t p represents the historical FEC protection rate output by the second FEC unequal difference protection strategy model under the historical environmental state parameters. θ (·) indicates that in s t Below, the second FEC unequal difference protection strategy model outputs a t The probability, Aθ ’ (·) denotes the advantage function, used to measure the first score and the score based on s. t and a t The score for the fit, clip(·) represents the clipping function, and the constraints The upper and lower bounds are within the range of (1-ε, 1+ε).

[0096] In some embodiments of this application, the training process of the second FEC unequal difference protection strategy model is performed in a simulation environment.

[0097] In some embodiments of this application, the bitrate of the next data packet is determined based on the size of the next data packet and the duration of the information to be transmitted.

[0098] In some embodiments of this application, the first acquisition module 410 is specifically used for:

[0099] If it is determined that the information to be transmitted is being transmitted for the first time, the status parameters of the receiving end are the preset default status parameters;

[0100] If it is determined that the information to be transmitted is not being transmitted for the first time, the current environmental state parameters of the data to be transmitted are obtained.

[0101] The data transmission device provided in this application embodiment can be used to execute the data transmission methods provided in the above method embodiments. Its implementation principle and technical effect are similar, and for the sake of brevity, it will not be described again here.

[0102] Based on the same inventive concept, embodiments of this application also provide an electronic device.

[0103] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. For example... Figure 5 As shown, the electronic device may include a processor 501 and a memory 502 storing computer programs or instructions.

[0104] Specifically, the processor 501 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of the present invention.

[0105] Memory 502 may include a large-capacity memory for data or instructions. For example, and not limitingly, memory 502 may include a hard disk drive (HDD), a floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 502 may include removable or non-removable (or fixed) media. Where appropriate, memory 502 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 502 is non-volatile solid-state memory. Memory may include read-only memory (ROM), random-access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical / tangible memory storage devices. Thus, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described in the data transfer methods provided in the above embodiments.

[0106] The processor 501 implements any of the data transmission methods described in the above embodiments by reading and executing computer program instructions stored in the memory 502.

[0107] In one example, the electronic device may also include a communication interface 503 and a bus 510. Wherein, as... Figure 5 As shown, the processor 501, memory 502, and communication interface 503 are connected through bus 510 and complete communication with each other.

[0108] The communication interface 503 is mainly used to realize communication between various modules, devices, units and / or devices in the embodiments of the present invention.

[0109] Bus 510 includes hardware, software, or both, that couples components of an electronic device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 510 may include one or more buses. Although specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.

[0110] The electronic device can execute the data transmission method in the embodiments of the present invention, thereby achieving... Figure 1 The data transmission method described.

[0111] Furthermore, in conjunction with the data transmission methods described in the above embodiments, this invention can be implemented using a readable storage medium. This readable storage medium stores program instructions, which, when executed by a processor, implement any of the data transmission methods described in the above embodiments.

[0112] In addition, in conjunction with the data transmission methods in the above embodiments, the present invention can provide a computer program product, wherein when the instructions in the computer program product are executed by the processor of an electronic device, the electronic device performs any of the data transmission methods in the above embodiments.

[0113] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.

[0114] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0115] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0116] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0117] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.

Claims

1. A data transmission method, characterized in that, The method includes: The environmental state parameters of the information to be transmitted are obtained, wherein the environmental state parameters include at least the state parameters of the receiving end, and the state parameters of the receiving end include: the buffer capacity of the receiving end, the freeze duration of the receiving end, and the signal reconstruction quality of the receiving end; The environmental state parameters are input into the first forward error correction coding (FEC) unequal difference protection strategy model to obtain the FEC protection rate corresponding to the environmental state parameters. The first FEC unequal difference protection strategy model obtains the FEC protection rate by predicting the environmental state parameters and the user's score on the transmission quality of the information to be transmitted under the candidate FEC protection rate. Based on the FEC protection rate, the information to be transmitted is packetized using FEC to obtain the target transmission information; The target transmission information is transmitted based on the transmission link.

2. The method according to claim 1, characterized in that, The environmental status parameters also include network status parameters, which include: the bandwidth of the transmission link, the download time of the transmission link, the round-trip time of the transmission signal of the transmission link, and the bit rate of the next data packet of the current transmission data packet of the information to be transmitted.

3. The method according to claim 1 or 2, characterized in that, Before acquiring the environmental state parameters of the data to be transmitted, the method further includes: Multiple sets of training samples are obtained, wherein each set of training samples includes historical environmental state parameters of historical information to be transmitted, and a first score of the transmission quality of the historical information to be transmitted by the user after transmitting the historical information under the historical environmental state parameters. For each training sample, the second FEC unequal difference protection strategy model is trained based on the following formula to obtain the first FEC unequal difference protection strategy model: in, Used to represent the historical environmental state parameters. This represents the historical FEC protection rate output by the second FEC unequal difference protection strategy model under the stated historical environmental state parameters. Indicates in Below, the output of the second FEC unequal difference protection strategy model is... The probability, The advantage function is used to measure the first score and the score based on... and The score of the fit, Represents the clipping function and constraints. The upper and lower boundaries are at Within the range.

4. The method according to claim 3, characterized in that, The training process of the second FEC unequal difference protection strategy model is performed in a simulation environment.

5. The method according to claim 2, characterized in that, The bitrate of the next data packet is determined based on the size of the next data packet and the duration of the information to be transmitted.

6. The method according to claim 1, characterized in that, The environmental state parameters for obtaining the information to be transmitted include: If it is determined that the information to be transmitted is being transmitted for the first time, the status parameters of the receiving end are the preset default status parameters; If it is determined that the information to be transmitted is not being transmitted for the first time, the current environmental state parameters of the data to be transmitted are obtained.

7. A data transmission device, characterized in that, The device includes: The first acquisition module is used to acquire environmental state parameters of the information to be transmitted, wherein the environmental state parameters include at least the state parameters of the receiving end, and the state parameters of the receiving end include: the buffer capacity of the receiving end, the freeze duration of the receiving end, and the signal reconstruction quality of the receiving end. The first determining module is used to input the environmental state parameters into the first forward error correction coding FEC unequal difference protection strategy model to obtain the FEC protection rate corresponding to the environmental state parameters. The first FEC unequal difference protection strategy model obtains the FEC protection rate by predicting the environmental state parameters and the user's score on the transmission quality of the information to be transmitted under the candidate FEC protection rate. The second determining module is used to perform FEC packetization on the information to be transmitted according to the FEC protection rate to obtain the target transmission information; The data transmission module is used to transmit the target transmission information based on the transmission link.

8. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the data transmission method as described in any one of claims 1-6.

9. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the data transmission method as described in any one of claims 1-6.

10. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device causes the electronic device to perform the steps of the data transmission method as described in any one of claims 1-6.