Source coding method and device, communication equipment and readable storage medium

By setting up a source code header in the data packet header within the mobile network, the problem of shortage of data storage and transmission resources within the mobile network is solved, and data transmission efficiency is improved and source code flexibility is increased.

CN120111570APending Publication Date: 2025-06-06VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311657315.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-05
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

With the increase in data within mobile networks, the shortage of storage resources and transmission resources has become a problem, and an effective source encoding method is needed to save these resources.

Method used

The source encoding header is set up in the data packet header of the mobile network internal data, which contains indication information for indicating whether the data packet is encoded by the source, thereby supporting the flexible use of source encoding for each data packet.

Benefits of technology

Through source encoding, data transmission efficiency is improved, source encoding flexibility is increased, and storage and transmission resources are effectively saved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120111570A_ABST
    Figure CN120111570A_ABST
Patent Text Reader

Abstract

The invention discloses an information source coding method and device, communication equipment and a readable storage medium, and belongs to the technical field of wireless communication, and the information source coding method comprises the steps that first communication equipment sends a first data packet, the first data packet comprises an information source coding header, and the information source coding header comprises first indication information, the first indication information is used for indicating whether the first data packet is coded by an information source; wherein the first data packet is internal data of the mobile network, and the internal data of the mobile network comprises at least one of the following items: sending and receiving data terminated at any two of the terminal, the wireless access network equipment and the core network equipment, and sending or receiving data terminated at any one of the terminal, the wireless access network equipment and the core network equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of wireless communication technology, and specifically relates to a source coding method, device, communication equipment and readable storage medium. Background Art

[0002] Data is one of the core elements of mobile networks. User equipment (UE, also known as terminals), wireless access networks and core networks can generate massive amounts of data. In addition to user plane data, these data also include a large amount of mobile network internal data. For example, the terminal or base station equipment of the sixth generation mobile communication technology (6th Generation Mobile Communication Technology, 6G) system can measure the received signal while transmitting radio waves for communication, thereby wirelessly sensing the radio wave propagation environment and the target objects therein, and obtaining the position, speed, direction, material, imaging and other perception data of the target objects, thereby supporting a wealth of perception applications and scenarios. At the same time, with the research on artificial intelligence (AI) use cases of the fifth generation mobile communication technology (5G) network (such as channel state information (CSI) feedback, beam management and positioning, user behavior prediction, etc. AI models), AI model training requires a large amount of mobile network internal data, and AI models ranging from tens of K bytes to hundreds of M bytes also need to be transmitted between UE, wireless access network and core network. As a ubiquitously connected system, 6G will generate a large amount of valuable basic data information in the process of supporting the connection between the physical and digital worlds. Compared with 5G, which only provides limited data services such as UE positioning and network information disclosure, 6G will provide wireless sensing and positioning, and enhance network information disclosure. In addition, 6G can also collect industry public information such as various sensor information and Geographic Information System (GIS) information, empowering thousands of industries to avoid repeated collection of such data by various industry applications.

[0003] Therefore, as the internal data of the mobile network generated by the network functions of the aforementioned UE, radio access network and core network increases, the transmission resource overhead for collecting and consuming data between the various functions also increases.

[0004] In order to solve the shortage of storage resources and transmission resources, it is necessary to consider a source coding method that supports data within the mobile network, thereby saving storage resources and transmission resources. Summary of the invention

[0005] The embodiments of the present application provide a source coding method, apparatus, communication device and readable storage medium, which can solve the problem of how to support a source coding method for internal data of a mobile network.

[0006] In a first aspect, a source coding method is provided, comprising:

[0007] A first communication device sends a first data packet, where the first data packet includes a source coding header, where the source coding header includes first indication information, where the first indication information is used to indicate whether the first data packet is source coded;

[0008] Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

[0009] In a second aspect, a source coding method is provided, comprising:

[0010] A second communication device receives a first data packet, where the first data packet includes a source coding header, where the source coding header includes first indication information, where the first indication information is used to indicate whether the first data packet is source coded;

[0011] Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

[0012] In a third aspect, a source coding device is provided, comprising:

[0013] A first sending module, configured to send a first data packet, wherein the first data packet includes a source coding header, the source coding header includes first indication information, and the first indication information is used to indicate whether the first data packet is source coded;

[0014] Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

[0015] In a fourth aspect, a source coding device is provided, comprising:

[0016] A first receiving module, configured to receive a first data packet, wherein the first data packet includes a source coding header, wherein the source coding header includes first indication information, and the first indication information is used to indicate whether the first data packet is source coded;

[0017] Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

[0018] In a fifth aspect, a communication device is provided, which terminal includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect or the second aspect are implemented.

[0019] In a sixth aspect, a communication device is provided, comprising a processor and a communication interface, wherein the communication interface is used to send a first data packet, the first data packet comprises a source coding header, the source coding header comprises first indication information, the first indication information is used to indicate whether the first data packet is source encoded; wherein the first data packet is internal data of a mobile network, the internal data of the mobile network comprises at least one of the following: sending and receiving data terminated at any two of a terminal, a wireless access network device and a core network device, and sending or receiving data terminated at any one of a terminal, a wireless access network device or a core network device.

[0020] In the seventh aspect, a communication device is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive a first data packet, the first data packet comprises a source coding header, the source coding header comprises first indication information, the first indication information is used to indicate whether the first data packet is source encoded; wherein the first data packet is internal data of a mobile network, the internal data of the mobile network comprises at least one of the following: sending and receiving data terminated at any two of a terminal, a wireless access network device and a core network device, and sending or receiving data terminated at any one of a terminal, a wireless access network device or a core network device.

[0021] In an eighth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.

[0022] In a ninth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect or the second aspect.

[0023] In a tenth aspect, a computer program / program product is provided, wherein the computer program / program product is stored in a storage medium, and the program / program product is executed by at least one processor to implement the steps of the method described in the first aspect or the second aspect.

[0024] In the eleventh aspect, a wireless communication system is provided, comprising: a first communication device and a second communication device, wherein the first communication device can be used to execute the steps of the method described in the first aspect, and the second communication device can be used to execute the steps of the method described in the second aspect.

[0025] In an embodiment of the present application, a source coding header is set in the header of a data packet of internal data in a mobile network, and the source coding header includes first indication information for indicating whether the data packet is source encoded, thereby supporting flexible use of source coding for each data packet, thereby improving data transmission efficiency and increasing the flexibility of source coding. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A block diagram of a wireless communication system applicable to the embodiments of the present application;

[0027] Figure 2 A schematic diagram of the data plane protocol architecture for termination in a wireless access network;

[0028] Figure 3 A schematic diagram of the data plane protocol architecture of UE, radio access network and core network;

[0029] Figure 4 This is one of the flowcharts of the source coding method according to an embodiment of the present application;

[0030] Figure 5 This is a second flow chart of the source coding method according to an embodiment of the present application;

[0031] Figure 6 This is one of the example diagrams of the source coding header of an embodiment of the present application;

[0032] Figure 7 This is the second example diagram of the source coding header of the embodiment of the present application;

[0033] Figure 8 This is the third example diagram of the source coding header of the embodiment of the present application;

[0034] Fig. 9 This is the fourth example diagram of the source coding header of the embodiment of the present application;

[0035] Fig.10 This is the fifth example diagram of the source coding header of the embodiment of the present application;

[0036] Fig.11 This is the sixth example diagram of the source coding header of the embodiment of the present application;

[0037] Fig.12 This is the seventh example diagram of the source coding header of the embodiment of the present application;

[0038] Fig.13 This is one of the structural schematic diagrams of the source coding device of an embodiment of the present application;

[0039] Fig.14 This is a second structural diagram of the source coding device according to an embodiment of the present application;

[0040] Fig.15 A schematic diagram of the structure of a communication device according to an embodiment of the present application;

[0041] Fig.16 A schematic diagram of the hardware structure of a terminal according to an embodiment of the present application;

[0042] Fig.17 This is one of the hardware structure diagrams of the network side device in the embodiment of the present application;

[0043] Fig.18 This is the second schematic diagram of the hardware structure of the network side device of an embodiment of the present application. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.

[0045] The terms "first", "second", etc. of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of one type, and the number of objects is not limited, for example, the first object can be one or more. In addition, "or" in the present application represents at least one of the connected objects. For example, "A or B" covers three schemes, namely, Scheme 1: including A but not including B; Scheme 2: including B but not including A; Scheme 3: including both A and B. The character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0046] The term "indication" in this application can be a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, operations to be performed, or request results in the sent indication; an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.

[0047] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) or other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the above-mentioned systems and radio technologies as well as other systems and radio technologies. The following description describes a new radio (NR) system for example purposes, and NR terms are used in most of the following descriptions, but these technologies can also be applied to systems other than NR systems, such as 6th Generation (6G) communication systems.

