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

By using the source encoding method in the mobile network, whether to encode is determined based on the trigger conditions of the transmission data is triggered, the problem of shortage of data transmission resources in the mobile network is solved, and resource conservation and transmission efficiency are improved.

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

Patent Information

Application Number
CN202311657295.5
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 the mobile network and the overhead of storage and transmission resources increases, an effective source encoding method is needed to save these resources.

Method used

By indicating the trigger condition for source encoding of the data to be transmitted, the first communication device decides whether to perform source encoding, thereby supporting data transmission within the mobile network.

Benefits of technology

The source encoding of data transmitted in the mobile network is realized, saving storage resources and transmission resources, and improving the efficiency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120111569A_ABST
    Figure CN120111569A_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 receives a first message, and the first message comprises a first triggering condition for carrying out information source coding on data to be transmitted; and the first communication device determines whether to perform source coding on to-be-transmitted data according to whether the first trigger condition is satisfied.
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 transmission within a 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 the source coding method of data transmitted in a mobile network.

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

[0007] The first communication device receives a first message, wherein the first message includes: a first trigger condition for performing source coding on data to be transmitted;

[0008] The first communication device determines whether to perform source coding on the data to be transmitted according to whether the first trigger condition is met.

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

[0010] The second communication device sends a first message, where the first message includes: a first trigger condition for performing source coding on the data to be transmitted.

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

[0012] A first receiving module, configured to receive a first message, wherein the first message includes: a first trigger condition for performing source coding on data to be transmitted;

[0013] The first determining module is used to determine whether to perform source coding on the data to be transmitted according to whether the first trigger condition is met.

[0014] In a fourth aspect, a source coding device is provided.

[0015] The first sending module is used to send a first message, wherein the first message includes: a first triggering condition for performing source coding on data to be transmitted.

[0016] 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.

[0017] In a sixth aspect, a communication device is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive a first message, the first message comprising: a first trigger condition for performing source encoding on the data to be transmitted; and the processor is used to determine whether to perform source encoding on the data to be transmitted based on whether the first trigger condition is met.

[0018] In a seventh aspect, a communication device is provided, comprising a processor and a communication interface, wherein the communication interface is used to send a first message, the first message comprising: a first trigger condition for performing source encoding on data to be transmitted.

[0019] 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 are implemented, or the steps of the method described in the second aspect are implemented.

[0020] In a ninth 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.

[0021] In the tenth 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 to implement the method described in the second aspect.

[0022] In the eleventh 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.

[0023] In an embodiment of the present application, a first message indicates a first trigger condition for performing source coding on the data to be transmitted, and the first communication device determines whether to perform source coding on the data to be transmitted based on whether the first trigger condition is met, thereby supporting source coding of data transmitted within the mobile network and achieving the effect of saving storage resources and transmission resources. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

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

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

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

[0029] Figure 6 This is one of the structural schematic diagrams of the source coding device of an embodiment of the present application;

[0030] Figure 7 This is a second structural diagram of the source coding device according to an embodiment of the present application;

[0031] Figure 8 A schematic diagram of the structure of a communication device according to an embodiment of the present application;

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

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

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

[0035] 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.

[0036] 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.

[0037] 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.

[0038] 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.

[0039] 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.

[0040] 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.

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

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

[0043] 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.

[0044] 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.

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

[0046] 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.

[0047] 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.

[0048] 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.

[0049] (3) Data Plane

[0050] 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, wireless 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.

[0051] 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.

[0052] (4) Source Encoding and Decoding

[0053] 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.

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

[0055] 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.

[0056] 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.

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

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

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

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

[0061] 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.

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

[0063] Step 11: The first communication device receives a first message, wherein the first message includes: a first trigger condition for performing source coding on data to be transmitted;

[0064] 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.

[0065] In some embodiments, optionally, the first communication device receives a first message sent by the second communication device.

[0066] Step 12: The first communication device determines whether to perform source coding on the data to be transmitted according to whether the first trigger condition is met.

[0067] Optionally, the first communication device performs source coding on the data to be transmitted when the first trigger condition is met, and does not perform source coding on the data to be transmitted when the first trigger condition is not met.

[0068] In an embodiment of the present application, the first communication device is a data provider, which may also be referred to as a data providing function, and may be a UE, a wireless access network device, or a core network device.

[0069] The second communication device may be a data consumer, or may 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. 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.

[0070] In an embodiment of the present application, a first message indicates a first trigger condition for performing source coding on the data to be transmitted, and the first communication device determines whether to perform source coding on the data to be transmitted based on whether the first trigger condition is met, thereby supporting source coding of data transmitted within the mobile network and achieving the effect of saving storage resources and transmission resources.

[0071] In addition, in an embodiment of the present application, a first message indicates a first trigger condition for performing source coding on the data to be transmitted, and the first communication device determines whether to perform source coding on the data to be transmitted based on whether the first trigger condition is met, thereby improving the flexibility of source coding and the efficiency of transmitting data.

[0072] The data to be transmitted in the embodiment of the present application may be user plane data or non-user plane data, i.e., mobile network internal data. 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. The mobile network internal data includes at least one of the following:

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

[0074] 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.

[0075] 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.

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

[0077] 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.

[0078] 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.

[0079] 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.

[0080] There may be many different ways to collect and transmit data within a mobile network. For example, measurements are performed according to measurement configuration information to generate required data, and the data is immediately transmitted on the configured resources; another example is measurements are performed according to configuration information to generate required data, and when to transmit is determined according to the UE state (e.g., idle state or connected state), network load conditions, etc.; another example is measurements are performed according to configuration information to generate required data, and which data to transmit and how to transmit is determined according to the performance indicators of the data and the effect of source coding.

[0081] In an embodiment of the present application, optionally, the first trigger condition includes at least one of the following: a first trigger parameter, an identifier of a first trigger event, a trigger threshold value corresponding to the first trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the first trigger event.

[0082] The first trigger event identifier is used to identify the trigger event, and may also be referred to as a trigger event type.

[0083] Optionally, the first trigger parameter includes at least one of the following:

[0084] The length of the data before source encoding;

[0085] The length of the data after source encoding;

[0086] Compression ratio, where the compression ratio is defined as one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding;

