WO2024017135A1 - Method for processing image, and apparatus - Google Patents

Method for processing image, and apparatus Download PDF

Info

Publication number
WO2024017135A1
WO2024017135A1 PCT/CN2023/107255 CN2023107255W WO2024017135A1 WO 2024017135 A1 WO2024017135 A1 WO 2024017135A1 CN 2023107255 W CN2023107255 W CN 2023107255W WO 2024017135 A1 WO2024017135 A1 WO 2024017135A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
information
information unit
unit
reference range
Prior art date
Application number
PCT/CN2023/107255
Other languages
French (fr)
Chinese (zh)
Inventor
胡少领
窦凤辉
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202210952281.5A external-priority patent/CN117479230A/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024017135A1 publication Critical patent/WO2024017135A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Definitions

  • the embodiments of the present application relate to the field of image processing, and more specifically, to a method and device for processing images.
  • video frames can be encoded at frame or slice granularity.
  • a frame is a complete picture
  • a slice is a partial area in the picture, which is coded separately from other areas in the picture.
  • I frame and P frame there are I frame and P frame.
  • I frame can be decoded independently, and the decoding of P frame needs to refer to other frames.
  • the slice is similar.
  • I slice can be decoded independently, while the decoding of P slice needs to refer to other slices.
  • XR extended reality
  • a PDU set consists of one or more PDUs, containing information of a unit (such as a frame or a slice) generated by the application layer.
  • the reference relationship between PDU sets plays an important role in improving the video transmission efficiency of the communication system.
  • Some technologies carry the sequence number of the PDU set (PDU set sequence number, PDU-SN) and the sequence number of the reference PDU set (reference PDU set sequence number, RPS-SN) in a PDU set.
  • RPS-SN is used to indicate the sequence number of the PDU set referenced by the current PDU set.
  • the reference relationship between PDU sets is based on forward reference. It is meaningful to send the current PDU set only if the referenced PDU set is successfully transmitted.
  • the RPS-SN carried in the current PDU set is used by the fifth generation core network (the fifth generation core, 5GC) or the radio access network (radio access network, RAN). Used to decide to discard all PDU sets referencing this RPS.
  • providing the sequence number of the PDU set referenced by the PDU set can only be used by 5GC or RAN to decide whether to discard the PDU set.
  • 5GC or RAN it can improve the transmission performance of PDU set (for example, improve transmission Efficiency, reducing frame loss rate, etc.) does not help much.
  • this application provides an image processing method and device, which can improve image transmission performance.
  • the first aspect provides a method for processing images, which method includes:
  • the first network element obtains the first information from the application function network element, where,
  • the first information indicates the backward reference range of the first information unit of the image.
  • the backward reference range is used to indicate the distance between the index of the second information unit and the index of the first information unit.
  • the information unit generated after the second information unit No further reference is made to the first information unit; or,
  • the first information indicates the temporal parameter of the first information unit of the image.
  • the temporal parameter is determined according to the backward reference range of the first information unit.
  • the backward reference range is used to indicate the index of the second information unit and the index of the first information unit.
  • the spacing between them means that information units generated after the second information unit no longer refer to the first information unit;
  • the first network element processes the first information unit in the buffer area of the first network element according to the first information.
  • the encoding side of the image uses the backward reference range to indicate the reference relationship between the information units (such as frames or slices) of the image during the encoding process.
  • the encoding side sends first information to the first network element, where the first information is used to indicate the backward reference range of the first information unit or the time parameter determined by the backward reference range.
  • the first network element After the first network element obtains the first information, it can obtain the time parameter of the first information unit. Since the time parameter is determined based on the backward reference range of the first information unit, and the backward reference range reflects the situation in which information units generated after the first information unit are encoded with reference to the first information unit, the time parameter may be the first information unit.
  • Network elements improve the transmission guarantee of information units and provide a basis for caching.
  • the first network element caches the buffer area according to the time parameter. Compared with blindly deciding the cache duration or transmission duration of the first information unit, and randomly discarding the information units in the cache area to affect other information units generated after the first information unit.
  • the related processing such as caching and transmission performed by the first network element on the first information unit is more rational, thereby improving image transmission performance. For example, it can reduce the frame loss rate, reduce resource waste caused by random packet loss, and improve transmission efficiency.
  • the method further includes: the first network element determines the time parameter according to the backward reference range.
  • the first network element can convert the backward reference range into a time parameter, The flexibility of the encoding side indicating the backward reference relationship of the information unit to the first network element can be increased.
  • the impact caused by data packet jitter can be reduced and the first network element can be provided with more accurate information for caching or transmitting. basis of the unit.
  • the time parameter includes at least one of a maximum storage duration and a maximum allowed transmission duration of the first information unit, where the maximum storage duration is the first information unit received from the first network element.
  • the maximum allowed transmission duration is the duration from the first moment when the first network element receives the first information unit to the third moment when it is determined that the first network element will no longer send the first information unit to the terminal device.
  • the time parameter of the first information unit mainly includes the maximum storage time of the first information unit in the cache area of the first network element, and the maximum allowed transmission time of the first information unit.
  • the first network element will not delete the first information unit from the cache area within the maximum storage time, so as to prevent other information units generated after the first information unit from referring to the first information unit code, and the first information unit is deleted prematurely, resulting in reference
  • These information units encoded by the first information unit cannot be successfully decoded on the decoding side, thereby reducing image transmission efficiency and wasting resource scheduling.
  • the first network element can repeatedly transmit the first information unit within the maximum allowed transmission duration to improve the reception success rate of the decoding side.
  • the maximum allowed transmission duration if there are other information units generated after the first information unit that are encoded with reference to the first information unit, these information units that are generated and encoded with reference to the first information unit can also be promoted through retransmission. Decoding success rate on the decoding side until the first information unit loses transmission value (or exceeds the maximum allowed transmission duration). With the assistance of the maximum storage duration and the maximum allowed transmission duration, the decoding success rate on the decoding side can be improved, the waste of transmission resources and the scheduling of invalid information units can be reduced, and the image transmission performance can be improved.
  • the loss of transmission value of the first information unit may mean that subsequent information units no longer directly refer to the first information unit for encoding (or that the first information unit no longer has a reference role in decoding subsequent information units), Or the maximum allowed transmission duration of the first information unit has been exceeded (or the first information unit is an invalid information unit).
  • each information unit in the cache area of the first network element corresponds to a reference mark
  • the reference mark corresponding to each information unit is one of the following three types: for long-term reference, for user use.
  • the three types respectively correspond to different backward reference ranges.
  • different backward reference range values are set for different types of reference marks.
  • the backward reference range values of different information units can be set according to the objective conditions of the reference relationship between information units. value to improve transmission performance.
  • the first information unit corresponds to the first reference mark; the method further includes:
  • the first network element obtains first change signaling and second information from the application function network element.
  • the first change signaling is used to indicate that the reference mark of the first information unit is changed from the first reference mark to the second reference mark.
  • the second information Used to indicate the backward reference range corresponding to the second reference mark, wherein the first change signaling carries the identity of the first information unit, and the type of the first reference mark is different from the type of the second reference mark;
  • the first network element modifies the reference mark of the first information unit to the second reference mark according to the first change signaling and the second information, and modifies the backward reference range of the first information unit to the backward reference range corresponding to the second reference mark. towards the reference range.
  • the encoding side (for example, AF network element) updates the reference mark of an information unit
  • the backward reference range of the information unit changes accordingly. Therefore, the encoding side needs to change the backward reference range of the information unit.
  • the first network element determines the time parameters of the information unit (such as the maximum storage duration and the maximum allowed transmission duration) based on the updated backward reference range, and can dynamically adapt to objective changes in the reference relationship between information units to maintain a stable Image transmission efficiency and transmission performance.
  • the first network element obtains the first information from the application function network element, including:
  • the first network element obtains the first information from the application function network element through control plane signaling; or,
  • the first network element receives a first protocol data unit PDU set from the application function network element, and the first PDU set contains first information of the first information unit.
  • the encoding side can send the first information to the first network element through control plane signaling or "on-the-road transmission".
  • the former method is suitable when the backward reference range is relatively stable or the change period is relatively long.
  • the latter approach is suitable for application scenarios where the backward reference range changes more frequently.
  • the encoding side uses different ways to transmit the first information according to different application scenarios, which can improve the transmission performance of the first information, such as reducing transmission overhead.
  • the first network element processes the first information unit in the buffer area of the first network element according to the first information, including:
  • the first network element retains the first information unit in the cache area within the maximum storage time period according to the first information.
  • the first network element retains the first information unit in the cache area within the maximum storage time, so as to avoid premature deletion of the first information unit and affect later generated information units that are encoded with reference to the first information unit. Decoding can reduce the probability of losing valid information units.
  • the method also includes:
  • the first network element determines that none of the M information units are encoded with reference to the first information unit, the first network element deletes the first information unit.
  • the first network element determines that no information unit within the backward reference range of the first information unit refers to the first information unit within the maximum storage time, the first information unit can be deleted in time to avoid invalid The information unit occupies the buffer area.
  • the first network element is a RAN network element, and the first network element determines that none of the M information units are encoded with reference to the first information unit, including:
  • the first network element obtains M third information from the user plane function UPF network element.
  • the M third information corresponds to the M information units one-to-one.
  • Each of the M third information is used to determine the corresponding Whether the information unit refers to the first information unit for encoding;
  • the first network element determines, based on the M pieces of third information, that none of the M information units are encoded with reference to the first information unit.
  • the RAN network element needs the assistance of the UPF network element to determine whether the information units within the backward reference range of the first information unit refer to the first information unit. Encoding, and then when no information unit within the backward reference range refers to the first information unit, delete the first information unit from the cache area in time to prevent the invalid first information unit from occupying the cache area.
  • the third information in this implementation may be RPS-SN.
  • the M pieces of third information are the RPS-SNs indicated by each of the M pieces of information units generated after the first information unit.
  • the method also includes:
  • the first network element receives the first information unit from the application function network element and saves the first information unit in the buffer area of the first network element;
  • the first network element sends the first information unit to the terminal device
  • the first network element processes the first information unit in the buffer area of the first network element according to the first information, including:
  • the first network element repeatedly sends the first information unit to the terminal device within the maximum transmission duration according to the first information.
  • the decoding success rate on the decoding side of the information units generated and encoded with reference to the first information unit can also be improved through retransmission.
  • the first network element processes the first information unit in the buffer area of the first network element according to the first information, which further includes:
  • the first network element determines based on the first information that when the maximum transmission duration is exceeded and the terminal device still has not correctly received the first information unit, the first network element no longer sends the first information unit to the terminal device.
  • the first information unit no longer has transmission value. For example, the first information unit is useless for subsequent decoding of other information units. At this time, the first network element The first unit is no longer sent repeatedly to avoid invalid transmission and waste of transmission resources as much as possible.
  • the first network element is a UPF network element
  • the method further includes:
  • the first network element receives the first information unit from the application function network element and saves the first information unit in the buffer area of the first network element;
  • the first network element sends the first information unit to the RAN network element
  • the first network element receives feedback information from the RAN network element, and the feedback information is used to indicate that the RAN network element has not successfully sent the first information unit to the terminal device;
  • the first network element sends to the RAN network element a first information unit and one or more third information units.
  • the first network element is a UPF network element, and the information unit on the encoding side is cached in the UPF network element. If the terminal device fails to receive a certain information unit (for example, the first information unit), the RAN network element provides feedback information to the UPF network element, so that several pieces of information are generated by the UPF network element after the first information unit is not deleted and exists.
  • the first information unit and the information units encoded with reference to the first information unit may be repeatedly sent to the terminal device to improve the image reception success rate.
  • the method also includes:
  • the terminal device fails to receive the first information unit successfully, and the first network element determines that the first information unit has been deleted from the cache area of the first network element, the first network element deletes the first information unit from the cache and performs encoding with reference to the first information unit. one or more third information units.
  • the reference relationship between information units provided by this application is a backward reference relationship
  • the information unit generated later will Information units that are encoded with reference to this information unit cannot be successfully decoded.
  • the first network element deletes these information units that cannot be successfully decoded from the buffer area, which can avoid invalid scheduling and reduce the waste of transmission resources.
  • the first network element is a RAN network element or a UPF network element.
  • a second aspect provides a device for processing images, the device having the function of implementing the method in the first aspect or any possible implementation of the first aspect.
  • the functions described can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more units corresponding to the above functions.
  • an image processing device including a processor and a memory.
  • a transceiver may also be included.
  • the memory is used to store computer programs
  • the processor is used to call and run the computer programs stored in the memory, and control the transceiver to send and receive signals, so that the communication device performs the method of the first aspect, or any possible method of the first aspect. Methods in the implementation.
  • a fourth aspect provides a device for processing images, including a processor and a communication interface.
  • the communication interface is used to receive data and/or information and transmit the received data and/or information to the processor.
  • the processor processes the data and/or information, and the communication interface is also used to output the data and/or information processed by the processor, so as to achieve the method of the first aspect, or any possible method of the first aspect.
  • the methods in the implementation are executed.
  • a fifth aspect provides an apparatus for processing images, including at least one processor coupled to at least one memory, and the at least one processor is configured to execute a computer program or instructions stored in the at least one memory. , so that the communication device performs the method of the first aspect, or the method in any possible implementation of the first aspect.
  • a computer-readable storage medium is provided.
  • Computer instructions are stored in the computer-readable storage medium.
  • the computer instructions are run on a computer, the first aspect or the second aspect, or the method in these aspects is achieved. Methods in any possible implementation of either aspect are executed.
  • a computer program product comprising computer program code, when the computer program code is run on a computer, it causes the first aspect or the second aspect, or any of these aspects. Methods in any possible implementation of the aspect are executed.
  • An eighth aspect provides a system for processing images, including the device for processing images as described in the second aspect.
  • Figure 1 is a schematic diagram of using sliding window mode to mark reference pictures.
  • Figure 2 is a schematic diagram of adaptive mode marking reference pictures.
  • Figure 3 is a schematic diagram of a system architecture suitable for embodiments of the present application.
  • Figure 4 is a schematic flow chart of the image processing method provided by this application.
  • Figure 5 is a schematic diagram of the backward reference range proposed in this application.
  • Figure 6 is a schematic diagram of a method of obtaining the maximum allowed transmission duration based on the backward reference range.
  • Figure 7 is a schematic diagram of the AF network element transmitting the backward reference range through the control plane transmission path.
  • Figure 8 is a schematic diagram of the backward reference range of each information unit transmitted along the path.
  • Figure 9 is an example of an image processing method provided by this application.
  • Figure 10 is an example of an image processing method provided by this application.
  • FIG 11 is a schematic block diagram of an image processing device provided by this application.
  • Figure 12 is a schematic structural diagram of an image processing device provided by this application.
  • Video coding generally refers to the processing of sequences of pictures that form a video or video sequence.
  • picture In the field of video coding, the terms “picture”, “frame” or “image” can be used as synonyms.
  • Video encoding as used in this article means video encoding or video decoding. Video encoding is performed on the source side and typically involves processing the raw video pictures. Video decoding is performed on the destination side and typically involves inverse processing relative to the encoder to reconstruct the video picture.
  • a video sequence includes a series of video frames, hereinafter referred to as "frames", and the frames are further divided into slices.
  • a frame is a complete picture.
  • MPEG-4 moving pictures experts group version 4
  • AVC advanced video coding
  • a protocol data unit (PDU) set (PDU set) consists of one or more PDUs and contains information of a unit (such as a frame or a slice) generated by the application layer.
  • a frame or a slice corresponds to one or more PDU sets, and a PDU set contains one or more PDUs.
  • pictures in the decoded picture buffer can be marked as the following three types:
  • pictures marked as "used for long term reference” can be stored in the decoding buffer area for a long time and affect the decoding of subsequent pictures until the application layer on the decoding end actively deletes the picture.
  • the pictures marked "used for short term reference” are cached in the decoding buffer for a relatively shorter time.
  • Pictures marked as "used for short term reference” have two marking modes: one is the "first in, first out” sliding window mode.
  • Figure 1 is a schematic diagram of using the sliding window mode to mark reference pictures. As shown in Figure 1, the picture that enters the decoding buffer first slides out of the decoding buffer. When a picture comes out of the decoding buffer, the mark of the picture changes from "used for short term reference” to "unused for reference”.
  • FIG. 2 is a schematic diagram of adaptive marking reference pictures. As shown in Figure 2, in this mode, the application layer on the decoder side uses syntax elements to change the mark of a picture from "used for short term reference” to "used for long term reference” or "unused for reference".
  • the technical solution provided in this application can be applied to the video frame transmission scenario of the XR service.
  • the encoding of the later generated video frame on the encoding side will refer to the previously generated video frame to achieve video compression.
  • the online video frame referenced by a certain video frame is not successfully transmitted, the video frame cannot be successfully decoded on the decoding side.
  • Figure 3 is a schematic diagram of a system architecture suitable for embodiments of the present application. As shown in Figure 3, the functions of the terminal equipment and each network entity are as described below.
  • Terminal equipment It can also be called user equipment (UE), access terminal, terminal equipment unit (subscriber unit), terminal equipment station, mobile station, mobile station (MS), remote station, remote terminal, Mobile device, user terminal, terminal, wireless communication device, terminal equipment agent or terminal equipment device.
  • UE user equipment
  • access terminal terminal equipment unit
  • terminal equipment station mobile station
  • mobile station mobile station
  • remote station remote terminal
  • Mobile device user terminal, terminal, wireless communication device, terminal equipment agent or terminal equipment device.
  • Radio access network used to implement wireless physical layer functions, resource scheduling and wireless resource management, Wireless access control and mobility management functions.
  • the RAN in the fifth generation (5G) system is connected to the user plane function (UPF) through the user plane interface N3 and is used to transmit data of terminal equipment; 5G-RAN uses the control plane interface N2 and AMF Establish a control plane signaling connection to implement functions such as wireless access bearer control.
  • UPF user plane function
  • Access and mobility management function used to provide transmission for session management messages between UE and SMF.
  • UPF External PDU session point interconnected with the data network.
  • Application function Interacts with the core network to provide some services, for example, interacts with the policy and control function (PCF) to provide business policy control.
  • PCF policy and control function
  • PCF Policy control function
  • DN Data network
  • FIG. 3 is only an exemplary network architecture, and the network architecture applicable to the embodiment of the present application is not limited thereto. Any network architecture that can realize the functions of each of the above network elements is applicable to the embodiment of the present application. Moreover, the system architecture in Figure 3 only shows the network elements that are mainly related to the embodiments of the present application and the interfaces between some network elements, and is not the complete architecture of the communication system.
  • the above network elements or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualization functions instantiated on a platform (for example, a cloud platform).
  • a platform for example, a cloud platform.
  • the above network element or function can be implemented by one device, or can be implemented by multiple devices together, or can be a functional module in one device, which is not specifically limited in the embodiments of this application.
  • the above-mentioned "network element” can also be called an entity, equipment, device or module, etc., which is not specifically limited in this application. Moreover, in order to facilitate understanding and explanation, the description of "network element” is omitted in some of the following descriptions.
  • the UPF network element is referred to as UPF.
  • UPF should be understood as UPF network element or UPF entity, which is omitted below. Description of the same or similar situation.
  • each network element in the solution can be replaced by other network elements with corresponding functions, and this application does not limit this.
  • Figure 4 is a schematic flow chart of an image processing method provided by this application.
  • the first network element obtains the first information from the application function network element.
  • the first network element may be a UPF network element or a RAN network element.
  • the first network element is specifically a UPF network element or a RAN network element, depending on who performs caching of the information unit (for example, frame or slice) received from the AF network element.
  • the UPF network element is configured to cache the received information unit
  • the first network element is the UPF network element.
  • the RAN network element no longer caches the information unit.
  • the first network element is the RAN network element.
  • the UPF network element does not cache the information unit.
  • the first information indicates the backward reference range of the first information unit of the image
  • the backward reference range is used to indicate the distance between the index of the second information unit and the index of the first information unit
  • Information units generated after the second information unit no longer refer to the first information unit.
  • the first information indicates the time parameter of the first information unit of the image
  • the time parameter is determined according to the backward reference range of the first information unit
  • the backward reference range is used to indicate the second information The distance between the index of the unit and the index of the first information unit. Information units generated after the second information unit no longer refer to the first information unit.
  • an information unit for example, information unit #2
  • information unit #2 directly refers to information unit #1 Encoding, or the reference relationship between information units in the embodiment of this application, refers to "direct reference” rather than "indirect reference”.
  • information unit #2 directly refers to information unit #2.
  • Unit #1, and information unit #5 can actually be considered to be an indirect reference to information unit #1.
  • the first information unit may be of frame granularity or slice granularity, without limitation.
  • the backward reference range of the first information unit refers to the distance between the index of the second information unit and the index of the first information unit.
  • the information units generated after the second information unit no longer refer to the first information unit.
  • the first information unit may be an information unit previously generated during the video encoding process at the encoding end.
  • Information units generated after the unit may be encoded with reference to the first information unit.
  • the backward reference range of the first information unit is M, it represents the distance between the index of the second information unit generated after the first information unit and the index of the first information unit. is M, and the information unit generated after the second information unit is no longer possible to be encoded with reference to the first information unit, and M is the value of the spacing indicated by the backward reference range.
  • the distance between the index of the information unit that is encoded with reference to the first information unit and the index of the first information unit is not greater than M.
  • the information units generated after the first information unit and encoded with reference to the first information unit may be one or more.
  • the multiple information units The distance between the index of any one information unit in the unit and the index of the first information unit is less than or equal to M.
  • FIG. 5 is a schematic diagram of the backward reference range proposed in this application.
  • frame #0 shown in Figure 5 is used as an example of the first information unit.
  • the index of frame #0 is 0.
  • the backward reference range of frame #0 is M, it means that in frame #0
  • the distance between the index of a frame generated later and the index of frame #0 is M, and the frame generated after this frame no longer refers to frame #0 for encoding.
  • the frame is frame #M shown in Figure 5.
  • the index of the frame generated after frame #0 and encoded with reference to frame #0 is less than or equal to M.
  • the frame in the range shown in the dotted box in Figure 5 may directly refer to frame #0, and is located in It is no longer possible for subsequent frames outside the dotted box to be encoded with reference to frame #0.
  • the backward reference range can also be understood this way: the backward reference range of an information unit is the maximum number of information units that the encoding end can encode after the information unit is generated by the encoding end from entering the encoding end's cache to exiting the cache. .
  • the encoding end may refer to the information unit when encoding the subsequently generated information unit. However, when the information unit is not in the cache, the encoding end may no longer directly encode the subsequently generated information unit. Refer to this information unit.
  • the backward reference range of the first information unit may be derived from the number of information units stored in the decoded picture buffer area.
  • MaxDpbMbs the maximum number of macroblocks in the decoded picture buffer (decoded picture buffer) of the application layer video codec.
  • MaxDpbMbs is related to the level of video encoding and decoding (lever). Different levels correspond to different parameters such as resolution and frame rate.
  • MaxDpbMbs determines the maximum number of reference frames, MaxDpbFrames, where MaxDpbFrames can be determined by the following formula:
  • PicWidthInMbs is the number of horizontal macroblocks
  • hrameGeightInMbs is the number of vertical macroblocks
  • the maximum number of reference frames is 16.
  • each picture in the decoded picture buffer can be marked as one of three types: "used for long term reference” or “used for short term reference” or “unused for reference”. Based on the backward reference range proposed in this application, the corresponding backward reference ranges for the above three types of pictures may be different.
  • a picture marked "used for long term reference” its backward reference range is M, and M can be greater than or equal to MaxDpbFrames. For example, it can be A times MaxDpbFrames, and A is an integer greater than 0.
  • the picture marked "used for short term reference” its backward reference range is M, and the value of M can be smaller than the value of the backward reference range M of the picture marked "used for long term reference”.
  • a picture marked "used for long term reference” has its backward reference range M set to 60; a picture marked "used for short term reference” has its backward reference range M set to 40.
  • their backward reference range M 0.
  • time parameter of the first information unit may refer to at least one of the maximum storage duration and the maximum allowed transmission duration of the first information unit.
  • the maximum storage duration is the duration from the first moment when the first network element receives the first information unit to the second moment when the first network element receives M information units generated after the first information unit.
  • the maximum storage time of frame #0 is from the moment the first network element receives frame #0 to the M information units generated after the first network element receives frame #0. (Specifically, the duration from frame #1 to frame #M).
  • the maximum allowed transmission duration is the duration from the first moment when the first network element receives the first information unit to the third moment when it is determined that the first network element will no longer send the first information unit to the terminal device.
  • the source side of the information unit is the AF network element
  • the destination side is the UE
  • the first network element may be a UPF network element or a RAN network element.
  • the UPF network element receives the information unit from the AF network element, sends the information unit to the RAN network element, and then the RAN network element sends the information unit to the UE.
  • the maximum allowed transmission duration of the first information unit may refer to the moment when the UPF network element receives the first information unit from the AF network element until the UPF network element determines that it will no longer send the first information unit to the terminal device (via the RAN network element). The length of time between moments of information units.
  • the maximum allowable transmission duration of the first information unit may refer to the time when the RAN network element receives the first information unit from the UPF network element, and when the RAN network element determines that it will no longer transmit the information. The length of time until the time when the first information unit is sent to the terminal device.
  • the first network element when the maximum allowed transmission duration is exceeded, even if the terminal device fails to receive the first information unit successfully, the first network element will not resend the first information unit to the terminal device.
  • the first network element may repeatedly send the first information unit to the terminal device. The repeated sending may be one or more times without limitation. Therefore, if the terminal device fails to successfully receive the first information unit initially sent by the first network element, within the maximum allowed transmission duration of the first information unit, the terminal device may successfully receive the second information unit by receiving a retransmission of the first information unit. An information unit. However, once the maximum allowed transmission duration is exceeded, even if the terminal device still fails to receive the first information unit successfully, the first network element will no longer transmit the first information unit.
  • Figure 6 is a schematic diagram of a method of obtaining the maximum allowed transmission duration according to the backward reference range.
  • the first network element may determine the time parameter of the first information unit according to the backward reference range.
  • the first network element processes the first information unit in the buffer area of the first network element according to the first information.
  • the first network element processes the first information unit in the buffer area of the first network element according to the first information, which may specifically include:
  • the first network element retains the first information unit in the cache area within the maximum storage time of the first information unit according to the first information. In other words, within the maximum storage time period, the first network element will not delete the first information unit from the cache area.
  • the first network element receives M information units generated after the first information unit. If it is determined that none of the M information units are encoded with reference to the first information unit, the first network element The first information unit can be deleted. After the maximum storage time is exceeded, since the subsequently generated information unit can no longer refer to the first information unit for encoding, the first network element can delete the first information unit from the buffer area.
  • the UPF network element can determine whether the M information units are encoded with reference to the first information unit by reading the header of the PDU set corresponding to each of the M information units. Specifically, the UPF network element can determine whether the M information units generated after the first information unit refer to the first information unit for encoding by detecting the header of each received information unit. Since the header of each information unit carries the sequence number (that is, RPS-SN) of the PDU set referenced by the information unit, UPF detects the header of each information unit received and can learn about each received The sequence number of the PDU set that each of the information units refers to.
  • the sequence number that is, RPS-SN
  • the M information units after the first information unit each refers to the previously generated information unit for encoding it is possible to know which of the M information units after the first information unit each refers to the previously generated information unit for encoding, or does not refer to any information unit. Encoding is performed, so it can be determined whether each of the M information units refers to the first information unit for encoding.
  • the first network element is a RAN network element
  • the UPF network element reads the header of the PDU set corresponding to the M information units and learns the
  • the information that each information unit refers to which previously generated information unit is encoded is encapsulated into the GTP-U header so that it can be read by the RAN network element.
  • Each of the M information units refers to information encoded by a previously generated information unit, and then it can be determined whether the M information units refer to the first information unit for encoding.
  • the RAN network element obtains M pieces of third information from the UPF network element, and the M pieces of third information correspond to the M pieces of information units generated after the first information unit.
  • Each third information among the three pieces of information is used to determine whether the corresponding information unit refers to the first information unit for encoding.
  • the RAN network element can determine whether the M information units generated after the first information unit refer to the first information unit for encoding.
  • the first network element determines based on the first information that the maximum allowed transmission duration of the first information unit has not been exceeded, or in other words, Within the maximum allowed transmission duration of the first information unit, the first network element repeatedly sends the first information unit to the terminal device. If, based on the first information, the first network element determines that the maximum allowed transmission duration of the first information unit has been exceeded, and the terminal device still fails to receive the first information unit successfully, the first network element will no longer send data to the terminal. The device sends the first information unit.
  • the first network element is a UPF network element, that is, the UPF network element caches the information unit from the encoding end. If the terminal device fails to receive the first information unit successfully, the RAN network element can send feedback information to the UPF network element. The feedback The information is used to indicate that the RAN network element has not successfully sent the first information unit to the terminal device.
  • the UPF network element determines one or more (for example, P (P is less than or equal to M, P is a positive integer) the third information unit is encoded with reference to the first information unit, then the UPF network element sends the first information unit and the one or more third information units to the RAN network element. Further, the RAN network element sends the first information unit and the one or more third information units to the terminal device again.
  • P third information units do not refer to P identical information units, but are a collective name for P information units generated after the first information unit and encoded with reference to the first information unit, which will not be discussed further below. Repeat instructions.
  • the terminal device successfully receives the first information unit, and the first network element (UPF network element or RAN network element) determines that the first information unit has been retrieved from the buffer area of the first network element, Delete, the first network element deletes one or more third information units that are encoded with reference to the first information unit from the cache area. It should be noted that since the one or more third information units are encoded with reference to the first information unit, and the first information unit is not successfully received at the UE side, the one or more third information units are also not received at the UE side.
  • the first network element UPF network element or RAN network element
  • the first network element can determine at least one parameter of the maximum storage duration and the maximum allowed transmission duration of the first information unit based on the first information.
  • the maximum storage duration can be used by the first network element to determine how long to cache the first information unit, or when the first information unit can be deleted from the cache area without affecting the decoding of information units generated after the first information unit.
  • the maximum allowed transmission duration can assist the first network element in transmitting the first information unit.
  • the first network element can obtain the first information from the AF network element in two ways.
  • the AF network element can send the first information to the first network element through the control plane signaling transmission path.
  • FIG 7 is a schematic diagram of an AF network element transmitting a backward reference range through a control plane transmission path.
  • the AF network element communicates to the first network element (UPF) through control plane signaling.
  • UPF first network element
  • network element or RAN network element to send the first information.
  • each message shown in Figure 7 is known to those skilled in the art. For example, you can refer to the protocol TS 23.502v17.2.1, which will not be described in detail here.
  • the backward reference range changes frequently, and the AF network element can send the first information to the first network element through "transmission along the road".
  • the application layer of the AF network element carries the first information of the PDU set (backward reference range or time parameter) in each PDU set.
  • a fixed number of bits can be used to specify the backward reference range or time parameter of the PDU set at a specified position in the header of the first data packet of the PDU set.
  • a fixed number of bits can be used to specify the backward reference range or time parameter of the PDU set at a designated position in the header of each data packet in the PDU set.
  • the UPF network element after the UPF network element obtains the backward reference range or time parameter carried by the PDU set, the UPF network element will The range or time parameters are taken out and placed in the designated position of the tunnel transmission protocol (GPRS tunnel protocol for user plane, GTP-U) header of the user plane.
  • GPRS stands for general packet radio services (general packet radio services) to facilitate the RAN network. Yuan obtains the backward reference range or time parameter of the PDU set.
  • Figure 8 is a schematic diagram of the backward reference range of each information unit transmitted along the path.
  • Figure 8 shows an example of the backward reference range of three PDU sets transmitted along the road.
  • the three PDU sets are PDU set#0, PDU set#1 and PDU set#2 as shown in Figure 8.
  • the information unit generated by the AF network element is encoded, passes through the UPF network element and the RAN network element, and is finally sent to the UE.
  • Each information unit in the buffer area of the AF network element corresponds to one of the following three types of reference marks: "used for long term reference”, "used for short term reference” or "unused for reference”.
  • the first network element receives an information unit from the AF network element, and also includes a reference mark for receiving the information unit.
  • the AF network element also needs to notify the first network element of the update of the reference mark of the information unit on the encoding side.
  • the first network element also modifies the reference mark of the information unit accordingly and modifies the backward reference range of the information unit to The backward reference range corresponding to the updated reference mark.
  • an information unit whose reference mark is "used for long term reference” may have its reference mark modified to "used for short term reference” or “unused for reference”, and the backward reference range of this information unit is correspondingly changed to "used for short term reference” or “unused for reference”.
  • the value of the backward reference range corresponding to "used for long term reference” is modified to the value of the backward reference range corresponding to "used for short term reference” or the value of the backward reference range corresponding to "unused for reference”. If the application layer of the AF network element uniformly marks the pictures in the buffer area as "unused for reference”, it is necessary to modify the values of the backward reference range of all pictures before changing the reference mark to 0, and notify the change The first network element.
  • the backward reference range of the information unit marked “used for short term reference” is the range of the information unit "used for short term reference” currently stored in the buffer area.
  • the number is the number of information units that remove "used for long term reference” from MaxDpbFrames.
  • the initial backward reference range of an information unit whose reference mark is "used for short term reference” is the same as the backward reference range in the sliding window mode in Figure 2.
  • the first network element receives the first change signaling and the second information from the AF network element.
  • the first change signaling is used to indicate that the reference mark of the first information unit is changed from the first reference mark to the second reference mark, and the first reference mark and the second reference mark are different.
  • the first change signaling carries the identity of the first information unit.
  • the second information is used to indicate the backward reference range corresponding to the second reference mark.
  • the first network element modifies the reference mark of the first information unit to the second reference mark according to the first change signaling and the second information, and modifies the backward reference range of the first information unit to the backward reference range corresponding to the second reference mark. towards the reference range.
  • the first change signaling can be transmitted from the AF network element to the first network element through control plane signaling, such as the transmission path in Figure 7.
  • the AF network element can also use "channel associated signaling" to provide the first network element with the updated reference mark of the first information unit and the updated reference mark.
  • the information carried in the first change signaling (specifically, the second reference mark and the identification of the first information unit) may also be transmitted from the AF network element to the first network element through the "transmission along the way" transmission path.
  • the first network element is a UPF network element, and the UPF network element caches the received information unit.
  • Figure 9 is an example of an image processing method provided by this application.
  • the UPF network element receives the information unit sequence from the AF network element.
  • the information unit sequence refers to a series of information units generated by the AF network element (or considered as the encoding end).
  • the following uses any information unit (for example, the first information unit) in the information unit sequence as an example to illustrate the application of the backward reference range proposed in this application.
  • the UPF network element sends the received information unit sequence to the RAN network element, and then the RAN network element sends the received information unit sequence to the UE.
  • the UPF network element caches the received information units according to certain caching rules.
  • Each information unit in the buffer corresponds to a reference tag.
  • the UPF network element receives the first information from the AF network element.
  • the UPF network element obtains the backward reference range or time parameter of the first information unit according to the first information.
  • the UPF network element receives the first change signaling and the second information from the AF network element.
  • the UPF network element updates the reference mark and backward reference range of the first information unit according to the first change signaling and the second information.
  • the RAN network element sends feedback information to the UPF network element, and the feedback information is used to indicate that the RAN network element fails to send the first information unit to the UE.
  • the UPF network element receives feedback information from the RAN network element.
  • the UPF network element determines that the first information unit is still stored in the cache area, and the P third information units generated are encoded with reference to the first information unit.
  • the UPF network element executes step 508.
  • the UPF network element repeatedly sends the first information unit and P to the RAN network element within the maximum allowed transmission duration of the first information unit. a third information unit.
  • the RAN network element sends the first information unit and P third information units to the UE. It can be understood that here, the RAN network element actually retransmits the first information unit to the UE. In addition, several later generated information units encoded with reference to the first information unit are also sent to the UE.
  • step 509 Another possible situation after the UPF network element receives the feedback information from the RAN network element is step 509.
  • the UPF network element determines that the first information unit has been deleted from the cache area. If the P third information units generated after the determination refer to the first information unit for encoding, the UPF network element deletes the P third information units from the cache area. The third information unit.
  • the UPF network element can obtain at least one of the maximum storage duration and the maximum allowed transmission duration of the first information unit based on the first information. Caching or transmitting the first information unit according to the maximum storage time or the maximum allowed transmission time of the first information unit can avoid inefficient video transmission caused by the UPF network element randomly discarding information units (such as frames or slices), and can improve video transmission. performance.
  • the first network element is a RAN network element, and the RAN network element caches the received information units.
  • Figure 10 is an example of an image processing method provided by this application.
  • the RAN network element receives the information unit sequence from the UPF network element.
  • the information unit sequence is generated by the AF network element and sent to the UPF network element.
  • the RAN network element sends the received information unit sequence to the UE.
  • the RAN network element caches the received information units according to certain caching rules.
  • Each information unit in the buffer corresponds to a reference tag.
  • the RAN network element receives the first information from the UPF network element.
  • the first information is sent by the AF network element to the UPF network element.
  • the RAN network element obtains the backward reference range or time parameter of the first information unit according to the first information.
  • the RAN network element receives the first change signaling and the second information from the UPF network element.
  • the first change signaling and the second information are sent by the UPF network element to the UPF network element.
  • the RAN network element updates the reference mark and backward reference range of the first information unit according to the first change signaling and the second information.
  • the UE sends feedback information to the RAN network element, and the feedback information is used to indicate that the UE fails to receive the first information unit successfully.
  • the RAN network element receives the information that the first information unit was not successfully received as fed back by the UE.
  • the UE can pass the hybrid automatic repeat request (HARQ) information through the media access control (MAC) layer, or through the packet data convergence protocol (PDCP) layer or
  • MAC media access control
  • PDCP packet data convergence protocol
  • RRC radio resource control
  • a possible situation is as shown in step 607.
  • the RAN network element determines that the first information unit is still stored in the cache area, and the P third information units generated later are encoded with reference to the first information unit.
  • the RAN network element can determine whether the M information units generated after the first information unit refer to the first information unit for encoding based on the M pieces of third information provided by the UPF.
  • the UPF network element executes step 608.
  • the RAN network element sends the first information unit and P third information units to the UE within the maximum allowed transmission duration of the first information unit.
  • step 609 Another possible situation after the RAN network element receives the feedback information from the UE is step 609.
  • the RAN network element determines that the first information unit has been deleted from the cache area. If the P third information units generated after the determination refer to the first information unit for encoding, the RAN network element deletes the P third information units from the cache area. The third information unit.
  • the RAN network element can obtain at least one of the maximum storage duration and the maximum allowed transmission duration of the first information unit based on the first information. According to the maximum storage time of the first information unit Or cache or transmit the first information unit according to the maximum allowed transmission time, which can avoid inefficient video transmission caused by random discarding of information units (such as frames or slices) by RAN network elements, and can improve video transmission performance.
  • Figure 11 is a schematic block diagram of an image processing device provided by this application.
  • the device 1000 includes a processing unit 1100, a storage unit 1200 and a transceiver unit 1300.
  • the storage unit 1200 is used to store the received information unit
  • the transceiver unit 1300 is used to obtain the first information from the application function network element, where,
  • the first information indicates a backward reference range of the first information unit of the image, the backward reference range is used to indicate a distance between an index of the second information unit and an index of the first information unit, and the third The information unit generated after the second information unit no longer refers to the first information unit; or,
  • the first information indicates the temporal parameter of the first information unit of the image
  • the temporal parameter is determined according to the backward reference range of the first information unit
  • the backward reference range is used to indicate the second information unit.
  • the distance between the index and the index of the first information unit, the information unit generated after the second information unit no longer refers to the first information unit;
  • the processing unit 1100 is configured to process the first information unit in the storage unit 1200 according to the first information.
  • the processing unit 1100 is further configured to:
  • the time parameter is determined based on the backward reference range.
  • the time parameter includes at least one of the maximum storage duration and the maximum allowed transmission duration of the first information unit, wherein,
  • the maximum storage duration is from the first time when the device receives the first information unit to the second time when the device receives M information units generated after the first information unit.
  • the duration of the interval, M is the value of the interval indicated by the backward reference range, and M is an integer;
  • the maximum allowed transmission duration is from the first moment when the device receives the first information unit to the third moment when it is determined that the device will no longer send the first information unit to the terminal device. of duration.
  • each information unit stored in the storage unit 1200 corresponds to a reference mark
  • the reference mark corresponding to each information unit is one of the following three types: for long-term reference , used for short-term reference and not used for reference, wherein the three types respectively correspond to different backward reference ranges.
  • the first information unit corresponds to a first reference mark
  • the transceiver unit 1300 is further configured to obtain first change signaling and second information from the application function network element, where the first change signaling is used to indicate that the reference mark of the first information unit is determined by the The first reference mark is changed to a second reference mark, and the second information is used to indicate the backward reference range corresponding to the second reference mark, wherein the first change signaling carries the identity of the first information unit , the type of the first reference mark and the type of the second reference mark are different;
  • the processing unit 1100 is further configured to modify the reference mark of the first information unit to the second reference mark according to the first change signaling and the second information, and change the first information unit to the second reference mark.
  • the backward reference range of the unit is modified to the backward reference range corresponding to the second reference mark.
  • the transceiver unit 1300 is used for:
  • a first set of PDUs is received from the application function network element, the first set of PDUs containing the first information of the first information unit.
  • the storage unit 1200 is configured to retain the first information unit in the cache within the maximum storage duration according to the first information.
  • the transceiver unit 1300 is configured to receive M information units generated after the first information unit;
  • the processing unit 1100 is configured to delete the first information unit if it is determined that none of the M information units is encoded with reference to the first information unit within the maximum storage time period.
  • the device is a RAN network element, and the transceiver unit 1300 is used for:
  • M pieces of third information are obtained from the UPF network element.
  • the M pieces of third information correspond to the M pieces of information units one-to-one.
  • Each of the M pieces of third information is used to determine the corresponding information. Whether the unit refers to the first information unit for encoding;
  • the processing unit 1100 is configured to determine, according to the M pieces of third information, that none of the M information units are encoded with reference to the first information unit.
  • the transceiver unit 1300 is also configured to receive the first information unit from the application function network element;
  • the storage unit 1200 is used to save the first information unit into the cache area of the first network element
  • the transceiver unit 1300 is also used to send the first information unit to the terminal device;
  • the processing unit 1100 is also used to determine that the terminal device has not successfully received the first information unit
  • the transceiver unit 1300 is also configured to repeatedly send the first information unit to the terminal device within the maximum transmission delay.
  • processing unit 1100 is also used to:
  • the terminal device still has not correctly received the first information unit when the maximum transmission duration is exceeded, and it is determined that the first information unit is no longer sent to the terminal device.
  • the device is a UPF network element
  • the transceiver unit 1300 is configured to receive the first information unit from the application function network element;
  • the cache unit 1200 is used to save the first information unit into the cache area of the first network element
  • the transceiver unit 1300 is also configured to receive feedback information from the RAN network element, where the feedback information is used to indicate that the RAN network element has not successfully sent the first information unit to the terminal device;
  • the processing unit 1100 is configured to determine that the first information unit is retained in the buffer area of the first network element, and that one or more third information units generated after the first information unit refer to the first information unit.
  • An information unit is encoded;
  • the transceiver unit 1300 is configured to send the first information unit and the one or more third information units to the RAN network element.
  • the processing unit 1100 is configured to determine that the terminal device has not successfully received the first information unit, and the first information unit has been retrieved from the buffer area of the first network element. been deleted;
  • the cache unit 1200 is configured to delete one or more third information units encoded with reference to the first information unit from the cache.
  • the device is a RAN network element or a UPF network element.
  • the processing unit 1100 is configured to perform processing and/or operations implemented internally by the UPF network element in addition to actions of sending and receiving.
  • the transceiver unit 1300 is used to perform the receiving or sending action of the UPF network element.
  • the transceiver unit 1300 is configured to perform the action of receiving the first information in step 410 ; the processing unit 1100 is configured to perform step 420 .
  • the storage unit 1200 is used to store the received information unit sequence from the application function network element (not shown in Figure 4).
  • the transceiver unit 1300 is used to perform the actions received in step 501, step 502, step 504, and step 506; it is also used to perform the action of sending the information unit sequence to the RAN network element, and the action sent in step 508.
  • the processing unit 1100 is used to execute step 503, step 505, step 507 and step 509.
  • the storage unit 1300 is used to cache information units received from the AF network element.
  • the processing unit 1100 is configured to perform processing and/or operations implemented internally by the RAN network element in addition to actions of sending and receiving.
  • the transceiver unit 1300 is used to perform receiving or transmitting actions of the RAN network element.
  • the transceiver unit 1300 is configured to perform the action of receiving the first information in step 410 ; the processing unit 1100 is configured to perform step 420 .
  • the storage unit 1200 is used to store the received information unit sequence from the application function network element (not shown in Figure 4).
  • the transceiver unit 1300 is used to perform the actions received in step 601, step 602, step 604 and step 606; it is also used to perform the action of sending the information unit sequence to the UE, and the action of sending in step 608;
  • the processing unit 1100 is used to execute step 603, step 605, step 607 and step 609.
  • the storage unit 1300 is used to cache information units received from the UPF network element.
  • Figure 12 is a schematic structural diagram of an image processing device provided by this application.
  • the device 10 includes: one or more processors 11 , one or more memories 12 and one or more communication interfaces 13 .
  • the processor 11 is used to control the communication interface 13 to send and receive signals
  • the memory 12 is used to store a computer program
  • the processor 11 is used to call and run the computer program from the memory 12, This causes the device 10 to perform the processing performed by the first network element in each method embodiment of the present application.
  • the processor 11 may have the function of the processing unit 1100 shown in FIG. 11
  • the memory 12 may have the function of the storage unit 1200
  • the communication interface 13 may have the function of the transceiver unit 1300 .
  • the processor 11 may be used to perform processing or operations performed internally by the device
  • the memory may be used to perform operations of caching and deleting information units from the cache
  • the communication interface 13 is used to perform operations of sending and/or receiving by the device. .
  • the device 10 may be the first network element in the method embodiment.
  • the communication interface 13 may be a transceiver of the first network element.
  • a transceiver may include a receiver and/or a transmitter.
  • the processor 11 may be a baseband device of the first network element, and the communication interface 13 may be a radio frequency device.
  • the device 10 may be a chip (or chip system) installed in the first network element.
  • communication interface 13 may be an interface circuit or an input/output interface.
  • the dotted box behind the device indicates that there can be more than one device.
  • the memory and the processor in the above device embodiments may be physically independent units, or the memory may be integrated with the processor, which is not limited herein.
  • this application also provides a computer-readable storage medium.
  • Computer instructions are stored in the computer-readable storage medium. When the computer instructions are run on the computer, each method embodiment of the application is executed by the first network element. operations and/or processing are performed.
  • this application also provides a computer program product.
  • the computer program product includes computer program code or instructions. When the computer program code or instructions are run on the computer, the operations performed by the first network element in each method embodiment of the application are performed. and/or processing is performed.
  • the present application also provides a chip.
  • the chip includes a processor.
  • a memory used to store a computer program is provided independently of the chip.
  • the processor is used to execute the computer program stored in the memory, so that a device equipped with the chip executes Operations and/or processes performed by the first network element in any method embodiment.
  • the chip may also include a communication interface.
  • the communication interface may be an input/output interface, or an interface circuit, etc.
  • the chip may further include the memory.
  • this application also provides a communication device (for example, it can be a chip or a chip system), including a memory, a processor and a communication interface.
  • the communication interface is used to receive the first information and send the first information to the processing processor; the processor is configured to process the first information unit cached in the memory according to the first information.
  • the present application also provides a communication device, including at least one processor, the at least one processor is coupled to at least one memory, and the at least one processor is used to execute a computer program or instructions stored in the at least one memory, The communication device is caused to perform the operation and/or processing performed by the first network element in any method embodiment.
  • this application also provides a wireless communication system, including UPF network elements and RAN network elements in various embodiments of this application.
  • UPF network elements and RAN network elements in various embodiments of this application.
  • AF network elements optionally, terminal equipment may also be included.
  • a and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. three conditions. Among them, the number of A is not limited, it can be one or more than one, and the number of B is not limited, it can be one or more than one.
  • the processor mentioned in the embodiments of this application can be a central processing unit (CPU), or other general-purpose processor, digital signal processor (DSP), application specific integrated circuit (application specific integrated circuit) circuit, ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • the memory in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories.
  • non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically removable memory.
  • ROM read-only memory
  • PROM programmable ROM
  • EPROM erasable programmable read-only memory
  • Erase programmable read-only memory electrically EPROM, EEPROM
  • Volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous link dynamic random access memory
  • direct rambus RAM direct rambus RAM
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code. .

Abstract

The present application relates to a method for processing an image, and an apparatus. In the method, by using a backward reference range, an encoding side of an image indicates a reference relationship between information units of the image during an encoding process. A first network element receives first information from the encoding side, wherein the first information indicates a backward reference range of a first information unit of the image or time parameters determined by the backward reference range, and since the backward reference range reflects the situation that an information unit generated after the first information unit performs encoding with reference to the first information unit, the first information can provide a basis for the first network element to improve the transmission guarantee and cache of the information unit; and after acquiring the first information, the first network element performs caching or transmission on the first information unit in a cache region according to the backward reference range indicated by the first information or the time parameters indicated by the first information. In this way, the image transmission performance can be improved, for example, the transmission efficiency is improved, the frame loss rate is reduced and the like.

Description

处理图像的方法和装置Image processing methods and devices
本申请要求于2022年7月21日递交中国国家知识产权局、申请号为“202210864123.4”、申请名称为“一种依赖关系的指示方法、终端设备、网络设备”的中国专利申请的优先权、以及于2022年8月9日递交中国国家知识产权局、申请号为“202210952281.5”、申请名称为“处理图像的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requests the priority of the Chinese patent application submitted to the State Intellectual Property Office of China on July 21, 2022, with the application number "202210864123.4" and the application title "A dependency indication method, terminal equipment, and network equipment". As well as the priority of the Chinese patent application submitted to the State Intellectual Property Office of China on August 9, 2022, with the application number "202210952281.5" and the application title "Method and Device for Processing Images", the entire content of which is incorporated into this application by reference. middle.
技术领域Technical field
本申请实施例涉及图像处理领域,更具体地,涉及一种处理图像的方法和装置。The embodiments of the present application relate to the field of image processing, and more specifically, to a method and device for processing images.
背景技术Background technique
在视频编解码技术中,视频帧的编码可以以帧(frame)或分片(slice)为粒度。根据现有的视频编码标准,一个frame是完整的一个图片,一个slice是图片中的部分区域,其编码与该图片中的其它区域分开。对于frame,存在I frame和P frame,I frame可以独立解码,P frame的解码需要参考其它frame。slice也是类似的,I slice可以独立解码,而P slice的解码需要参考其它的slice。在扩展现实(extended reality,XR)媒体服务中,一个PDU set由一个或多个PDU组成,包含应用层产生的一个单位(例如一个frame或一个slice)的信息。PDU set之间的参考关系对于提升通信系统的视频传输效率具有重要作用。In video coding and decoding technology, video frames can be encoded at frame or slice granularity. According to the existing video coding standards, a frame is a complete picture, and a slice is a partial area in the picture, which is coded separately from other areas in the picture. For frame, there are I frame and P frame. I frame can be decoded independently, and the decoding of P frame needs to refer to other frames. The slice is similar. I slice can be decoded independently, while the decoding of P slice needs to refer to other slices. In extended reality (XR) media services, a PDU set consists of one or more PDUs, containing information of a unit (such as a frame or a slice) generated by the application layer. The reference relationship between PDU sets plays an important role in improving the video transmission efficiency of the communication system.
发明内容Contents of the invention
有的技术是在一个PDU set中携带该PDU set的序列号(PDU set sequence number,PDU-SN)和参考PDU set的序列号(reference PDU set sequence number,RPS-SN)。其中,RPS-SN用于指示该当前PDU set所参考的PDU set的序列号。在该技术中,PDU set之间的参考关系是基于前向参考的,只有在所参考的PDU set被成功传输的前提下,发送该当前PDU set才是有意义的。而在所参考的PDU set没有被成功传输的情况下,当前PDU set中携带的RPS-SN被第五代核心网(the fifth generation core,5GC)或无线接入网(radio access network,RAN)用来决定丢弃所有参考该RPS的PDU set。Some technologies carry the sequence number of the PDU set (PDU set sequence number, PDU-SN) and the sequence number of the reference PDU set (reference PDU set sequence number, RPS-SN) in a PDU set. Among them, RPS-SN is used to indicate the sequence number of the PDU set referenced by the current PDU set. In this technology, the reference relationship between PDU sets is based on forward reference. It is meaningful to send the current PDU set only if the referenced PDU set is successfully transmitted. When the referenced PDU set is not successfully transmitted, the RPS-SN carried in the current PDU set is used by the fifth generation core network (the fifth generation core, 5GC) or the radio access network (radio access network, RAN). Used to decide to discard all PDU sets referencing this RPS.
但是,提供PDU set所参考的PDU set的序列号(即提供RPS-SN),仅能用于5GC或RAN决定是否丢弃该PDU set,对于5GC或RAN提高PDU set的传输性能(例如,提升传输效率,降低丢帧率等)助益不大。However, providing the sequence number of the PDU set referenced by the PDU set (that is, providing RPS-SN) can only be used by 5GC or RAN to decide whether to discard the PDU set. For 5GC or RAN, it can improve the transmission performance of PDU set (for example, improve transmission Efficiency, reducing frame loss rate, etc.) does not help much.
为了解决上述的技术问题,本申请提供一种处理图像的方法和装置,可以提高图像的传输性能。In order to solve the above technical problems, this application provides an image processing method and device, which can improve image transmission performance.
第一方面,提供了一种处理图像的方法,该方法包括:The first aspect provides a method for processing images, which method includes:
第一网元从应用功能网元获取第一信息,其中,The first network element obtains the first information from the application function network element, where,
第一信息指示图像的第一信息单元的后向参考范围,后向参考范围用于指示第二信息单元的索引和第一信息单元的索引之间的间距,第二信息单元之后产生的信息单元不再参考第一信息单元;或者,The first information indicates the backward reference range of the first information unit of the image. The backward reference range is used to indicate the distance between the index of the second information unit and the index of the first information unit. The information unit generated after the second information unit No further reference is made to the first information unit; or,
第一信息指示图像的第一信息单元的时间参数,时间参数是根据第一信息单元的后向参考范围确定的,后向参考范围用于指示第二信息单元的索引和第一信息单元的索引之间的间距,第二信息单元之后产生的信息单元不再参考第一信息单元;The first information indicates the temporal parameter of the first information unit of the image. The temporal parameter is determined according to the backward reference range of the first information unit. The backward reference range is used to indicate the index of the second information unit and the index of the first information unit. The spacing between them means that information units generated after the second information unit no longer refer to the first information unit;
第一网元根据第一信息,对第一网元的缓存区中的第一信息单元进行处理。The first network element processes the first information unit in the buffer area of the first network element according to the first information.
在本技术方案中,图像的编码侧(例如应用功能网元)采用后向参考范围来指示编码过程中图像的信息单元(例如帧或分片)之间的参考关系。编码侧向第一网元发送第一信息,第一信息用于指示第一信息单元的后向参考范围或由后向参考范围确定的时间参数。第一网元获取到第一信息之后,可以获得第一信息单元的时间参数。由于时间参数是根据第一信息单元的后向参考范围确定的,而后向参考范围反映了第一信息单元之后产生的信息单元参考第一信息单元进行编码的情况,因此,时间参数可以为第一网元提高信息单元的传输保障以及缓存提供依据。第一网元根据该时间参数,对缓存区 中的第一信息单元进行缓存或传输,相比于盲目地决定第一信息单元的缓存时长或传输时长,并随机丢弃缓存区中的信息单元而影响到第一信息单元之后产生的其它信息单元的解码而言,第一网元对第一信息单元执行的缓存和传输等相关处理更加合理化,从而可以提升图像传输性能。例如,可以降低丢帧率、降低因随机丢包导致的资源浪费,提升传输效率等。In this technical solution, the encoding side of the image (such as the application function network element) uses the backward reference range to indicate the reference relationship between the information units (such as frames or slices) of the image during the encoding process. The encoding side sends first information to the first network element, where the first information is used to indicate the backward reference range of the first information unit or the time parameter determined by the backward reference range. After the first network element obtains the first information, it can obtain the time parameter of the first information unit. Since the time parameter is determined based on the backward reference range of the first information unit, and the backward reference range reflects the situation in which information units generated after the first information unit are encoded with reference to the first information unit, the time parameter may be the first information unit. Network elements improve the transmission guarantee of information units and provide a basis for caching. The first network element caches the buffer area according to the time parameter. Compared with blindly deciding the cache duration or transmission duration of the first information unit, and randomly discarding the information units in the cache area to affect other information units generated after the first information unit. In terms of decoding, the related processing such as caching and transmission performed by the first network element on the first information unit is more rational, thereby improving image transmission performance. For example, it can reduce the frame loss rate, reduce resource waste caused by random packet loss, and improve transmission efficiency.
在一种可能的实现方式中,若第一信息指示第一信息单元的后向参考范围,该方法还包括:第一网元根据后向参考范围,确定时间参数。In a possible implementation manner, if the first information indicates the backward reference range of the first information unit, the method further includes: the first network element determines the time parameter according to the backward reference range.
在该实现方式中,编码侧如果向第一网元指示第一信息单元的后向参考范围,而非第一信息单元的时间参数,第一网元可以将后向参考范围折算为时间参数,可以增加编码侧向第一网元指示信息单元后向参考关系的灵活性。In this implementation, if the encoding side indicates to the first network element the backward reference range of the first information unit instead of the time parameter of the first information unit, the first network element can convert the backward reference range into a time parameter, The flexibility of the encoding side indicating the backward reference relationship of the information unit to the first network element can be increased.
可选地,相对于第一信息指示时间参数,如果第一信息指示后向参考范围,可以减小由于数据包抖动带来的影响,为第一网元提供更加准确的用于缓存或传输信息单元的依据。Optionally, compared to the first information indicating the time parameter, if the first information indicates the backward reference range, the impact caused by data packet jitter can be reduced and the first network element can be provided with more accurate information for caching or transmitting. basis of the unit.
在一种可能的实现方式中,时间参数包括第一信息单元的最大保存时长和最大允许传输时长中的至少一项,其中,最大保存时长为从第一网元接收到第一信息单元的第一时刻开始,到第一网元接收到在第一信息单元之后产生的M个信息单元的第二时刻为止之间的时长,M为后向参考范围所指示的间距的数值,M为整数;最大允许传输时长为从第一网元接收到第一信息单元的第一时刻开始,到确定第一网元不会再向终端设备发送第一信息单元的第三时刻为止之间的时长。In a possible implementation, the time parameter includes at least one of a maximum storage duration and a maximum allowed transmission duration of the first information unit, where the maximum storage duration is the first information unit received from the first network element. The duration from the beginning of a moment to the second moment when the first network element receives M information units generated after the first information unit, M is the value of the spacing indicated by the backward reference range, and M is an integer; The maximum allowed transmission duration is the duration from the first moment when the first network element receives the first information unit to the third moment when it is determined that the first network element will no longer send the first information unit to the terminal device.
在该实现方式中,第一信息单元的时间参数主要包括第一信息单元在第一网元的缓存区中的最大保存时长,以及第一信息单元的最大允许传输时长。第一网元在最大保存时长内不会从缓存区中删除第一信息单元,以免第一信息单元之后产生的其它信息单元参考第一信息单元编码,而第一信息单元过早删除,导致参考第一信息单元进行编码的这些信息单元在解码侧无法成功解码,从而降低图像传输效率,并浪费资源调度。此外,如果第一信息单元未被解码侧(例如UE)成功接收,第一网元在最大允许传输时长内,可以对第一信息单元重复进行传输,以提升解码侧的接收成功率。并且,在最大允许传输时长内,如果存在第一信息单元之后产生的其它信息单元参考第一信息单元进行编码,通过重传也可以提升后产生且参考了第一信息单元进行编码的这些信息单元在解码侧的解码成功率,直到第一信息单元失去传输价值(或者说超出最大允许传输时长)。在最大保存时长和最大允许传输时长的辅助下,可以提升解码侧的解码成功率,降低传输资源的浪费和对无效信息单元的调度,以及提升图像传输性能。In this implementation, the time parameter of the first information unit mainly includes the maximum storage time of the first information unit in the cache area of the first network element, and the maximum allowed transmission time of the first information unit. The first network element will not delete the first information unit from the cache area within the maximum storage time, so as to prevent other information units generated after the first information unit from referring to the first information unit code, and the first information unit is deleted prematurely, resulting in reference These information units encoded by the first information unit cannot be successfully decoded on the decoding side, thereby reducing image transmission efficiency and wasting resource scheduling. In addition, if the first information unit is not successfully received by the decoding side (for example, the UE), the first network element can repeatedly transmit the first information unit within the maximum allowed transmission duration to improve the reception success rate of the decoding side. Moreover, within the maximum allowed transmission duration, if there are other information units generated after the first information unit that are encoded with reference to the first information unit, these information units that are generated and encoded with reference to the first information unit can also be promoted through retransmission. Decoding success rate on the decoding side until the first information unit loses transmission value (or exceeds the maximum allowed transmission duration). With the assistance of the maximum storage duration and the maximum allowed transmission duration, the decoding success rate on the decoding side can be improved, the waste of transmission resources and the scheduling of invalid information units can be reduced, and the image transmission performance can be improved.
示例性地,第一信息单元失去传输价值可以是指后续的信息单元不再直接参考第一信息单元进行编码(或者说第一信息单元对于后续产生的信息单元的解码不再具有参考作用),或者是已经超出第一信息单元的最大允许传输时长(或者说,第一信息单元已是无效的信息单元)等情况。For example, the loss of transmission value of the first information unit may mean that subsequent information units no longer directly refer to the first information unit for encoding (or that the first information unit no longer has a reference role in decoding subsequent information units), Or the maximum allowed transmission duration of the first information unit has been exceeded (or the first information unit is an invalid information unit).
在一种可能的实现方式中,第一网元的缓存区中的每个信息单元对应一个参考标记,每个信息单元所对应的参考标记为如下三种类型之一:用于长期参考、用于短期参考和不用于参考,其中,三种类型分别对应不同的后向参考范围。In a possible implementation, each information unit in the cache area of the first network element corresponds to a reference mark, and the reference mark corresponding to each information unit is one of the following three types: for long-term reference, for user use. For short-term reference and not for reference, the three types respectively correspond to different backward reference ranges.
在该实现方式中,针对不同类型的参考标记,分别设置不同的后向参考范围的取值,可以根据信息单元之间的参考关系的客观情况,来设定不同信息单元的后向参考范围的取值,以提升传输性能。In this implementation, different backward reference range values are set for different types of reference marks. The backward reference range values of different information units can be set according to the objective conditions of the reference relationship between information units. value to improve transmission performance.
在一种可能的实现方式中,第一信息单元对应第一参考标记;该方法还包括:In a possible implementation, the first information unit corresponds to the first reference mark; the method further includes:
第一网元从应用功能网元获取第一改变信令和第二信息,第一改变信令用于指示第一信息单元的参考标记由第一参考标记改变为第二参考标记,第二信息用于指示第二参考标记对应的后向参考范围,其中,第一改变信令携带第一信息单元的标识,第一参考标记的类型和第二参考标记的类型不同;The first network element obtains first change signaling and second information from the application function network element. The first change signaling is used to indicate that the reference mark of the first information unit is changed from the first reference mark to the second reference mark. The second information Used to indicate the backward reference range corresponding to the second reference mark, wherein the first change signaling carries the identity of the first information unit, and the type of the first reference mark is different from the type of the second reference mark;
第一网元根据第一改变信令和第二信息,将第一信息单元的参考标记修改为第二参考标记,并将第一信息单元的后向参考范围修改为第二参考标记对应的后向参考范围。The first network element modifies the reference mark of the first information unit to the second reference mark according to the first change signaling and the second information, and modifies the backward reference range of the first information unit to the backward reference range corresponding to the second reference mark. towards the reference range.
在该实现方式中,编码侧(例如,AF网元)更新某个信息单元的参考标记后,该信息单元的后向参考范围随之改变,因此编码侧需要将该信息单元的后向参考范围的更新通知第一网元,以便于第一网元同步更新该信息单元的后向参考范围。第一网元根据更新后的后向参考范围来确定该信息单元的时间参数(如最大保存时长和最大允许传输时长),可以动态适应信息单元之间的参考关系的客观变化,以保持稳定的图像传输效率和传输性能。In this implementation, after the encoding side (for example, AF network element) updates the reference mark of an information unit, the backward reference range of the information unit changes accordingly. Therefore, the encoding side needs to change the backward reference range of the information unit. Notify the first network element of the update, so that the first network element can synchronously update the backward reference range of the information unit. The first network element determines the time parameters of the information unit (such as the maximum storage duration and the maximum allowed transmission duration) based on the updated backward reference range, and can dynamically adapt to objective changes in the reference relationship between information units to maintain a stable Image transmission efficiency and transmission performance.
在一种可能的实现方式中,第一网元从应用功能网元获取第一信息,包括: In a possible implementation, the first network element obtains the first information from the application function network element, including:
第一网元通过控制面信令,从应用功能网元获取第一信息;或者,The first network element obtains the first information from the application function network element through control plane signaling; or,
第一网元从应用功能网元接收第一协议数据单元PDU集,第一PDU集包含第一信息单元的第一信息。The first network element receives a first protocol data unit PDU set from the application function network element, and the first PDU set contains first information of the first information unit.
在实现方式中,编码侧可以通过控制面信令的途径,或者“随路传输”的途径向第一网元发送第一信息,前一种途径适用于后向参考范围较为稳定或变化周期较长的应用场景,后一种途径适用于后向参考范围变化较为频繁的应用场景。编码侧根据不同的应用场景,采用不同的途径传输第一信息,能够提升第一信息的传输性能,例如降低传输开销。In the implementation, the encoding side can send the first information to the first network element through control plane signaling or "on-the-road transmission". The former method is suitable when the backward reference range is relatively stable or the change period is relatively long. For long-term application scenarios, the latter approach is suitable for application scenarios where the backward reference range changes more frequently. The encoding side uses different ways to transmit the first information according to different application scenarios, which can improve the transmission performance of the first information, such as reducing transmission overhead.
在一种可能的实现方式中,第一网元根据第一信息,对第一网元的缓存区中的第一信息单元进行处理,包括:In a possible implementation, the first network element processes the first information unit in the buffer area of the first network element according to the first information, including:
第一网元根据第一信息,在最大保存时长内,在缓存区中保留第一信息单元。The first network element retains the first information unit in the cache area within the maximum storage time period according to the first information.
在该实现方式中,第一网元在最大保存时长内,在缓存区中保留第一信息单元,以免过早删除第一信息单元,影响后产生的且参考第一信息单元进行编码的信息单元的解码,可以降低丢失有效信息单元的概率。In this implementation, the first network element retains the first information unit in the cache area within the maximum storage time, so as to avoid premature deletion of the first information unit and affect later generated information units that are encoded with reference to the first information unit. Decoding can reduce the probability of losing valid information units.
在一种可能的实现方式中,该方法还包括:In a possible implementation, the method also includes:
第一网元接收第一信息单元之后产生的M个信息单元;M information units generated after the first network element receives the first information unit;
在最大保存时长内,若第一网元确定M个信息单元均未参考第一信息单元进行编码,第一网元删除第一信息单元。Within the maximum storage time, if the first network element determines that none of the M information units are encoded with reference to the first information unit, the first network element deletes the first information unit.
在该实现方式中,第一网元在最大保存时长内,若确定第一信息单元的后向参考范围内的信息单元均未参考第一信息单元,可以及时删除第一信息单元,以免无效的信息单元占用缓存区。In this implementation, if the first network element determines that no information unit within the backward reference range of the first information unit refers to the first information unit within the maximum storage time, the first information unit can be deleted in time to avoid invalid The information unit occupies the buffer area.
在一种可能的实现方式中,第一网元为RAN网元,第一网元确定M个信息单元均未参考第一信息单元进行编码,包括:In a possible implementation, the first network element is a RAN network element, and the first network element determines that none of the M information units are encoded with reference to the first information unit, including:
第一网元从用户面功能UPF网元获取M个第三信息,M个第三信息和M个信息单元一一对应,M个第三信息中的每个第三信息用于确定所对应的信息单元是否参考了第一信息单元进行编码;The first network element obtains M third information from the user plane function UPF network element. The M third information corresponds to the M information units one-to-one. Each of the M third information is used to determine the corresponding Whether the information unit refers to the first information unit for encoding;
第一网元根据M个第三信息,确定M个信息单元均未参考第一信息单元进行编码。The first network element determines, based on the M pieces of third information, that none of the M information units are encoded with reference to the first information unit.
在该实现方式中,若第一网元为RAN网元,RAN网元需要在UPF网元的辅助下,才能确定第一信息单元的后向参考范围内的信息单元是否参考第一信息单元进行编码,进而在后向参考范围内的信息单元均未参考第一信息单元的情况下,及时从缓存区中删除第一信息单元,以免无效的第一信息单元占用缓存区。In this implementation, if the first network element is a RAN network element, the RAN network element needs the assistance of the UPF network element to determine whether the information units within the backward reference range of the first information unit refer to the first information unit. Encoding, and then when no information unit within the backward reference range refers to the first information unit, delete the first information unit from the cache area in time to prevent the invalid first information unit from occupying the cache area.
示例性地,该实现方式中的第三信息可以为RPS-SN。M个第三信息即为第一信息单元之后产生的M个信息单元各自所指示的RPS-SN。For example, the third information in this implementation may be RPS-SN. The M pieces of third information are the RPS-SNs indicated by each of the M pieces of information units generated after the first information unit.
在一种可能的实现方式中,该方法还包括:In a possible implementation, the method also includes:
第一网元从应用功能网元接收第一信息单元,并将第一信息单元保存到第一网元的缓存区中;The first network element receives the first information unit from the application function network element and saves the first information unit in the buffer area of the first network element;
第一网元向终端设备发送第一信息单元;The first network element sends the first information unit to the terminal device;
以及,第一网元根据第一信息,对第一网元的缓存区中的第一信息单元进行处理,包括:And, the first network element processes the first information unit in the buffer area of the first network element according to the first information, including:
若终端设备未成功接收第一信息单元,第一网元根据第一信息,在最大传输时长内,向终端设备重复发送第一信息单元。If the terminal device fails to receive the first information unit successfully, the first network element repeatedly sends the first information unit to the terminal device within the maximum transmission duration according to the first information.
在该实现方式中,在最大允许传输时长内,通过重传也可以提升后产生且参考了第一信息单元进行编码的这些信息单元在解码侧的解码成功率。In this implementation, within the maximum allowed transmission duration, the decoding success rate on the decoding side of the information units generated and encoded with reference to the first information unit can also be improved through retransmission.
在一种可能的实现方式中,第一网元根据第一信息,对第一网元的缓存区中的第一信息单元进行处理,还包括:In a possible implementation, the first network element processes the first information unit in the buffer area of the first network element according to the first information, which further includes:
第一网元根据第一信息,确定超出最大传输时长时,终端设备仍然未正确接收第一信息单元,第一网元不再向终端设备发送第一信息单元。The first network element determines based on the first information that when the maximum transmission duration is exceeded and the terminal device still has not correctly received the first information unit, the first network element no longer sends the first information unit to the terminal device.
在该实现方式中,在超出最大允许传输时长之后,第一信息单元不再具有传输价值,例如,第一信息单元对于后续其它信息单元的解码而言是无用的,此时,第一网元不再重复发送第一单元,以尽可能避免无效传输和传输资源的浪费。In this implementation, after the maximum allowed transmission duration is exceeded, the first information unit no longer has transmission value. For example, the first information unit is useless for subsequent decoding of other information units. At this time, the first network element The first unit is no longer sent repeatedly to avoid invalid transmission and waste of transmission resources as much as possible.
在一种可能的实现方式中,第一网元为UPF网元,该方法还包括:In a possible implementation manner, the first network element is a UPF network element, and the method further includes:
第一网元从应用功能网元接收第一信息单元,并将第一信息单元保存到第一网元的缓存区中; The first network element receives the first information unit from the application function network element and saves the first information unit in the buffer area of the first network element;
第一网元向RAN网元发送第一信息单元;The first network element sends the first information unit to the RAN network element;
第一网元接收来自于RAN网元的反馈信息,反馈信息用于指示RAN网元未向终端设备成功发送第一信息单元;The first network element receives feedback information from the RAN network element, and the feedback information is used to indicate that the RAN network element has not successfully sent the first information unit to the terminal device;
若第一网元的缓存区中保留有第一信息单元,且确定第一信息单元之后产生的一个或多个第三信息单元参考第一信息单元进行编码,第一网元向RAN网元发送第一信息单元以及一个或多个第三信息单元。If the first information unit is retained in the buffer area of the first network element, and one or more third information units generated after the first information unit is determined to be encoded with reference to the first information unit, the first network element sends to the RAN network element a first information unit and one or more third information units.
在该实现方式中,第一网元为UPF网元,编码侧的信息单元在UPF网元进行缓存。若终端设备未成功接收某个信息单元(例如第一信息单元),RAN网元向UPF网元提供反馈信息,从而由UPF网元在未删除第一信息单元,且存在后产生的若干个信息单元参考第一信息单元进行编码的情况下,可以向终端设备重复发送第一信息单元,以及参考第一信息单元进行编码的这些信息单元,以提升图像接收成功率。In this implementation, the first network element is a UPF network element, and the information unit on the encoding side is cached in the UPF network element. If the terminal device fails to receive a certain information unit (for example, the first information unit), the RAN network element provides feedback information to the UPF network element, so that several pieces of information are generated by the UPF network element after the first information unit is not deleted and exists. When the unit is encoded with reference to the first information unit, the first information unit and the information units encoded with reference to the first information unit may be repeatedly sent to the terminal device to improve the image reception success rate.
在一种可能的实现方式中,该方法还包括:In a possible implementation, the method also includes:
若终端设备未成功接收第一信息单元,且第一网元确定第一信息单元已从第一网元的缓存区中被删除,第一网元从缓存中删除参考了第一信息单元进行编码的一个或多个第三信息单元。If the terminal device fails to receive the first information unit successfully, and the first network element determines that the first information unit has been deleted from the cache area of the first network element, the first network element deletes the first information unit from the cache and performs encoding with reference to the first information unit. one or more third information units.
在该实现方式中,由于本申请提供的信息单元之间的参考关系为后向参考关系,若先产生的信息单元未成功接收,且已经从第一网元的缓存区中删除,则后产生的参考了该信息单元进行编码的信息单元也无法成功解码,在此情况下,第一网元从缓存区中删除这些不可能成功解码的信息单元,可以避免无效调度,以及降低传输资源的浪费。In this implementation, since the reference relationship between information units provided by this application is a backward reference relationship, if the information unit generated first is not successfully received and has been deleted from the buffer area of the first network element, then the information unit generated later will Information units that are encoded with reference to this information unit cannot be successfully decoded. In this case, the first network element deletes these information units that cannot be successfully decoded from the buffer area, which can avoid invalid scheduling and reduce the waste of transmission resources. .
在一种可能的实现方式中,第一网元为RAN网元或UPF网元。In a possible implementation manner, the first network element is a RAN network element or a UPF network element.
第二方面,提供一种处理图像的装置,所述装置具有实现第一方面或第一方面的任一可能的实现方式中的方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。A second aspect provides a device for processing images, the device having the function of implementing the method in the first aspect or any possible implementation of the first aspect. The functions described can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
第三方面,提供一种处理图像的装置,包括处理器和存储器。可选地,还可以包括收发器。其中,存储器用于存储计算机程序,处理器用于调用并运行存储器中存储的计算机程序,并控制收发器收发信号,以使通信装置执行如第一方面的方法,或第一方面的任一可能的实现方式中的方法。In a third aspect, an image processing device is provided, including a processor and a memory. Optionally, a transceiver may also be included. Wherein, the memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory, and control the transceiver to send and receive signals, so that the communication device performs the method of the first aspect, or any possible method of the first aspect. Methods in the implementation.
第四方面,提供一种处理图像的装置,包括处理器和通信接口,所述通信接口用于接收数据和/或信息,并将接收到的数据和/或信息传输至所述处理器,所述处理器处理所述数据和/或信息,以及,通信接口还用于输出经处理器处理之后的数据和/或信息,以使得如第一方面的方法,或第一方面的任一可能的实现方式中的方法被执行。A fourth aspect provides a device for processing images, including a processor and a communication interface. The communication interface is used to receive data and/or information and transmit the received data and/or information to the processor. The processor processes the data and/or information, and the communication interface is also used to output the data and/or information processed by the processor, so as to achieve the method of the first aspect, or any possible method of the first aspect. The methods in the implementation are executed.
第五方面,提供一种处理图像的装置,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合,所述至少一个处理器用于执行所述至少一个存储器中存储的计算机程序或指令,以使所述通信装置执行如第一方面的方法,或第一方面的任一可能的实现方式中的方法。A fifth aspect provides an apparatus for processing images, including at least one processor coupled to at least one memory, and the at least one processor is configured to execute a computer program or instructions stored in the at least one memory. , so that the communication device performs the method of the first aspect, or the method in any possible implementation of the first aspect.
第六方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得如第一方面或第二方面,或这些方面中的任一方面的任一可能的实现方式中的方法被执行。In a sixth aspect, a computer-readable storage medium is provided. Computer instructions are stored in the computer-readable storage medium. When the computer instructions are run on a computer, the first aspect or the second aspect, or the method in these aspects is achieved. Methods in any possible implementation of either aspect are executed.
第七方面,提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得如第一方面或第二方面,或这些方面中的任一方面的任一可能的实现方式中的方法被执行。In a seventh aspect, a computer program product is provided, the computer program product comprising computer program code, when the computer program code is run on a computer, it causes the first aspect or the second aspect, or any of these aspects. Methods in any possible implementation of the aspect are executed.
第八方面,提供一种处理图像的系统,包括如第二方面所述的处理图像的装置。An eighth aspect provides a system for processing images, including the device for processing images as described in the second aspect.
附图说明Description of drawings
图1为采用滑窗模式标记参考图片的示意图。Figure 1 is a schematic diagram of using sliding window mode to mark reference pictures.
图2为自适应模式标记参考图片的示意图。Figure 2 is a schematic diagram of adaptive mode marking reference pictures.
图3为适用于本申请实施例的系统架构的示意图。Figure 3 is a schematic diagram of a system architecture suitable for embodiments of the present application.
图4为本申请提供的处理图像的方法的示意性流程图。Figure 4 is a schematic flow chart of the image processing method provided by this application.
图5为本申请提出的后向参考范围的示意图。Figure 5 is a schematic diagram of the backward reference range proposed in this application.
图6为根据后向参考范围获取最大允许传输时长的方法的示意图。 Figure 6 is a schematic diagram of a method of obtaining the maximum allowed transmission duration based on the backward reference range.
图7为AF网元通过控制面传输路径传输后向参考范围的示意图。Figure 7 is a schematic diagram of the AF network element transmitting the backward reference range through the control plane transmission path.
图8为随路传输每个信息单元的后向参考范围的示意图。Figure 8 is a schematic diagram of the backward reference range of each information unit transmitted along the path.
图9为本申请提供的处理图像的方法的一个示例。Figure 9 is an example of an image processing method provided by this application.
图10为本申请提供的处理图像的方法的一个示例。Figure 10 is an example of an image processing method provided by this application.
图11为本申请提供的处理图像的装置的示意性框图。Figure 11 is a schematic block diagram of an image processing device provided by this application.
图12为本申请提供的处理图像的装置的示意性结构图。Figure 12 is a schematic structural diagram of an image processing device provided by this application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in this application will be described below with reference to the accompanying drawings.
为了便于理解本申请的技术方案,首先对本申请实施例可能涉及的一些概念进行简单介绍。In order to facilitate understanding of the technical solutions of this application, some concepts that may be involved in the embodiments of this application are first briefly introduced.
视频编码通常是指处理形成视频或视频序列的图片序列。在视频编码领域,术语“图片(picture)”、“帧(frame)”或“图像(image)”可以作为同义词。本文中使用的视频编码表示视频编码或视频解码。视频编码在源侧执行,通常包括处理原始视频图片。视频解码在目的地侧执行,通常包括相对于编码器作逆处理,以重构视频图片。Video coding generally refers to the processing of sequences of pictures that form a video or video sequence. In the field of video coding, the terms "picture", "frame" or "image" can be used as synonyms. Video encoding as used in this article means video encoding or video decoding. Video encoding is performed on the source side and typically involves processing the raw video pictures. Video decoding is performed on the destination side and typically involves inverse processing relative to the encoder to reconstruct the video picture.
视频序列包括一系列视频帧(frame),以下简称为“帧”,帧被进一步划分为切片(slice)。一个frame是完整的一个图片。依据H.264标准,或称为动态图像专家组版本4(moving pictures experts group,MPEG-4)高级视频编码(advanced video coding,AVC)标准,一个slice是一个图片中的部分区域。A video sequence includes a series of video frames, hereinafter referred to as "frames", and the frames are further divided into slices. A frame is a complete picture. According to the H.264 standard, or moving pictures experts group version 4 (MPEG-4) advanced video coding (AVC) standard, a slice is a partial area in a picture.
在XR媒体服务中,一个协议数据单元(protocol data unit,PDU)set(PDU集)由一个或多个PDU组成,包含应用层产生的一个单位(如一个frame或一个slice)的信息。一个frame或一个slice对应一个或多个PDU set,一个PDU set中包含一个或多个PDU。In XR media services, a protocol data unit (PDU) set (PDU set) consists of one or more PDUs and contains information of a unit (such as a frame or a slice) generated by the application layer. A frame or a slice corresponds to one or more PDU sets, and a PDU set contains one or more PDUs.
在进行视频解码时,解码缓存区(decoded picture buffer,DPB)的图片可以被标记为如下三种类型:When performing video decoding, pictures in the decoded picture buffer (DPB) can be marked as the following three types:
unused for reference(不用于参考);unused for reference(not used for reference);
used for long term reference(用于长期参考);used for long term reference(used for long term reference);
used for short term reference(用于短期参考)。used for short term reference(used for short term reference).
这三种类型之间的转化,是通过解码图片的标记过程进行控制的。The conversion between these three types is controlled through the labeling process of decoded pictures.
其中,标记为“used for long term reference”的图片可以长期存储于解码缓存区,并影响后续图片的解码,直到解码端的应用层主动删除该图片。相比于标记为“used for long term reference”的图片,标记为“used for short term reference”的图片在解码缓存区中缓存的时间相对短一点。标记为“used for short term reference”的图片有两种标记模式:一种为“先进先出”的滑窗模式,图1为采用滑窗模式标记参考图片的示意图。如图1所示,先进入解码缓存区的图片先从解码缓存区滑出,当一个图片出解码缓存区时,该图片的标记由“used for short term reference”改变为“unused for reference”。滑窗模式的标记模式保证了缓存在解码缓存区的图片均是最近解码的图片;另一种为自适应标记模式,图2为自适应标记参考图片的示意图。如图2所示,在这种模式下,解码端的应用层使用语法元素,可以将一个图片的标记由“used for short term reference”修改为“used for long term reference”或“unused for reference”。Among them, pictures marked as "used for long term reference" can be stored in the decoding buffer area for a long time and affect the decoding of subsequent pictures until the application layer on the decoding end actively deletes the picture. Compared with the pictures marked "used for long term reference", the pictures marked "used for short term reference" are cached in the decoding buffer for a relatively shorter time. Pictures marked as "used for short term reference" have two marking modes: one is the "first in, first out" sliding window mode. Figure 1 is a schematic diagram of using the sliding window mode to mark reference pictures. As shown in Figure 1, the picture that enters the decoding buffer first slides out of the decoding buffer. When a picture comes out of the decoding buffer, the mark of the picture changes from "used for short term reference" to "unused for reference". The marking mode of the sliding window mode ensures that the pictures cached in the decoding buffer area are all recently decoded pictures; the other is the adaptive marking mode. Figure 2 is a schematic diagram of adaptive marking reference pictures. As shown in Figure 2, in this mode, the application layer on the decoder side uses syntax elements to change the mark of a picture from "used for short term reference" to "used for long term reference" or "unused for reference".
下面介绍本申请提供的处理图像的方法。The following describes the image processing method provided by this application.
本申请实施例所涉及的技术方案不仅可以应用于一些视频编码标准,例如H.264、高效视频编码(high efficiency video coding,HEVC)等标准,还可以用于未来的视频编码标准中,例如H.265、H.266标准,或者其它视频编码标准,不作限定。The technical solutions involved in the embodiments of this application can not only be applied to some video coding standards, such as H.264, high efficiency video coding (HEVC) and other standards, but can also be used in future video coding standards, such as H .265, H.266 standards, or other video coding standards, without limitation.
作为一个应用场景的示例,本申请提供的技术方案可以应用于XR业务的视频帧传输场景。在该场景中,编码侧的后产生的视频帧的编码会参考之前产生的视频帧,以实现视频压缩。在这样的参考关系下,若某个视频帧所参考的在线视频帧没有被成功传输,则该视频帧在解码侧不能被成功解码。As an example of an application scenario, the technical solution provided in this application can be applied to the video frame transmission scenario of the XR service. In this scenario, the encoding of the later generated video frame on the encoding side will refer to the previously generated video frame to achieve video compression. Under such a reference relationship, if the online video frame referenced by a certain video frame is not successfully transmitted, the video frame cannot be successfully decoded on the decoding side.
参见图3,图3为适用于本申请实施例的系统架构的示意图。如图3,终端设备以及各网络实体的功能如下面的说明。Referring to Figure 3, Figure 3 is a schematic diagram of a system architecture suitable for embodiments of the present application. As shown in Figure 3, the functions of the terminal equipment and each network entity are as described below.
终端设备:也可以称为用户设备(user equipment,UE)、接入终端、终端设备单元(subscriber unit)、终端设备站、移动站、移动台(mobile station,MS)、远方站、远程终端、移动设备、用户终端、终端(terminal)、无线通信设备、终端设备代理或终端设备装置。Terminal equipment: It can also be called user equipment (UE), access terminal, terminal equipment unit (subscriber unit), terminal equipment station, mobile station, mobile station (MS), remote station, remote terminal, Mobile device, user terminal, terminal, wireless communication device, terminal equipment agent or terminal equipment device.
无线接入网(radio access network,RAN):用于实现无线物理层功能、资源调度和无线资源管理、 无线接入控制以及移动性管理功能。第五代(the fifth generation,5G)系统中的RAN通过用户面接口N3和用户面功能(user plane function,UPF)相连,用于传输终端设备的数据;5G-RAN通过控制面接口N2和AMF建立控制面信令连接,用于实现无线接入承载控制等功能。Radio access network (RAN): used to implement wireless physical layer functions, resource scheduling and wireless resource management, Wireless access control and mobility management functions. The RAN in the fifth generation (5G) system is connected to the user plane function (UPF) through the user plane interface N3 and is used to transmit data of terminal equipment; 5G-RAN uses the control plane interface N2 and AMF Establish a control plane signaling connection to implement functions such as wireless access bearer control.
接入和移动性管理功能(access and mobility management function,AMF):用于为UE和SMF之间的会话管理消息提供传输。Access and mobility management function (AMF): used to provide transmission for session management messages between UE and SMF.
UPF:与数据网络互连的外部PDU会话点。UPF: External PDU session point interconnected with the data network.
应用功能(application function,AF):与核心网交互以提供一些服务,例如,与策略和控制功能(policy and control function,PCF)交互以提供业务策略控制。Application function (AF): Interacts with the core network to provide some services, for example, interacts with the policy and control function (PCF) to provide business policy control.
策略控制功能(policy control function,PCF):为UE提供配置策略信息,为网络的控制面网元(例如,AMF、SMF)提供管控UE的策略信息。Policy control function (PCF): Provides configuration policy information for the UE, and provides policy information for controlling the UE for the control plane elements of the network (for example, AMF, SMF).
数据网络(data network,DN):用于提供业务或内容的网络。Data network (DN): A network used to provide services or content.
图3中各网元之间的接口如图3中所示。The interfaces between each network element in Figure 3 are shown in Figure 3 .
应理解,图3仅是示例性的一种网络架构,适用本申请实施例的网络架构并不局限于此,任何能够实现上述各个网元的功能的网络架构都适用于本申请实施例。并且,图3中的系统架构仅示出了和本申请实施例主要相关的网元以及部分网元之间的接口,并不是通信系统的完整架构。It should be understood that FIG. 3 is only an exemplary network architecture, and the network architecture applicable to the embodiment of the present application is not limited thereto. Any network architecture that can realize the functions of each of the above network elements is applicable to the embodiment of the present application. Moreover, the system architecture in Figure 3 only shows the network elements that are mainly related to the embodiments of the present application and the interfaces between some network elements, and is not the complete architecture of the communication system.
上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。可选的,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定The above network elements or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualization functions instantiated on a platform (for example, a cloud platform). Optionally, the above network element or function can be implemented by one device, or can be implemented by multiple devices together, or can be a functional module in one device, which is not specifically limited in the embodiments of this application.
此外,上述“网元”也可以称为实体、设备、装置或模块等,本申请并未特别限定。并且,为了便于理解和说明,下文的部分描述中省略“网元”这一描述,例如,将UPF网元简称UPF,此情况下,“UPF”应理解为UPF网元或UPF实体,以下省略对相同或相似情况的说明。In addition, the above-mentioned "network element" can also be called an entity, equipment, device or module, etc., which is not specifically limited in this application. Moreover, in order to facilitate understanding and explanation, the description of "network element" is omitted in some of the following descriptions. For example, the UPF network element is referred to as UPF. In this case, "UPF" should be understood as UPF network element or UPF entity, which is omitted below. Description of the same or similar situation.
接下来以5G系统中的网元为例介绍具体的方案细节。可以理解的是,当该方案用于LTE系统,或者未来通信系统,方案中的各网元可以替换为具有相应功能的其他网元,本申请对此不作限定。Next, we will take the network elements in the 5G system as an example to introduce the specific solution details. It can be understood that when this solution is used in an LTE system or a future communication system, each network element in the solution can be replaced by other network elements with corresponding functions, and this application does not limit this.
参见图4,图4为本申请提供的处理图像的方法的示意性流程图。Referring to Figure 4, Figure 4 is a schematic flow chart of an image processing method provided by this application.
410、第一网元从应用功能网元获取第一信息。410. The first network element obtains the first information from the application function network element.
在本申请中,第一网元可以为UPF网元或RAN网元。需要说明的是,第一网元具体为UPF网元或RAN网元,取决于从AF网元接收到的信息单元(例如,frame或slice)由谁来执行缓存。在一种可能的实现中,若配置UPF网元对接收到的信息单元进行缓存,则第一网元为UPF网元,此时,RAN网元不再对信息单元作缓存。在另一种可能的实现中,若配置RAN网元对接收到的信息单元进行缓存,则第一网元为RAN网元,此时,UPF网元不对信息单元作缓存。具体的实现参见下文的详细说明。In this application, the first network element may be a UPF network element or a RAN network element. It should be noted that the first network element is specifically a UPF network element or a RAN network element, depending on who performs caching of the information unit (for example, frame or slice) received from the AF network element. In a possible implementation, if the UPF network element is configured to cache the received information unit, the first network element is the UPF network element. At this time, the RAN network element no longer caches the information unit. In another possible implementation, if the RAN network element is configured to cache the received information unit, the first network element is the RAN network element. At this time, the UPF network element does not cache the information unit. For specific implementation, please refer to the detailed description below.
在一种可能的实现方式中,第一信息指示图像的第一信息单元的后向参考范围,后向参考范围用于指示第二信息单元的索引和第一信息单元的索引之间的间距,第二信息单元之后产生的信息单元不再参考第一信息单元。或者,In a possible implementation, the first information indicates the backward reference range of the first information unit of the image, and the backward reference range is used to indicate the distance between the index of the second information unit and the index of the first information unit, Information units generated after the second information unit no longer refer to the first information unit. or,
在另一种可能的实现方式中,第一信息指示图像的第一信息单元的时间参数,时间参数是根据第一信息单元的后向参考范围确定的,后向参考范围用于指示第二信息单元的索引和第一信息单元的索引之间的间距,第二信息单元之后产生的信息单元不再参考第一信息单元。In another possible implementation, the first information indicates the time parameter of the first information unit of the image, the time parameter is determined according to the backward reference range of the first information unit, and the backward reference range is used to indicate the second information The distance between the index of the unit and the index of the first information unit. Information units generated after the second information unit no longer refer to the first information unit.
需要说明的是,本申请实施例中,如果信息单元#1之后产生的一个信息单元(例如,信息单元#2)参考信息单元#1进行编码,是指信息单元#2直接参考信息单元#1进行编码,或者说,本申请实施例中所说的信息单元之间的参考关系,是指“直接参考”,而非“间接参考”。举例来说,如果信息单元#2参考了信息单元#1进行编码,而信息单元#2之后产生的信息单元#5又参考了信息单元#2进行编码,则信息单元#2是直接参考了信息单元#1,而信息单元#5实际上可以认为间接参考了信息单元#1。因此,在本申请各实施例中,如果说,第一信息单元之后产生的若干个信息单元参考了第一信息单元进行编码,则是指该若干个信息单元分别直接参考第一信息单元进行编码,下文不再重复说明。It should be noted that in the embodiment of the present application, if an information unit (for example, information unit #2) generated after information unit #1 is encoded with reference to information unit #1, it means that information unit #2 directly refers to information unit #1 Encoding, or the reference relationship between information units in the embodiment of this application, refers to "direct reference" rather than "indirect reference". For example, if information unit #2 refers to information unit #1 for encoding, and information unit #5 generated after information unit #2 refers to information unit #2 for encoding, information unit #2 directly refers to information unit #2. Unit #1, and information unit #5 can actually be considered to be an indirect reference to information unit #1. Therefore, in the embodiments of the present application, if it is said that several information units generated after the first information unit are encoded with reference to the first information unit, it means that the several information units are directly encoded with reference to the first information unit. , the description will not be repeated below.
可选地,第一信息单元可以是frame粒度或slice粒度的,不作限定。Optionally, the first information unit may be of frame granularity or slice granularity, without limitation.
在本申请中,第一信息单元的后向参考范围是指第二信息单元的索引和第一信息单元的索引之间的间距。其中,第二信息单元之后产生的信息单元不再参考第一信息单元。In this application, the backward reference range of the first information unit refers to the distance between the index of the second information unit and the index of the first information unit. Wherein, the information units generated after the second information unit no longer refer to the first information unit.
应理解,第一信息单元可以为编码端进行视频编码过程中在先产生的一个信息单元,在第一信息 单元之后产生的信息单元可能参考第一信息单元进行编码。根据本申请提出的后向参考范围,如果第一信息单元的后向参考范围为M,则表示在第一信息单元之后产生的第二信息单元的索引和第一信息单元的索引之间的间距为M,而在第二信息单元之后产生的信息单元不再可能参考第一信息单元进行编码,M为后向参考范围所指示的间距的数值。换句话说,如果存在第一信息单元之后产生的信息单元参考第一信息单元进行编码,则参考了第一信息单元进行编码的信息单元的索引与第一信息单元的索引之间的间距不大于M。此外应理解,第一信息单元之后产生的参考第一信息单元进行编码的信息单元可能为一个或多个,在有多个信息单元参考了第一信息单元进行编码的情况下,该多个信息单元中的任意一个信息单元的索引与第一信息单元的索引之间的间距小于或等于M。It should be understood that the first information unit may be an information unit previously generated during the video encoding process at the encoding end. Information units generated after the unit may be encoded with reference to the first information unit. According to the backward reference range proposed in this application, if the backward reference range of the first information unit is M, it represents the distance between the index of the second information unit generated after the first information unit and the index of the first information unit. is M, and the information unit generated after the second information unit is no longer possible to be encoded with reference to the first information unit, and M is the value of the spacing indicated by the backward reference range. In other words, if there is an information unit generated after the first information unit and is encoded with reference to the first information unit, the distance between the index of the information unit that is encoded with reference to the first information unit and the index of the first information unit is not greater than M. In addition, it should be understood that the information units generated after the first information unit and encoded with reference to the first information unit may be one or more. In the case where multiple information units are encoded with reference to the first information unit, the multiple information units The distance between the index of any one information unit in the unit and the index of the first information unit is less than or equal to M.
参见图5,图5为本申请提出的后向参考范围的示意图。如图5,假设将图5中所示的frame#0作为第一信息单元的一个示例,frame#0的索引为0,若frame#0的后向参考范围为M,则表示在frame#0之后产生的某一个frame的索引与frame#0的索引之间的间距为M,而在该frame之后产生的frame不再参考frame#0进行编码。可见,该frame为图5中所示的frame#M。换句话说,在frame#0之后产生,且参考了frame#0进行编码的frame的索引小于或等于M,如图5中虚线框中所示范围内的frame可能直接参考frame#0,而位于虚线框之外的后续frame不再可能参考frame#0进行编码。Refer to Figure 5, which is a schematic diagram of the backward reference range proposed in this application. As shown in Figure 5, assume that frame #0 shown in Figure 5 is used as an example of the first information unit. The index of frame #0 is 0. If the backward reference range of frame #0 is M, it means that in frame #0 The distance between the index of a frame generated later and the index of frame #0 is M, and the frame generated after this frame no longer refers to frame #0 for encoding. It can be seen that the frame is frame #M shown in Figure 5. In other words, the index of the frame generated after frame #0 and encoded with reference to frame #0 is less than or equal to M. The frame in the range shown in the dotted box in Figure 5 may directly refer to frame #0, and is located in It is no longer possible for subsequent frames outside the dotted box to be encoded with reference to frame #0.
换个角度,还可以这样理解后向参考范围:一个信息单元的后向参考范围是该信息单元由编码端产生后,自进入到编码端的缓存到出缓存,编码端可以编码的信息单元的最大数目。当一个信息单元在缓存中时,编码端对后续产生的信息单元的编码就可能参考该信息单元,而当该信息单元不在缓存中,编码端对后续产生的信息单元的编码就不可能再直接参考该信息单元。From another perspective, the backward reference range can also be understood this way: the backward reference range of an information unit is the maximum number of information units that the encoding end can encode after the information unit is generated by the encoding end from entering the encoding end's cache to exiting the cache. . When an information unit is in the cache, the encoding end may refer to the information unit when encoding the subsequently generated information unit. However, when the information unit is not in the cache, the encoding end may no longer directly encode the subsequently generated information unit. Refer to this information unit.
在一种可能的实现方式中,第一信息单元的后向参考范围可以由解码图片缓存区中存储的信息单元的数目推导获得。In a possible implementation, the backward reference range of the first information unit may be derived from the number of information units stored in the decoded picture buffer area.
为了清楚描述该推导过程,首先对涉及到的几个参数进行说明。对于一个frame而言,其后向参考范围取决于应用层视频编解码的最大解码图片缓存区(decoded picture buffer)宏块数,记作MaxDpbMbs。MaxDpbMbs与视频编解码的级别(lever)有关,不同的级别对应了不同的分辨率、帧率等参数。MaxDpbMbs决定了最大参考帧数MaxDpbFrames,其中,MaxDpbFrames可以由如下公式确定:
In order to clearly describe the derivation process, several parameters involved are first explained. For a frame, its backward reference range depends on the maximum number of macroblocks in the decoded picture buffer (decoded picture buffer) of the application layer video codec, denoted as MaxDpbMbs. MaxDpbMbs is related to the level of video encoding and decoding (lever). Different levels correspond to different parameters such as resolution and frame rate. MaxDpbMbs determines the maximum number of reference frames, MaxDpbFrames, where MaxDpbFrames can be determined by the following formula:
其中,PicWidthInMbs为水平宏块数,hrameGeightInMbs为垂直宏块数,表示解码图片缓存区所能存储的最大帧数,表示向下取整。另外,参考帧数的最大值为16。Among them, PicWidthInMbs is the number of horizontal macroblocks, hrameGeightInMbs is the number of vertical macroblocks, Indicates the maximum number of frames that can be stored in the decoded picture buffer, Indicates rounding down. In addition, the maximum number of reference frames is 16.
上文已经介绍过,解码图片缓存区中的每个图片可以被标记为“used for long term reference”或“used for short term reference”或“unused for reference”三种类型之一。在本申请提出的后向参考范围的基础上,针对上述三种类型的图片,其各自对应的后向参考范围可以不同。As mentioned above, each picture in the decoded picture buffer can be marked as one of three types: "used for long term reference" or "used for short term reference" or "unused for reference". Based on the backward reference range proposed in this application, the corresponding backward reference ranges for the above three types of pictures may be different.
例如,对于标记为“used for long term reference”的图片,其后向参考范围为M,M可以大于或等于MaxDpbFrames,例如,可以为MaxDpbFrames的A倍,A为大于0的整数。对于标记为“used for short term reference”的图片,其后向参考范围为M,M的取值可以小于标记为“used for long term reference”的图片的后向参考范围M的取值。例如,标记为“used for long term reference”的图片,其后向参考范围M设置为60;标记为“used for short term reference”的图片,其后向参考范围M设置为40。对于标记为“unused for reference”的图片,其后向参考范围M=0。For example, for a picture marked "used for long term reference", its backward reference range is M, and M can be greater than or equal to MaxDpbFrames. For example, it can be A times MaxDpbFrames, and A is an integer greater than 0. For the picture marked "used for short term reference", its backward reference range is M, and the value of M can be smaller than the value of the backward reference range M of the picture marked "used for long term reference". For example, a picture marked "used for long term reference" has its backward reference range M set to 60; a picture marked "used for short term reference" has its backward reference range M set to 40. For pictures marked as "unused for reference", their backward reference range M=0.
此外,第一信息单元的时间参数可以是指第一信息单元的最大保存时长和最大允许传输时长中的至少一项。In addition, the time parameter of the first information unit may refer to at least one of the maximum storage duration and the maximum allowed transmission duration of the first information unit.
最大保存时长是从第一网元接收到第一信息单元的第一时刻开始,到第一网元接收到在第一信息单元之后产生的M个信息单元的第二时刻为止之间的时长。以图5中的frame#0为例,frame#0的最大保存时长是从第一网元接收到frame#0的时刻开始,到第一网元接收到frame#0之后产生的M个信息单元(具体为从frame#1至frame#M)的时刻为止之间的时长。 The maximum storage duration is the duration from the first moment when the first network element receives the first information unit to the second moment when the first network element receives M information units generated after the first information unit. Taking frame #0 in Figure 5 as an example, the maximum storage time of frame #0 is from the moment the first network element receives frame #0 to the M information units generated after the first network element receives frame #0. (Specifically, the duration from frame #1 to frame #M).
最大允许传输时长是从第一网元接收到第一信息单元的第一时刻开始,到确定第一网元不会再向终端设备发送第一信息单元的第三时刻为止之间的时长。The maximum allowed transmission duration is the duration from the first moment when the first network element receives the first information unit to the third moment when it is determined that the first network element will no longer send the first information unit to the terminal device.
应理解,在本申请实施例中,信息单元的源侧为AF网元,目的地侧为UE,而第一网元可以为UPF网元或RAN网元。以第一网元为UPF网元为例,UPF网元从AF网元接收信息单元,并向RAN网元发送该信息单元,再由RAN网元将该信息单元发送给UE。第一信息单元的最大允许传输时长,可以是指UPF网元从AF网元接收到第一信息单元的时刻开始,到UPF网元确定不会再向终端设备发送(经过RAN网元)第一信息单元的时刻之间的时长。以第一网元为RAN网元为例,第一信息单元的最大允许传输时长,可以是指RAN网元从UPF网元接收到第一信息单元的时刻为止,到RAN网元确定不会再向终端设备发送第一信息单元的时刻为止之间的时长。It should be understood that in this embodiment of the present application, the source side of the information unit is the AF network element, the destination side is the UE, and the first network element may be a UPF network element or a RAN network element. Taking the first network element as a UPF network element as an example, the UPF network element receives the information unit from the AF network element, sends the information unit to the RAN network element, and then the RAN network element sends the information unit to the UE. The maximum allowed transmission duration of the first information unit may refer to the moment when the UPF network element receives the first information unit from the AF network element until the UPF network element determines that it will no longer send the first information unit to the terminal device (via the RAN network element). The length of time between moments of information units. Taking the first network element as a RAN network element as an example, the maximum allowable transmission duration of the first information unit may refer to the time when the RAN network element receives the first information unit from the UPF network element, and when the RAN network element determines that it will no longer transmit the information. The length of time until the time when the first information unit is sent to the terminal device.
换句话说,当超过最大允许传输时长,即使终端设备未成功接收第一信息单元,第一网元不会再向终端设备重新发送第一信息单元。而在最大允许传输时长内,如果终端设备未成功接收第一信息单元,第一网元可以向终端设备重复发送第一信息单元,所述重复发送可以为一次或多次,不作限定。因此,如果终端设备未成功接收第一网元初次发送的第一信息单元,在第一信息单元的最大允许传输时长内,终端设备有可能通过接收第一信息单元的重传,而成功接收第一信息单元。但是,一旦超过最大允许传输时长,即使终端设备仍然未成功接收第一信息单元,第一网元不再传输第一信息单元。In other words, when the maximum allowed transmission duration is exceeded, even if the terminal device fails to receive the first information unit successfully, the first network element will not resend the first information unit to the terminal device. Within the maximum allowed transmission duration, if the terminal device fails to receive the first information unit successfully, the first network element may repeatedly send the first information unit to the terminal device. The repeated sending may be one or more times without limitation. Therefore, if the terminal device fails to successfully receive the first information unit initially sent by the first network element, within the maximum allowed transmission duration of the first information unit, the terminal device may successfully receive the second information unit by receiving a retransmission of the first information unit. An information unit. However, once the maximum allowed transmission duration is exceeded, even if the terminal device still fails to receive the first information unit successfully, the first network element will no longer transmit the first information unit.
参见图6,图6为根据后向参考范围获取最大允许传输时长的方法的示意图。Refer to Figure 6, which is a schematic diagram of a method of obtaining the maximum allowed transmission duration according to the backward reference range.
可选地,若步骤410中,第一信息指示第一信息单元的后向参考范围,第一网元可以根据后向参考范围,确定第一信息单元的时间参数。Optionally, if in step 410, the first information indicates the backward reference range of the first information unit, the first network element may determine the time parameter of the first information unit according to the backward reference range.
420、第一网元根据第一信息,对第一网元的缓存区区中的第一信息单元进行处理。420. The first network element processes the first information unit in the buffer area of the first network element according to the first information.
在本申请中,第一网元根据第一信息,对第一网元的缓存区区中的第一信息单元进行处理,具体可以包括:In this application, the first network element processes the first information unit in the buffer area of the first network element according to the first information, which may specifically include:
第一网元根据第一信息,在第一信息单元的最大保存时长内,在缓存区中保留第一信息单元。换句话说,在最大保存时长内,第一网元不会从缓存区中删除第一信息单元。The first network element retains the first information unit in the cache area within the maximum storage time of the first information unit according to the first information. In other words, within the maximum storage time period, the first network element will not delete the first information unit from the cache area.
此外,在最大保存时长内,第一网元接收在第一信息单元之后产生的M个信息单元,若确定该M个信息单元均未参考第一信息单元进行编码的情况下,第一网元可以删除第一信息单元。在超过最大保存时长之后,由于后续产生的信息单元不可能再参考第一信息单元进行编码,因此,第一网元可以从缓存区中删除第一信息单元。In addition, within the maximum storage time, the first network element receives M information units generated after the first information unit. If it is determined that none of the M information units are encoded with reference to the first information unit, the first network element The first information unit can be deleted. After the maximum storage time is exceeded, since the subsequently generated information unit can no longer refer to the first information unit for encoding, the first network element can delete the first information unit from the buffer area.
可选地,若第一网元为UPF网元,UPF网元可以通过读取该M个信息单元各自对应的PDU set的报头,来确定该M个信息单元是否参考第一信息单元进行编码。具体地,UPF网元可以通过检测接收到的每个信息单元的报头,来确定第一信息单元之后产生的M个信息单元是否参考了第一信息单元进行编码。由于每个信息单元的报头携带了该信息单元所参考的PDU set的序列号(也即,RPS-SN),因此,UPF检测接收到的每个信息单元的报头,就可以获知接收到的每个信息单元各自所参考的PDU set的序列号,由此,也就可以获知第一信息单元之后的M个信息单元各自分别参考了在先产生的哪个信息单元进行编码,或者未参考任何信息单元进行编码,因而可以确定该M个信息单元各自是否参考了第一信息单元进行编码。但是,若第一网元为RAN网元,由于RAN网元无法直接读取PDU set的报头,因此,是由UPF网元读取了该M个信息单元各自对应的PDU set的报头,获知该M个信息单元各自参考了在先产生的哪个信息单元进行编码之后,再将每个信息单元参考在先产生哪个信息单元进行编码的信息封装到GTP-U报头,以便由RAN网元读取到该M个信息单元各自参考在先产生的信息单元进行编码的信息,进而可以判断出该M个信息单元是否参考第一信息单元进行编码。Optionally, if the first network element is a UPF network element, the UPF network element can determine whether the M information units are encoded with reference to the first information unit by reading the header of the PDU set corresponding to each of the M information units. Specifically, the UPF network element can determine whether the M information units generated after the first information unit refer to the first information unit for encoding by detecting the header of each received information unit. Since the header of each information unit carries the sequence number (that is, RPS-SN) of the PDU set referenced by the information unit, UPF detects the header of each information unit received and can learn about each received The sequence number of the PDU set that each of the information units refers to. From this, it is possible to know which of the M information units after the first information unit each refers to the previously generated information unit for encoding, or does not refer to any information unit. Encoding is performed, so it can be determined whether each of the M information units refers to the first information unit for encoding. However, if the first network element is a RAN network element, since the RAN network element cannot directly read the header of the PDU set, the UPF network element reads the header of the PDU set corresponding to the M information units and learns the After each of the M information units refers to which previously generated information unit is encoded, the information that each information unit refers to which previously generated information unit is encoded is encapsulated into the GTP-U header so that it can be read by the RAN network element. Each of the M information units refers to information encoded by a previously generated information unit, and then it can be determined whether the M information units refer to the first information unit for encoding.
因此,如果第一网元为RAN网元,RAN网元从UPF网元获取M个第三信息,M个第三信息和第一信息单元之后产生的M个信息单元一一对应,M个第三信息中的每个第三信息用于确定所对应的信息单元是否参考了第一信息单元进行编码。RAN网元根据该M个第三信息,可以确定第一信息单元之后产生的M个信息单元是否参考了第一信息单元进行编码。Therefore, if the first network element is a RAN network element, the RAN network element obtains M pieces of third information from the UPF network element, and the M pieces of third information correspond to the M pieces of information units generated after the first information unit. Each third information among the three pieces of information is used to determine whether the corresponding information unit refers to the first information unit for encoding. Based on the M pieces of third information, the RAN network element can determine whether the M information units generated after the first information unit refer to the first information unit for encoding.
此外,在向终端设备发送信息单元的过程中,若终端设备未成功接收第一信息单元,第一网元根据第一信息,确定还未超出第一信息单元的最大允许传输时长,或者说,在第一信息单元的最大允许传输时长内,第一网元向终端设备重复发送第一信息单元。若根据第一信息,第一网元确定已经超出第一信息单元的最大允许传输时长,且终端设备仍然未成功接收第一信息单元,第一网元不再向终端 设备发送第一信息单元。In addition, during the process of sending the information unit to the terminal device, if the terminal device fails to receive the first information unit successfully, the first network element determines based on the first information that the maximum allowed transmission duration of the first information unit has not been exceeded, or in other words, Within the maximum allowed transmission duration of the first information unit, the first network element repeatedly sends the first information unit to the terminal device. If, based on the first information, the first network element determines that the maximum allowed transmission duration of the first information unit has been exceeded, and the terminal device still fails to receive the first information unit successfully, the first network element will no longer send data to the terminal. The device sends the first information unit.
若第一网元为UPF网元,也即由UPF网元对来自于编码端的信息单元进行缓存,若终端设备未成功接收第一信息单元,RAN网元可以向UPF网元发送反馈信息,反馈信息用于指示RAN网元未成功向终端设备发送第一信息单元。此时,若还处于第一信息单元的最大保存时长内,UPF网元的缓存区中还保留有第一信息单元,且UPF网元确定第一信息单元之后产生的一个或多个(例如P个,P小于或等于M,P为正整数)第三信息单元参考了第一信息单元进行编码,则UPF网元向RAN网元发送第一信息单元以及该一个或多个第三信息单元。进一步地,RAN网元向终端设备再次发送第一信息单元以及该一个或多个第三信息单元。If the first network element is a UPF network element, that is, the UPF network element caches the information unit from the encoding end. If the terminal device fails to receive the first information unit successfully, the RAN network element can send feedback information to the UPF network element. The feedback The information is used to indicate that the RAN network element has not successfully sent the first information unit to the terminal device. At this time, if it is still within the maximum storage time of the first information unit, the first information unit is still retained in the buffer area of the UPF network element, and the UPF network element determines one or more (for example, P (P is less than or equal to M, P is a positive integer) the third information unit is encoded with reference to the first information unit, then the UPF network element sends the first information unit and the one or more third information units to the RAN network element. Further, the RAN network element sends the first information unit and the one or more third information units to the terminal device again.
应理解,P个第三信息单元并不是指P个相同的信息单元,而是对在第一信息单元之后产生,且参考了第一信息单元进行编码的P个信息单元的统称,下文不再重复说明。It should be understood that P third information units do not refer to P identical information units, but are a collective name for P information units generated after the first information unit and encoded with reference to the first information unit, which will not be discussed further below. Repeat instructions.
在另一种可能的情况下,若终端设备为成功接收第一信息单元,且第一网元(UPF网元或RAN网元)确定第一信息单元已从第一网元的缓存区中被删除,则第一网元从缓存区中删除参考了第一信息单元进行编码的一个或多个第三信息单元。需要说明的是,由于该一个或多个第三信息单元参考第一信息单元进行编码,而第一信息单元未在UE侧成功接收,因此,该一个或多个第三信息单元在UE侧也无法成功解码,因此,在第一信息单元未成功接收,且第一网元确定第一信息单元已经从缓存区中被删除,则不再向UE发送参考了第一信息单元进行编码的信息单元,直接从缓存区中删除这些参考了第一信息单元进行编码的第三信息单元。In another possible situation, if the terminal device successfully receives the first information unit, and the first network element (UPF network element or RAN network element) determines that the first information unit has been retrieved from the buffer area of the first network element, Delete, the first network element deletes one or more third information units that are encoded with reference to the first information unit from the cache area. It should be noted that since the one or more third information units are encoded with reference to the first information unit, and the first information unit is not successfully received at the UE side, the one or more third information units are also not received at the UE side. Unable to successfully decode, therefore, when the first information unit is not successfully received and the first network element determines that the first information unit has been deleted from the buffer area, the information unit that refers to the first information unit for encoding will no longer be sent to the UE. , directly delete these third information units that are encoded with reference to the first information unit from the buffer area.
可以看出,第一网元根据第一信息,可以确定第一信息单元的最大保存时长和最大允许传输时长中的至少一个参数。最大保存时长可以用于第一网元确定将第一信息单元缓存多久,或者何时可以从缓存区中删除第一信息单元,而不对第一信息单元之后产生的信息单元的解码产生影响。最大允许传输时长可以辅助第一网元执行对第一信息单元的传输。It can be seen that the first network element can determine at least one parameter of the maximum storage duration and the maximum allowed transmission duration of the first information unit based on the first information. The maximum storage duration can be used by the first network element to determine how long to cache the first information unit, or when the first information unit can be deleted from the cache area without affecting the decoding of information units generated after the first information unit. The maximum allowed transmission duration can assist the first network element in transmitting the first information unit.
此外,在上述步骤410中,第一网元从AF网元获取第一信息可以有两种实现。In addition, in the above step 410, the first network element can obtain the first information from the AF network element in two ways.
在一种可能的应用场景下,后向参考范围较为恒定或变化的周期较长,则AF网元可以通过控制面信令传输途径向第一网元来发送第一信息。In a possible application scenario, if the backward reference range is relatively constant or the period of change is long, the AF network element can send the first information to the first network element through the control plane signaling transmission path.
参见图7,图7为AF网元通过控制面传输路径传输后向参考范围的示意图。应理解,基于图3所示的系统架构,以及各网元之间的接口,结合图7,本领域技术人员可以清楚地知道,AF网元如何通过控制面信令向第一网元(UPF网元或RAN网元)发送第一信息。并且,图7中所示的各消息均是本领域技术人员所知晓的,例如可以参考协议TS 23.502v17.2.1,本文不再详述。Refer to Figure 7, which is a schematic diagram of an AF network element transmitting a backward reference range through a control plane transmission path. It should be understood that, based on the system architecture shown in Figure 3 and the interfaces between network elements, combined with Figure 7, those skilled in the art can clearly understand how the AF network element communicates to the first network element (UPF) through control plane signaling. network element or RAN network element) to send the first information. Moreover, each message shown in Figure 7 is known to those skilled in the art. For example, you can refer to the protocol TS 23.502v17.2.1, which will not be described in detail here.
在另一种可能的应用场景下,后向参考范围的变化较为频繁,则AF网元可以通过“随路传输”的方式向第一网元来发送第一信息。In another possible application scenario, the backward reference range changes frequently, and the AF network element can send the first information to the first network element through "transmission along the road".
在这种传输方式中,AF网元的应用层在每个PDU set中携带该PDU set的第一信息(后向参考范围或时间参数)。具体地,可以在该PDU set的第一个数据包的包头的指定位置用固定数目的比特来指定该PDU set的后向参考范围或时间参数。或者,也可以是在该PDU set中的每个数据包的包头的指定位置用固定数目的比特来指定该PDU set的后向参考范围或时间参数。在该PDU set到达UPF网元时,UPF网元检测包头,可以获知该PDU set的后向参考范围或时间参数。或者,如上文所示,如果信息单元的缓存操作是由RAN网元执行的,则UPF网元在获取到该PDU set携带的后向参考范围或时间参数之后,UPF网元将该后向参考范围或时间参数取出,放到用户面的隧道传输协议(GPRS tunnel protocol for user plane,GTP-U)报头的指定位置,其中,GPRS表示通用分组无线业务(general packet radio services),以便于RAN网元获取该PDU set的后向参考范围或时间参数。In this transmission method, the application layer of the AF network element carries the first information of the PDU set (backward reference range or time parameter) in each PDU set. Specifically, a fixed number of bits can be used to specify the backward reference range or time parameter of the PDU set at a specified position in the header of the first data packet of the PDU set. Alternatively, a fixed number of bits can be used to specify the backward reference range or time parameter of the PDU set at a designated position in the header of each data packet in the PDU set. When the PDU set reaches the UPF network element, the UPF network element detects the packet header and can learn the backward reference range or time parameter of the PDU set. Or, as shown above, if the caching operation of the information unit is performed by the RAN network element, after the UPF network element obtains the backward reference range or time parameter carried by the PDU set, the UPF network element will The range or time parameters are taken out and placed in the designated position of the tunnel transmission protocol (GPRS tunnel protocol for user plane, GTP-U) header of the user plane. Among them, GPRS stands for general packet radio services (general packet radio services) to facilitate the RAN network. Yuan obtains the backward reference range or time parameter of the PDU set.
参见图8,图8为随路传输每个信息单元的后向参考范围的示意图。图8中示出了3个PDU set随路传输后向参考范围的示例,该三个PDU set分别如图8中所示的PDU set#0,PDU set#1和PDU set#2,该3个PDU set各自携带的后向参考范围的取值为M0=1,M1=2,M2=4。Referring to Figure 8, Figure 8 is a schematic diagram of the backward reference range of each information unit transmitted along the path. Figure 8 shows an example of the backward reference range of three PDU sets transmitted along the road. The three PDU sets are PDU set#0, PDU set#1 and PDU set#2 as shown in Figure 8. The 3 The values of the backward reference ranges carried by each PDU set are M 0 =1, M 1 =2, and M 2 =4.
在上述实施例中,AF网元产生的信息单元经过编码,经过UPF网元和RAN网元,最终发送给UE。AF网元的缓存区中的每个信息单元对应如下三种类型的参考标记中的一种:“used for long term reference”、“used for short term reference”或“unused for reference”。第一网元从AF网元接收一个信息单元,也包括接收该信息单元的参考标记。AF网元在编码侧对信息单元的参考标记的更新,也需要通知第一网元,第一网元也相应地修改该信息单元的参考标记,并将该信息单元的后向参考范围修改为 更新后的参考标记对应的后向参考范围。例如,一个参考标记为“used for long term reference”的信息单元,其参考标记可能被修改“used for short term reference”或“unused for reference”,该信息单元的后向参考范围也相应地由“used for long term reference”对应的后向参考范围的取值,修改为“used for short term reference”对应的后向参考范围的取值或“unused for reference”对应的后向参考范围的取值。若AF网元的应用层统一将缓存区中的图片标记为“unused for reference”,则需要将改变该参考标记之前的所有图片的后向参考范围的取值修改为0,并将该改变通知第一网元。再例如,在图2所示的滑窗模式中,被标记为“used for short term reference”的信息单元的后向参考范围为缓存区中当前存储的“used for short term reference”的信息单元的个数,即从MaxDpbFrames中去掉“used for long term reference”的信息单元的个数。在图3所示的自适应参考图片标记模式下,一个参考标记为“used for short term reference”的信息单元的初始后向参考范围与图2中的滑窗模式下的后向参考范围相同,当AF网元的应用层将一个“used for short term reference”的信息单元的参考标记更新为“used for long term reference”或“unused for reference”时,该信息单元对应的后向参考范围也随之改变,此时需要AF网元向第一网元提供该信息单元的更新后的参考标记以及更新后的后向参考范围。In the above embodiment, the information unit generated by the AF network element is encoded, passes through the UPF network element and the RAN network element, and is finally sent to the UE. Each information unit in the buffer area of the AF network element corresponds to one of the following three types of reference marks: "used for long term reference", "used for short term reference" or "unused for reference". The first network element receives an information unit from the AF network element, and also includes a reference mark for receiving the information unit. The AF network element also needs to notify the first network element of the update of the reference mark of the information unit on the encoding side. The first network element also modifies the reference mark of the information unit accordingly and modifies the backward reference range of the information unit to The backward reference range corresponding to the updated reference mark. For example, an information unit whose reference mark is "used for long term reference" may have its reference mark modified to "used for short term reference" or "unused for reference", and the backward reference range of this information unit is correspondingly changed to "used for short term reference" or "unused for reference". The value of the backward reference range corresponding to "used for long term reference" is modified to the value of the backward reference range corresponding to "used for short term reference" or the value of the backward reference range corresponding to "unused for reference". If the application layer of the AF network element uniformly marks the pictures in the buffer area as "unused for reference", it is necessary to modify the values of the backward reference range of all pictures before changing the reference mark to 0, and notify the change The first network element. For another example, in the sliding window mode shown in Figure 2, the backward reference range of the information unit marked "used for short term reference" is the range of the information unit "used for short term reference" currently stored in the buffer area. The number is the number of information units that remove "used for long term reference" from MaxDpbFrames. In the adaptive reference picture marking mode shown in Figure 3, the initial backward reference range of an information unit whose reference mark is "used for short term reference" is the same as the backward reference range in the sliding window mode in Figure 2. When the application layer of the AF network element updates the reference tag of an information unit "used for short term reference" to "used for long term reference" or "unused for reference", the backward reference range corresponding to the information unit also changes accordingly. At this time, the AF network element needs to provide the updated reference mark and the updated backward reference range of the information unit to the first network element.
具体地,第一网元从AF网元接收第一改变信令和第二信息。Specifically, the first network element receives the first change signaling and the second information from the AF network element.
其中,第一改变信令用于指示第一信息单元的参考标记由第一参考标记改变为第二参考标记,第一参考标记和第二参考标记不同。其中,第一改变信令携带第一信息单元的标识。第二信息用于指示第二参考标记对应的后向参考范围。The first change signaling is used to indicate that the reference mark of the first information unit is changed from the first reference mark to the second reference mark, and the first reference mark and the second reference mark are different. The first change signaling carries the identity of the first information unit. The second information is used to indicate the backward reference range corresponding to the second reference mark.
第一网元根据第一改变信令和第二信息,将第一信息单元的参考标记修改为第二参考标记,并将第一信息单元的后向参考范围修改为第二参考标记对应的后向参考范围。The first network element modifies the reference mark of the first information unit to the second reference mark according to the first change signaling and the second information, and modifies the backward reference range of the first information unit to the backward reference range corresponding to the second reference mark. towards the reference range.
可选地,第一改变信令可以通过控制面信令从AF网元传输至第一网元,如图7中的传输途径。Optionally, the first change signaling can be transmitted from the AF network element to the first network element through control plane signaling, such as the transmission path in Figure 7.
可选地,作为另外一种替代实现方式,AF网元也可以采用“随路信令”的方式,向第一网元提供第一信息单元的更新后的参考标记,以及更新后的参考标记对应的后向参考范围,其中,随路信令中还需要包括第一信息单元的标识。第一改变信令中携带的信息(具体为第二参考标记以及第一信息单元的标识)也可以通过“随路传输”的传输途径从AF网元传输至第一网元。Optionally, as another alternative implementation, the AF network element can also use "channel associated signaling" to provide the first network element with the updated reference mark of the first information unit and the updated reference mark. The corresponding backward reference range, where the channel associated signaling also needs to include the identifier of the first information unit. The information carried in the first change signaling (specifically, the second reference mark and the identification of the first information unit) may also be transmitted from the AF network element to the first network element through the "transmission along the way" transmission path.
下面结合图9和图10对本申请提供的后向参考范围的具体应用作示例说明。The following is an example of the specific application of the backward reference range provided in this application with reference to Figures 9 and 10.
示例1Example 1
第一网元为UPF网元,由UPF网元对接收到的信息单元进行缓存。The first network element is a UPF network element, and the UPF network element caches the received information unit.
参见图9,图9为本申请提供的处理图像的方法的一个示例。Referring to Figure 9, Figure 9 is an example of an image processing method provided by this application.
501、UPF网元接收来自于AF网元的信息单元序列。501. The UPF network element receives the information unit sequence from the AF network element.
应理解,信息单元序列是指AF网元(或者认为是编码端)产生的一系列信息单元。下面以信息单元序列中的任意一个信息单元(例如,第一信息单元)为例来说明本申请提出的后向参考范围的应用。It should be understood that the information unit sequence refers to a series of information units generated by the AF network element (or considered as the encoding end). The following uses any information unit (for example, the first information unit) in the information unit sequence as an example to illustrate the application of the backward reference range proposed in this application.
UPF网元向RAN网元发送接收到的信息单元序列,再由RAN网元将接收到的信息单元序列发送给UE。The UPF network element sends the received information unit sequence to the RAN network element, and then the RAN network element sends the received information unit sequence to the UE.
此外,UPF网元按照一定的缓存规则,对接收到的信息单元进行缓存。缓存区中的每个信息单元对应一个参考标记。In addition, the UPF network element caches the received information units according to certain caching rules. Each information unit in the buffer corresponds to a reference tag.
502、UPF网元接收来自于AF网元的第一信息。502. The UPF network element receives the first information from the AF network element.
503、UPF网元根据第一信息,获取第一信息单元的后向参考范围或时间参数。503. The UPF network element obtains the backward reference range or time parameter of the first information unit according to the first information.
504、UPF网元从AF网元接收第一改变信令和第二信息。504. The UPF network element receives the first change signaling and the second information from the AF network element.
505、UPF网元根据第一改变信令和第二信息,更新第一信息单元的参考标记和后向参考范围。505. The UPF network element updates the reference mark and backward reference range of the first information unit according to the first change signaling and the second information.
可选地,若UE未成功接收第一信息单元,RAN网元向UPF网元发送反馈信息,反馈信息用于指示RAN网元未成功向UE发送第一信息单元。Optionally, if the UE fails to receive the first information unit successfully, the RAN network element sends feedback information to the UPF network element, and the feedback information is used to indicate that the RAN network element fails to send the first information unit to the UE.
506、UPF网元从RAN网元接收反馈信息。506. The UPF network element receives feedback information from the RAN network element.
一种可能的情况下,如步骤507。One possible situation is step 507.
507、UPF网元确定缓存区中还保存有第一信息单元,且后产生的P个第三信息单元参考了第一信息单元进行编码。507. The UPF network element determines that the first information unit is still stored in the cache area, and the P third information units generated are encoded with reference to the first information unit.
此时,UPF网元执行步骤508。At this time, the UPF network element executes step 508.
508、UPF网元在第一信息单元的最大允许传输时长内,向RAN网元重复发送第一信息单元和P 个第三信息单元。508. The UPF network element repeatedly sends the first information unit and P to the RAN network element within the maximum allowed transmission duration of the first information unit. a third information unit.
RAN网元向UE发送第一信息单元以及P个第三信息单元。可以理解的是,这里实际上为RAN网元向UE重传第一信息单元。此外,还向UE发送了参考第一信息单元进行编码的若干个后产生的信息单元。The RAN network element sends the first information unit and P third information units to the UE. It can be understood that here, the RAN network element actually retransmits the first information unit to the UE. In addition, several later generated information units encoded with reference to the first information unit are also sent to the UE.
UPF网元接收到RAN网元的反馈信息之后的另一种可能的情况如步骤509。Another possible situation after the UPF network element receives the feedback information from the RAN network element is step 509.
509、UPF网元确定第一信息单元已从缓存区中被删除,UPF网元若确定后产生的P个第三信息单元参考了第一信息单元进行编码,则从缓存区中删除该P个第三信息单元。509. The UPF network element determines that the first information unit has been deleted from the cache area. If the P third information units generated after the determination refer to the first information unit for encoding, the UPF network element deletes the P third information units from the cache area. The third information unit.
以上各步骤可以参见上文相关内容的详细说明,为了避免赘述,图9中不再详述。此外,图9中虚线所示的步骤表示为可选步骤。For each of the above steps, please refer to the detailed description of the relevant content above. In order to avoid redundancy, details will not be described in Figure 9. In addition, the steps shown by dotted lines in Figure 9 are represented as optional steps.
可以看出,在该示例中,UPF网元在获得第一信息单元的第一信息之后,根据第一信息可以获取第一信息单元的最大保存时长和最大允许传输时长中的至少一项。根据第一信息单元的最大保存时长或最大允许传输时长对第一信息单元进行缓存或传输,可以避免UPF网元随机丢弃信息单元(例如frame或slice)导致的低效视频传输,可以提升视频传输性能。It can be seen that in this example, after obtaining the first information of the first information unit, the UPF network element can obtain at least one of the maximum storage duration and the maximum allowed transmission duration of the first information unit based on the first information. Caching or transmitting the first information unit according to the maximum storage time or the maximum allowed transmission time of the first information unit can avoid inefficient video transmission caused by the UPF network element randomly discarding information units (such as frames or slices), and can improve video transmission. performance.
示例2Example 2
第一网元为RAN网元,由RAN网元对接收到的信息单元进行缓存。The first network element is a RAN network element, and the RAN network element caches the received information units.
参见图10,图10为本申请提供的处理图像的方法的一个示例。Referring to Figure 10, Figure 10 is an example of an image processing method provided by this application.
601、RAN网元接收来自于UPF网元的信息单元序列,该信息单元序列是由AF网元产生并发送给UPF网元的。601. The RAN network element receives the information unit sequence from the UPF network element. The information unit sequence is generated by the AF network element and sent to the UPF network element.
RAN网元将接收到的信息单元序列发送给UE。The RAN network element sends the received information unit sequence to the UE.
此外,RAN网元按照一定的缓存规则,对接收到的信息单元进行缓存。缓存区中的每个信息单元对应一个参考标记。In addition, the RAN network element caches the received information units according to certain caching rules. Each information unit in the buffer corresponds to a reference tag.
602、RAN网元接收来自于UPF网元的第一信息,第一信息是由AF网元发送给UPF网元的。602. The RAN network element receives the first information from the UPF network element. The first information is sent by the AF network element to the UPF network element.
603、RAN网元根据第一信息,获取第一信息单元的后向参考范围或时间参数。603. The RAN network element obtains the backward reference range or time parameter of the first information unit according to the first information.
604、RAN网元从UPF网元接收第一改变信令和第二信息,第一改变信令和第二信息是由UPF网元发送给UPF网元的。604. The RAN network element receives the first change signaling and the second information from the UPF network element. The first change signaling and the second information are sent by the UPF network element to the UPF network element.
605、RAN网元根据第一改变信令和第二信息,更新第一信息单元的参考标记和后向参考范围。605. The RAN network element updates the reference mark and backward reference range of the first information unit according to the first change signaling and the second information.
可选地,若UE未成功接收第一信息单元,UE向RAN网元发送反馈信息,反馈信息用于指示UE未成功接收第一信息单元。Optionally, if the UE fails to receive the first information unit successfully, the UE sends feedback information to the RAN network element, and the feedback information is used to indicate that the UE fails to receive the first information unit successfully.
606、RAN网元接收UE反馈的第一信息单元未成功接收的信息。606. The RAN network element receives the information that the first information unit was not successfully received as fed back by the UE.
可选地,UE可以通过媒体访问控制(media access control,MAC)层的混合自动重传请求(hybrid automatic repeat request,HARQ)信息,或者通过分组数据汇聚协议(packet data convergence protocol,PDCP)层或无线资源控制(radio resource control,RRC)层的状态报告向RAN网元反馈未成功接收第一信息单元,不作限定。Optionally, the UE can pass the hybrid automatic repeat request (HARQ) information through the media access control (MAC) layer, or through the packet data convergence protocol (PDCP) layer or The status report of the radio resource control (RRC) layer feeds back to the RAN network element the failure to receive the first information unit, which is not limited.
一种可能的情况下,如步骤607。A possible situation is as shown in step 607.
607、RAN网元确定缓存区中还保存有第一信息单元,且后产生的P个第三信息单元参考了第一信息单元进行编码。607. The RAN network element determines that the first information unit is still stored in the cache area, and the P third information units generated later are encoded with reference to the first information unit.
如上文所述,RAN网元根据UPF提供的M个第三信息,可以确定第一信息单元之后产生的M个信息单元是否参考了第一信息单元进行编码。As mentioned above, the RAN network element can determine whether the M information units generated after the first information unit refer to the first information unit for encoding based on the M pieces of third information provided by the UPF.
此时,UPF网元执行步骤608。At this time, the UPF network element executes step 608.
608、RAN网元在第一信息单元的最大允许传输时长内,向UE发送第一信息单元和P个第三信息单元。608. The RAN network element sends the first information unit and P third information units to the UE within the maximum allowed transmission duration of the first information unit.
RAN网元接收到UE的反馈信息之后的另一种可能的情况如步骤609。Another possible situation after the RAN network element receives the feedback information from the UE is step 609.
609、RAN网元确定第一信息单元已从缓存区中被删除,RAN网元若确定后产生的P个第三信息单元参考了第一信息单元进行编码,则从缓存区中删除该P个第三信息单元。609. The RAN network element determines that the first information unit has been deleted from the cache area. If the P third information units generated after the determination refer to the first information unit for encoding, the RAN network element deletes the P third information units from the cache area. The third information unit.
图10中虚线所示的步骤表示为可选步骤。The steps shown as dotted lines in Figure 10 represent optional steps.
可以看出,在该示例中,RAN网元在获得第一信息单元的第一信息之后,根据第一信息可以获取第一信息单元的最大保存时长和最大允许传输时长中的至少一项。根据第一信息单元的最大保存时长 或最大允许传输时长对第一信息单元进行缓存或传输,可以避免RAN网元随机丢弃信息单元(例如frame或slice)导致的低效视频传输,可以提升视频传输性能。It can be seen that in this example, after obtaining the first information of the first information unit, the RAN network element can obtain at least one of the maximum storage duration and the maximum allowed transmission duration of the first information unit based on the first information. According to the maximum storage time of the first information unit Or cache or transmit the first information unit according to the maximum allowed transmission time, which can avoid inefficient video transmission caused by random discarding of information units (such as frames or slices) by RAN network elements, and can improve video transmission performance.
以上对本申请提供的处理图像的方法作了详细说明,下面介绍本申请提供的处理图像的装置。The method for processing images provided by this application has been described in detail above. The device for processing images provided by this application will be introduced below.
参见图11,图11为本申请提供的处理图像的装置的示意性框图。如图11,装置1000包括处理单元1100、存储单元1200和收发单元1300。Referring to Figure 11, Figure 11 is a schematic block diagram of an image processing device provided by this application. As shown in Figure 11, the device 1000 includes a processing unit 1100, a storage unit 1200 and a transceiver unit 1300.
其中,存储单元1200用于存储接收到的信息单元;Among them, the storage unit 1200 is used to store the received information unit;
收发单元1300,用于从应用功能网元获取第一信息,其中,The transceiver unit 1300 is used to obtain the first information from the application function network element, where,
所述第一信息指示图像的第一信息单元的后向参考范围,所述后向参考范围用于指示第二信息单元的索引和所述第一信息单元的索引之间的间距,所述第二信息单元之后产生的信息单元不再参考所述第一信息单元;或者,The first information indicates a backward reference range of the first information unit of the image, the backward reference range is used to indicate a distance between an index of the second information unit and an index of the first information unit, and the third The information unit generated after the second information unit no longer refers to the first information unit; or,
所述第一信息指示图像的第一信息单元的时间参数,所述时间参数是根据所述第一信息单元的后向参考范围确定的,所述后向参考范围用于指示第二信息单元的索引和所述第一信息单元的索引之间的间距,所述第二信息单元之后产生的信息单元不再参考所述第一信息单元;The first information indicates the temporal parameter of the first information unit of the image, the temporal parameter is determined according to the backward reference range of the first information unit, and the backward reference range is used to indicate the second information unit. The distance between the index and the index of the first information unit, the information unit generated after the second information unit no longer refers to the first information unit;
处理单元1100,用于根据所述第一信息,对所述存储单元1200中的所述第一信息单元进行处理。The processing unit 1100 is configured to process the first information unit in the storage unit 1200 according to the first information.
可选地,在一个实施例中,若所述第一信息指示所述第一信息单元的所述后向参考范围,所述处理单元1100,还用于:Optionally, in one embodiment, if the first information indicates the backward reference range of the first information unit, the processing unit 1100 is further configured to:
根据所述后向参考范围,确定所述时间参数。The time parameter is determined based on the backward reference range.
可选地,在一个实施例中,所述时间参数包括所述第一信息单元的最大保存时长和最大允许传输时长中的至少一项,其中,Optionally, in one embodiment, the time parameter includes at least one of the maximum storage duration and the maximum allowed transmission duration of the first information unit, wherein,
所述最大保存时长为从所述装置接收到所述第一信息单元的第一时刻开始,到所述装置接收到在所述第一信息单元之后产生的M个信息单元的第二时刻为止之间的时长,M为所述后向参考范围所指示的间距的数值,M为整数;The maximum storage duration is from the first time when the device receives the first information unit to the second time when the device receives M information units generated after the first information unit. The duration of the interval, M is the value of the interval indicated by the backward reference range, and M is an integer;
所述最大允许传输时长为从所述装置接收到所述第一信息单元的第一时刻开始,到确定所述装置不会再向终端设备发送所述第一信息单元的第三时刻为止之间的时长。The maximum allowed transmission duration is from the first moment when the device receives the first information unit to the third moment when it is determined that the device will no longer send the first information unit to the terminal device. of duration.
可选地,在一个实施例中,所述存储单元1200中保存的每个信息单元对应一个参考标记,每个所述信息单元所对应的参考标记为如下三种类型之一:用于长期参考、用于短期参考和不用于参考,其中,所述三种类型分别对应不同的后向参考范围。Optionally, in one embodiment, each information unit stored in the storage unit 1200 corresponds to a reference mark, and the reference mark corresponding to each information unit is one of the following three types: for long-term reference , used for short-term reference and not used for reference, wherein the three types respectively correspond to different backward reference ranges.
可选地,在一个实施例中,所述第一信息单元对应第一参考标记;Optionally, in one embodiment, the first information unit corresponds to a first reference mark;
所述收发单元1300,还用于:从所述应用功能网元获取第一改变信令和第二信息,所述第一改变信令用于指示所述第一信息单元的参考标记由所述第一参考标记改变为第二参考标记,所述第二信息用于指示所述第二参考标记对应的后向参考范围,其中,所述第一改变信令携带所述第一信息单元的标识,所述第一参考标记的类型和所述第二参考标记的类型不同;The transceiver unit 1300 is further configured to obtain first change signaling and second information from the application function network element, where the first change signaling is used to indicate that the reference mark of the first information unit is determined by the The first reference mark is changed to a second reference mark, and the second information is used to indicate the backward reference range corresponding to the second reference mark, wherein the first change signaling carries the identity of the first information unit , the type of the first reference mark and the type of the second reference mark are different;
所述处理单元1100,还用于根据所述第一改变信令和所述第二信息,将所述第一信息单元的参考标记修改为所述第二参考标记,并将所述第一信息单元的后向参考范围修改为所述第二参考标记对应的后向参考范围。The processing unit 1100 is further configured to modify the reference mark of the first information unit to the second reference mark according to the first change signaling and the second information, and change the first information unit to the second reference mark. The backward reference range of the unit is modified to the backward reference range corresponding to the second reference mark.
可选地,在一个实施例中,所述收发单元1300,用于:Optionally, in one embodiment, the transceiver unit 1300 is used for:
通过控制面信令从所述应用功能网元获取所述第一信息;或者,Obtain the first information from the application function network element through control plane signaling; or,
从所述应用功能网元接收第一PDU集,所述第一PDU集包含所述第一信息单元的所述第一信息。A first set of PDUs is received from the application function network element, the first set of PDUs containing the first information of the first information unit.
可选地,在一个实施例中,所述存储单元1200,用于:根据所述第一信息,在所述最大保存时长内,在所述缓存中保留所述第一信息单元。Optionally, in one embodiment, the storage unit 1200 is configured to retain the first information unit in the cache within the maximum storage duration according to the first information.
可选地,在一个实施例中,所述收发单元1300,用于接收所述第一信息单元之后产生的M个信息单元;Optionally, in one embodiment, the transceiver unit 1300 is configured to receive M information units generated after the first information unit;
所述处理单元1100,用于在所述最大保存时长内,若确定所述M个信息单元均未参考所述第一信息单元进行编码,删除所述第一信息单元。The processing unit 1100 is configured to delete the first information unit if it is determined that none of the M information units is encoded with reference to the first information unit within the maximum storage time period.
可选地,在一个实施例中,所述装置为RAN网元,所述收发单元1300,用于:Optionally, in one embodiment, the device is a RAN network element, and the transceiver unit 1300 is used for:
从UPF网元获取M个第三信息,所述M个第三信息和所述M个信息单元一一对应,所述M个第三信息中的每个第三信息用于确定所对应的信息单元是否参考了所述第一信息单元进行编码; M pieces of third information are obtained from the UPF network element. The M pieces of third information correspond to the M pieces of information units one-to-one. Each of the M pieces of third information is used to determine the corresponding information. Whether the unit refers to the first information unit for encoding;
所述处理单元1100,用于根据所述M个第三信息,确定所述M个信息单元均未参考所述第一信息单元进行编码。The processing unit 1100 is configured to determine, according to the M pieces of third information, that none of the M information units are encoded with reference to the first information unit.
可选地,在一个实施例中,所述收发单元1300,还用于从所述应用功能网元接收所述第一信息单元;Optionally, in one embodiment, the transceiver unit 1300 is also configured to receive the first information unit from the application function network element;
所述存储单元1200,用于将所述第一信息单元保存到所述第一网元的缓存区中;The storage unit 1200 is used to save the first information unit into the cache area of the first network element;
所述收发单元1300,还用于向终端设备发送所述第一信息单元;The transceiver unit 1300 is also used to send the first information unit to the terminal device;
所述处理单元1100,还用于确定所述终端设备未成功接收所述第一信息单元;The processing unit 1100 is also used to determine that the terminal device has not successfully received the first information unit;
以及,所述收发单元1300,还用于在所述最大传输时延内,向所述终端设备重复发送所述第一信息单元。And, the transceiver unit 1300 is also configured to repeatedly send the first information unit to the terminal device within the maximum transmission delay.
可选地,在一个实施例中,所述处理单元1100,还用于:Optionally, in one embodiment, the processing unit 1100 is also used to:
根据所述第一信息,确定超出所述最大传输时长时,所述终端设备仍然未正确接收所述第一信息单元,确定不再向所述终端设备发送所述第一信息单元。According to the first information, it is determined that the terminal device still has not correctly received the first information unit when the maximum transmission duration is exceeded, and it is determined that the first information unit is no longer sent to the terminal device.
可选地,在一个实施例中,所述装置为UPF网元;Optionally, in one embodiment, the device is a UPF network element;
所述收发单元1300,用于从所述应用功能网元接收所述第一信息单元;The transceiver unit 1300 is configured to receive the first information unit from the application function network element;
所述缓存单元1200,用于将所述第一信息单元保存到所述第一网元的缓存区中;The cache unit 1200 is used to save the first information unit into the cache area of the first network element;
所述收发单元1300,还用于接收来自于所述RAN网元的反馈信息,所述反馈信息用于指示所述RAN网元未向终端设备成功发送所述第一信息单元;The transceiver unit 1300 is also configured to receive feedback information from the RAN network element, where the feedback information is used to indicate that the RAN network element has not successfully sent the first information unit to the terminal device;
所述处理单元1100,用于确定所述第一网元的缓存区中保留有所述第一信息单元,且所述第一信息单元之后产生的一个或多个第三信息单元参考所述第一信息单元进行编码;The processing unit 1100 is configured to determine that the first information unit is retained in the buffer area of the first network element, and that one or more third information units generated after the first information unit refer to the first information unit. An information unit is encoded;
以及,所述收发单元1300,用于向所述RAN网元发送所述第一信息单元以及所述一个或多个第三信息单元。And, the transceiver unit 1300 is configured to send the first information unit and the one or more third information units to the RAN network element.
可选地,在一个实施例中,所述处理单元1100,用于确定终端设备未成功接收所述第一信息单元,且所述第一信息单元已从所述第一网元的缓存区中被删除;Optionally, in one embodiment, the processing unit 1100 is configured to determine that the terminal device has not successfully received the first information unit, and the first information unit has been retrieved from the buffer area of the first network element. been deleted;
所述缓存单元1200,用于从所述缓存中删除参考了所述第一信息单元进行编码的一个或多个第三信息单元。The cache unit 1200 is configured to delete one or more third information units encoded with reference to the first information unit from the cache.
可选地,在一个实施例中,所述装置为RAN网元或UPF网元。Optionally, in one embodiment, the device is a RAN network element or a UPF network element.
在装置1000对应UPF网元的各实施例中,处理单元1100用于执行除了发送和接收的动作之外由UPF网元内部实现的处理和/或操作。收发单元1300用于执行UPF网元的接收或发送的动作。In various embodiments in which the device 1000 corresponds to a UPF network element, the processing unit 1100 is configured to perform processing and/or operations implemented internally by the UPF network element in addition to actions of sending and receiving. The transceiver unit 1300 is used to perform the receiving or sending action of the UPF network element.
例如,在图4中,收发单元1300用于执行步骤410中接收第一信息的动作;处理单元1100用于执行步骤420。可选地,存储单元1200用于存储接收到的来自于应用功能网元的信息单元序列(图4中未示出)。For example, in FIG. 4 , the transceiver unit 1300 is configured to perform the action of receiving the first information in step 410 ; the processing unit 1100 is configured to perform step 420 . Optionally, the storage unit 1200 is used to store the received information unit sequence from the application function network element (not shown in Figure 4).
例如,在图9中,收发单元1300用于执行步骤501,步骤502,步骤504,步骤506中接收的动作;还用于执行向RAN网元发送信息单元序列的动作,以及步骤508中发送的动作;处理单元1100用于执行步骤503,步骤505,步骤507和步骤509。此外,存储单元1300用于缓存从AF网元接收到的信息单元。For example, in Figure 9, the transceiver unit 1300 is used to perform the actions received in step 501, step 502, step 504, and step 506; it is also used to perform the action of sending the information unit sequence to the RAN network element, and the action sent in step 508. Action: The processing unit 1100 is used to execute step 503, step 505, step 507 and step 509. In addition, the storage unit 1300 is used to cache information units received from the AF network element.
在装置1000对应RAN网元的各实施例中,处理单元1100用于执行除了发送和接收的动作之外由RAN网元内部实现的处理和/或操作。收发单元1300用于执行RAN网元的接收或发送的动作。In various embodiments in which the device 1000 corresponds to a RAN network element, the processing unit 1100 is configured to perform processing and/or operations implemented internally by the RAN network element in addition to actions of sending and receiving. The transceiver unit 1300 is used to perform receiving or transmitting actions of the RAN network element.
例如,在图4中,在图4中,收发单元1300用于执行步骤410中接收第一信息的动作;处理单元1100用于执行步骤420。可选地,存储单元1200用于存储接收到的来自于应用功能网元的信息单元序列(图4中未示出)。For example, in FIG. 4 , the transceiver unit 1300 is configured to perform the action of receiving the first information in step 410 ; the processing unit 1100 is configured to perform step 420 . Optionally, the storage unit 1200 is used to store the received information unit sequence from the application function network element (not shown in Figure 4).
例如,在图10中,收发单元1300用于执行步骤601,步骤602,步骤604和步骤606中接收的动作;还用于执行向UE发送信息单元序列的动作,以及步骤608中发送的动作;处理单元1100用于执行步骤603,步骤605,步骤607以及步骤609。此外,存储单元1300用于缓存从UPF网元接收到的信息单元。For example, in Figure 10, the transceiver unit 1300 is used to perform the actions received in step 601, step 602, step 604 and step 606; it is also used to perform the action of sending the information unit sequence to the UE, and the action of sending in step 608; The processing unit 1100 is used to execute step 603, step 605, step 607 and step 609. In addition, the storage unit 1300 is used to cache information units received from the UPF network element.
参见图12,图12为本申请提供的处理图像的装置的示意性结构图。如图12,装置10包括:一个或多个处理器11,一个或多个存储器12以及一个或多个通信接口13。处理器11用于控制通信接口13收发信号,存储器12用于存储计算机程序,处理器11用于从存储器12中调用并运行该计算机程序, 以使得装置10执行本申请各方法实施例中由第一网元执行的处理。Referring to Figure 12, Figure 12 is a schematic structural diagram of an image processing device provided by this application. As shown in FIG. 12 , the device 10 includes: one or more processors 11 , one or more memories 12 and one or more communication interfaces 13 . The processor 11 is used to control the communication interface 13 to send and receive signals, the memory 12 is used to store a computer program, and the processor 11 is used to call and run the computer program from the memory 12, This causes the device 10 to perform the processing performed by the first network element in each method embodiment of the present application.
例如,处理器11可以具有图11中所示的处理单元1100的功能,存储器12可以具有存储单元1200的功能,通信接口13可以具有收发单元1300的功能。具体地,处理器11可以用于执行由装置内部执行的处理或操作,存储器可以用于执行缓存以及从缓存中删除信息单元的操作,通信接口13用于执行装置的发送和/或接收的操作。For example, the processor 11 may have the function of the processing unit 1100 shown in FIG. 11 , the memory 12 may have the function of the storage unit 1200 , and the communication interface 13 may have the function of the transceiver unit 1300 . Specifically, the processor 11 may be used to perform processing or operations performed internally by the device, the memory may be used to perform operations of caching and deleting information units from the cache, and the communication interface 13 is used to perform operations of sending and/or receiving by the device. .
在一种实现方式中,装置10可以为方法实施例中的第一网元。在这种实现方式中,通信接口13可以为第一网元的收发器。收发器可以包括接收器和/或发射器。可选地,处理器11可以为第一网元的基带装置,通信接口13可以为射频装置。In one implementation, the device 10 may be the first network element in the method embodiment. In this implementation, the communication interface 13 may be a transceiver of the first network element. A transceiver may include a receiver and/or a transmitter. Alternatively, the processor 11 may be a baseband device of the first network element, and the communication interface 13 may be a radio frequency device.
在另一种实现中,装置10可以为安装在第一网元中的芯片(或芯片系统)。在这种实现方式中,通信接口13可以为接口电路或者输入/输出接口。In another implementation, the device 10 may be a chip (or chip system) installed in the first network element. In this implementation, communication interface 13 may be an interface circuit or an input/output interface.
其中,图12中器件(例如,处理器、存储器或通信接口)后面的虚线框表示该器件可以为一个以上。Among them, the dotted box behind the device (for example, processor, memory or communication interface) in Figure 12 indicates that there can be more than one device.
可选地,上述各装置实施例中的存储器与处理器可以是物理上相互独立的单元,或者,存储器也可以和处理器集成在一起,本文不作限定。Optionally, the memory and the processor in the above device embodiments may be physically independent units, or the memory may be integrated with the processor, which is not limited herein.
此外,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得本申请各方法实施例中由第一网元执行的操作和/或处理被执行。In addition, this application also provides a computer-readable storage medium. Computer instructions are stored in the computer-readable storage medium. When the computer instructions are run on the computer, each method embodiment of the application is executed by the first network element. operations and/or processing are performed.
此外,本申请还提供一种计算机程序产品,计算机程序产品包括计算机程序代码或指令,当计算机程序代码或指令在计算机上运行时,使得本申请各方法实施例中由第一网元执行的操作和/或处理被执行。In addition, this application also provides a computer program product. The computer program product includes computer program code or instructions. When the computer program code or instructions are run on the computer, the operations performed by the first network element in each method embodiment of the application are performed. and/or processing is performed.
此外,本申请还提供一种芯片,所述芯片包括处理器,用于存储计算机程序的存储器独立于芯片而设置,处理器用于执行存储器中存储的计算机程序,使得安装有所述芯片的装置执行任意一个方法实施例中由第一网元执行的操作和/或处理。In addition, the present application also provides a chip. The chip includes a processor. A memory used to store a computer program is provided independently of the chip. The processor is used to execute the computer program stored in the memory, so that a device equipped with the chip executes Operations and/or processes performed by the first network element in any method embodiment.
进一步地,所述芯片还可以包括通信接口。所述通信接口可以是输入/输出接口,也可以为接口电路等。进一步地,所述芯片还可以包括所述存储器。Further, the chip may also include a communication interface. The communication interface may be an input/output interface, or an interface circuit, etc. Further, the chip may further include the memory.
此外,本申请还提供一种通信装置(例如,可以为芯片或芯片系统),包括存储器、处理器和通信接口,所述通信接口用于接收第一信息,并将第一信息发送所述处理器;所述处理器用于根据所述第一信息对所述存储器中缓存的第一信息单元进行处理。In addition, this application also provides a communication device (for example, it can be a chip or a chip system), including a memory, a processor and a communication interface. The communication interface is used to receive the first information and send the first information to the processing processor; the processor is configured to process the first information unit cached in the memory according to the first information.
此外,本申请还提供一种通信装置,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合,所述至少一个处理器用于执行所述至少一个存储器中存储的计算机程序或指令,使得所述通信装置执行任意一个方法实施例中由第一网元执行的操作和/或处理。In addition, the present application also provides a communication device, including at least one processor, the at least one processor is coupled to at least one memory, and the at least one processor is used to execute a computer program or instructions stored in the at least one memory, The communication device is caused to perform the operation and/or processing performed by the first network element in any method embodiment.
此外,本申请还提供一种无线通信系统,包括本申请各方式实施例中的UPF网元和RAN网元。可选地,还包括AF网元。可选地,还可以包括终端设备。In addition, this application also provides a wireless communication system, including UPF network elements and RAN network elements in various embodiments of this application. Optionally, it also includes AF network elements. Optionally, terminal equipment may also be included.
需要说明的是,“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。其中,A的数量并不限定,可以为一个,也可以为多于一个,B的数量也不限定,可以为一个,也可以为多于一个。It should be noted that "and/or" describes the relationship between associated objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. three conditions. Among them, the number of A is not limited, it can be one or more than one, and the number of B is not limited, it can be one or more than one.
在上述实施例中,第一、第二、第三等仅为便于区分不同对象,而不应对本申请构成任何限定。例如,区分不同的信息、不同的信息单元等。In the above embodiments, terms such as first, second, third, etc. are only for convenience of distinguishing different objects and should not constitute any limitation on this application. For example, distinguish different information, different information units, etc.
本申请实施例中提及的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor mentioned in the embodiments of this application can be a central processing unit (CPU), or other general-purpose processor, digital signal processor (DSP), application specific integrated circuit (application specific integrated circuit) circuit, ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用, 例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DRRAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。The memory in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM), which is used as an external cache. By way of illustration, but not limitation, many forms of RAM are available, For example, static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DRRAM) ). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。 The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application. should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (19)

  1. 一种处理图像的方法,其特征在于,包括:A method for processing images, characterized by including:
    第一网元从应用功能网元获取第一信息,其中,The first network element obtains the first information from the application function network element, where,
    所述第一信息指示所述图像的第一信息单元的后向参考范围,所述后向参考范围用于指示第二信息单元的索引和所述第一信息单元的索引两者之间的间距,所述第二信息单元之后产生的信息单元不再参考所述第一信息单元;或者,The first information indicates a backward reference range of the first information unit of the image, and the backward reference range is used to indicate a distance between an index of the second information unit and an index of the first information unit. , the information unit generated after the second information unit no longer refers to the first information unit; or,
    所述第一信息指示所述图像的第一信息单元的时间参数,所述时间参数是根据所述第一信息单元的后向参考范围确定的,所述后向参考范围用于指示第二信息单元的索引和所述第一信息单元的索引两者之间的间距,所述第二信息单元之后产生的信息单元不再参考所述第一信息单元;The first information indicates the time parameter of the first information unit of the image, the time parameter is determined according to the backward reference range of the first information unit, and the backward reference range is used to indicate the second information The distance between the index of the unit and the index of the first information unit, the information unit generated after the second information unit no longer refers to the first information unit;
    所述第一网元根据所述第一信息,对所述第一网元的缓存区中的所述第一信息单元进行处理。The first network element processes the first information unit in the buffer area of the first network element according to the first information.
  2. 根据权利要求1所述的方法,其特征在于,若所述第一信息指示所述第一信息单元的所述后向参考范围,所述方法还包括:The method of claim 1, wherein if the first information indicates the backward reference range of the first information unit, the method further includes:
    所述第一网元根据所述后向参考范围,确定所述时间参数。The first network element determines the time parameter according to the backward reference range.
  3. 根据权利要求1或2所述的方法,其特征在于,所述时间参数包括所述第一信息单元的最大保存时长和最大允许传输时长中的至少一项,其中,The method according to claim 1 or 2, characterized in that the time parameter includes at least one of the maximum storage duration and the maximum allowed transmission duration of the first information unit, wherein,
    所述最大保存时长为从所述第一网元接收到所述第一信息单元的第一时刻开始,到所述第一网元接收到在所述第一信息单元之后产生的M个信息单元的第二时刻为止的时长,其中M为所述后向参考范围指示的间距的数值,M为整数;The maximum storage duration is from the first moment when the first network element receives the first information unit to when the first network element receives M information units generated after the first information unit. The duration until the second moment, where M is the value of the spacing indicated by the backward reference range, and M is an integer;
    所述最大允许传输时长为从所述第一网元接收到所述第一信息单元的第一时刻开始,到确定所述第一网元不会再向终端设备发送所述第一信息单元的第三时刻为止的时长。The maximum allowed transmission duration is from the first moment when the first network element receives the first information unit to when it is determined that the first network element will no longer send the first information unit to the terminal device. The duration until the third moment.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述第一网元的缓存区中的每个信息单元对应一个参考标记,每个所述信息单元所对应的参考标记为如下三种类型之一:用于长期参考、用于短期参考和不用于参考,其中所述三种类型分别对应不同的后向参考范围。The method according to any one of claims 1 to 3, characterized in that each information unit in the cache area of the first network element corresponds to a reference mark, and the reference mark corresponding to each information unit It is one of the following three types: used for long-term reference, used for short-term reference and not used for reference, wherein the three types respectively correspond to different backward reference ranges.
  5. 根据权利要求4所述的方法,其特征在于,所述第一信息单元对应第一参考标记;所述方法还包括:The method of claim 4, wherein the first information unit corresponds to a first reference mark; the method further includes:
    所述第一网元从所述应用功能网元获取第一改变信令和第二信息,所述第一改变信令用于指示所述第一信息单元的参考标记由所述第一参考标记改变为第二参考标记,所述第二信息用于指示所述第二参考标记对应的后向参考范围,其中,所述第一改变信令携带所述第一信息单元的标识,所述第一参考标记的类型和所述第二参考标记的类型不同;The first network element obtains first change signaling and second information from the application function network element. The first change signaling is used to indicate that the reference mark of the first information unit is changed from the first reference mark. Changed to a second reference mark, the second information is used to indicate the backward reference range corresponding to the second reference mark, wherein the first change signaling carries the identity of the first information unit, and the third The type of one reference mark is different from the type of the second reference mark;
    所述第一网元根据所述第一改变信令和所述第二信息,将所述第一信息单元的参考标记修改为所述第二参考标记,并将所述第一信息单元的后向参考范围修改为所述第二参考标记对应的后向参考范围。The first network element modifies the reference mark of the first information unit to the second reference mark according to the first change signaling and the second information, and changes the suffix of the first information unit to the second reference mark. The forward reference range is modified to the backward reference range corresponding to the second reference mark.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述第一网元从应用功能网元获取第一信息,包括:The method according to any one of claims 1 to 5, characterized in that the first network element obtains the first information from the application function network element, including:
    所述第一网元通过控制面信令,从所述应用功能网元获取所述第一信息;或者,The first network element obtains the first information from the application function network element through control plane signaling; or,
    所述第一网元从所述应用功能网元接收第一协议数据单元PDU集,所述第一PDU集包含所述第一信息单元的所述第一信息。The first network element receives a first protocol data unit PDU set from the application function network element, and the first PDU set includes the first information of the first information unit.
  7. 根据权利要求3至6中任一项所述的方法,其特征在于,所述第一网元根据所述第一信息,对所述第一网元的缓存区中的所述第一信息单元进行处理,包括:The method according to any one of claims 3 to 6, characterized in that the first network element caches the first information unit in the cache area of the first network element based on the first information. Processing includes:
    所述第一网元根据所述第一信息,在所述最大保存时长内,在所述缓存中保留所述第一信息单元。The first network element retains the first information unit in the cache within the maximum storage duration according to the first information.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method of claim 7, further comprising:
    所述第一网元接收所述第一信息单元之后产生的M个信息单元;M information units generated after the first network element receives the first information unit;
    在所述最大保存时长内,若所述第一网元确定所述M个信息单元均未参考所述第一信息单元进行编码,所述第一网元删除所述第一信息单元。Within the maximum storage time period, if the first network element determines that none of the M information units are encoded with reference to the first information unit, the first network element deletes the first information unit.
  9. 根据权利要求8所述的方法,其特征在于, The method according to claim 8, characterized in that:
    所述第一网元为RAN网元;The first network element is a RAN network element;
    所述第一网元确定所述M个信息单元均未参考所述第一信息单元进行编码,包括:The first network element determines that none of the M information units are encoded with reference to the first information unit, including:
    所述第一网元从用户面功能UPF网元获取M个第三信息,所述M个第三信息和所述M个信息单元一一对应,所述M个第三信息中的每个第三信息用于确定所对应的信息单元是否参考了所述第一信息单元进行编码;The first network element obtains M pieces of third information from the user plane function UPF network element. The M pieces of third information correspond to the M pieces of information units one-to-one. Each of the M pieces of third information The third information is used to determine whether the corresponding information unit refers to the first information unit for encoding;
    所述第一网元根据所述M个第三信息,确定所述M个信息单元均未参考所述第一信息单元进行编码。The first network element determines, based on the M pieces of third information, that none of the M information units are encoded with reference to the first information unit.
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method of claim 9, further comprising:
    所述第一网元从所述应用功能网元接收所述第一信息单元,并将所述第一信息单元保存到所述第一网元的缓存区中;The first network element receives the first information unit from the application function network element and saves the first information unit in a cache area of the first network element;
    所述第一网元向终端设备发送所述第一信息单元;The first network element sends the first information unit to the terminal device;
    其中,所述第一网元根据所述第一信息,对所述第一网元的缓存区中的所述第一信息单元进行处理,包括:Wherein, the first network element processes the first information unit in the buffer area of the first network element according to the first information, including:
    若所述终端设备未成功接收所述第一信息单元,所述第一网元根据所述第一信息,在所述最大传输时延内,向所述终端设备重复发送所述第一信息单元。If the terminal device fails to receive the first information unit successfully, the first network element repeatedly sends the first information unit to the terminal device within the maximum transmission delay according to the first information. .
  11. 根据权利要求10所述的方法,其特征在于,所述第一网元根据所述第一信息,对所述第一网元的缓存区中的所述第一信息单元进行处理,还包括:The method according to claim 10, characterized in that the first network element processes the first information unit in the buffer area of the first network element according to the first information, and further includes:
    所述第一网元根据所述第一信息,确定超出所述最大传输时长时,所述终端设备仍然未正确接收所述第一信息单元,所述第一网元不再向所述终端设备发送所述第一信息单元。The first network element determines, based on the first information, that when the maximum transmission duration is exceeded, the terminal device still does not receive the first information unit correctly, and the first network element no longer transmits data to the terminal device. Send the first information unit.
  12. 根据权利要求3至8中任一项所述的方法,其特征在于,所述第一网元为UPF网元,所述方法还包括:The method according to any one of claims 3 to 8, characterized in that the first network element is a UPF network element, and the method further includes:
    所述第一网元从所述应用功能网元接收所述第一信息单元,并将所述第一信息单元保存到所述第一网元的缓存区中;The first network element receives the first information unit from the application function network element and saves the first information unit in a cache area of the first network element;
    所述第一网元向RAN网元发送所述第一信息单元;The first network element sends the first information unit to the RAN network element;
    所述第一网元接收来自于所述RAN网元的反馈信息,所述反馈信息用于指示所述RAN网元未向终端设备成功发送所述第一信息单元;The first network element receives feedback information from the RAN network element, where the feedback information is used to indicate that the RAN network element has not successfully sent the first information unit to the terminal device;
    若所述第一网元的缓存区中保留有所述第一信息单元,且确定所述第一信息单元之后产生的一个或多个第三信息单元参考所述第一信息单元进行编码,所述第一网元向所述RAN网元发送所述第一信息单元以及所述一个或多个第三信息单元。If the first information unit is retained in the buffer area of the first network element, and one or more third information units generated after the first information unit is determined to be encoded with reference to the first information unit, then The first network element sends the first information unit and the one or more third information units to the RAN network element.
  13. 根据权利要求3至12中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 3 to 12, characterized in that the method further includes:
    若终端设备未成功接收所述第一信息单元,且所述第一网元确定所述第一信息单元已从所述第一网元的缓存区中被删除,所述第一网元从所述缓存中删除参考了所述第一信息单元进行编码的一个或多个第三信息单元。If the terminal device does not successfully receive the first information unit and the first network element determines that the first information unit has been deleted from the cache area of the first network element, the first network element removes the first information unit from the first network element. One or more third information units encoded with reference to the first information unit are deleted from the cache.
  14. 根据权利要求1至8,13中任一项所述的方法,其特征在于,所述第一网元为RAN网元或用户面功能UPF网元。The method according to any one of claims 1 to 8, 13, characterized in that the first network element is a RAN network element or a user plane function UPF network element.
  15. 一种处理图像的装置,其特征在于,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合,所述至少一个处理器用于执行所述至少一个存储器中存储的计算机程序或指令,以使所述装置执行如权利要求1-14中任一项所述的方法。A device for processing images, characterized in that it includes at least one processor, the at least one processor is coupled to at least one memory, and the at least one processor is used to execute computer programs or instructions stored in the at least one memory, So that the device performs the method according to any one of claims 1-14.
  16. 一种芯片,其特征在于,包括存储器、处理器和通信接口,所述通信接口用于接收第一信息,并将接收到的第一信息传输至所述处理器,所述处理器根据所述第一信息,对所述存储器中存储的第一信息单元进行处理,以执行如权利要求1-14中任一项所述的方法。A chip, characterized by comprising a memory, a processor and a communication interface, the communication interface being used to receive first information and transmit the received first information to the processor, the processor according to the First information: process the first information unit stored in the memory to perform the method according to any one of claims 1-14.
  17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得如权利要求1-14中任一项所述的方法被实现。A computer-readable storage medium, characterized in that computer instructions are stored in the computer-readable storage medium. When the computer instructions are run on a computer, the method as described in any one of claims 1-14 is performed. accomplish.
  18. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得如权利要求1-14中任一项所述的方法被实现。A computer program product, characterized in that the computer program product includes computer program code, and when the computer program code is run on a computer, the method according to any one of claims 1-14 is implemented.
  19. 一种无线通信系统,其特征在于,包括如权利要求15中所述的处理图像的装置。 A wireless communication system, characterized by comprising the device for processing images as claimed in claim 15.
