Semantic communication-oriented packet loss compensation method and system
By using a deep learning model at the semantic receiving end to predict and compensate for packet loss data, the problem of packet loss caused by channel fading or noise in semantic communication is solved, and the system's robustness and data recovery capabilities are improved.
Patent Information
- Application Number
- CN202410738820.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-24
AI Technical Summary
During the transmission process of semantic communication information, packet loss occurs due to channel fading or noise interference, which affects the robustness of the system and makes the receiving end unable to restore the complete information flow.
Set up a deep learning model at the semantic receiving end, determine the location of packet loss by comparing the data packet sequence number and data packet, input the before and after data packets into the deep learning model to predict the packet loss data, and make compensation, using the context information of the multimedia business flow Compensate for intermediate packet loss.
The complete information flow can be restored without retransmission request feedback, which improves the robustness of the semantic communication system and ensures that the source data is restored at the receiving end.
Smart Images

Figure CN118694479A
Abstract
Description
Technical Field
[0001] The present application relates to the field of semantic communication technology, and in particular to a packet loss compensation method and system for semantic communication. Background Art
[0002] In recent years, semantic communication has become one of the hot technologies that has attracted the attention of both academia and industry. Semantic communication uses artificial intelligence technology to extract semantic information from the source, and after wireless transmission, completes data transmission by decoding and recovering the semantic information. However, during the transmission process, semantic communication information may be lost due to channel fading or noise interference, which will cause the receiving end of semantic communication to be unable to recover the complete information flow, thus affecting the robustness of the semantic communication system.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of this application is to provide a packet loss compensation method and system for semantic communication, aiming to solve the technical problem that the receiving end cannot recover the complete information stream due to packet loss caused by channel fading or noise problems during the transmission of semantic communication information, thereby affecting the robustness of the semantic communication system.
[0005] To achieve the above-mentioned purpose, the present application proposes a packet loss compensation method for semantic communication. The semantic communication system includes a semantic sending end and a semantic receiving end. The packet loss compensation method for semantic communication is applied to the semantic receiving end. The packet loss compensation method for semantic communication includes:
[0006] Receiving target information of source data sent by the semantic sending end;
[0007] Decoding the target information to obtain a data packet sequence number and a data packet;
[0008] Determine a comparison result between the data packet sequence number and the data packet;
[0009] Determine the previous and next data packets at the packet loss location according to the comparison result;
[0010] The front and rear data packets are input into a first deep learning model to obtain packet loss data, and packet loss compensation is performed based on the packet loss data.
[0011] In one embodiment, the step of determining the previous and next data packets at the packet loss location according to the comparison result includes:
[0012] Determine the packet loss sequence number according to the comparison result;
[0013] The preceding and following data packets at the packet loss location are determined according to the packet loss sequence number.
[0014] In one embodiment, the step of determining the previous and next data packets at the packet loss position according to the packet loss sequence number includes:
[0015] Determine a packet loss frame sequence number according to the packet loss sequence number;
[0016] Determine the frame numbers before and after the packet loss frame number;
[0017] The data packets corresponding to the preceding and following frame sequence numbers are determined as the preceding and following data packets at the packet loss position.
[0018] In one embodiment, the step of performing packet loss compensation according to the packet loss data includes:
[0019] Determine a target data packet among the data packets, and determine a data packet queue of the target data packet;
[0020] The packet loss data is inserted into the data packet queue in order to obtain target received data, so as to complete the semantic communication for the source data according to the target received data.
[0021] In one embodiment, the semantic receiving end includes a first receiving port and a second receiving port, the target information includes first target information and second target information, the first target information is the encoded data of the data packet sequence number of the source data, and the second target information is the encoded data of the data packet of the source data; wherein the step of receiving the target information of the source data sent by the semantic sending end includes:
[0022] The first target information sent by the semantic sending end is received through the first receiving port, and the second target information sent by the semantic sending end is received through the second receiving port.
[0023] To achieve the above purpose, the present application also proposes a packet loss compensation method for semantic communication. The semantic communication system includes a semantic sending end and a semantic receiving end. The packet loss compensation method for semantic communication is applied to the semantic sending end. The packet loss compensation method for semantic communication includes:
[0024] Send target information of the source data to the semantic receiving end so that the semantic receiving end decodes the target information to obtain a data packet sequence number and a data packet, determine a comparison result between the data packet sequence number and the data packet, determine the previous and next data packets at the packet loss position according to the comparison result, input the previous and next data packets into the first deep learning model to obtain packet loss data, and perform packet loss compensation according to the packet loss data.
[0025] In one embodiment, the semantic sending end includes a first sending port and a second sending port, and the target information includes first target information and second target information; the step of sending the target information of the source data to the semantic receiving end includes:
[0026] Obtaining a data packet sequence number and a data packet of the source data;
[0027] encoding the data packet sequence number as the first target information, and encoding the data packet as the second target information;
[0028] The first target information is sent to the semantic receiving end through the first sending port, and the second target information is sent to the semantic receiving end through the second sending port.
[0029] In one embodiment, the step of obtaining the data packet sequence number and the data packet of the source data includes:
[0030] Acquire the source data, and determine a second deep learning model corresponding to the source data;
[0031] Inputting the source data into the second deep learning model to obtain pre-sent information;
[0032] The pre-sent information is divided into a plurality of data packets, and each data packet is marked with a data packet sequence number.
[0033] In one embodiment, the step of dividing the pre-sent information into a plurality of data packets and marking each data packet with a data packet sequence number comprises:
[0034] Based on a fixed packet length, dividing the pre-sent information into a plurality of data packets;
[0035] Each data packet is sequentially labeled with a packet sequence number.
[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a packet loss compensation device for semantic communication, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the packet loss compensation method for semantic communication as described above.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the packet loss compensation method for semantic communication as described above are implemented.
[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a semantic communication system, which includes a semantic sending end and a semantic receiving end, the semantic receiving end executes the packet loss compensation method for communication semantics as described above, and the semantic sending end executes the packet loss compensation method for semantic communication as described above.
[0039] One or more technical solutions proposed in this application have at least the following technical effects:
[0040] The packet loss compensation method and system for semantic communication provided by the present application, by receiving the target information of the source data sent by the semantic sending end; decoding the target information to obtain the data packet sequence number and the data packet; determining the comparison result between the data packet sequence number and the data packet; determining the front and rear data packets at the packet loss position according to the comparison result; inputting the front and rear data packets into the first deep learning model to obtain the packet loss data, and performing packet loss compensation according to the packet loss data. The technical problem that the receiving end cannot recover the complete information flow due to the packet loss phenomenon caused by channel fading or noise problems during the transmission of semantic communication information is solved, and the robustness of the semantic communication system is affected. Compared with the prior art, the present application predicts the packet loss data according to the data packet at the packet loss position through the first deep learning model set at the semantic receiving end, and then performs packet loss compensation based on the packet loss data, and uses the context information of the multimedia service flow to compensate for the intermediate packet loss part, so that when the packet loss occurs during the data transmission process, the semantic receiving end can still recover the complete information flow without retransmission request feedback, ensuring that the source data based on semantic communication can be recovered at the semantic receiving end, thereby improving the robustness of the semantic communication system. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0043] Figure 1 A flowchart of the first embodiment of the packet loss compensation method for semantic communication of the present application is provided;
[0044] Figure 2 A brief flow chart of the semantic sending end provided in Embodiment 2 of the packet loss compensation method for semantic communication of the present application;
[0045] Figure 3 A brief flow chart of a semantic receiving end provided in Embodiment 2 of the packet loss compensation method for semantic communication of the present application;
[0046] Figure 4 A schematic diagram of a semantic communication system provided for Embodiment 2 of the packet loss compensation method for semantic communication of the present application;
[0047] Figure 5 A flowchart of the second embodiment of the packet loss compensation method for semantic communication of the present application is provided;
[0048] Figure 6 A schematic diagram of the device structure of the hardware operating environment involved in the packet loss compensation method for semantic communication in an embodiment of the present application;
[0049] Figure 7 It is a structural diagram of the semantic communication system involved in the packet loss compensation method for semantic communication in the embodiment of the present application.
[0050] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0051] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0052] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0053] The main solution of the embodiment of the present application is: receiving the target information of the source data sent by the semantic sending end; decoding the target information to obtain the data packet sequence number and the data packet; determining the comparison result between the data packet sequence number and the data packet; determining the previous and next data packets at the packet loss position according to the comparison result; inputting the previous and next data packets into the first deep learning model to obtain packet loss data, and performing packet loss compensation according to the packet loss data.
[0054] In this embodiment, for the convenience of description, the following description is made by taking the recognition semantic receiving end as the execution subject.
[0055] Since the semantic communication information in the existing technology suffers from packet loss during transmission due to channel fading or noise interference, this will cause the receiving end of the semantic communication to be unable to restore the complete information flow, thereby affecting the robustness of the semantic communication system.
[0056] The present application provides a solution, which predicts packet loss data according to the data packets at the packet loss location through a first deep learning model set at the semantic receiving end, and then performs packet loss compensation based on the packet loss data, and uses the context information of the multimedia service flow to compensate for the intermediate packet loss part, so that when packet loss occurs during the data transmission process, the semantic receiving end can still restore the complete information flow without the need for retransmission request feedback, thereby ensuring that the source data based on semantic communication can be restored at the semantic receiving end, thereby improving the robustness of the semantic communication system.
[0057] It can be seen from the above embodiments that the present application receives the target information of the source data sent by the semantic sending end; decodes the target information to obtain the data packet sequence number and the data packet; determines the comparison result between the data packet sequence number and the data packet; determines the front and rear data packets at the packet loss position according to the comparison result; inputs the front and rear data packets into the first deep learning model to obtain packet loss data, and performs packet loss compensation according to the packet loss data. The technical problem that the receiving end cannot recover the complete information flow due to packet loss caused by channel fading or noise problems during the transmission of semantic communication information, thereby affecting the robustness of the semantic communication system, is solved. Compared with the prior art, the present application predicts the packet loss data according to the data packet at the packet loss position through the first deep learning model set at the semantic receiving end, and then performs packet loss compensation based on the packet loss data, and uses the context information of the multimedia service flow to compensate for the intermediate packet loss part, so that when packet loss occurs during the data transmission process, the semantic receiving end can still recover the complete information flow without retransmission request feedback, ensuring that the source data based on semantic communication can be recovered at the semantic receiving end, thereby improving the robustness of the semantic communication system.
[0058] Based on this, the embodiment of the present application provides a packet loss compensation method for semantic communication, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the packet loss compensation method for semantic communication of the present application.
[0059] In this embodiment, the semantic communication system includes a semantic sending end and a semantic receiving end, and the packet loss compensation method for semantic communication is applied to the semantic receiving end. The packet loss compensation method for semantic communication includes steps S10 to S50:
[0060] Step S10, receiving target information of source data sent by the semantic sending end;
[0061] It should be noted that the source data may be voice data, text data, image data or video data.
[0062] In the specific implementation, Figure 2As shown, the semantic sender will perform semantic encoding and channel encoding processing (that is, source-channel joint encoding) on the source data to obtain the target information. Specifically, the semantic encoding is that the semantic sender inputs the source data into the deep learning model to extract the source feature vector to obtain the data to be sent (that is, the source data is compressed by the deep learning model to obtain the data to be sent). In order to better transmit through the channel, the data to be sent can be divided into multiple data packets of equal length for multiple transmissions, and the data packet sequence packets of each data packet are marked. Finally, these data packets and data packet sequence numbers are channel encoded to obtain the target information.
[0063] In a feasible implementation, the semantic receiving end includes a first receiving port and a second receiving port, the target information includes first target information and second target information, the first target information is the encoded data of the data packet sequence number of the source data, and the second target information is the encoded data of the data packet of the source data; wherein, the step of receiving the target information of the source data sent by the semantic sending end includes: receiving the first target information sent by the semantic sending end through the first receiving port, and receiving the second target information sent by the semantic sending end through the second receiving port.
[0064] It should be noted that the first receiving port is used to receive the first target information, and the second receiving port is used to receive the second target information.
[0065] Step S20, decoding the target information to obtain a data packet sequence number and a data packet;
[0066] It should be noted that after the semantic receiving end receives the target information, it can perform channel decoding on the target information through the channel decoding module of the semantic receiving end to obtain a data packet sequence and a data packet.
[0067] Step S30, determining a comparison result between the data packet sequence number and the data packet;
[0068] It should be noted that the semantic receiving end can identify whether packet loss occurs in this semantic communication by comparing the packet sequence number and the data packet. If the comparison result is no packet loss, the source data can be directly restored through semantic decoding based on the received packet sequence number and the data packet. If the comparison result is packet loss, the packet loss position can be located by the corresponding packet sequence number.
[0069] Step S40, determining the previous and next data packets at the packet loss location according to the comparison result;
[0070] It should be noted that the preceding and following data packets at the packet loss location can reflect the context information of the packet loss data.
[0071] In a feasible implementation, the step of determining the preceding and following data packets at the packet loss location according to the comparison result includes: determining the packet loss sequence number according to the comparison result; and determining the preceding and following data packets at the packet loss location according to the packet loss sequence number.
[0072] In a specific implementation, the sequence numbers of the preceding and following data packets (that is, the sequence numbers of the preceding and following data packets of the packet loss sequence number) can be determined according to the packet loss sequence number, and then the data packets corresponding to the sequence numbers of the preceding and following data packets are determined as the preceding and following data packets.
[0073] In a feasible implementation, the step of determining the preceding and following data packets at the packet loss location according to the packet loss sequence number includes: determining the packet loss frame sequence number according to the packet loss sequence number; determining the preceding and following frame sequence numbers of the packet loss frame sequence number; and determining the data packets corresponding to the preceding and following frame sequence numbers as the preceding and following data packets at the packet loss location.
[0074] It should be noted that since the data packet sequence number is marked in sequence, the frame number corresponding to the data packet can be determined based on the data packet sequence number. That is, when the packet loss number at the packet loss location is determined, the packet loss frame number can be directly determined based on the packet loss number, and the frame numbers before and after the packet loss frame number (that is, the before and after frame numbers) can be determined.
[0075] In the specific implementation, it is assumed that the video source data is S, the total number of frames of the video source data is F, and the frame set is defined as F@{1,2,...,F}. In order to ensure the stability of wireless signal transmission, the video source data is input to the semantic sending end. In order to ensure the temporal continuity of the video, the video frames F are compressed by the second deep learning model in sequence. The compressed data of each frame is S f ,f∈F; the compressed frame data {S f} is divided into multiple data packets and then sent in packets. The fixed packet length is L, and the f-th frame data will be divided into Data packets, To round up, all frame data {S f} is divided into data packets, define the data packet set as M@{1,2,...,M}, where the first The data packet corresponds to the fth frame of data. In other words, when the data packet sequence number m∈M is known, its corresponding frame sequence number can be known.
[0076] In this embodiment, since the information connection between frames of the source data is closer, the packet loss data can be predicted by using the data packets of the lost frame number corresponding to the packet loss number as the previous and next data packets. In this way, the context information of the multimedia service flow can be used to compensate for the packet loss part, making the predicted packet loss data more accurate and providing a higher performance compensation solution for the semantic transmission of the source data.
[0077] Step S50: input the front and rear data packets into a first deep learning model to obtain packet loss data, and perform packet loss compensation based on the packet loss data.
[0078] It should be noted that the first deep learning model can be a generative adversarial network and a diffusion model, which can predict the packet loss data based on the data packets received before and after the packet loss location (that is, the context information of the packet loss data) as input.
[0079] In a feasible implementation, the step of performing packet loss compensation based on the packet loss data includes: determining a target data packet in the data packet, and determining a data packet queue of the target data packet; inserting the packet loss data into the data packet queue in sequence to obtain target received data, so as to complete semantic communication for the source data based on the target received data.
[0080] In the specific implementation, the target data packet can be all the data packets received by the semantic receiving end. After the data packet queue is obtained according to the data packet arrangement sequence numbers of these data packets, the lost packet data can be inserted into the data packet queue to obtain the target received data (that is, the complete received data). Finally, the target received data is passed to the semantic decoding module of the semantic receiving end to restore the original source data, thereby realizing semantic communication for the source data.
[0081] In a specific implementation, the target data packet may be the data packet corresponding to all non-lost frames (non-lost frames refer to frames without packet loss). After arranging the data packet queue according to the data packet sequence number of the target data packet, the lost data is inserted into the data packet queue to obtain the target received data (that is, the complete received data). Finally, the target received data is passed to the semantic decoding module of the semantic receiving end to restore the original source data, thereby realizing semantic communication for the source data.
[0082] In the specific implementation, Figure 3 As shown, after the semantic receiving end receives the target information, it will perform channel decoding on the target information through the channel decoding module to obtain the data packet sequence number and the data packet, and then implement packet loss compensation after determining the packet loss data through the first deep learning model of the packet loss compensation module, and finally perform semantic decoding on the completed data to obtain the source data.
[0083] In the specific implementation, Figure 4As shown, the semantic communication system includes a semantic receiver and a semantic transmitter, wherein the semantic transmitter can perform source-channel joint coding, such as jointly encoding the source data through a semantic coding method and a channel coding method, and the semantic receiver can perform adaptive channel compensation decoding. For example, after receiving the target information, the target information can be first channel-decoded to obtain a data packet sequence number and a data packet, and then packet loss compensation can be performed based on the data packet and the data packet sequence number, and finally the completed data can be semantically decoded to obtain the source data.
[0084] In this embodiment, by receiving the target information of the source data sent by the semantic sending end; decoding the target information to obtain the data packet sequence number and the data packet; determining the comparison result between the data packet sequence number and the data packet; determining the front and rear data packets at the packet loss position according to the comparison result; inputting the front and rear data packets into the first deep learning model to obtain packet loss data, and performing packet loss compensation according to the packet loss data. The technical problem that the receiving end cannot recover the complete information flow due to packet loss caused by channel fading or noise problems during the transmission of semantic communication information is solved, and thus the robustness of the semantic communication system is affected. Compared with the prior art, the present application predicts the packet loss data according to the data packet at the packet loss position through the first deep learning model set at the semantic receiving end, and then performs packet loss compensation based on the packet loss data, and uses the context information of the multimedia service flow to compensate for the intermediate packet loss part, so that when packet loss occurs during the data transmission process, the semantic receiving end can still recover the complete information flow without retransmission request feedback, ensuring that the source data based on semantic communication can be recovered at the semantic receiving end, thereby improving the robustness of the semantic communication system.
[0085] Based on the first embodiment of the present application, in the second embodiment of the present application, the present application embodiment further provides a packet loss compensation method for semantic communication, referring to Figure 5 , Figure 5 This is a flow chart of the first embodiment of the packet loss compensation method for semantic communication of the present application.
[0086] In this embodiment, the semantic communication system includes a semantic sending end and a semantic receiving end, and the packet loss compensation method for semantic communication is applied to the semantic sending end. The packet loss compensation method for semantic communication includes step S10':
[0087] Step S10', sending the target information of the source data to the semantic receiving end, so that the semantic receiving end decodes the target information, obtains the data packet sequence number and the data packet, determines the comparison result between the data packet sequence number and the data packet, determines the previous and next data packets at the packet loss position according to the comparison result, inputs the previous and next data packets into the first deep learning model, obtains the packet loss data, and performs packet loss compensation according to the packet loss data.
[0088] In the specific implementation, the semantic sender will perform semantic encoding and channel coding processing (source-channel joint coding) on the source data to obtain the target information. Specifically, the semantic coding is that the semantic sender inputs the source data into the deep learning model to extract the source feature vector to obtain the data to be sent (that is, the source data is compressed by the deep learning model to obtain the data to be sent). In order to better transmit through the channel, the data to be sent can be divided into multiple data packets of equal length for multiple transmission, and the data packet sequence number of each data packet is marked. Finally, these data packets and data packet sequence numbers are channel coded to obtain the target information.
[0089] In a feasible implementation, the semantic sending end includes a first sending port and a second sending port, and the target information includes first target information and second target information; the step of sending the target information of the source data to the semantic receiving end includes: obtaining the data packet sequence number and data packet of the source data; encoding the data packet sequence number as the first target information, and encoding the data packet as the second target information; sending the first target information to the semantic receiving end through the first sending port, and sending the second target information to the semantic receiving end through the second sending port.
[0090] It should be noted that in order to ensure the correct transmission of the data packet sequence number, a more reliable channel coding method can be used to encode the data packet sequence number, or the first target information can be transmitted to the semantic receiving end through a more reliable signaling channel through the first sending port, wherein the signaling channel and the data transmission link can be a standard wireless communication link, such as Wi-Fi, 5G, etc.
[0091] In a feasible implementation, the step of obtaining the data packet sequence number and data packet of the source data includes: obtaining the source data and determining a second deep learning model corresponding to the source data; inputting the source data into the second deep learning model to obtain pre-sent information; dividing the pre-sent information into multiple data packets and marking each data packet with a data packet sequence number.
[0092] It should be noted that the process of inputting the source data into the second deep learning model to obtain the pre-sent information is the process of semantic encoding. Specifically, the source feature vector (i.e., the pre-sent information) can be extracted by inputting the source data into the second deep learning model.
[0093] It can be understood that the data packet obtained by processing the source data through the second deep learning model is a series of feature vector expressions of the source data. Therefore, after receiving the data packet, the semantic receiving end can directly input the data packet into the first deep learning model for processing, without the need to preprocess the input data and extract semantic features, thereby achieving rapid execution of inference output and improving the timeliness of semantic communication.
[0094] It should be noted that, in order to better transmit through the channel, the pre-sent information is divided into a plurality of data packets of equal length for transmission, and each data packet is marked with a data packet sequence number.
[0095] In a feasible implementation, the step of dividing the pre-sent information into multiple data packets and marking each data packet with a data packet sequence number includes: dividing the pre-sent information into multiple data packets based on a fixed packet length; marking each data packet with a data packet sequence number in sequence.
[0096] It should be noted that for the stability of wireless signal transmission, the pre-sent information can be divided into multiple data packets of equal length for packet transmission, and labeling each data packet with a data packet sequence number in sequence can facilitate quick knowledge of the frame sequence number corresponding to each data packet.
[0097] The first embodiment and the second embodiment are described in detail below in conjunction with specific video source data:
[0098] 1. The video source data is S, the total number of frames of the video source data is F, and the frame set is defined as F@{1,2,...,F}. In order to ensure the stability of wireless signal transmission, the video source data is input to the semantic transmitter. In order to ensure the temporal continuity of the video, the video frames F are compressed by the second deep learning model in sequence. The compressed data of each frame is S f ,f∈F;
[0099] 2. In order to ensure the stability of wireless signal transmission, the compressed frame data {S f} is divided into multiple data packets and then sent in packets. The fixed packet length is L, and the f-th frame data will be divided into Data packets, To round up, all frame data {S f} is divided into data packets, define the data packet set as M@{1,2,...,M}, where the first The data packet corresponds to the fth frame of data. In other words, when the data packet sequence number m∈M is known, its corresponding frame sequence number can be known.
[0100] 3. In order to ensure that the data packet sequence number M can be transmitted correctly to the semantic receiving end, low-rate and high-reliability channel coding can be used to send the data packet sequence number through the first sending port of the semantic sending end, and the data packet can be sent through the second sending port of the semantic sending end.
[0101] 4. The semantic receiving end receives the first target information and the second target information through the first receiving port (i.e., signal receiving port A) and the second receiving port (i.e., signal receiving port B), respectively, and inputs the first target information and the second target information into the channel decoding module of the semantic receiving end to obtain the data packet sequence number and the data packet. By comparing the data packet sequence number and the data packet one by one, it can be determined whether the packet is lost and the packet loss position can be located. Assume that the set of the packet loss position sequence number is {O n}, which contains N lost packets.
[0102] 5. Input the packet loss sequence number and the received data packet into the packet loss compensation module of the semantic receiving end, preset the iteration step number i=1, and perform the following compensation algorithm:
[0103] When i≤N, loop:
[0104] 1) By comparing the lost packet sequence number O i , find the sequence number of the lost frame, defined as The corresponding first packets (that is, all packets corresponding to the packet loss frame) are discarded together, making the first The frame is a blank frame with no data received;
[0105] 2) Blank frame All data packets corresponding to the frames before and after, and
[0106] Package them separately to get the complete Frame and Frame data, that is and
[0107]
[0108] 3) and As input, a compensation operation based on a deep learning model is performed. and It is the mapping of the source data after the encoder is processed by the semantic transmitter in the semantic feature space. Therefore, there is no need to perform data preprocessing, semantic extraction and other operations on the data packet. After all the data packets corresponding to the frames before and after the blank frame are input into the first deep learning model, the interpolation prediction is directly performed to generate Frame (i.e., lost packet data), fill the current blank frame based on the lost packet data;
[0109] 4) The number of iteration steps increases: i=i+1;
[0110] 5) After completing the above loop compensation operation, the complete data with the lost packets filled is obtained, and the complete data is input into the semantic decoding module of the semantic receiving end to restore the video source data.
[0111] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the packet loss compensation method for semantic communication of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0112] The present application provides a packet loss compensation device for semantic communication, and the packet loss compensation device for semantic communication includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the packet loss compensation method for semantic communication in the above-mentioned embodiment one.
[0113] Reference below Figure 6 , which shows a schematic diagram of the structure of a packet loss compensation device for semantic communication suitable for implementing the embodiment of the present application. The packet loss compensation device for semantic communication in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The packet loss compensation device for semantic communication shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0114] like Figure 6As shown, the packet loss compensation device for semantic communication may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. Various programs and data required for the operation of the packet loss compensation device for semantic communication are also stored in the RAM 1004. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems may be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the semantic communication-oriented packet loss compensation device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a semantic communication-oriented packet loss compensation device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.
[0115] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0116] The packet loss compensation device for semantic communication provided by the present application adopts the packet loss compensation method for semantic communication in the above-mentioned embodiment, which can solve the technical problem that the receiving end cannot recover the complete information stream due to packet loss caused by channel fading or noise problems during the transmission of semantic communication information, thereby affecting the robustness of the semantic communication system. Compared with the prior art, the beneficial effects of the packet loss compensation device for semantic communication provided by the present application are the same as the beneficial effects of the packet loss compensation method for semantic communication provided by the above-mentioned embodiment, and the other technical features of the packet loss compensation device for semantic communication are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0117] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0118] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0119] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the packet loss compensation method for semantic communication in the above-mentioned embodiment.
[0120] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0121] The computer-readable storage medium may be included in the packet loss compensation device for semantic communication; or may exist independently without being assembled into the packet loss compensation device for semantic communication.
[0122] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the packet loss compensation device for semantic communication, the packet loss compensation device for semantic communication: receives the target information of the source data sent by the semantic sending end; decodes the target information to obtain the data packet sequence number and the data packet; determines the comparison result between the data packet sequence number and the data packet; determines the previous and next data packets at the packet loss position according to the comparison result; inputs the previous and next data packets into the first deep learning model to obtain packet loss data, and performs packet loss compensation according to the packet loss data.
[0123] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0124] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0125] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0126] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned packet loss compensation method for semantic communication, and can solve the technical problem that the receiving end cannot recover the complete information stream due to packet loss caused by channel fading or noise problems during the transmission of semantic communication information, thereby affecting the robustness of the semantic communication system. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the packet loss compensation method for semantic communication provided by the above-mentioned embodiment, which will not be repeated here.
[0127] Reference Figure 7 , Figure 7 The present invention is a schematic diagram of a packet loss compensation system for semantic communication in a hardware operating environment according to an embodiment of the present invention. The packet loss compensation system for semantic communication includes a semantic sending end and a semantic receiving end, wherein the semantic sending end executes the method described above, and the semantic receiving end executes the method described above, and the semantic receiving end and the semantic sending end can exchange information.
[0128] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A packet loss compensation method for semantic communication, characterized in that: The semantic communication system includes a semantic sending end and a semantic receiving end. The packet loss compensation method for semantic communication is applied to the semantic receiving end. The method includes: Receiving target information of source data sent by the semantic sending end; Decoding the target information to obtain a data packet sequence number and a data packet; Determine a comparison result between the data packet sequence number and the data packet; Determine the previous and next data packets at the packet loss location according to the comparison result; The front and rear data packets are input into a first deep learning model to obtain packet loss data, and packet loss compensation is performed based on the packet loss data.
2. The method according to claim 1, characterized in that The step of determining the previous and next data packets at the packet loss location according to the comparison result comprises: Determine the packet loss sequence number according to the comparison result; The preceding and following data packets at the packet loss location are determined according to the packet loss sequence number.
3. The method according to claim 2, characterized in that The step of determining the previous and next data packets at the packet loss position according to the packet loss sequence number comprises: Determine a packet loss frame sequence number according to the packet loss sequence number; Determine the frame numbers before and after the packet loss frame number; The data packets corresponding to the preceding and following frame sequence numbers are determined as the preceding and following data packets at the packet loss position.
4. The method according to claim 3, characterized in that The step of performing packet loss compensation according to the packet loss data comprises: Determine a target data packet among the data packets, and determine a data packet queue of the target data packet; The packet loss data is inserted into the data packet queue in order to obtain target received data, so as to complete the semantic communication for the source data according to the target received data.
5. The method according to claim 1, characterized in that The semantic receiving end includes a first receiving port and a second receiving port, the target information includes first target information and second target information, the first target information is the encoded data of the data packet sequence number of the source data, and the second target information is the encoded data of the data packet of the source data; wherein the step of receiving the target information of the source data sent by the semantic sending end includes: The first target information sent by the semantic sending end is received through the first receiving port, and the second target information sent by the semantic sending end is received through the second receiving port.
6. A packet loss compensation method for semantic communication, characterized in that: The semantic communication system includes a semantic sending end and a semantic receiving end. The packet loss compensation method for semantic communication is applied to the semantic sending end. The method includes: Send target information of the source data to the semantic receiving end so that the semantic receiving end decodes the target information, obtains a data packet sequence number and a data packet, determines a comparison result between the data packet sequence number and the data packet, determines the previous and next data packets at the packet loss position according to the comparison result, inputs the previous and next data packets into a first deep learning model, obtains packet loss data, and performs packet loss compensation according to the packet loss data.
7. The method according to claim 6, characterized in that The semantic sending end includes a first sending port and a second sending port, and the target information includes first target information and second target information; the step of sending the target information of the source data to the semantic receiving end includes: Obtaining a data packet sequence number and a data packet of the source data; encoding the data packet sequence number as the first target information, and encoding the data packet as the second target information; The first target information is sent to the semantic receiving end through the first sending port, and the second target information is sent to the semantic receiving end through the second sending port.
8. The method according to claim 7, characterized in that The step of obtaining the data packet sequence number and data packet of the source data comprises: Acquire the source data, and determine a second deep learning model corresponding to the source data; Inputting the source data into the second deep learning model to obtain pre-sent information; The pre-sent information is divided into a plurality of data packets, and each data packet is marked with a data packet sequence number.
9. The method according to claim 8, characterized in that The step of dividing the pre-sent information into a plurality of data packets and marking each data packet with a data packet sequence number comprises: Based on a fixed packet length, dividing the pre-sent information into a plurality of data packets; Each data packet is sequentially labeled with a packet sequence number.
10. A semantic communication system, characterized in that: The semantic communication system includes a semantic sending end and a semantic receiving end, the semantic receiving end executes the method described in any one of claims 1-5, and the semantic sending end executes the method described in any one of claims 6-9.