[0087] The size of the transmission resources that can be used by the data to be transmitted;

[0088] The size of the storage resources available for the data to be transmitted;

[0089] The time length of the source encoding;

[0090] The length of time it takes to decode the source;

[0091] The sum of the time required for source encoding and source decoding.

[0092] It should be noted that the data length after the above-mentioned source coding is not the data length after source coding determined after source coding is actually performed on the data to be transmitted, but the data length calculated before determining whether to perform source coding. For example, the data length of the data to be transmitted is 10, and the calculated data length after source coding is 2, which means that the effect of source coding is obvious and source coding can be performed.

[0093] In the embodiment of the present application, optionally, the first trigger condition may include at least one of the following:

[0094] The data length before source encoding is greater than or equal to the first trigger threshold value;

[0095] The data length before source coding-reference value is greater than or equal to the second trigger threshold value; the reference value may be agreed upon by the protocol, or determined by the second communication device;

[0096] The data length after source coding is less than or equal to the third trigger threshold value;

[0097] The data length after source coding + the reference value is less than or equal to the fourth trigger threshold value; the reference value may be agreed upon by the protocol, or determined by the second communication device;

[0098] The compression ratio is greater than or equal to the fifth trigger threshold value;

[0099] The compression ratio-reference value is greater than or equal to the sixth trigger threshold value; the reference value may be agreed upon by the protocol, or determined by the second communication device;

[0100] The data length before source coding is greater than or equal to the data size that can be transmitted by the transmission resources that can be used for the data to be transmitted;

[0101] The data length before source coding minus the data size that can be transmitted by the transmission resources that can be used for the data to be transmitted is greater than or equal to the seventh trigger threshold value;

[0102] The data length before source encoding is greater than or equal to the data size that can be stored by the storage resources that can be used for the data to be transmitted;

[0103] The data length before source coding minus the data size that can be transmitted by the storage resources that can be used for the data to be transmitted is greater than or equal to the eighth trigger threshold value;

[0104] The time length of the source coding is less than or equal to the ninth trigger threshold value;

[0105] The time length of the source coding+the reference value is less than or equal to the tenth trigger threshold value; the reference value may be agreed upon by the protocol, or determined by the second communication device.

[0106] It should be noted that, in the above-mentioned different first trigger conditions, the threshold values ​​corresponding to the same trigger parameter may be the same or different, for example, the first trigger threshold value and the second trigger threshold value may be the same or different. In the above-mentioned different first trigger conditions, the threshold values ​​corresponding to different trigger parameters may be the same or different, for example, the first trigger threshold value and the fourth trigger threshold value may be the same or different. In the above-mentioned different first trigger conditions, the reference values ​​corresponding to different trigger parameters may be the same or different.

[0107] In an embodiment of the present application, optionally, the first message also includes: a second trigger condition for ending source coding of the data to be transmitted; the method also includes: the first communication device determines whether to turn off source coding for the data to be transmitted based on whether the second trigger condition is met.

[0108] Optionally, the second trigger condition includes at least one of the following: a second trigger parameter, an identifier of a second trigger event, a trigger threshold value corresponding to the second trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the second trigger event.

[0109] Optionally, the second trigger parameter includes at least one of the following:

[0110] The data length before source coding; also known as the source coding input data length;

[0111] The length of the data after source coding; it can also be called the length of the output data of source coding;

[0112] Compression rate, there are many ways to define potential compression rate, for example, the definition of compression rate includes one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding;

[0113] The size of the transmission resources that can be used for the data to be transmitted; for example, the size of the data that can be transmitted by the UE uplink can be obtained based on an uplink grant (UL grant);

[0114] The size of the storage resources that can be used for the data to be transmitted; the storage resources refer to the storage resources defined by the protocol for the first communication device to store the data to be transmitted, for example, the protocol defines that for logged minimized drive tests (logged MDT), the UE uses a maximum of 64K storage resources.

[0115] The time length of source coding; it may also be referred to as the processing time of the first communication device performing source coding on the data;

[0116] The time length of source decoding; it may also be referred to as the processing time of the first communication device for performing source decoding on the data;

[0117] The sum of the time required for source encoding and source decoding.

[0118] In the embodiment of the present application, the second trigger parameter in the second trigger condition may be the same as or different from the first trigger parameter in the first trigger condition.

[0119] The following is an example of a trigger event for source coding.

[0120] Please refer to Table 1, the source coding trigger event may include at least one of the following (it should be noted that the name and serial number of the trigger time in the table are only examples and may be other):

[0121] Table 1

[0122]

[0123]

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

[0125] The first indication information is used to indicate whether to use lossy source coding or lossless source coding;

[0126] Candidate source coding algorithms or algorithm identifiers; used to indicate which one or several source coding algorithms can be used by the first communication device; the candidate source coding algorithms may include at least one of the following: an algorithm predefined in the protocol, a pre-deployed algorithm.

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

[0128] The candidate source profile is used to indicate which types and / or characteristics of sources can be used for source encoding. For example, the type of source can be divided according to the data usage, which can be perception, AI, or external data services. Optionally, the target application scenario of the source can be further subdivided under the type. For example, perception-type data can be divided into target detection, target tracking, environmental reconstruction, etc.; AI-type data can be divided into AI models, AI model training data, etc.; external data services can be divided into high-precision, medium-precision, and low-precision data services, etc.

[0129] Information about candidate geographical areas that can be source coded.

[0130] In the existing technical solutions, user plane data for mobile network transmission can reduce the data transmission volume and improve the transmission efficiency through Robust Header Compression (ROHC) or Uplink Data Compression (UDC). Since the existing solution is to compress the user plane data through the Packet Data Convergence Protocol (PDCP) layer of the Radio Access Network (RAN), the compression methods used by ROHC and UDC are lossless compression, thereby avoiding the impact on the upper layer application. In the embodiment of the present application, since the data to be transmitted for the source coding can be the internal data of the mobile network (non-user plane data), it is possible to determine the appropriate source coding based on the specific circumstances such as the application scenario of the data to be transmitted and the demand for data quality. It is not necessary to be limited to the lossless source coding algorithm, and a lossy source coding algorithm can also be used.

[0131] In the embodiment of the present application, optionally, the candidate geographical area information includes at least one of the following:

[0132] Cell Global Identifier (CGI), including Public Land Mobile Network (PLMN) ID and Cell ID;

[0133] Physical Cell Identity (PCI);

[0134] Carrier frequency information;

[0135] Tracking Area Code (TAC);

[0136] Tracking area identify (TAI), including PLMN ID and TAC;

[0137] A geographic location region; for example, a geographic location region may be identified by a reference point (represented by a geographic coordinate) and a distance threshold, or for another example, a geographic location region may be identified by multiple geographic coordinates;

[0138] A radio access network (RAN) area can be identified by a RAN area ID, which includes a TAC and a RAN area Code.

[0139] In an embodiment of the present application, optionally, the first message may also include: a data name (or data item) and at least one of the first indicators. The data name is used to indicate the data that needs to be collected and reported by the first communication device, such as reference signal received power (RSRP), reference signal received quality (RSRQ), PDCP delay, etc. It can also be represented by defining different numerical values ​​of a certain field, for example, 0000 0001 for RSRP, 0000 0010 for RSRQ, etc. The first indicator is used to indicate that only the data that meets the first indicator in the collected data needs to be reported / transmitted. For example, the first indicator can be integrity (generally defined as measured from the degree of data collection, which is the ratio between the data that should be collected and the data actually collected. There are many specific calculation formulas), and for example, the integrity is not less than 80%. For example, the measured value under the condition that the SNR is not lower than the threshold, and for example, the threshold is 0dB. For another example, for the perception data, the first indicator can be set by the perceived SNR. The "perceived SNR" is different from the aforementioned SNR. The perceived SNR refers to the signal-to-noise power ratio of the target signal after the perception signal is transformed into at least one of the delay domain, Doppler domain, and angle domain. Similarly, there can also be a "perceived SINR", which is the signal-to-interference-noise power ratio of the target signal after the first signal is transformed into at least one of the delay domain, Doppler domain, and angle domain.

[0140] In an 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 second indication information, and the second indication information is used to indicate whether the first communication device supports source coding.

[0141] In an embodiment of the present application, the second 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.

[0142] Optionally, the first communication device sends source coding capability information of the first communication device to a second communication device, and the source coding capability information of the first communication device is used by the second communication device to determine the first message.

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

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

[0145] The third indication information is used to indicate that at least one of lossy source coding and lossless source coding is supported;

[0146] 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.

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

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

[0149] 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.

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

[0151] 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.

[0152] 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.

[0153] 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.

[0154] 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.

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

[0156] 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.

[0157] 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.

[0158] 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.

[0159] 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.

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

[0161] 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.

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

[0163] In some other embodiments of the present application, the first communication device may also support source coding through protocol definition, that is, source coding is a mandatory feature. In this case, the first communication device does not need to report source coding capability information.

[0164] In an embodiment of the present application, optionally, the source encoding method further includes: the first communication device sends a second message, the second message includes fourth indication information, and the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

[0165] Optionally, the first communication device sends the second message to a third communication device, and the third communication device can determine whether to perform source decoding on the received data and how to perform source decoding according to the second message. The third communication device can be the second communication device or another communication device different from the second communication device.

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

[0167] The source coding algorithm or algorithm identifier used for the data to be transmitted or transmitted;

[0168] Source coded data or data that is not source coded. Source coded data may also be referred to as output data of source coding.

[0169] The check bit is used to check the source coding of the data to be transmitted or transmitted; the check object can be a single source coded data packet, for example, the source coding end generates a check bit (check bit) 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 a check bit for the decoded data using the same check algorithm. If it is consistent with the check bit of the received coding end, it is considered that the source coding and decoding is correct, otherwise it is wrong.

[0170] The sequence number of the data transmitted;

[0171] The size of the data to be transferred.

[0172] Please refer to Figure 5 , the embodiment of the present application also provides a source coding method, including:

[0173] Step 21: The second communication device sends a first message, where the first message includes: a first trigger condition for performing source coding on data to be transmitted.

[0174] In an embodiment of the present application, the second communication device indicates a first trigger condition for performing source coding on the data to be transmitted through a first message. The receiving end of the first message can determine whether to perform source coding on the data to be transmitted based on the first trigger condition, thereby improving the flexibility of source coding and the efficiency of data transmission.

[0175] In an embodiment of the present application, optionally, the first trigger condition includes at least one of the following: a first trigger parameter, an identifier of a first trigger event, a trigger threshold value corresponding to the first trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the first trigger event.

[0176] Optionally, the first trigger parameter includes at least one of the following:

[0177] The length of the data before source encoding;

[0178] The length of the data after source encoding;

[0179] Compression ratio, where the compression ratio is defined as one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding;

[0180] The size of the transmission resources that can be used by the data to be transmitted;

[0181] The size of the storage resources available for the data to be transmitted;

[0182] The time length of the source encoding;

[0183] The length of time it takes to decode the source;

[0184] The sum of the time required for source encoding and source decoding.

[0185] In the embodiment of the present application, optionally, the first message also includes: a second trigger condition for ending source encoding of the data to be transmitted.

[0186] In an embodiment of the present application, optionally, the second trigger condition includes at least one of the following: a second trigger parameter, an identifier of a second trigger event, a trigger threshold value corresponding to the second trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the second trigger event.

[0187] In the embodiment of the present application, optionally, the second trigger parameter includes at least one of the following:

[0188] The length of the data before source encoding;

[0189] The length of the data after source encoding;

[0190] Compression ratio, where the compression ratio is defined as one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding;

[0191] The size of the transmission resources that can be used by the data to be transmitted;

[0192] The size of the storage resources available for the data to be transmitted;

[0193] The time length of the source encoding;

[0194] The length of time it takes to decode the source;

[0195] The sum of the time required for source encoding and source decoding.

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

[0197] The first indication information is used to indicate whether to use lossy source coding or lossless source coding;

[0198] Candidate source coding algorithms or algorithm identifiers;

[0199] The buffer size used for source encoding;

[0200] Brief introduction of candidate sources;

[0201] Information about candidate geographical areas that can be source coded.

[0202] In the embodiment of the present application, optionally, the candidate geographical area information includes at least one of the following:

[0203] Global Cell Identification;

[0204] Physical cell identification;