PCT/CN2023/107255 2022-07-21 2023-07-13 Method for processing image, and apparatus WO2024017135A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202210864123 2022-07-21
CN202210864123.4 2022-07-21
CN202210952281.5A CN117479230A (en) 2022-07-21 2022-08-09 Method and device for processing image
CN202210952281.5 2022-08-09

Publications (1)

Publication Number Publication Date
WO2024017135A1 true WO2024017135A1 (en) 2024-01-25

Family

ID=89617080

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/107255 WO2024017135A1 (en) 2022-07-21 2023-07-13 Method for processing image, and apparatus

Country Status (1)

Country Link
WO (1) WO2024017135A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070086521A1 (en) * 2005-10-11 2007-04-19 Nokia Corporation Efficient decoded picture buffer management for scalable video coding
CN112351285A (en) * 2020-11-04 2021-02-09 北京金山云网络技术有限公司 Video encoding method and apparatus, video decoding method and apparatus, electronic device, and storage medium
CN112532908A (en) * 2019-09-19 2021-03-19 华为技术有限公司 Video image transmission method, sending equipment, video call method and equipment
CN113905241A (en) * 2020-06-22 2022-01-07 微软技术许可有限责任公司 Video coding
CN114465993A (en) * 2022-01-24 2022-05-10 杭州网易智企科技有限公司 Video encoding method, video decoding method and apparatus, medium, and computing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070086521A1 (en) * 2005-10-11 2007-04-19 Nokia Corporation Efficient decoded picture buffer management for scalable video coding
CN112532908A (en) * 2019-09-19 2021-03-19 华为技术有限公司 Video image transmission method, sending equipment, video call method and equipment
CN113905241A (en) * 2020-06-22 2022-01-07 微软技术许可有限责任公司 Video coding
CN112351285A (en) * 2020-11-04 2021-02-09 北京金山云网络技术有限公司 Video encoding method and apparatus, video decoding method and apparatus, electronic device, and storage medium
CN114465993A (en) * 2022-01-24 2022-05-10 杭州网易智企科技有限公司 Video encoding method, video decoding method and apparatus, medium, and computing device