[0048] Figure 1A block diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network side device 12. Among them, the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR), a virtual reality (Virtual Reality, VR) device, a robot, a wearable device (Wearable Device), an aircraft (flight vehicle), a vehicle-mounted device (Vehicle User Equipment, VUE), a ship-mounted device, a pedestrian terminal (Pedestrian User Equipment, PUE), a smart home (home appliances with wireless communication functions, such as refrigerators, televisions, washing machines or furniture, etc.), a game console, a personal computer (Personal Computer, PC), a teller machine or a self-service machine and other terminal side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among them, the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device may also be referred to as a radio access network (Radio Access Network, RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (Wireless Local Area Network, WLAN) access point (Access Point, AS) or a wireless fidelity (Wireless Fidelity, WiFi) node, etc.Among them, the base station may be referred to as a Node B (NB), an evolved Node B (eNB), a next generation Node B (gNB), a New Radio Node B (NR Node B), an access point, a Relay Base Station (RBS), a Serving Base Station (SBS), a Base Transceiver Station (BTS), a radio base station, a radio transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a Home Node B (HNB), a Home Evolved Node B (home evolved Node B), a Transmission Reception Point (TRP) or other appropriate terms in the relevant field. As long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.

[0049] The core network device may include the core network device may include but is not limited to at least one of the following: core network equipment, core network function, mobility management entity (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), user plane function (User Plane Function, UPF), policy control function (Policy Control Function, PCF), policy and charging rules function unit (Policy and Charging Rules Function, PCRF), edge application service discovery function (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data storage (Unified Data Repository, UDR), home user server (Home Subscriber Server, HSS), centralized network configuration (CNC), network storage function (Network Repository Function, NRF), network exposure function (Network Exposure Function, NEF), local NEF (Local NEF, or L-NEF), binding support function (Binding Support Function, BSF), application function (Application Function, AF), location management function (Location Management Function, LMF), gateway mobile location center (Gateway Mobile Location Centre, GMLC), network data analysis function (Network Data Analytics Function, NWDAF), etc. It should be noted that in the embodiments of the present application, only the core network equipment in the NR system is introduced as an example, and the specific type of the core network equipment is not limited.

[0050] The technical contents involved in this application are explained below.

[0051] (1) Robust Header Compression (ROHC)

[0052] ROHC is an algorithm for compressing the headers of various Internet Protocol (IP) packets. In IPv4, the size of the uncompressed IP header is 40 bytes, while in IPv6, the size of the uncompressed IP header is 60 bytes. This is not a big problem in case of normal packet applications such as file transfer or browsing, because the size of the data being transferred is very large compared to the size of the header. Therefore, the overhead generated by the IP header is not a big problem. But in some applications such as Voice over Internet Protocol (VoIP), SMS, gaming, etc., the amount of data transferred tends to be small and very frequent transactions occur, in which case the overhead generated by the IP header becomes very large. In such cases, it would be very beneficial if any method could be devised to reduce the size of the IP header, and ROHC is one of the methods defined in RFC 3095. The ideal compression ratio of ROHC is to reduce the size of the header (original size is 40 or 60 bytes) to only 1 or 2 bytes.

[0053] The ROHC functional entity is located in the user-plane packet data convergence protocol (PDCP) entity of the UE and eNodeB / gNB, and is only used for header compression and decompression of user-plane data packets. In other words, ROHC is mainly for user data from outside the mobile network carried by the mobile network, and performs header compression on user data packets.

[0054] (2) Uplink Data Compression (UDC)

[0055] The UDC protocol is based on IETF RFC 1951 (DEFLATE compressed data format specification). The DEFLATE compression strategy uses the static Huffman coding tree defined in IETF RFC 1951. UDC data blocks should be byte aligned. Z_SYNC_FLUSH is used as the DEFLATE byte alignment, and the fixed last four bytes 0x00 0x00 0xFF0xFF are deleted before transmission.

[0056] PDCP entities associated with Data Radio Bearers (DRBs) may be configured by upper layers to use UDC. If UDC is configured, the UE shall apply UDC compression to PDCP Service Data Units (SDUs) received from upper layers corresponding to the configured DRBs. If upper layers configure predefined dictionaries, the UE shall prefill the compression buffer with the configured predefined dictionaries when UDC is configured. If upper layers do not configure predefined dictionaries, the UE shall set the compression buffer to all zeros.

[0057] It can be found that the UDC functional entity is located in the user plane PDCP entity of the UE and eNodeB / gNB, and is only used for compression and decompression of user plane data packets. That is, UDC is mainly for user data from outside the mobile network carried by the mobile network, and compresses the user data packets. In addition, each PDCP entity that carries user plane data uses either UDC or ROHC, and the two are not used at the same time.

[0058] (3) Data Plane

[0059] In the current discussion of 6G network architecture, many companies in the industry have proposed the data plane. The data plane consists of core network data plane functions, radio access network data plane functions, and UE data plane functions, and has end-to-end connectivity. The data plane is responsible for data control, including data collection coordination, data collection configuration, and data transmission configuration. The data plane is also responsible for at least one of the functions of data collection, data transmission, data preprocessing, data privacy and security, data analysis, data storage, and data services.

[0060] (4) Source Encoding and Decoding

[0061] The basic communication model of source coding and decoding is as follows: source -> source encoder -> channel encoder -> channel -> channel decoder -> source decoder -> source decoder -> destination.

[0062] The source is the carrier of information. The default output here is binary.

[0063] The source encoder performs lossless encoding (or lossy encoding that meets the requirements) on the output of the source, with the aim of reducing the redundancy of the source output information. This can be understood as compression.

[0064] The channel encoder encodes the output of the source encoder so that the resulting sequence can be transmitted better in the channel. Generally, redundancy is added to enhance anti-interference.

[0065] Channel: Information is transmitted in the channel and sent to the receiving end.

[0066] The channel decoder (source decoder) decodes the received sequence and can recover certain transmission errors.

[0067] The source decoder (channel decoder) decodes the output of the channel decoder to restore the original information sequence.

[0068] The destination requires a carrier of the original information.

[0069] Please refer to Figure 2 , Figure 2 For a diagram of the data plane protocol architecture that terminates in the wireless access network, please refer to Figure 3 , Figure 3 Schematic diagram of the data plane protocol architecture of UE, wireless access network and core network.

[0070] The source coding method, apparatus, communication device and readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through some embodiments and their application scenarios.

[0071] Please refer to Figure 4 , an embodiment of the present invention provides a source coding method, comprising:

[0072] Step 11: The first communication device sends a first data packet, wherein the first data packet includes a source coding header, wherein the source coding header includes first indication information, and the first indication information is used to indicate whether the first data packet is source coded.

[0073] The so-called source coding is a transformation of source symbols for the purpose of improving communication effectiveness, or in other words, a transformation of source symbols to reduce or eliminate source redundancy. It can achieve the effect of reducing the size of source symbols, so source coding can also be called data compression.

[0074] The first data packet in the embodiment of the present application is mobile network internal data, and the mobile network internal data may refer to data that can be parsed by UE, wireless access network or core network in the 3GPP standard. Optionally, the mobile network internal data includes at least one of the following:

[0075] 1) Send and receive data that terminates at any two of the terminals, wireless access network equipment, and core network equipment;

[0076] It can also be described as a peer-to-peer protocol for sending and receiving data located at the UE, radio access network or core network.

[0077] For example, the data of the peer protocol layers of the Long Term Evolution Positioning Protocol (LTE Positioning Protocol, LPP) are respectively located in the location management function (location management function, LMF) of the UE and the core network; another example is the data of the peer protocol layers of the Radio Resource Control (Radio Resource Control, RRC) are respectively located in the UE and the radio access network equipment (eNB / gNB, base station); another example is the data plane protocol layers are respectively located in the UE and the radio access network equipment or in the UE and the core network equipment.

[0078] 2) Send or receive data that ends at any one of the terminals, wireless access network equipment or core network equipment.

[0079] It can also be described as data sent or received with one end located at the UE, radio access network or core network. For example, an AI model generated by an application server or application function outside the mobile network is sent to the UE, radio access network equipment or core network equipment, and the corresponding equipment needs to deploy and use the AI ​​model.

[0080] The terminal (UE) involved in the above mobile network content data refers to the protocol function of the user equipment (Userequipment) defined by the 3GPP protocol, and does not include application functions.

[0081] For example, the mobile network internal data may include at least one of the following: perception data, positioning data, AI model, and AI model training data.

[0082] In some embodiments, optionally, a first communication device sends a first data packet to a second communication device, the first data packet includes a source coding header, the source coding header includes first indication information, and the first indication information is used to indicate whether the first data packet is source coded. After receiving the first data packet, the second communication device can determine whether the first data packet is source coded according to the source coding header, and perform source decoding when it is determined that the first data packet is source coded. In an embodiment of the present application, the first communication device may be a data provider, which may also be referred to as a data provision function, and may be a UE, a wireless access network device, or a core network device. The second communication device may be a data consumer, which may also be referred to as a data consumption function. Alternatively, the second communication device may also be a data plane function node, and the data provided by the data provider is provided to the data consumer via the data plane function node. Among them, the data plane function node may provide the original data provided by the data provider, or provide processed data. The second communication device may be a UE, a wireless access network device, or a core network device.

[0083] In an embodiment of the present application, a source coding header is set in the header of a data packet of internal data in a mobile network, and the source coding header includes first indication information for indicating whether the data packet is source encoded, thereby supporting flexible use of source coding for each data packet, thereby improving data transmission efficiency and increasing the flexibility of source coding.

[0084] In an embodiment of the present application, the first indication information may be an explicit indication of whether the first data packet is source encoded, or may be an implicit indication of whether the first data packet is source encoded. For example, if the first indication information indicates that the data type of the first data packet is control information on the data plane, it implicitly indicates that the first data packet is not source encoded; if the first indication information indicates that the data type of the first data packet is data information on the data plane, it implicitly indicates that the first data packet is source encoded.

[0085] In the embodiment of the present application, optionally, the source coding header further includes at least one of the following:

[0086] 1) Data type: for example, it can be a trace ID in an existing protocol, or a task identifier for data collection, etc. It can also be control information on the data plane, or data information on the data plane, etc.

[0087] 2) second indication information, used to indicate whether the first data packet is encoded by a lossy source or by a lossless source;

[0088] Since source coding is for mobile network internal data rather than user plane data, appropriate source coding can be used for the first data packet according to the application scenario of the data and the requirements for data quality, without being limited to lossless source coding algorithms.

[0089] 3) third indication information, used to indicate whether the source encoding buffer is reset;

[0090] The third indication information indicates whether the source coding buffer of the first communication device is reset.

[0091] 4) A source coding algorithm or algorithm identifier used by the first data packet; the source coding algorithm may include at least one of the following: an algorithm predefined in the protocol, a pre-deployed algorithm.

[0092] 5) Check bits, used to check the correctness of the source coding and decoding of the first data packet; the check object can be a single source coded data packet, for example, the source coding end generates check bits (check bits) for the data before source coding through a check algorithm (such as parity check), and the receiving end performs source decoding after receiving the data packet, and generates check bits for the decoded data using the same check algorithm. If the check bits are consistent with the received coding end, the source coding and decoding is considered correct, otherwise it is wrong.

[0093] In the embodiment of the present application, the check bit is generated by the first communication device using a check algorithm for the data before encoding corresponding to the first data packet. At this time, the second communication device that receives the first data packet decodes the first data packet, and the decoded data uses the same check algorithm to generate a check bit, which is compared with the received check bit. If it is consistent with the received check bit, it is considered that the source encoding and decoding is correct, otherwise it is wrong.

[0094] 6) feedback information, used to indicate whether source decoding of source coded data received by the first communication device is correct;

[0095] When a decoding error or data packet loss occurs at the receiving end of the source coded data, the error is reported through the feedback information. At this time, the role of the feedback information is mainly to provide source coding feedback for the sending end of the source coded data to determine whether the source coding parameters need to be adjusted. Among them, the source coding parameter adjustment may include adjusting the parameters of the source coding used, such as the compression rate, etc., and may also include changing the source coding algorithm. In the case where each data packet can use source coding independently, if a small number of data packet decoding errors have no effect on the use of the first data, then no retransmission processing or adjustment of the source coding parameters may be performed. If the sending end determines that the decoding error has an impact on the use of the data, one way is to adjust the compression rate when a source decoding error is received, that is, to retain more data. This process can use a unified source coding algorithm or change the source coding algorithm, and it is also necessary to reset the source coding buffer. The definition of the compression rate may include one of the following: the data length after source coding divided by the data length before source coding, the data length before source coding divided by the data length after source coding, 1-the data length after source coding / the data length before source coding.