[0205] Carrier frequency information;

[0206] Tracking area code;

[0207] Tracking area identification;

[0208] Geographical location area;

[0209] Wireless access network area.

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

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

[0212] The second communication device determines the first message according to the source coding capability information.

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

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

[0215] The third indication information is used to indicate that at least one of lossy source coding and lossless source coding is supported;

[0216] Supported source coding algorithms or algorithm identifiers.

[0217] 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.

[0218] In an embodiment of the present application, optionally, the source encoding method further includes: the second communication device receives a second message, the second message includes fourth indication information, and the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

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

[0220] The source coding algorithm or algorithm identifier used for the data to be transmitted or transmitted;

[0221] Source coded data or data that is not source coded;

[0222] Check bit, used to check the source code of the data to be transmitted or transmitted;

[0223] The sequence number of the data transmitted;

[0224] The size of the data to be transferred.

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

[0226] Embodiment 1:

[0227] In this embodiment, the second communication device is a wireless access network device, and the first communication device is a UE. This embodiment takes the second communication device being a wireless access network device and the first communication device being a UE as an example to illustrate a method for the data plane protocol stack to support source coding. If source coding is a capability of the data plane, then assuming that the protocol layer corresponding to the data plane protocol stack is called the first sublayer, refer to Figure 2 The data plane protocol stack diagram shown is a data plane protocol architecture terminated in a wireless access network.

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

[0229] First, the UE sends UE capability information to the network side device, where the UE capability information includes the source coding capability information of the UE. This step is optional.

[0230] If the first sublayer of the above data plane protocol stack is called a data plane application protocol (DPAP), an example of UE capability information may be as follows.

[0231]

[0232] The source coding capability information of the UE is defined by the capability parameters of the data plane protocol layer. Among them, when SourceCodingsSupported is true, it means that the UE supports source coding, and supportedSourceCodingType is used to indicate support for at least one of lossy source coding and lossless source coding. supportedStandard-Profiles represents the standard source coding algorithm. 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, please refer to the description of the above embodiments and will not be repeated here.

[0233] supportedOperator-Profiles indicates the source coding algorithm defined by the operator. Because the data to be transmitted in the embodiment of the present application may be internal data of the mobile network, the operator can define the source coding algorithm according to 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 data transmission volume. Considering that the UE may have multiple cards of different operators, etc., the algorithm version information and the corresponding PLMN identifier must be indicated for the source coding algorithm defined by the operator.

[0234] If the source coding capability information is sent to the network side through the UE capability information, then there is another potential way to indicate the source coding capability information through general parameters in the UE capability parameters, as shown in Table 2.

[0235] Table 2

[0236]

[0237] In some other embodiments of the present application, another way is to define the UE and the network side to support source coding through the protocol standard, that is, source coding is a mandatory feature. In this case, the UE does not need to report the source coding capability information.

[0238] The trigger-based source coding method is usually used because the second communication device cannot accurately determine the parameters of the data to be transmitted by the first communication device (such as data size, etc.). Therefore, the second communication device sends the trigger condition for source coding to the first communication device, and the first communication device determines whether to perform source coding according to the specific situation.

[0239] The following is a brief description of the process of the first communication device (UE) and the second communication device (radio access network device) performing source coding-related interaction based on the trigger condition:

[0240] Step 1: The second communication device (radio access network device) sends a first message to the first communication device (UE), wherein the first message includes: a first trigger condition for performing source coding on the data to be transmitted, and may also include a second trigger condition for ending source coding on the data to be transmitted. The first trigger condition and the second trigger condition both include at least one of the following: a trigger parameter, a trigger event identifier, and a trigger threshold value corresponding to the trigger parameter or the trigger event description.

[0241] An example first message includes one or more items in Table 3 (Table 3 is only an example, and the possible meaning options of each field and the combination of different fields can be other and are not limited).

[0242] Table 3

[0243]

[0244]

[0245]

[0246] Optionally, the first message may also include: a data name (or data item) and at least one of the first indicators. The data name is used to indicate the data that needs to be collected and reported by the first communication device (UE), such as reference signal received power (RSRP), reference signal received quality (RSRQ), PDCP delay, etc. It can also be represented by defining different numerical values ​​of a certain field, for example, 00000001 is RSRP, 0000 0010 is RSRQ, etc. The first indicator is used to indicate that only the data that meets the first indicator in the collected data needs to be reported / transmitted. For example, the first indicator can be integrity (generally defined as measured from the degree of data collection, which is the ratio between the data that should be collected and the data actually collected. There are many specific calculation formulas), and for example, the integrity is not less than 80%. For example, the measured value under the condition that the SNR is not lower than the threshold, and for example, the threshold is 0dB. For another example, for the perception data, the first indicator can be set by the perceived SNR. The "perceived SNR" is different from the aforementioned SNR. The perceived SNR refers to the signal-to-noise power ratio of the target signal after the perception signal is transformed into at least one of the delay domain, Doppler domain, and angle domain. Similarly, there can also be a "perceived SINR", which is the signal-to-interference-noise power ratio of the target signal after the first signal is transformed into at least one of the delay domain, Doppler domain, and angle domain.

[0247] Step 2: The first communication device (UE) receives the first message, and determines whether to perform source coding according to the first message. Optionally, at least one of the following is determined according to the first message: candidate source coding algorithms, candidate geographical area information capable of performing source coding.

[0248] Step 3: The first communication device (UE) sends a second message, where the second message includes fourth indication information, and the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

[0249] When the data to be transmitted or transmitted is source encoded, optionally, the second message may further include at least one of the following:

[0250] The source coding algorithm or algorithm identifier used for the data to be transmitted or transmitted;

[0251] Source coded data or data that is not source coded. Source coded data may also be referred to as output data of source coding.

[0252] The check bit is used to check the source coding of the data to be transmitted or transmitted; the check object can be a single source coded data packet, for example, the source coding end generates a check bit (check bit) 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 a check bit for the decoded data using the same check algorithm. If it is consistent with the check bit of the received coding end, it is considered that the source coding and decoding is correct, otherwise it is wrong.

[0253] The sequence number of the data transmitted;

[0254] The size of the data to be transferred.

[0255] For example, the second message may be sent in one or more of the following ways:

[0256] Mode 1: The first communication device (UE) sends a second message according to the configuration information, and the second message includes fourth indication information, and the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

[0257] Mode 2: The first communication device (UE) stores data according to the configuration information, and selects to send a second message to trigger data reporting in an appropriate situation according to the candidate geographical area information capable of source coding in the first message. The second message includes fourth indication information and the size of the data to be transmitted, and the fourth indication information is used to indicate whether the data to be transmitted is source coded.

[0258] Mode 3: The first communication device (UE) sends a second message according to the configuration information, where the second message includes fourth indication information and data, and the fourth indication information is used to indicate whether the transmitted data is source encoded.

[0259] The configuration information may include the information in the above-mentioned first message, such as the candidate geographical area information that can perform source coding. When the UE collects data and determines when to send the second message, the UE needs to determine whether the current location is in the candidate geographical area based on the configured candidate geographical area, so as to determine whether to send the second message.

[0260] In addition, the configuration information may also include resource configuration information used for the UE to report data (for example, on which time slot and frequency resource to send the second message, etc.).

[0261] Step 4: The third communication device receives the second message, and determines whether to perform source decoding and how to decode according to the second message. The third communication device can be the second communication device (radio access network device), or other communication devices different from the second communication device (for example, the second communication device is a centralized unit-control plane (CU-CP), and the third communication device is a centralized unit-data plane (CU-DP).

[0262] Embodiment 2:

[0263] The difference between this embodiment and embodiment 1 is that the second communication device is a core network device, such as a sensing function (SF), a location management function (LMF) or a data plane function (DPF). This embodiment describes a method for supporting source coding by a sensing protocol (such as a sensing protocol) or a positioning protocol (LTE positioning protocol) or a data plane protocol. If the protocol layer corresponding to the data plane protocol stack is referred to as the first data plane function protocol, see Figure 3 The data plane protocol stack diagram of the data plane protocol architecture of the UE, wireless access network and core network is shown.

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

[0265] First, the UE sends UE capability information to the network side device, where the UE capability information includes the source coding capability information of the UE. This step is optional.

[0266] For example, based on the 5G protocol, the information shown in Table 4 can be added to the 5GMM capability information element of the UE capability information to indicate the source coding capability information of the UE:

[0267] Table 4

[0268]

[0269] In some embodiments, source coding may also be supported through LPP or SP protocol. Then whether LPP capability is supported in the existing 5GMM capability information element also indicates whether source coding is supported in the positioning data.

[0270] The following is a brief description of the process of the first communication device (UE) and the second communication device (core network device) performing source coding-related interaction based on the trigger condition:

[0271] Step 1: The second communication device (core network device) sends a first message to the first communication device (UE), wherein the first message includes: a first trigger condition for performing source coding on the data to be transmitted, and may also include a second trigger condition for ending source coding on the data to be transmitted. The first trigger condition and the second trigger condition each include at least one of the following: a trigger parameter, a trigger event identifier, a trigger threshold value corresponding to the trigger parameter or the trigger parameter described by the trigger event. An example first message includes one or more items of Table 3, which will not be described in detail here.

[0272] It should be pointed out that the scheduling resources are usually determined by the wireless access network equipment. Therefore, if the core network uses the data length before source encoding and the data size that can be transmitted by the scheduled transmission resources as trigger conditions, then the second communication device usually needs to negotiate with the wireless access network equipment.

[0273] Step 2: The first communication device (UE) receives the first message, and determines whether to perform source coding according to the first message. Optionally, at least one of the following is determined according to the first message: candidate source coding algorithms, candidate geographical area information capable of performing source coding.

[0274] Step 3: The first communication device (UE) sends a second message, where the second message includes fourth indication information, and the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

[0275] When the data to be transmitted or transmitted is source encoded, optionally, the second message may further include at least one of the following:

[0276] The source coding algorithm or algorithm identifier used for the data to be transmitted or transmitted;

[0277] Source coded data or data that is not source coded. Source coded data may also be referred to as output data of source coding.

[0278] The check bit is used to check the source coding of the data to be transmitted or transmitted; the check object can be a single source coded data packet, for example, the source coding end generates a check bit (check bit) 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 a check bit for the decoded data using the same check algorithm. If it is consistent with the check bit of the received coding end, it is considered that the source coding and decoding is correct, otherwise it is wrong.

[0279] The sequence number of the data transmitted;

[0280] The size of the data to be transferred.

[0281] Step 4: The third communication device receives the second message, and determines whether to perform source decoding and how to decode according to the second message. The third communication device can be the second communication device (core network device), or other communication device different from the second communication device (for example, the second communication device is SF / LMF, and the third communication device is DPF or wireless access network device).

[0282] Embodiment 3:

[0283] In this embodiment, the second communication device is a core network device, and the first communication device is a wireless access network device.

[0284] Considering that the first communication device usually has limited storage capacity, the first communication device determines whether to perform source coding according to the received first trigger condition and the collected data.

[0285] First, existing protocols usually do not involve the capability definition of wireless access network devices. If a subsequent version is introduced, the aforementioned UE source coding capability definition and registration to the node on the network side responsible for wireless access network device registration can be referred to.

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

[0287] Step 1: The second communication device (core network device) sends a first message to the first communication device (radio access network device), wherein the first message includes: a first trigger condition for performing source coding on the data to be transmitted, and may also include a second trigger condition for ending source coding on the data to be transmitted. The first trigger condition and the second trigger condition each include at least one of the following: a trigger parameter, a trigger event identifier, a trigger threshold value corresponding to the trigger parameter or the trigger parameter described by the trigger event. An example first message includes one or more items of Table 3, which will not be described in detail here.

[0288] It should be pointed out that there may be multiple situations for the transmission resources involved in the trigger conditions. Since the data backhaul between the core network device and the wireless access network device usually adopts wired transmission, and the backhaul resources of the operator are usually abundant. Therefore, when the wired transmission resources are not limited, this embodiment does not use transmission resources as a triggering event. In addition, when the wired transmission resources are limited, the transmission resources are resources allocated to the data transmission to be transmitted by the wired network through a virtual private network (VPN) and other methods. At the same time, there is also the case of wireless backhaul. In this case, the transmission resources are wireless resources used to transmit the data to be transmitted between the core network device and the wireless access network device.

[0289] Step 2: The first communication device (radio access network device) receives the first message and determines whether to perform source coding according to the first message. Optionally, at least one of the following is determined according to the first message: candidate source coding algorithms, candidate geographical area information capable of performing source coding.

[0290] Step 3: The first communication device (radio access network device) sends a second message, where the second message includes fourth indication information, and the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

[0291] When the data to be transmitted or transmitted is source encoded, optionally, the second message may further include at least one of the following:

[0292] The source coding algorithm or algorithm identifier used for the data to be transmitted or transmitted;

[0293] Source coded data or data that is not source coded. Source coded data may also be referred to as output data of source coding.

[0294] The check bit is used to check the source coding of the data to be transmitted or transmitted; the check object can be a single source coded data packet, for example, the source coding end generates a check bit (check bit) 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 a check bit for the decoded data using the same check algorithm. If it is consistent with the check bit of the received coding end, it is considered that the source coding and decoding is correct, otherwise it is wrong.

[0295] The sequence number of the data transmitted;

[0296] The size of the data to be transferred.

[0297] Step 4: The third communication device receives the second message, and determines whether to perform source decoding and how to decode according to the second message. The third communication device can be the second communication device (core network device), or other nodes different from the second communication device (for example, the second communication device is SF / LMF, and the third communication device is data storage function DRF).

[0298] 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.

[0299] Please refer to Figure 6 The embodiment of the present application further provides a source coding device 30, comprising:

[0300] The first receiving module 31 is used to receive a first message, wherein the first message includes: a first trigger condition for performing source coding on the data to be transmitted;

[0301] The first determination module 32 is used to determine whether to perform source coding on the data to be transmitted according to whether the first trigger condition is met.

[0302] In an embodiment of the present application, a first message indicates a first trigger condition for performing source coding on the data to be transmitted, and the first communication device determines whether to perform source coding on the data to be transmitted based on whether the first trigger condition is met, thereby supporting source coding of data transmitted within the mobile network and achieving the effect of saving storage resources and transmission resources.

[0303] Optionally, the first trigger condition includes at least one of the following: a first trigger parameter, an identifier of a first trigger event, a trigger threshold value corresponding to the first trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the first trigger event.

[0304] Optionally, the first trigger parameter includes at least one of the following:

[0305] The length of the data before source encoding;

[0306] The length of the data after source encoding;

[0307] Compression ratio, where the compression ratio is defined as one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding;

[0308] The size of the transmission resources that can be used by the data to be transmitted;

[0309] The size of the storage resources available for the data to be transmitted;

[0310] The time length of the source encoding;

[0311] The length of time it takes to decode the source;

[0312] The sum of the time required for source encoding and source decoding.

[0313] Optionally, the first message further includes: a second trigger condition for ending source coding of the data to be transmitted; and the source coding device 30 further includes:

[0314] The second determining module is used to determine whether to turn off source coding for the data to be transmitted according to whether the second trigger condition is met.

[0315] Optionally, the second trigger condition includes at least one of the following: a second trigger parameter, an identifier of a second trigger event, a trigger threshold value corresponding to the second trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the second trigger event.

[0316] Optionally, the second trigger parameter includes at least one of the following:

[0317] The length of the data before source encoding;

[0318] The length of the data after source encoding;

[0319] Compression ratio, where the compression ratio is defined as one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding;

[0320] The size of the transmission resources that can be used by the data to be transmitted;

[0321] The size of the storage resources available for the data to be transmitted;

[0322] The time length of the source encoding;

[0323] The length of time it takes to decode the source;

[0324] The sum of the time required for source encoding and source decoding.

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

[0326] The first indication information is used to indicate whether to use lossy source coding or lossless source coding;

[0327] Candidate source coding algorithms or algorithm identifiers;

[0328] The buffer size used for source encoding;

[0329] Brief introduction of candidate sources;

[0330] Information about candidate geographical areas that can be source coded.

[0331] Optionally, the candidate geographical area information includes at least one of the following:

[0332] Global Cell Identifier CGI;

[0333] Physical cell identifier PCI;

[0334] Carrier frequency information;

[0335] Tracking area code TAC;

[0336] Tracking area identifier TAI;

[0337] Geographical location area;

[0338] RAN-based Notification Area.

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

[0340] The first sending module is used to send source coding capability information of a first communication device, where the source coding capability information includes second indication information, and the second indication information is used to indicate whether the first communication device supports source coding.

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

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

[0343] The third indication information is used to indicate that at least one of lossy source coding and lossless source coding is supported;

[0344] Supported source coding algorithms or algorithm identifiers.

[0345] 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.

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

[0347] The second sending module is used to send a second message, where the second message includes fourth indication information, and the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

[0348] Optionally, the second message further includes at least one of the following:

[0349] The source coding algorithm or algorithm identifier used for the data to be transmitted or transmitted;

[0350] Source coded data or data that is not source coded;

[0351] Check bit, used to check the source code of the data to be transmitted or transmitted;

[0352] The sequence number of the data transmitted;

[0353] The size of the data to be transferred.

[0354] 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.

[0355] 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.

[0356] Please refer to Figure 7 The embodiment of the present application further provides a source coding device 40, comprising:

[0357] The first sending module 41 is configured to send a first message, wherein the first message includes: a first triggering condition for performing source coding on data to be transmitted.

[0358] Optionally, the first trigger condition includes at least one of the following: a first trigger parameter, an identifier of a first trigger event, a trigger threshold value corresponding to the first trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the first trigger event.

[0359] Optionally, the first trigger parameter includes at least one of the following:

[0360] The length of the data before source encoding;

[0361] The length of the data after source encoding;

[0362] Compression ratio, where the compression ratio is defined as one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding;

[0363] The size of the transmission resources that can be used by the data to be transmitted;

[0364] The size of the storage resources available for the data to be transmitted;

[0365] The time length of the source encoding;

[0366] The length of time it takes to decode the source;

[0367] The sum of the time required for source encoding and source decoding.

[0368] Optionally, the first message further includes: a second trigger condition for ending source encoding of the data to be transmitted.

[0369] Optionally, the second trigger condition includes at least one of the following: a second trigger parameter, an identifier of a second trigger event, a trigger threshold value corresponding to the second trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the second trigger event.

[0370] Optionally, the second trigger parameter includes at least one of the following:

[0371] The length of the data before source encoding;

[0372] The length of the data after source encoding;

[0373] Compression ratio, where the compression ratio is defined as one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding;

[0374] The size of the transmission resources that can be used by the data to be transmitted;

[0375] The size of the storage resources available for the data to be transmitted;

[0376] The time length of the source encoding;

[0377] The length of time it takes to decode the source;

[0378] The sum of the time required for source encoding and source decoding.

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

[0380] The first indication information is used to indicate whether to use lossy source coding or lossless source coding;

[0381] Candidate source coding algorithms or algorithm identifiers;

[0382] The buffer size used for source encoding;

[0383] Brief introduction of candidate sources;

[0384] Information about candidate geographical areas that can be source coded.

[0385] Optionally, the candidate geographical area information includes at least one of the following:

[0386] Global Cell Identifier CGI;

[0387] Physical cell identifier PCI;

[0388] Carrier frequency information;

[0389] Tracking area code TAC;

[0390] Tracking area identifier TAI;

[0391] Geographical location area;

[0392] RAN-based Notification Area.

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

[0394] A first receiving module, configured to receive source coding capability information of a first communication device, wherein the source coding capability information includes second indication information, and the second indication information is used to indicate whether the first communication device supports source coding;

[0395] A determination module is used to determine the first message according to the source coding capability information.

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

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

[0398] The third indication information is used to indicate that at least one of lossy source coding and lossless source coding is supported;

[0399] Supported source coding algorithms or algorithm identifiers.

[0400] 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.

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

[0402] The second receiving module is used to receive a second message, where the second message includes fourth indication information, and the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

[0403] Optionally, the second message further includes at least one of the following:

[0404] The source coding algorithm or algorithm identifier used for the data to be transmitted or transmitted;

[0405] Source coded data or data that is not source coded;

[0406] Check bit, used to check the source code of the data to be transmitted or transmitted;

[0407] The sequence number of the data transmitted;

[0408] The size of the data to be transferred.

[0409] 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.

[0410] like Figure 8 As shown, the embodiment of the present application further 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 run on the processor 51. For example, when the communication device 50 is a first communication device, the program or instruction is executed by the processor 51 to implement the various steps of the embodiment of the source coding method executed by the first communication device, and can achieve the same technical effect. When the communication device 50 is a second communication device, the program or instruction is executed by the processor 51 to implement the various steps of the embodiment of the source coding method executed by the second communication device, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0411] 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 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. 9 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0412] 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.