Similar Documents

Publication Publication Date Title
CN108419275B (en) Data transmission method, communication equipment, terminal and base station
CN107231328B (en) Real-time video transmission method, device, equipment and system
CN108667559B (en) Communication method and device
WO2021259112A1 (en) Service transmission method and apparatus
CN110291809B (en) Method for transmitting data and communication device
TW201203929A (en) Method and apparatus for reverse link lower layer assisted video error control
WO2022088833A1 (en) Method for transmitting data packet of media stream, and communication apparatus
WO2011026414A1 (en) Data transmission method and apparatus thereof
WO2024017135A1 (en) Method for processing image, and apparatus
US11296831B2 (en) Method and apparatus for wireless communication
CN117479230A (en) Method and device for processing image
CN110719182A (en) Method and device for adjusting link capacity
CN115918251A (en) Message processing method and related device
WO2023184479A1 (en) Method and apparatus of supporting mobility
CN114928554B (en) Video transmission method, device and storage medium
WO2023185853A1 (en) Information transmission method and apparatus, related device and storage medium
WO2023051106A1 (en) Method and apparatus for code block groups and slices mapping in mobile communications
WO2024067374A1 (en) Communication method and apparatus
WO2023115473A1 (en) Methods and apparatuses for supporting a packet discarding operation in a pdcp layer due to a packet loss
WO2023115473A9 (en) Methods and apparatuses for supporting a packet discarding operation in a pdcp layer due to a packet loss
CN101371484A (en) System and method for transmitting and receiving data frames in a NAK-based window protocol
CN117460002A (en) Communication method, device, communication equipment and storage medium
WO2023061555A1 (en) Device and method for group qos control of multiple qos flows
CN117835435A (en) Information feedback method, device, related equipment and storage medium
CN116248894A (en) Video data packet sending processing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23842199

Country of ref document: EP

Kind code of ref document: A1