[0096] When the first communication device receives source-coded data, it can interpret the check bit of the source-decoded data according to the check algorithm defined in the protocol, and compare it with the received check bit to determine whether the source decoding is correct. If it is wrong, and the sender that needs to send the above-mentioned source-coded data knows it, the above-mentioned feedback information can be sent. If it is correct or the sender does not need to know whether the decoding is correct or not, in order to reduce overhead, feedback information may not be sent, for example, the decoding is correct by default when there is no feedback.

[0097] 7) fourth indication information, used to indicate that the first data packet is source-coded data to be transmitted;

[0098] That is, when the first indication information indicates that the first data packet is source encoded, the fourth indication information indicates that the first data packet is a data packet obtained by performing source encoding on the data to be transmitted itself.

[0099] 8) fifth indication information, used to indicate that the first data packet is a data packet for providing feedback on a decoding result of source coded data received by the first communication device;

[0100] That is, when the first indication information indicates that the first data packet is source encoded, the fifth indication information indicates that the first data packet is a data packet for feedback.

[0101] 9) sixth indication information, used to indicate that the first data packet is a start data packet or an end data packet of source coding, wherein the data packets between the start data packet and the end data packet adopt the same source coding mode;

[0102] 10) a first sequence number, wherein the first sequence number is a sequence number of the first data packet;

[0103] 11) A second sequence number, where the second sequence number is the sequence number of the source coded data corresponding to the feedback information, and the feedback information is used to indicate whether the source decoding of the source coded data received by the first communication device is correct.

[0104] In an embodiment of the present application, optionally, the first data packet is a start data packet or an end data packet of source coding, and the method further includes: the first communication device sends a second data packet, the second data packet is a data packet between the start data packet and the end data packet of source coding, and the second data packet does not include at least one of the following:

[0105] Data type;

[0106] the first indication information;

[0107] the second indication information;

[0108] the third indication information;

[0109] A source coding algorithm or an algorithm identifier used by the second data packet;

[0110] the fourth indication information;

[0111] The sixth indication information.

[0112] It is understandable that the second data packet between the start data packet and the end data packet can use the same source coding method as the first data packet, which can be said to have data packet affinity. In this way, the second data packet with a sequence number between the sequence numbers of the start and end data packets does not need at least part of the information of the source coding header, thereby saving the overhead of the source coding header.

[0113] In an embodiment of the present application, optionally, the first data packet includes at least one of the following: a data packet corresponding to control information on the data plane, a data packet corresponding to data information on the data plane, and a data packet on the control plane.

[0114] In an embodiment of the present application, optionally, whether the first data packet is source encoded is related to a data type of the first data packet.

[0115] It can be understood that whether the first data packet is source encoded is related to the data type of the first data packet, and the first indication information is implicitly indicated by the data type of the source encoding header.

[0116] In an embodiment of the present application, optionally, the source coding method further includes: the first communication device determines whether to perform source coding on the data to be transmitted according to data requirements.

[0117] In the embodiment of the present application, optionally, the data requirement includes at least one of the following:

[0118] The length of the data to be transmitted;

[0119] Real-time data transmission;

[0120] Data type;

[0121] The amount of available storage resources.

[0122] In an embodiment of the present application, optionally, the source coding method also includes: the first communication device receives a first message, the first message includes: seventh indication information, the seventh indication information is used to indicate whether the first data uses source coding, the first data is internal data of the mobile network, and the first data packet belongs to the first data.

[0123] In the embodiment of the present application, optionally, the first communication device receives the first message sent by the second communication device.

[0124] In the embodiment of the present application, optionally, the seventh indication information is used to indicate at least one of the following:

[0125] whether to use source coding for the first uplink data;

[0126] Whether to use source coding for the first downlink data.

[0127] In the embodiment of the present application, optionally, the first message further includes at least one of the following:

[0128] eighth indication information, used to indicate whether lossy source coding or lossless source coding is used for the first data;

[0129] The buffer size used for source encoding;

[0130] A source coding algorithm or an algorithm identifier used for the first data.

[0131] In the embodiment of the present application, optionally, the source coding method further includes: the first communication device sends source coding capability information of the first communication device, the source coding capability information includes ninth indication information, and the ninth indication information is used to indicate whether the first communication device supports source coding;

[0132] The source coding capability information is used to determine the first message.

[0133] In an embodiment of the present application, optionally, the ninth indication information may indicate whether the first communication device supports source coding in an explicit manner, or may indicate whether the first communication device supports source coding in an implicit manner.

[0134] Ninth indication information In an embodiment of the present application, when the first communication device is a UE, optionally, the source coding capability information of the first communication device can be carried in a UE capability report.

[0135] In the embodiment of the present application, optionally, the source coding capability information further includes at least one of the following:

[0136] The maximum number of entities supported using source coding; for example, the maximum number of radio bearers;

[0137] Tenth indication information, used to indicate support for at least one of lossy source coding and lossless source coding;

[0138] Supported source coding algorithms or algorithm identifiers, the supported source coding algorithms may include at least one of the following: a standard source coding algorithm (also referred to as a dictionary), an operator-defined source coding algorithm (also referred to as a dictionary). When the supported source coding algorithms include operator-defined source coding algorithms, the source coding capability information may also include an algorithm version and an operator PLMN.

[0139] The standard source coding algorithm may include at least one of a lossy source coding algorithm and a lossless source coding algorithm.

[0140] The following example illustrates the lossless source coding algorithm:

[0141] 1) DEFLATE: A widely used lossless compression algorithm, commonly used in file formats such as ZIP and GZIP. This source coding algorithm is used in the existing protocol UDC.

[0142] 2) LZ77 / LZ78: A dictionary-based lossless compression algorithm, commonly used in file formats such as LZW and ZIP.

[0143] 3) Brotli: A lossless compression algorithm developed by Google that has the characteristics of high compression ratio and fast decompression and has become one of the standards for Web content compression.

[0144] 4) Zstandard: A lossless compression algorithm developed by Facebook, which has the characteristics of high compression ratio and fast decompression and has become one of the standards in many application fields.

[0145] 5) LZ4: A lossless compression algorithm developed by Google, which has the characteristics of high compression speed and fast decompression, and is often used in scenarios such as real-time data transmission and high-speed caching.

[0146] 6) Snappy: A lossless compression algorithm developed by Google that has the characteristics of high compression speed and fast decompression. It is often used in scenarios such as big data processing and real-time data transmission.

[0147] The following example illustrates the lossy source coding algorithm:

[0148] 1) JPEG: A widely used image compression algorithm that can compress images to 1 / 10 to 1 / 100 of their original size. It is commonly used in digital cameras, mobile devices, televisions, and other scenarios.

[0149] 2) MPEG: A widely used video compression algorithm that can compress video to 1 / 100 to 1 / 1000 of its original size. It is commonly used in digital television, online video, video conferencing and other scenarios.

[0150] 3) AAC: A widely used audio compression algorithm that can compress audio to 1 / 10 to 1 / 20 of its original size. It is commonly used in digital music, network audio, mobile devices and other scenarios.

[0151] 4) Opus: An audio compression algorithm developed by Xiph.org that can compress audio to 1 / 10 to 1 / 20 of its original size while having the characteristics of low latency and high quality. It has become one of the standards for WebRTC audio communication.

[0152] In an embodiment of the present application, optionally, the source coding capability information is defined by a capability parameter of a data plane protocol layer or indicated by a common parameter in a capability parameter of the first communication device.

[0153] Optionally, when the first communication device is a UE, the capability parameter of the first communication device is a UE capability parameter.

[0154] Please refer to Figure 5 , an embodiment of the present invention provides a source coding method, comprising:

[0155] Step 21: The second communication device receives a first data packet, where the first data packet includes a source coding header, where the source coding header includes first indication information, and the first indication information is used to indicate whether the first data packet is source coded.

[0156] The so-called source coding is a transformation of source symbols for the purpose of improving communication effectiveness, or in other words, a transformation of source symbols to reduce or eliminate source redundancy. It can achieve the effect of reducing the size of source symbols, so source coding can also be called data compression.

[0157] The first data packet in the embodiment of the present application is mobile network internal data, and the mobile network internal data may refer to data that can be parsed by UE, wireless access network or core network in the 3GPP standard. Optionally, the mobile network internal data includes at least one of the following:

[0158] 1) Send and receive data that terminates at any two of the terminals, wireless access network equipment, and core network equipment;

[0159] It can also be described as a peer-to-peer protocol for sending and receiving data located at the UE, radio access network or core network.

[0160] For example, the data of the peer protocol layers of the Long Term Evolution Positioning Protocol (LTE Positioning Protocol, LPP) are respectively located in the location management function (location management function, LMF) of the UE and the core network; another example is the data of the peer protocol layers of the Radio Resource Control (Radio Resource Control, RRC) are respectively located in the UE and the radio access network equipment (eNB / gNB, base station); another example is the data plane protocol layers are respectively located in the UE and the radio access network equipment or in the UE and the core network equipment.

[0161] 2) Send or receive data that ends at any one of the terminals, wireless access network equipment or core network equipment.

[0162] It can also be described as data sent or received with one end located at the UE, radio access network or core network. For example, an AI model generated by an application server or application function outside the mobile network is sent to the UE, radio access network equipment or core network equipment, and the corresponding equipment needs to deploy and use the AI ​​model.

[0163] The terminal (UE) involved in the above mobile network content data refers to the protocol function of the user equipment (Userequipment) defined by the 3GPP protocol, and does not include application functions.

[0164] For example, the mobile network internal data may include at least one of the following: perception data, positioning data, AI model, and AI model training data.

[0165] In some embodiments, optionally, the second communication device receives a first data packet sent by the first communication device, the first data packet includes a source coding header, the source coding header includes first indication information, and the first indication information is used to indicate whether the first data packet is source coded. After receiving the first data packet, the second communication device can determine whether the first data packet is source coded according to the source coding header, and perform source decoding when it is determined that the first data packet is source coded. In the embodiment of the present application, the first communication device can be a data provider, which can also be called a data provision function, and can be a UE, a wireless access network device, or a core network device. The second communication device can be a data consumer, which can also be called a data consumption function. Alternatively, the second communication device can also be a data plane function node, and the data provided by the data provider is provided to the data consumer via the data plane function node. Among them, the data plane function node can provide the original data provided by the data provider, or provide processed data. The second communication device can be a UE, a wireless access network device, or a core network device.