[0413] 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. 9 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.

[0414] It should be understood that in the embodiment of the present application, the input unit 64 may include a graphics processing unit (GPU) 641 and a microphone 642, and the graphics processor 641 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.

[0415] 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.

[0416] 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.

[0417] 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.

[0418] The radio frequency unit 61 is used to receive a first message, wherein the first message includes: a first trigger condition for performing source coding on the data to be transmitted;

[0419] The processor 610 is configured to determine whether to perform source coding on the data to be transmitted according to whether the first trigger condition is met.

[0420] In an embodiment of the present application, a first message indicates a first trigger condition for performing source coding on the data to be transmitted, and the first communication device determines whether to perform source coding on the data to be transmitted based on whether the first trigger condition is met, thereby supporting source coding of data transmitted within the mobile network and achieving the effect of saving storage resources and transmission resources.

[0421] Alternatively, the radio frequency unit 61 is configured to send a first message, where the first message includes: a first triggering condition for performing source coding on the data to be transmitted.

[0422] In an embodiment of the present application, a first message indicates a first trigger condition for performing source coding on the data to be transmitted. The receiving end of the first message can determine whether to perform source coding on the data to be transmitted based on the first trigger condition, thereby improving the flexibility of source coding and the efficiency of data transmission.

[0423] 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.

[0424] 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 in FIG. Figure 4 or Figure 5 Corresponding to the method embodiment shown, each implementation process and implementation method of the above method embodiment can be applied to the network side device embodiment and can achieve the same technical effect.

[0425] Specifically, the embodiment of the present application also provides a network side device. Fig.10 As 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.

[0426] 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.

[0427] The baseband device 73 may include, for example, at least one baseband board on which a plurality of chips are arranged. Figure 7 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.

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

[0429] 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. Figure 6 or Figure 7 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0430] Specifically, the embodiment of the present application also provides a network side device. Fig.11 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).

[0431] 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. Figure 4 or Figure 5 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0432] 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.

[0433] 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.

[0434] 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.

[0435] 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.

[0436] 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.

[0437] An embodiment of the present application also provides a 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 encoding 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 encoding method executed by the second communication device as described above.

[0438] 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.

[0439] 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.

[0440] 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: The first communication device receives a first message, wherein the first message includes: a first trigger condition for performing source coding on data to be transmitted; The first communication device determines whether to perform source coding on the data to be transmitted according to whether the first trigger condition is met.

2. The method according to claim 1, It is characterized in that The first trigger condition includes at least one of the following: a first trigger parameter, an identifier of a first trigger event, a trigger threshold value corresponding to the first trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the first trigger event.

3. The method according to claim 2, It is characterized in that The first trigger parameter includes at least one of the following: The length of the data before source encoding; The length of the data after source encoding; Compression ratio, where the compression ratio is defined as one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding; The size of the transmission resources that can be used by the data to be transmitted; The size of the storage resources available for the data to be transmitted; The time length of the source encoding; The length of time it takes to decode the source; The sum of the time required for source encoding and source decoding.

4. The method according to claim 1, It is characterized in that The first message further includes: a second trigger condition for ending source coding of the data to be transmitted; and the method further includes: The first communication device determines whether to turn off source coding for the data to be transmitted according to whether the second trigger condition is met.

5. The method according to claim 4, It is characterized in that The second trigger condition includes at least one of the following: a second trigger parameter, an identifier of a second trigger event, a trigger threshold value corresponding to the second trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the second trigger event.