[0166] In an embodiment of the present application, a source coding header is set in the header of a data packet of internal data in a mobile network, and the source coding header includes first indication information for indicating whether the data packet is source encoded, thereby supporting flexible use of source coding for each data packet, thereby improving data transmission efficiency and increasing the flexibility of source coding.

[0167] In an embodiment of the present application, the first indication information may be an explicit indication of whether the first data packet is source encoded, or may be an implicit indication of whether the first data packet is source encoded. For example, if the first indication information indicates that the data type of the first data packet is control information on the data plane, it implicitly indicates that the first data packet is not source encoded; if the first indication information indicates that the data type of the first data packet is data information on the data plane, it implicitly indicates that the first data packet is source encoded.

[0168] In the embodiment of the present application, optionally, the source coding header further includes at least one of the following:

[0169] 1) Data type: for example, it can be a trace ID in an existing protocol, or a task identifier for data collection, etc. It can also be control information on the data plane, or data information on the data plane, etc.

[0170] 2) second indication information, used to indicate whether the first data packet is encoded by a lossy source or by a lossless source;

[0171] Since source coding is for mobile network internal data rather than user plane data, appropriate source coding can be used for the first data packet according to the application scenario of the data and the requirements for data quality, without being limited to lossless source coding algorithms.

[0172] 3) third indication information, used to indicate whether the source encoding buffer is reset;

[0173] The third indication information indicates whether the source coding buffer of the first communication device is reset.

[0174] 4) A source coding algorithm or algorithm identifier used by the first data packet; the source coding algorithm may include at least one of the following: an algorithm predefined in the protocol, a pre-deployed algorithm.

[0175] 5) Check bits, used to check the correctness of the source coding and decoding of the first data packet; the check object can be a single source coded data packet, for example, the source coding end generates check bits (check bits) for the data before source coding through a check algorithm (such as parity check), and the receiving end performs source decoding after receiving the data packet, and generates check bits for the decoded data using the same check algorithm. If the check bits are consistent with the received coding end, the source coding and decoding is considered correct, otherwise it is wrong.

[0176] In the embodiment of the present application, the check bit is generated by the first communication device that sends the first data packet using a check algorithm for the data before encoding corresponding to the first data packet. At this time, the second communication device performs source decoding on the received first data packet, and generates a check bit using the same check algorithm for the decoded data, which is compared with the received check bit. If it is consistent with the received check bit, it is considered that the source encoding and decoding is correct, otherwise it is wrong.

[0177] 6) feedback information, used to indicate whether source decoding of source coded data received by the first communication device is correct;

[0178] When a decoding error or data packet loss occurs at the receiving end of the source coded data, the error is reported through the feedback information. At this time, the role of the feedback information is mainly to provide source coding feedback for the sending end of the source coded data to determine whether the source coding parameters need to be adjusted. Among them, the source coding parameter adjustment may include adjusting the parameters of the source coding used, such as the compression rate, etc., and may also include changing the source coding algorithm. In the case where each data packet can use source coding independently, if a small number of data packet decoding errors have no effect on the use of the first data, then no retransmission processing or adjustment of the source coding parameters may be performed. If the sending end determines that the decoding error has an impact on the use of the data, one way is to adjust the compression rate when a source decoding error is received, that is, to retain more data. This process can use a unified source coding algorithm or change the source coding algorithm, and it is also necessary to reset the source coding buffer. The definition of the compression rate may include one of the following: the data length after source coding divided by the data length before source coding, the data length before source coding divided by the data length after source coding, 1-the data length after source coding / the data length before source coding.

[0179] When the first communication device receives source-encoded data, it can interpret the check bit of the source decoded data according to the check algorithm defined in the protocol, and compare it with the received check bit to determine whether the source decoding is correct. If it is wrong and the sender needs to know, the above feedback information can be sent. If it is correct or the sender does not need to know whether the decoding is correct or not, in order to reduce overhead, the feedback information may not be sent, for example, the decoding is correct by default when there is no feedback.

[0180] 7) fourth indication information, used to indicate that the first data packet is source-coded data to be transmitted;

[0181] 8) fifth indication information, used to indicate that the first data packet is a data packet for feeding back a decoding result of source coded data received by the first communication device;

[0182] 9) sixth indication information, used to indicate that the first data packet is a start data packet or an end data packet of source coding, wherein the data packets between the start data packet and the end data packet adopt the same source coding mode;

[0183] 10) a first sequence number, wherein the first sequence number is a sequence number of the first data packet;

[0184] 11) A second sequence number, where the second sequence number is the sequence number of the source coded data corresponding to the feedback information, and the feedback information is used to indicate whether the source decoding of the source coded data received by the first communication device is correct.

[0185] In the embodiment of the present application, optionally, the first data packet is a start data packet or an end data packet of source coding, and the method further includes: the second communication device receives a second data packet, the second data packet is a data packet between the start data packet and the end data packet of source coding, and the second data packet does not include at least one of the following:

[0186] Data type;

[0187] the first indication information;

[0188] the second indication information;

[0189] the third indication information;

[0190] A source coding algorithm or an algorithm identifier used by the second data packet;

[0191] the fourth indication information;

[0192] The sixth indication information.

[0193] In an embodiment of the present application, optionally, the first data packet includes at least one of the following: a data packet corresponding to control information on the data plane, a data packet corresponding to data information on the data plane, and a data packet on the control plane.

[0194] In an embodiment of the present application, optionally, whether the first data packet is source encoded is related to a data type of the first data packet.

[0195] In an embodiment of the present application, optionally, the source encoding method also includes: the second communication device sends a first message, the first message includes: seventh indication information, the seventh indication information is used to indicate whether the first data uses source encoding, the first data is internal data of the mobile network, and the first data packet belongs to the first data.

[0196] In the embodiment of the present application, optionally, the seventh indication information is used to indicate at least one of the following:

[0197] whether to use source coding for the first uplink data;

[0198] Whether to use source coding for the first downlink data.

[0199] In the embodiment of the present application, optionally, the first message further includes at least one of the following:

[0200] eighth indication information, used to indicate whether lossy source coding or lossless source coding is used for the first data;

[0201] The buffer size used for source encoding;

[0202] A source coding algorithm or an algorithm identifier used for the first data.

[0203] In the embodiment of the present application, optionally, the source coding method further includes:

[0204] The second communication device receives source coding capability information of the first communication device, where the source coding capability information of the first communication device includes ninth indication information, and the ninth indication information is used to indicate whether the first communication device supports source coding;

[0205] The source coding capability information is used to determine the first message.

[0206] In an embodiment of the present application, optionally, the ninth indication information may indicate whether the first communication device supports source coding in an explicit manner, or may indicate whether the first communication device supports source coding in an implicit manner.

[0207] In an embodiment of the present application, when the first communication device is a UE, optionally, the source coding capability information of the first communication device may be carried in a UE capability report.

[0208] In the embodiment of the present application, optionally, the source coding capability information further includes at least one of the following:

[0209] The maximum number of entities supported using source coding; for example, the maximum number of radio bearers;

[0210] Tenth indication information, used to indicate support for at least one of lossy source coding and lossless source coding;

[0211] Supported source coding algorithms or algorithm identifiers, the supported source coding algorithms may include at least one of the following: a standard source coding algorithm (also referred to as a dictionary), an operator-defined source coding algorithm (also referred to as a dictionary). When the supported source coding algorithms include operator-defined source coding algorithms, the source coding capability information may also include an algorithm version and an operator PLMN.

[0212] The standard source coding algorithm may include at least one of a lossy source coding algorithm and a lossless source coding algorithm. For examples of lossy source coding algorithms and lossless source coding algorithms, see Figure 4 Description of the illustrated embodiment.

[0213] In an embodiment of the present application, optionally, the source coding capability information is defined by a capability parameter of a data plane protocol layer or indicated by a common parameter in a capability parameter of the first communication device.

[0214] The source coding method of the embodiment of the present application is described below with reference to specific embodiments.

[0215] Embodiment 1:

[0216] In this embodiment, a method of flexibly using source coding for each data packet is supported.

[0217] This embodiment describes a method for the data plane protocol stack to support source coding. The protocol layer corresponding to the data plane protocol stack is called the first sublayer. Figure 2 The following embodiment refers to the first sublayer as Data Plane Application Protocol (DPAP), which may also be other names, such as Data Service Application Protocol (DSAP).

[0218] Since the main purpose of the data plane is to transmit large amounts of data within the mobile network, this embodiment assumes that all nodes supporting the data plane (UE, wireless access network equipment, core network equipment) support source coding, that is, source coding is one of the functions carried by the data plane.

[0219] In this embodiment, the first communication device is a UE, and the UE sends a first data packet.

[0220] The source coding method in the embodiment of the present application comprises the following steps:

[0221] First, the UE sends UE capability information to the network side device, and the UE capability information includes the UE's source coding capability information. This step is optional. Assuming that the protocol defines that both the UE and the network support source coding, the UE does not need to report the UE's source coding capability information.

[0222] The source coding capability information may include at least one of the following:

[0223] The maximum number of entities supported using source coding; for example, the maximum number of radio bearers;

[0224] Tenth indication information, used to indicate support for at least one of lossy source coding and lossless source coding;

[0225] Supported source coding algorithms or algorithm identifiers, the supported source coding algorithms may include at least one of the following: a standard source coding algorithm (also referred to as a dictionary), an operator-defined source coding algorithm (also referred to as a dictionary). When the supported source coding algorithms include operator-defined source coding algorithms, the source coding capability information may also include an algorithm version and an operator PLMN.

[0226] The standard source coding algorithm may include at least one of a lossy source coding algorithm and a lossless source coding algorithm. Examples of the lossy source coding algorithm and the lossless source coding algorithm can be found in the description of the above embodiment and will not be described in detail.

[0227] Because this application performs source coding on data within the mobile network, the operator can define the source coding algorithm based on the application scenario of the collected and transmitted data. Similar to the above-mentioned lossy source coding that focuses on a certain type of data, the source coding algorithm defined by the operator is expected to further reduce the amount of data transmitted. Considering that the UE may have multiple cards from different operators, the algorithm version information and the corresponding PLMN identifier must be indicated for the source coding algorithm defined by the operator.

[0228] The following is a brief description of the interaction process between the UE and the network side based on the source coding header:

[0229] Step 1: The network side sends a second message to the UE, where the second message is used to indicate the establishment of a data plane bearer.

[0230] The network side may be, for example, a radio access network device, and the second message may be, for example, RRC signaling.

[0231] An example of a second message based on RRC signaling is shown below.

[0232]

[0233]

[0234] Step 2: The UE receives the second message, and if a data plane bearer is added, a response message is sent to the network side. For example, the response message may be an RRCReconfigurationComplete message.

[0235] Step 3: For the data plane bearer, the UE uses the source coding header to generate a service data unit (SDU) (ie, the first data packet) of the DPAP layer.

[0236] Consider at least one of the control information and data information of the data plane that may be transmitted in the data plane bearer. Therefore, a source coding scheme is to determine whether each first data packet uses source coding according to data requirements. For example, for the control information of the data plane (such as data collection configuration), since ASN.1 and other methods can be used to use fewer bits to represent the control information, source coding may not be used. For the data information of the data plane (such as collected data or AI models, etc.), source coding can be used to reduce the amount of data.

[0237] An example of a source coding header is Figure 6In this embodiment, one bit (coding) may be used to indicate whether the first data packet is source coded. If the aforementioned control information does not use source coding and the data information uses source coding, one bit may also be used to indicate whether the data packet is control information or data information, thereby indirectly indicating whether it is source coded.

[0238] Another example method is:

[0239] 1 bit D / C field, used to indicate whether the first data packet is control information or data information;

[0240] 1-bit compression indication field: whether the first data packet is source encoded; if it is determined that the control plane does not perform source encoding, the compression indication field is only used to indicate whether the data information is source encoded.

[0241] If the source coding header includes a check bit, the receiving end can check the source coding of the first data packet based on the check bit. The first communication device can determine the length of the check bit according to the adopted check algorithm, such as a parity check algorithm. Please refer to Figure 7 , Figure 7 The check bit in the source coding header is 1 bit (checkbit).

[0242] Optionally, if the UE supports more than one source coding algorithm, the source coding header also needs to include information about the source coding algorithm used by the first data packet. An example of a source coding header is: Figure 8 As shown, in this embodiment, when coding indicates that the first data packet is source encoded, the source coding header carries an L / N field and an algorithm field (Algorithm). One bit (L / N) is used to indicate whether it is a lossy compression algorithm or a lossless compression algorithm, and two bits (Algorithm) are used to indicate whether the source coding algorithm is an algorithm defined by the protocol or an algorithm defined by the operator.

[0243] Optionally, the source coding header may also be used to indicate whether the source coding buffer is reset. If the sender (UE) of the source coded data also receives the source coded data from the other end, then optionally, it may be possible to provide feedback on whether the source decoding of the received data is correct while sending the source coded data. That is, the source coding header is also used to indicate whether the source decoding of the received source coded data is correct. An example is shown in the figure below, where 1 bit (BuffR) is used to indicate whether the source coding buffer is reset, and 1 bit (ACK / NACK) is used to indicate whether the source decoding of the received source coded data is correct.

[0244] In order to avoid problems caused by disorder, optionally, the DPAP layer number (first number) can also be defined, for example Fig. 9 The 6-bit DPAP SN field in the protocol data unit is used to indicate the sequence number of the protocol data unit (first data packet).

[0245] Optionally, it is considered that during the source coding and decoding process, source coding parameters may need to be adjusted due to the correctness of source coding and decoding, changes in the accuracy requirements of the transmitted data, and changes in air interface resources. Among them, the source coding parameter adjustment may include adjusting the parameters of the source coding used, such as compression rate, etc., and may also include changing the source coding algorithm. An example of the feedback information (feedback) of the source coding header may indicate whether the source decoding of the received source coded data is correct through 1 bit ACK / NACK. When a decoding error or data packet loss occurs at the receiving end (such as UE or network) of the source coded data, the error is reported through this bit. At this time, the role of ACK / NACK is mainly to provide source coding feedback for the sending end of the source coded data to determine whether the source coding parameters need to be adjusted. In the case where each data packet can use source coding independently, if a small number of data packets are decoded incorrectly, no processing is required. If the sending end determines that the decoding error has an impact on the use of data, one way is to adjust the compression rate when a source decoding error is received, that is, to retain more data. This process can use a unified source coding algorithm or change the source coding algorithm, and it is also necessary to reset the source coding buffer. The definition of the compression rate may include one of the following: the data length after source coding divided by the data length before source coding, the data length before source coding divided by the data length after source coding, 1-the data length after source coding / the data length before source coding.

[0246] If, according to the ACK / NACK indication, when a source decoding error occurs, the decoded erroneous data needs to be retransmitted, then it is also necessary to indicate which sequence number of the data packet the ACK or NACK corresponds to, so that the data packet corresponding to the NACK can be retransmitted based on the original source coding algorithm or re-source-encoded after changing the source coding parameters and then retransmitted. An example of a source coding header is as follows: Type is used to indicate that the current data packet is source coded data or feedback on the decoding result of the received source coded data. Please refer to Fig.10 When Type indicates feedback of the decoding result of the received source coded data, in addition to ACK / NACK, the lower 5 bits of the data packet sequence number corresponding to ACK / NACK may also be included (5 is only an example below and may be other values). Note that the SN here is the sequence number of the data packet corresponding to ACK / NACK, which is different from the DPAP SN used to indicate the sequence number of the first data packet.

[0247] Step 4: The network side receives the DPAP SDU (first data packet) sent by the UE, and processes it based on the source coding header to obtain data.

[0248] In the case where the network sends the first data packet and the UE receives the first data packet, the source coding header described in step 3 may also be used. In this process, the network generates an SDU based on the source coding header, and the UE performs source decoding on the received data based on the source coding header.

[0249] It should be noted that the various steps in this embodiment can be combined with the embodiments corresponding to the above-mentioned source coding method.

[0250] Embodiment 2:

[0251] The advantage of the method described in Example 1 is that it is flexible and can determine for each data packet whether to be source encoded and which source encoding algorithm to use, etc. Further considering the tradeoff between source encoding header overhead and flexibility, Example 2 provides a source encoding method that supports data packet affinity.

[0252] Embodiment 2 also assumes that all nodes on the data plane (UE, wireless access network equipment, core network equipment) support source coding, that is, source coding is one of the functions carried by the data plane.

[0253] In this embodiment, the first communication device is a UE, and the UE sends a first data packet.

[0254] The source coding method in the embodiment of the present application comprises the following steps:

[0255] First, the UE sends UE capability information to the network side device, and the UE capability information includes the UE's source coding capability information. This step is optional. Assuming that the protocol defines that both the UE and the network support source coding, the UE does not need to report the UE's source coding capability information.

[0256] The source coding capability information is described in Example 1 and will not be repeated here.

[0257] The following is a brief description of the interaction process between the UE and the network side based on the source coding header:

[0258] Step 1: The network side sends a second message to the UE, where the second message is used to indicate the establishment of a data plane bearer.

[0259] The network side may be, for example, a radio access network device, and the second message may be, for example, RRC signaling.

[0260] An example of a second message based on RRC signaling is shown below.

[0261]

[0262] Step 2: The UE receives the second message, and if a data plane bearer is added, a response message is sent to the network side. For example, the response message may be an RRCReconfigurationComplete message.

[0263] Step 3: For the data plane bearer, the UE uses a source coding header to generate a service data unit (SDU) (first data packet or second data packet) of the DPAP layer.

[0264] Considering that the data carried by the data plane has the characteristics of large data volume, if source coding is used for data within a period of time, the same source coding method is usually used. Therefore, an example of a source coding header is as follows Fig.11 As shown: Type indicates whether the data packet is a source coded start or end type data packet. When Type indicates that the data packet is a source coded start or end type data packet, 1 bit of S / E indicates whether it is a start data packet or an end data packet. Assuming that the data packet is a start data packet and the sequence number is M, the aforementioned source coding is used when the UE sends a data packet with the sequence number M+1. Similarly, assuming that the data packet is an end data packet and the sequence number is N, the aforementioned source coding is no longer used when the UE sends a data packet with the sequence number N+1. Therefore, the data packets between the start data packet and the end data packet have the same source coding method, which is called data packet affinity. In this way, the data packet (the second data packet) with a sequence number between the start data packet and the end data packet sequence number does not require a source coding header, thereby saving the overhead of the source coding header.

[0265] Optionally, for the first data packet that requires a source coding header, if the UE supports more than one source coding algorithm, the source coding header also needs to include information about the source coding algorithm used by the first data packet. An example of a source coding header is Fig.11 As shown, in this embodiment, the source coding header carries an L / N field and an algorithm field (Algorithm). One bit (L / N) is used to indicate whether it is a lossy compression algorithm or a lossless compression algorithm, and two bits (Algorithm) are used to indicate whether the source coding algorithm is an algorithm defined by the protocol or an algorithm defined by the operator.

[0266] For another example, the source coding header may be used to indicate whether the data packet is control information or data information. One type of control information is to indicate the start or end. Similarly, the data information between the control start and end is source encoded and source decoded according to the previous control information indication. Fig.12As shown, a 1-bit D / C field is used to indicate whether the data packet is control information or data information. The control information indicates that the data packet only includes indication information related to source coding, and the data information indicates that the data packet contains data that is source coded or not source coded. When the data packet is control information, a 2-bit Type field is used to indicate the type of the data packet, such as feedback information, a start data packet or an end data packet, or whether the source coding buffer is reset. When the Type indicates that the data packet is a data packet of the start or end type of source coding, the 1-bit S / E indicates whether it is a start data packet or an end data packet. For example, when the bit in the S / E field is 0, it indicates that it is a start data packet (assuming that the sequence number SN of this data packet is M), then the data packets after this data packet (that is, the data packet sequence number is M+1 and later) are transmitted after source coding. When the bit is received as 1, it indicates that it is an end data packet (assuming that the sequence number SN of this data packet is N), then the data packets after this data packet (that is, the data packet sequence number is N+1 and later) no longer use source coding.

[0267] The 2-bit Type field is used to indicate feedback information, the start data packet or the end data packet, and whether the source encoding buffer is reset.

[0268] Step 4: The network side receives the DPAP SDU sent by the UE, and processes it based on whether the DPAP SDU has a source coding header to obtain data.

[0269] In the case where the network sends the first data packet and the UE receives the first data packet, the source coding header described in step 3 may also be used. In this process, the network generates an SDU based on the source coding header, and the UE performs source decoding on the received data based on the source coding header.

[0270] It should be noted that the various steps in this embodiment can be combined with the embodiments corresponding to the above-mentioned source coding method.

[0271] Embodiment 3: Source coding of joint signaling bearer or data plane bearer configuration