6. The method according to claim 5, It is characterized in that The second trigger parameter includes at least one of the following: The length of the data before source encoding; The length of the data after source encoding; Compression ratio, where the compression ratio is defined as one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding; The size of the transmission resources that can be used by the data to be transmitted; The size of the storage resources available for the data to be transmitted; The time length of the source encoding; The length of time it takes to decode the source; The sum of the time required for source encoding and source decoding.

7. The method according to claim 1, It is characterized in that The first message also includes at least one of the following: The first indication information is used to indicate whether to use lossy source coding or lossless source coding; Candidate source coding algorithms or algorithm identifiers; The buffer size used for source encoding; Brief introduction of candidate sources; Information about candidate geographical areas that can be source coded.

8. The method according to claim 7, It is characterized in that The candidate geographic area information includes at least one of the following: Global Cell Identifier CGI; Physical cell identifier PCI; Carrier frequency information; Tracking area code TAC; Tracking area identifier TAI; Geographical location area; The notification area is based on the radio access network RAN.

9. The method according to claim 1, It is characterized in that Also includes: The first communication device sends source coding capability information of the first communication device, where the source coding capability information includes second indication information, and the second indication information is used to indicate whether the first communication device supports source coding.

10. The method according to claim 9, 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; The third indication information is used to indicate that at least one of lossy source coding and lossless source coding is supported; Supported source coding algorithms or algorithm identifiers.

11. The method according to claim 9 or 10, 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.

12. The method according to claim 1, It is characterized in that Also includes: The first communication device sends a second message, where the second message includes fourth indication information, where the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

13. The method according to claim 12, It is characterized in that The second message further includes at least one of the following: The source coding algorithm or algorithm identifier used for the data to be transmitted or transmitted; Source coded data or data that is not source coded; Check bit, used to check the source code of the data to be transmitted or transmitted; The sequence number of the data transmitted; The size of the data to be transferred.

14. A source coding method, It is characterized in that include: The second communication device sends a first message, where the first message includes: a first trigger condition for performing source coding on the data to be transmitted.

15. The method according to claim 14, It is characterized in that The first trigger condition includes at least one of the following: a first trigger parameter, an identifier of a first trigger event, a trigger threshold value corresponding to the first trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the first trigger event.

16. The method according to claim 15, It is characterized in that The first trigger parameter includes at least one of the following: The length of the data before source encoding; The length of the data after source encoding; Compression ratio, where the compression ratio is defined as one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding; The size of the transmission resources that can be used by the data to be transmitted; The size of the storage resources available for the data to be transmitted; The time length of the source encoding; The length of time it takes to decode the source; The sum of the time required for source encoding and source decoding.

17. The method according to claim 14, It is characterized in that The first message also includes: a second trigger condition for ending source encoding of the data to be transmitted.

18. The method according to claim 17, It is characterized in that The second trigger condition includes at least one of the following: the second trigger condition includes at least one of the following: a second trigger parameter, an identifier of a second trigger event, a trigger threshold value corresponding to the second trigger parameter, and a trigger threshold value corresponding to the trigger parameter described by the second trigger event.

19. The method according to claim 17, It is characterized in that The second trigger parameter includes at least one of the following: The length of the data before source encoding; The length of the data after source encoding; Compression ratio, where the compression ratio is defined as one of the following: the length of data after source coding divided by the length of data before source coding, the length of data before source coding divided by the length of data after source coding, 1-the length of data after source coding / the length of data before source coding; The size of the transmission resources that can be used by the data to be transmitted; The size of the storage resources available for the data to be transmitted; The time length of the source encoding; The length of time it takes to decode the source; The sum of the time required for source encoding and source decoding.

20. The method according to claim 14, It is characterized in that The first message also includes at least one of the following: The first indication information is used to indicate whether to use lossy source coding or lossless source coding; Candidate source coding algorithms or algorithm identifiers; The buffer size used for source encoding; Brief introduction of candidate sources; Information about candidate geographical areas that can be source coded.

21. The method according to claim 20, It is characterized in that The candidate geographic area information includes at least one of the following: Global Cell Identifier CGI; Physical cell identifier PCI; Carrier frequency information; Tracking area code TAC; Tracking area identifier TAI; Geographical location area; The notification area is based on the radio access network RAN.

22. The method according to claim 14, 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 includes second indication information, and the second 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.

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; The third indication information is used to indicate that at least one of lossy source coding and lossless source coding is supported; 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. The method according to claim 14, It is characterized in that Also includes: The second communication device receives a second message, where the second message includes fourth indication information, where the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

26. The method according to claim 25, It is characterized in that The second message further includes at least one of the following: The source coding algorithm or algorithm identifier used for the data to be transmitted or transmitted; Source coded data or data that is not source coded; Check bit, used to check the source code of the data to be transmitted or transmitted; The sequence number of the data transmitted; The size of the data to be transferred.

27. A source coding device, It is characterized in that include: A first receiving module, configured to receive a first message, wherein the first message includes: a first trigger condition for performing source coding on data to be transmitted; The first determining module is used to determine whether to perform source coding on the data to be transmitted according to whether the first trigger condition is met.

28. The device according to claim 27, It is characterized in that The first message further includes: a second trigger condition for ending source coding of the data to be transmitted; and the source coding device further includes: The second determining module is used to determine whether to turn off source coding for the data to be transmitted according to whether the second trigger condition is met.

29. The device according to claim 27, It is characterized in that Also includes: The first sending module is used to send source coding capability information of a first communication device, where the source coding capability information includes second indication information, and the second indication information is used to indicate whether the first communication device supports source coding.

30. The device according to claim 27, It is characterized in that Also includes: The second sending module is used to send a second message, where the second message includes fourth indication information, and the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

31. A source coding device, It is characterized in that include: The first sending module is used to send a first message, wherein the first message includes: a first triggering condition for performing source coding on data to be transmitted.

32. The device according to claim 31, It is characterized in that Also includes: A first receiving module, configured to receive source coding capability information of a first communication device, wherein the source coding capability information includes second indication information, and the second 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.

33. The device according to claim 31, It is characterized in that Also includes: The second receiving module is used to receive a second message, where the second message includes fourth indication information, and the fourth indication information is used to indicate whether the data to be transmitted or transmitted is source encoded.

34. 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 26 are implemented.

35. 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 implements the steps of the source coding method as described in any one of claims 14 to 26.