[0272] In this embodiment, when at least one of the signaling bearer and the data plane bearer is configurable source coding, flexible source coding is performed on each data packet in combination with the source coding header, or flexible source coding is performed on each group of data packets in Embodiment 2.

[0273] The source coding method in the embodiment of the present application comprises the following steps:

[0274] First, the UE sends UE capability information to the network side device, and the UE capability information includes the UE's source coding capability information. This step is optional. Assuming that the protocol defines that both the UE and the network support source coding, the UE does not need to report the UE's source coding capability information.

[0275] The source coding capability information may include at least one of the following:

[0276] The maximum number of entities supported using source coding; for example, the maximum number of radio bearers;

[0277] Tenth indication information, used to indicate support for at least one of lossy source coding and lossless source coding;

[0278] Supported source coding algorithms or algorithm identifiers, the supported source coding algorithms may include at least one of the following: a standard source coding algorithm (also referred to as a dictionary), an operator-defined source coding algorithm (also referred to as a dictionary). When the supported source coding algorithms include operator-defined source coding algorithms, the source coding capability information may also include an algorithm version and an operator PLMN.

[0279] The network side adds, modifies or releases radio bearers based on the UE capability information.

[0280] The following is a brief description of the process of source coding interaction between the UE and the network side:

[0281] Step 1: The network side sends a first message to the UE, where the first message includes: seventh indication information, where the seventh indication information is used to indicate whether the first data uses source coding, and the first data is internal data of the mobile network.

[0282] For the wireless access network device, the first message may be determined according to the data requirement of the wireless access network, or the first message corresponding to the data required by the core network may be determined according to the configuration information sent by the core network.

[0283] Optionally, the configuration information includes at least one of the following:

[0284] Terminal identification;

[0285] Terminal characteristics;

[0286] Indication information indicating whether the data to be transmitted uses source coding;

[0287] Indication information indicating that the data to be transmitted is applicable to at least one of lossy source coding and lossless source coding;

[0288] Data characteristics of the data to be transmitted;

[0289] Source type;

[0290] Data type.

[0291] An example of a first message is control signaling of a control plane, the control signaling is transmitted via a signaling radio bearer (SRB), and the control signaling is, for example, an RRC reconfiguration message. For example, in the current mobile communication protocol, DRBs and SRBs can be added, released, or modified through this message. When a data plane is added, similarly, a data plane bearer can also be added, released, or modified through control plane signaling. The first message indicates whether a signaling bearer (SRB) or a data plane bearer uses source coding.

[0292] Optionally, the seventh indication information is used to indicate at least one of the following:

[0293] whether to use source coding for the first uplink data;

[0294] Whether to use source coding for the first downlink data.

[0295] Optionally, the first message further includes at least one of the following:

[0296] eighth indication information, used to indicate whether lossy source coding or lossless source coding is used for the first data;

[0297] The buffer size used for source encoding (buffer size);

[0298] A source coding algorithm or an algorithm identifier used for the first data.

[0299] Step 2: The UE receives the first message, and if a data plane bearer is added, sends a response message to the network, such as an RRCReconfigurationComplete message.

[0300] Step 3: The UE processes the data mapped to the bearer transmission based on the information in the first message. Considering that some of the data in the bearer transmission requires source coding and some does not, the UE performs at least one of sending data and receiving data based on the source coding header.

[0301] For a data packet that needs to be source encoded, an example of a source encoding header includes first indication information, where the first indication information is used to indicate whether the data packet (first data packet) is source encoded; optionally, the source encoding header may also include at least one of the following:

[0302] Data type;

[0303] second indication information, used to indicate whether the first data packet is encoded by a lossy source or by a lossless source;

[0304] The third indication information is used to indicate whether the source encoding buffer is reset;

[0305] A source coding algorithm or algorithm identifier used by the first data packet;

[0306] A check bit, used to check the correctness of the source encoding and decoding of the first data packet;

[0307] Feedback information, used to indicate whether source decoding of source coded data received by the first communication device is correct;

[0308] Fourth indication information, used to indicate that the first data packet is source-encoded data to be transmitted;

[0309] fifth indication information, used to indicate that the first data packet is a data packet for feeding back a decoding result of source coded data received by the first communication device;

[0310] Sixth indication information, used to indicate that the first data packet is a start data packet or an end data packet of source coding, wherein the data packets between the start data packet and the end data packet adopt the same source coding mode;

[0311] A first sequence number, where the first sequence number is a sequence number of the first data packet;

[0312] A second sequence number, where the second sequence number is a sequence number of source coded data corresponding to feedback information, and the feedback information is used to indicate whether source decoding of the source coded data received by the first communication device is correct.

[0313] Step 4: Optionally, if the source coding header includes a check bit, then when the UE sends the source coded data, it is also necessary to generate the check bit according to the check algorithm defined in the protocol. The UE can send the check bit and the source coded data.

[0314] Similarly, when the UE receives source-encoded data, it is necessary to interpret the check bit of the source decoded data according to the check algorithm defined in the protocol, and compare it with the received check bit to determine whether the source decoding is correct. If it is wrong and the sender needs to know, the above feedback information is sent. If it is correct or the sender does not need to know whether the decoding is correct or not, in order to reduce overhead, the feedback information may not be sent, for example, the decoding is correct by default when there is no feedback.

[0315] It should be noted that the various steps in this embodiment can be combined with the embodiments corresponding to the above-mentioned source coding method.

[0316] The source coding method provided in the embodiment of the present application can be executed by a source coding device. In the embodiment of the present application, the source coding device executing the source coding method is taken as an example to illustrate the source coding device provided in the embodiment of the present application.

[0317] Please refer to Fig.13 The embodiment of the present application further provides a source coding device 30, comprising:

[0318] A first sending module 31, configured to send a first data packet, wherein the first data packet includes a source coding header, wherein the source coding header includes first indication information, and the first indication information is used to indicate whether the first data packet is source coded;

[0319] Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

[0320] Optionally, the source coding header further includes at least one of the following:

[0321] Data type;

[0322] second indication information, used to indicate whether the first data packet is encoded by a lossy source or by a lossless source;

[0323] The third indication information is used to indicate whether the source encoding buffer is reset;

[0324] A source coding algorithm or algorithm identifier used by the first data packet;

[0325] A check bit, used to check the correctness of the source encoding and decoding of the first data packet;

[0326] Feedback information, used to indicate whether source decoding of source coded data received by the first communication device is correct;

[0327] Fourth indication information, used to indicate that the first data packet is source-encoded data to be transmitted;

[0328] fifth indication information, used to indicate that the first data packet is a data packet for feeding back a decoding result of source coded data received by the first communication device;

[0329] Sixth indication information, used to indicate that the first data packet is a start data packet or an end data packet of source coding, wherein the data packets between the start data packet and the end data packet adopt the same source coding mode;

[0330] A first sequence number, where the first sequence number is a sequence number of the first data packet;

[0331] A second sequence number, where the second sequence number is a sequence number of source coded data corresponding to feedback information, and the feedback information is used to indicate whether source decoding of the source coded data received by the first communication device is correct.

[0332] Optionally, the first data packet is a start data packet or an end data packet of source coding, and the source coding device 30 further includes:

[0333] The second sending module is used to send a second data packet, where the second data packet is a data packet between a start data packet and an end data packet of the source coding, and the second data packet does not include at least one of the following:

[0334] Data type;

[0335] the first indication information;

[0336] the second indication information;

[0337] the third indication information;

[0338] A source coding algorithm or an algorithm identifier used by the second data packet;

[0339] the fourth indication information;

[0340] The sixth indication information.

[0341] Optionally, the first data packet includes at least one of the following: a data packet corresponding to control information on the data plane, a data packet corresponding to data information on the data plane, and a data packet on the control plane.

[0342] Optionally, whether the first data packet is source encoded is related to the data type of the first data packet.

[0343] Optionally, the information source encoding device 30 further includes:

[0344] The determination module is used to determine whether to perform source coding on the data to be transmitted according to data requirements.

[0345] Optionally, the data requirement includes at least one of the following:

[0346] The length of the data to be transmitted;

[0347] Real-time data transmission;

[0348] Data type;

[0349] The amount of available storage resources.

[0350] Optionally, the information source encoding device 30 further includes:

[0351] The receiving module is used to receive a first message, wherein the first message includes: seventh indication information, wherein the seventh indication information is used to indicate whether the first data uses source coding, the first data is internal data of a mobile network, and the first data packet belongs to the first data.

[0352] Optionally, the seventh indication information is used to indicate at least one of the following:

[0353] whether to use source coding for the first uplink data;

[0354] Whether to use source coding for the first downlink data.

[0355] Optionally, the first message further includes at least one of the following:

[0356] eighth indication information, used to indicate whether lossy source coding or lossless source coding is used for the first data;

[0357] The buffer size used for source encoding;

[0358] A source coding algorithm or an algorithm identifier used for the first data.

[0359] Optionally, the information source encoding device 30 further includes:

[0360] A third sending module, used to send source coding capability information of the first communication device, where the source coding capability information includes ninth indication information, and the ninth indication information is used to indicate whether the first communication device supports source coding;

[0361] The source coding capability information is used to determine the first message.

[0362] Optionally, the source coding capability information further includes at least one of the following:

[0363] The maximum number of entities supported using source encoding;

[0364] Tenth indication information, used to indicate support for at least one of lossy source coding and lossless source coding;

[0365] Supported source coding algorithms or algorithm identifiers.

[0366] Optionally, the source coding capability information is defined by a capability parameter of a data plane protocol layer or indicated by a general parameter in a capability parameter of the first communication device.

[0367] The source coding device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices other than a terminal. Exemplarily, the terminal may include but is not limited to the types of the terminal 11 listed above, and other devices may be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiment of the present application.

[0368] The source coding device provided in the embodiment of the present application can achieve Figure 4 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0369] Please refer to Fig.14 The embodiment of the present application further provides a source coding device 40, comprising:

[0370] A first receiving module 41, configured to receive a first data packet, wherein the first data packet includes a source coding header, wherein the source coding header includes first indication information, and the first indication information is used to indicate whether the first data packet is source coded;

[0371] Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

[0372] Optionally, the source coding header further includes at least one of the following:

[0373] Data type;

[0374] second indication information, used to indicate whether the first data packet is encoded by a lossy source or by a lossless source;

[0375] The third indication information is used to indicate whether the source encoding buffer is reset;

[0376] A source coding algorithm or algorithm identifier used by the first data packet;

[0377] A check bit, used to check the correctness of the source encoding and decoding of the first data packet;

[0378] Feedback information, used to indicate whether source decoding of source coded data received by the first communication device is correct;

[0379] Fourth indication information, used to indicate that the first data packet is source-encoded data to be transmitted;

[0380] fifth indication information, used to indicate that the first data packet is a data packet for feeding back a decoding result of source coded data received by the first communication device;

[0381] Sixth indication information, used to indicate that the first data packet is a start data packet or an end data packet of source coding, wherein the data packets between the start data packet and the end data packet adopt the same source coding mode;

[0382] A first sequence number, where the first sequence number is a sequence number of the first data packet;

[0383] A second sequence number, where the second sequence number is a sequence number of source coded data corresponding to feedback information, and the feedback information is used to indicate whether source decoding of the source coded data received by the first communication device is correct.

[0384] Optionally, the first data packet is a start data packet or an end data packet of source coding, and the source coding device 40 further includes:

[0385] The second receiving module is configured to receive a second data packet, where the second data packet is a data packet between a start data packet and an end data packet of the source coding, and the second data packet does not include at least one of the following:

[0386] Data type;

[0387] the first indication information;

[0388] the second indication information;

[0389] the third indication information;

[0390] A source coding algorithm or an algorithm identifier used by the second data packet;

[0391] the fourth indication information;

[0392] The sixth indication information.

[0393] Optionally, the first data packet includes at least one of the following: a data packet corresponding to control information on the data plane, a data packet corresponding to data information on the data plane, and a data packet on the control plane.

[0394] Optionally, whether the first data packet is source encoded is related to the data type of the first data packet.

[0395] Optionally, the information source encoding device 40 further includes:

[0396] The sending module is used to send a first message, wherein the first message includes: seventh indication information, wherein the seventh indication information is used to indicate whether the first data uses source coding, the first data is internal data of a mobile network, and the first data packet belongs to the first data.

[0397] Optionally, the seventh indication information is used to indicate at least one of the following:

[0398] whether to use source coding for the first uplink data;

[0399] Whether to use source coding for the first downlink data.

[0400] Optionally, the first message further includes at least one of the following:

[0401] eighth indication information, used to indicate whether lossy source coding or lossless source coding is used for the first data;

[0402] The buffer size used for source encoding;

[0403] A source coding algorithm or an algorithm identifier used for the first data.

[0404] Optionally, the information source encoding device 40 further includes:

[0405] A third receiving module, configured to receive source coding capability information of a second communication device, where the source coding capability information of the second communication device includes ninth indication information, where the ninth indication information is used to indicate whether the second communication device supports source coding;

[0406] A determination module is used to determine the first message according to the source coding capability information of the first communication device.

[0407] Optionally, the source coding capability information further includes at least one of the following:

[0408] The maximum number of entities supported using source encoding;

[0409] Tenth indication information, used to indicate support for at least one of lossy source coding and lossless source coding;

[0410] Supported source coding algorithms or algorithm identifiers.

[0411] Optionally, the source coding capability information is defined by a capability parameter of a data plane protocol layer or indicated by a general parameter in a capability parameter of the first communication device.

[0412] The source coding device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices other than a terminal. Exemplarily, the terminal may include but is not limited to the types of the terminal 11 listed above, and other devices may be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiment of the present application.

[0413] The source coding device provided in the embodiment of the present application can achieve Figure 5 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0414] like Fig.15 As shown, an embodiment of the present application also provides a communication device 50, including a processor 51 and a memory 52, and the memory 52 stores a program or instruction that can be executed on the processor 51. When the program or instruction is executed by the processor 51, the various steps of the source coding method embodiment executed by the above-mentioned first communication device or the second communication device are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0415] The embodiment of the present application also provides a terminal, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the following Figure 4 or Figure 5 The steps in the method embodiment shown. This terminal embodiment corresponds to the above-mentioned terminal side method embodiment, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this terminal embodiment and can achieve the same technical effect. Specifically, Fig.16 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0416] The terminal 60 includes but is not limited to: a radio frequency unit 61, a network module 62, an audio output unit 63, an input unit 64, a sensor 65, a display unit 66, a user input unit 67, an interface unit 68, a memory 69 and at least some of the components of a processor 610.

[0417] Those skilled in the art will appreciate that the terminal 60 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption through the power management system. Fig.16 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0418] It should be understood that in the embodiment of the present application, the input unit 64 may include a graphics processing unit (GPU) 661 and a microphone 662, and the graphics processor 661 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 66 may include a display panel 661, and the display panel 661 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 67 includes a touch panel 671 and at least one of other input devices 672. The touch panel 671 is also called a touch screen. The touch panel 671 may include two parts: a touch detection device and a touch controller. Other input devices 672 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0419] In the embodiment of the present application, after receiving downlink data from the network side device, the RF unit 61 can transmit the data to the processor 610 for processing; in addition, the RF unit 61 can send uplink data to the network side device. Generally, the RF unit 61 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

[0420] The memory 69 can be used to store software programs or instructions and various data. The memory 69 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 69 may include a volatile memory or a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 69 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0421] The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 610.

[0422] The radio frequency unit 61 is used to send a first data packet, where the first data packet includes a source coding header, where the source coding header includes first indication information, where the first indication information is used to indicate whether the first data packet is source coded;

[0423] Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

[0424] In an embodiment of the present application, a source coding header is set in the header of a data packet of internal data in a mobile network, and the source coding header includes first indication information for indicating whether the data packet is source encoded, thereby supporting flexible use of source coding for each data packet, thereby improving data transmission efficiency and increasing the flexibility of source coding.

[0425] Alternatively, the radio frequency unit 61 is configured to receive a first data packet, where the first data packet includes a source coding header, where the source coding header includes first indication information, where the first indication information is used to indicate whether the first data packet is source coded;

[0426] Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

[0427] In an embodiment of the present application, a source coding header is set in the header of a data packet of internal data in a mobile network, and the source coding header includes first indication information for indicating whether the data packet is source encoded, thereby supporting flexible use of source coding for each data packet, thereby improving data transmission efficiency and increasing the flexibility of source coding.

[0428] It can be understood that the implementation process of each implementation method mentioned in this embodiment can refer to Figure 4 or Figure 5 The relevant descriptions of the method embodiments shown in the figure achieve the same or corresponding technical effects, and will not be repeated here to avoid repetition.

[0429] The embodiment of the present application also provides a network side device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the following Figure 4 or Figure 5 The steps of the method embodiment shown. This network side device embodiment corresponds to the above network side device method embodiment, and each implementation process and implementation mode of the above method embodiment can be applied to this network side device embodiment and can achieve the same technical effect.

[0430] Specifically, the embodiment of the present application also provides a network side device. Fig.17As shown, the network side device 70 includes: an antenna 71, a radio frequency device 72, a baseband device 73, a processor 74 and a memory 75. The antenna 71 is connected to the radio frequency device 72. In the uplink direction, the radio frequency device 72 receives information through the antenna 71 and sends the received information to the baseband device 73 for processing. In the downlink direction, the baseband device 73 processes the information to be sent and sends it to the radio frequency device 72. The radio frequency device 72 processes the received information and sends it out through the antenna 71.

[0431] The method executed by the network-side device in the above embodiment may be implemented in the baseband device 73, which includes a baseband processor.

[0432] The baseband device 73 may include, for example, at least one baseband board on which a plurality of chips are arranged. Fig.17 As shown, one of the chips is, for example, a baseband processor, which is connected to the memory 75 via a bus interface to call the program in the memory 75 to execute the network device operations shown in the above method embodiment.

[0433] The network side device may further include a network interface 76, which is, for example, a Common Public Radio Interface (CPRI).

[0434] Specifically, the network side device 70 of the embodiment of the present application further includes: instructions or programs stored in the memory 75 and executable on the processor 74, and the processor 74 calls the instructions or programs in the memory 75 to execute. Fig.13 or Fig.14 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0435] Specifically, the embodiment of the present application also provides a network side device. Fig.18 As shown, the network side device 80 includes: a processor 81, a network interface 82 and a memory 83. The network interface 82 is, for example, a common public radio interface (CPRI).

[0436] Specifically, the network side device 80 of the embodiment of the present application further includes: instructions or programs stored in the memory 83 and executable on the processor 81, and the processor 81 calls the instructions or programs in the memory 83 to execute. Fig.13 or Fig.14 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0437] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned source coding method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0438] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.

[0439] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned source coding method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0440] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0441] The embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the various processes of the above-mentioned source coding method embodiment, and can achieve the same technical effect. To avoid repetition, it is not repeated here.

[0442] An embodiment of the present application further provides a wireless communication system, including: a first communication device and a second communication device, wherein the first communication device can be used to execute the steps of the source coding method executed by the first communication device as described above, and the second communication device can be used to execute the steps of the source coding method executed by the second communication device as described above.

[0443] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0444] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general hardware platform, and of course, can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable a terminal or a network-side device to execute the methods described in each embodiment of the present application.

[0445] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.

Claims

1. A source coding method, It is characterized in that include: A first communication device sends a first data packet, where the first data packet includes a source coding header, where the source coding header includes first indication information, where the first indication information is used to indicate whether the first data packet is source coded; Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

2. The method according to claim 1, It is characterized in that The source coding header further includes at least one of the following: Data type; second indication information, used to indicate whether the first data packet is encoded by a lossy source or by a lossless source; The third indication information is used to indicate whether the source encoding buffer is reset; A source coding algorithm or algorithm identifier used by the first data packet; A check bit, used to check the correctness of the source encoding and decoding of the first data packet; Feedback information, used to indicate whether source decoding of source coded data received by the first communication device is correct; Fourth indication information, used to indicate that the first data packet is source-encoded data to be transmitted; fifth indication information, used to indicate that the first data packet is a data packet for feeding back a decoding result of source coded data received by the first communication device; Sixth indication information, used to indicate that the first data packet is a start data packet or an end data packet of source coding, wherein the data packets between the start data packet and the end data packet adopt the same source coding mode; A first sequence number, where the first sequence number is a sequence number of the first data packet; A second sequence number, where the second sequence number is a sequence number of source coded data corresponding to feedback information, and the feedback information is used to indicate whether source decoding of the source coded data received by the first communication device is correct.

3. The method according to claim 2, It is characterized in that The first data packet is a start data packet or an end data packet of source coding, and the method further includes: The first communication device sends a second data packet, where the second data packet is a data packet between a start data packet and an end data packet of the source coding, and the second data packet does not include at least one of the following: Data type; the first indication information; the second indication information; the third indication information; A source coding algorithm or an algorithm identifier used by the second data packet; the fourth indication information; The sixth indication information.

4. The method according to claim 1, It is characterized in that The first data packet includes at least one of the following: a data packet corresponding to the control information of the data plane, a data packet corresponding to the data information of the data plane, and a data packet of the control plane.

5. The method according to claim 1 or 4, It is characterized in that Whether the first data packet is source encoded is related to the data type of the first data packet.

6. The method according to claim 1 or 4, It is characterized in that Also includes: The first communication device determines whether to perform source coding on the data to be transmitted according to data requirements.

7. The method according to claim 6, It is characterized in that The data requirement includes at least one of the following: The length of the data to be transmitted; Real-time data transmission; Data type; The amount of available storage resources.

8. The method according to claim 1, It is characterized in that Also includes: The first communication device receives a first message, the first message includes: seventh indication information, the seventh indication information is used to indicate whether the first data uses source coding, the first data is internal data of the mobile network, and the first data packet belongs to the first data.

9. The method according to claim 8, It is characterized in that The seventh indication information is used to indicate at least one of the following: whether to use source coding for the first uplink data; Whether to use source coding for the first downlink data.

10. The method according to claim 8 or 9, It is characterized in that The first message also includes at least one of the following: eighth indication information, used to indicate whether lossy source coding or lossless source coding is used for the first data; The buffer size used for source encoding; A source coding algorithm or an algorithm identifier used for the first data.

11. The method according to claim 8, It is characterized in that Also includes: The first communication device sends source coding capability information of the first communication device, the source coding capability information includes ninth indication information, and the ninth indication information is used to indicate whether the first communication device supports source coding; wherein the source coding capability information is used to determine the first message.

12. The method according to claim 11, It is characterized in that The source coding capability information also includes at least one of the following: The maximum number of entities supported using source encoding; Tenth indication information, used to indicate support for at least one of lossy source coding and lossless source coding; Supported source coding algorithms or algorithm identifiers.

13. The method according to claim 11 or 12, It is characterized in that The source coding capability information is defined by capability parameters of a data plane protocol layer or indicated by common parameters in capability parameters of the first communication device.

14. A source coding method, It is characterized in that include: A second communication device receives a first data packet, where the first data packet includes a source coding header, where the source coding header includes first indication information, where the first indication information is used to indicate whether the first data packet is source coded; Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

15. The method according to claim 14, It is characterized in that The source coding header further includes at least one of the following: Data type; second indication information, used to indicate whether the first data packet is encoded by a lossy source or by a lossless source; The third indication information is used to indicate whether the source encoding buffer is reset; A source coding algorithm or algorithm identifier used by the first data packet; A check bit, used to check the correctness of the source encoding and decoding of the first data packet; Feedback information, used to indicate whether source decoding of source coded data received by the first communication device is correct; Fourth indication information, used to indicate that the first data packet is source-encoded data to be transmitted; fifth indication information, used to indicate that the first data packet is a data packet for feeding back a decoding result of source coded data received by the first communication device; Sixth indication information, used to indicate that the first data packet is a start data packet or an end data packet of source coding, wherein the data packets between the start data packet and the end data packet adopt the same source coding mode; A first sequence number, where the first sequence number is a sequence number of the first data packet; A second sequence number, where the second sequence number is a sequence number of source coded data corresponding to feedback information, and the feedback information is used to indicate whether source decoding of the source coded data received by the first communication device is correct.

16. The method according to claim 15, It is characterized in that The first data packet is a start data packet or an end data packet of source coding, and the method further includes: The second communication device receives a second data packet, where the second data packet is a data packet between a start data packet and an end data packet of the source coding, and the second data packet does not include at least one of the following: Data type; the first indication information; the second indication information; the third indication information; A source coding algorithm or an algorithm identifier used by the second data packet; the fourth indication information; The sixth indication information.

17. The method according to claim 14, It is characterized in that The first data packet includes at least one of the following: a data packet corresponding to the control information of the data plane, a data packet corresponding to the data information of the data plane, and a data packet of the control plane.

18. The method according to claim 14 or 17, It is characterized in that Whether the first data packet is source encoded is related to the data type of the first data packet.

19. The method according to claim 14, It is characterized in that Also includes: The second communication device sends a first message, the first message includes: seventh indication information, the seventh indication information is used to indicate whether the first data uses source coding, the first data is internal data of the mobile network, and the first data packet belongs to the first data.

20. The method according to claim 19, It is characterized in that The seventh indication information is used to indicate at least one of the following: whether to use source coding for the first uplink data; Whether to use source coding for the first downlink data.

21. The method according to claim 19 or 20, It is characterized in that The first message also includes at least one of the following: eighth indication information, used to indicate whether lossy source coding or lossless source coding is used for the first data; The buffer size used for source encoding; A source coding algorithm or an algorithm identifier used for the first data.

22. The method according to claim 19, It is characterized in that Also includes: The second communication device receives source coding capability information of the first communication device, where the source coding capability information of the first communication device includes ninth indication information, and the ninth indication information is used to indicate whether the first communication device supports source coding; The second communication device determines the first message according to the source coding capability information of the first communication device.

23. The method according to claim 22, It is characterized in that The source coding capability information also includes at least one of the following: The maximum number of entities supported using source encoding; Tenth indication information, used to indicate support for at least one of lossy source coding and lossless source coding; Supported source coding algorithms or algorithm identifiers.

24. The method according to claim 22 or 23, It is characterized in that The source coding capability information is defined by capability parameters of a data plane protocol layer or indicated by common parameters in capability parameters of the first communication device.

25. A source coding device, It is characterized in that include: A first sending module, configured to send a first data packet, wherein the first data packet includes a source coding header, the source coding header includes first indication information, and the first indication information is used to indicate whether the first data packet is source coded; Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

26. The device according to claim 25, It is characterized in that The source coding header further includes at least one of the following: Data type; second indication information, used to indicate whether the first data packet is encoded by a lossy source or by a lossless source; The third indication information is used to indicate whether the source encoding buffer is reset; A source coding algorithm or algorithm identifier used by the first data packet; A check bit, used to check the correctness of the source encoding and decoding of the first data packet; Feedback information, used to indicate whether source decoding of source coded data received by the first communication device is correct; Fourth indication information, used to indicate that the first data packet is source-encoded data to be transmitted; fifth indication information, used to indicate that the first data packet is a data packet for feeding back a decoding result of source coded data received by the first communication device; Sixth indication information, used to indicate that the first data packet is a start data packet or an end data packet of source coding, wherein the data packets between the start data packet and the end data packet adopt the same source coding mode; A first sequence number, where the first sequence number is a sequence number of the first data packet; A second sequence number, where the second sequence number is a sequence number of source coded data corresponding to feedback information, and the feedback information is used to indicate whether source decoding of the source coded data received by the first communication device is correct.

27. The device according to claim 26, It is characterized in that The first data packet is a start data packet or an end data packet of source coding, and the source coding device further includes: The second sending module is used to send a second data packet, where the second data packet is a data packet between a start data packet and an end data packet of the source coding, and the second data packet does not include at least one of the following: Data type; the first indication information; the second indication information; the third indication information; A source coding algorithm or an algorithm identifier used by the second data packet; the fourth indication information; The sixth indication information.

28. The device according to claim 26, It is characterized in that Also includes: The determination module is used to determine whether to perform source coding on the data to be transmitted according to data requirements.

29. The device according to claim 26, It is characterized in that Also includes: The third transmission module is used to receive a first message, where the first message includes: seventh indication information, where the seventh indication information is used to indicate whether the first data uses source coding, the first data is internal data of a mobile network, and the first data packet belongs to the first data.

30. The device according to claim 29, It is characterized in that Also includes: A sending module, configured to send source coding capability information of a first communication device, wherein the source coding capability information includes ninth indication information, and the ninth indication information is used to indicate whether the first communication device supports source coding; The source coding capability information is used to determine the first message.

31. A source coding device, It is characterized in that include: A first receiving module, configured to receive a first data packet, wherein the first data packet includes a source coding header, wherein the source coding header includes first indication information, and the first indication information is used to indicate whether the first data packet is source coded; Among them, the first data packet is internal data of the mobile network, and the internal data of the mobile network includes at least one of the following: sending and receiving data terminated at any two of the terminal, the wireless access network device and the core network device, and sending or receiving data terminated at any one of the terminal, the wireless access network device or the core network device.

32. The device according to claim 31, It is characterized in that The source coding header further includes at least one of the following: Data type; second indication information, used to indicate whether the first data packet is encoded by a lossy source or by a lossless source; The third indication information is used to indicate whether the source encoding buffer is reset; A source coding algorithm or algorithm identifier used by the first data packet; A check bit, used to check the correctness of the source encoding and decoding of the first data packet; Feedback information, used to indicate whether source decoding of source coded data received by the first communication device is correct; Fourth indication information, used to indicate that the first data packet is source-encoded data to be transmitted; fifth indication information, used to indicate that the first data packet is a data packet for feeding back a decoding result of source coded data received by the first communication device; Sixth indication information, used to indicate that the first data packet is a start data packet or an end data packet of source coding, wherein the data packets between the start data packet and the end data packet adopt the same source coding mode; A first sequence number, where the first sequence number is a sequence number of the first data packet; A second sequence number, where the second sequence number is a sequence number of source coded data corresponding to feedback information, and the feedback information is used to indicate whether source decoding of the source coded data received by the first communication device is correct.

33. The device according to claim 32, It is characterized in that The first data packet is a start data packet or an end data packet of source coding, and the device further includes: The second receiving module is configured to receive a second data packet, where the second data packet is a data packet between a start data packet and an end data packet of the source coding, and the second data packet does not include at least one of the following: Data type; the first indication information; the second indication information; the third indication information; A source coding algorithm or an algorithm identifier used by the second data packet; the fourth indication information; The sixth indication information.

34. The device according to claim 31, It is characterized in that Also includes: The sending module is used to send a first message, wherein the first message includes: seventh indication information, wherein the seventh indication information is used to indicate whether the first data uses source coding, the first data is internal data of a mobile network, and the first data packet belongs to the first data.

35. The device according to claim 34, It is characterized in that Also includes: A third receiving module, configured to receive source coding capability information of a first communication device, where the source coding capability information of the first communication device includes ninth indication information, where the ninth indication information is used to indicate whether the first communication device supports source coding; A determination module is used to determine the first message according to the source coding capability information of the first communication device.

36. A communication device, It is characterized in that The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the source coding method according to any one of claims 1 to 13 are implemented, or when the program or instruction is executed by the processor, the steps of the source coding method according to any one of claims 14 to 24 are implemented.

37. A readable storage medium, It is characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, it implements the source coding method as described in any one of claims 1 to 13, or when the program or instruction is executed by the processor, it implements the source coding method as described in any one of claims 14 to 24.