WO2023116836A1 - Image frame acquisition method and apparatus, and communication device - Google Patents

Image frame acquisition method and apparatus, and communication device Download PDF

Info

Publication number
WO2023116836A1
WO2023116836A1 PCT/CN2022/141148 CN2022141148W WO2023116836A1 WO 2023116836 A1 WO2023116836 A1 WO 2023116836A1 CN 2022141148 W CN2022141148 W CN 2022141148W WO 2023116836 A1 WO2023116836 A1 WO 2023116836A1
Authority
WO
WIPO (PCT)
Prior art keywords
image frame
video service
communication device
target video
information
Prior art date
Application number
PCT/CN2022/141148
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
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023116836A1 publication Critical patent/WO2023116836A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0058Transmission of hand-off measurement information, e.g. measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/165Performing reselection for specific purposes for reducing network power consumption

Definitions

  • the present application belongs to the technical field of wireless communication, and in particular relates to an image frame acquisition method, device and communication equipment.
  • extended reality may include augmented reality (Augmented Reality, AR) business, virtual reality (Virtual Reality, VR) business and mixed AR and MR (Mixed AR and VR, MR) business, in
  • image data needs to be encoded to achieve image data compression.
  • image data is encoded into three types of image frames: Intra-coded picture (I) frame, Predictive-coded picture (P ) frame and bidirectional predicted picture (Bidirectional predicted picture, B) frame.
  • an I frame is also called an independently decoded frame (IDR frame), which is a complete image frame and can be generated and presented independently of other frames.
  • the P frame only contains the image change information relative to the previous frame, and the receiver needs to combine the previous frame to generate the current frame and complete the display on the receiving terminal.
  • the B frame is used to indicate the change information of the current frame relative to the previous frame and the subsequent frame, and the receiver needs to combine the previous frame and the subsequent frame to generate the current frame.
  • the preceding frames and the following frames are sorted according to the frame presentation time or the image acquisition time of the source end, and the actual sending and receiving time may be adjusted according to the image decoding time of the receiver. For example, the sender can send according to the decoding time sequence of the image frames of the receiver.
  • XR service data can be transmitted end-to-end through the wireless network.
  • the transmission may be interrupted for some reason.
  • the wireless network may need to be switched or the wireless link may fail.
  • the subsequent wireless link re-establishment or the start of the measurement gap may cause the transmission to be interrupted, so that the image frames of some XR services cannot be successfully transmitted. Aiming at the situation of the interruption of the transmission, no relevant solution has been provided at present.
  • Embodiments of the present application provide a method, device, and communication device for acquiring image frames, and provide a solution for video service transmission interruption.
  • a method for acquiring an image frame including: a first communication device determining data transmission interruption information of a target video service, wherein the data transmission interruption information indicates that the transmission of the target video service is interrupted; the The first communication device acquires the first image frame based on the data transmission interruption information, wherein the data transmission interruption information includes at least one of the following: first indication information, wherein the first indication information is used to indicate the The transmission interruption of the target video service; the time information of the transmission interruption, wherein the time information includes at least one of the following: the duration of the transmission interruption, the start time point of the transmission interruption, and the end time point of the transmission interruption; the second image The number of frames, the second image frame is an image frame lost due to the interruption of the transmission; the type of the second image frame; the identification of the second image frame; the information of the target image frame, wherein the The target image frame is before the transmission interruption occurs, the last correct image frame of the target video service; target information, wherein the target information is the Internet protocol (Internet Protocol, IP)
  • an image frame acquisition device including: a determining module, configured to determine information in data transmission of a target video service, wherein the data transmission interruption information indicates that the transmission of the target video service is interrupted; A module, configured to acquire a first image frame based on the data transmission interruption information, wherein the data transmission interruption information includes at least one of the following: first indication information, wherein the first indication information is used to indicate the The transmission interruption of the target video service; the time information of the transmission interruption, wherein the time information includes at least one of the following: the duration of the transmission interruption, the start time point of the transmission interruption, and the end time point of the transmission interruption; the second image The number of frames, the second image frame is an image frame lost due to the interruption of the transmission; the type of the second image frame; the identification of the second image frame; the information of the target image frame, wherein the The target image frame is before the transmission interruption occurs, the last correct image frame of the target video service; target information, wherein the target information is the Internet protocol (Internet Protocol, IP) data
  • a communication device in a third aspect, includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are implemented when executed by the processor The steps of the method as described in the first aspect.
  • a communication device including a processor and a communication interface, wherein the processor is used to implement the steps of the method according to the first aspect, and the communication interface is used to communicate with an external device.
  • a readable storage medium is provided, and a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented.
  • a sixth aspect provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and implement the method as described in the first aspect A step of.
  • a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the method described in the first aspect method steps.
  • the first communication device determines the data transmission interruption information of the target video service, and acquires the first image frame based on the data transmission interruption information, so that the decoding of the acquired first image frame does not depend on Due to the second image frame lost due to data transmission interruption, it can avoid the problem of useless data transmission due to the decoding of the image frame transmitted after the transmission interruption needs to rely on the second image frame, and save wireless resources . Moreover, it can also avoid the situation that the interruption time of video playing is longer than the interruption time of video service data transmission due to useless data transmission.
  • FIG. 1 shows a block diagram of a wireless communication system to which an embodiment of the present application is applicable
  • Fig. 2 shows a schematic flow chart of an image frame acquisition method provided by an embodiment of the present application
  • Figure 3a shows a schematic diagram of video service transmission in the embodiment of the present application
  • FIG. 3b shows a schematic diagram of another video service transmission in the embodiment of the present application.
  • Fig. 4a shows a schematic diagram of a way to regenerate an image frame in the embodiment of the present application
  • Fig. 4b shows a schematic diagram of another way to regenerate image frames in the embodiment of the present application
  • FIG. 5 shows a schematic diagram of a protocol layer structure in an embodiment of the present application
  • FIG. 6 shows another schematic flow chart of the method for acquiring an image frame provided by the embodiment of the present application
  • FIG. 7 shows a schematic structural diagram of an image frame acquisition device provided by an embodiment of the present application.
  • FIG. 8 shows a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 9 shows a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present application.
  • FIG. 10 shows a schematic diagram of a hardware structure of a network side device provided by an embodiment of the present application.
  • first, second and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein and that "first" and “second” distinguish objects. It is usually one category, and the number of objects is not limited. For example, there may be one or more first objects.
  • “and/or” in the description and claims means at least one of the connected objects, and the character “/” generally means that the related objects are an "or” relationship.
  • LTE Long Term Evolution
  • LTE-Advanced LTE-Advanced
  • LTE-A Long Term Evolution-Advanced
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • OFDMA Orthogonal Frequency Division Multiple Access
  • SC-FDMA Single-carrier Frequency Division Multiple Access
  • system and “network” in the embodiments of the present application are often used interchangeably, and the described technologies can be used for the above-mentioned systems and radio technologies as well as other systems and radio technologies.
  • NR New Radio
  • the following description describes the New Radio (NR) system for illustrative purposes, and uses NR terminology in most of the following descriptions, but these techniques can also be applied to applications other than NR system applications, such as the 6th generation (6 th Generation, 6G) communication system.
  • 6G 6th Generation
  • Fig. 1 shows a block diagram of a wireless communication system to which the embodiment of the present application is applicable.
  • the wireless communication system includes a terminal 11 and a network side device 12 .
  • the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, a super mobile personal computer (ultra-mobile personal computer, UMPC), mobile Internet device (Mobile Internet Device, MID), augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) equipment, robot, wearable device (Wearable Device) , vehicle equipment (VUE), pedestrian terminal (PUE), smart home (home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.), game consoles, personal computers (personal computers, PCs), teller machines or self-service Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (
  • the network side device 12 may include an access network device and/or a core network device, wherein the access network device 12 may also be called a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or radio access network unit.
  • RAN Radio Access Network
  • the access network device 12 may include a base station, a WLAN access point, or a WiFi node, etc., and the base station may be called a Node B, an evolved Node B (eNB), an access point, a Base Transceiver Station (Base Transceiver Station, BTS), a radio Base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B, Home Evolved Node B, Transmitting Receiving Point (TRP) or all As long as the same technical effect is achieved, the base station is not limited to a specific technical vocabulary. It should be noted that in this embodiment of the application, only the base station in the NR system is used as an example for introduction, and The specific type of the base station is not limited.
  • Core network equipment may include but not limited to at least one of the following: core network nodes, core network functions, mobility management entities (Mobility Management Entity, MME), access mobility management functions (Access and Mobility Management Function, AMF), session management functions (Session Management Function, SMF), User Plane Function (UPF), Policy Control Function (Policy Control Function, PCF), Policy and Charging Rules Function (PCRF), edge application service Discovery function (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data storage (Unified Data Repository, UDR), home subscriber server (Home Subscriber Server, HSS), centralized network configuration ( Centralized network configuration, CNC), network storage function (Network Repository Function, NRF), network exposure function (Network Exposure Function, NEF), local NEF (Local NEF, or L-NEF), binding support function (Binding Support Function, BSF), application function (Application Function, AF), etc. It should be noted that, in the embodiment of the present application, only the core
  • FIG. 2 shows a schematic flowchart of a method for acquiring an image frame provided by an embodiment of the present application, and the method 200 may be executed by a first communication device.
  • the method may be performed by software or hardware installed on the first communication device.
  • the method may include the following steps.
  • the first communication device determines data transmission interruption information of the target video service, where the data transmission interruption information indicates transmission interruption of the target video service.
  • the first communication device may be a sending end device or a receiving end device of a target video service.
  • the application program (APP) carried by the terminal obtains video service data from the content server through the wireless network through the modem (modem) of the UE, and the first communication device It can be a terminal or a content server.
  • the video service is transmitted between two terminals (that is, UE1 and UE2), and the modem of the UE and the base station run a wireless transmission protocol to transmit video service data, then the first communication device can It can be UE1 or UE2.
  • the target video service includes but not limited to XR service.
  • the data transmission interruption information may include at least one of the following:
  • First indication information wherein the first indication information is used to indicate that the transmission of the target video service is interrupted, for example, due to handover, measurement gap, wireless link failure, beam failure, or consistency of listening before speaking (Listen Before Talk, LBT) failure, one or more factors in network congestion cause data transmission interruption of the target video service being transmitted.
  • LBT Long Before Talk
  • Time information of transmission interruption wherein the time information includes at least one of the following: the duration of transmission interruption, the start time point of transmission interruption, and the end time point of transmission interruption; through the time information of transmission interruption, the first The communication device can determine the second image frame that was lost due to the interruption of transmission.
  • the wireless access protocol layer of the first communication device may obtain an identifier of an image frame lost due to transmission interruption, for example, a frame number.
  • the wireless access protocol layer of the first communication device may acquire frame numbers of image frames transmitted from the beginning of the measurement interval to the end of the measurement interval, that is, the lost image frames.
  • the lost image frame is a control frame (for example, an I frame), or the lost image frame is a non-control frame (for example, a B frame or a P frame).
  • An identifier of the second image frame for example, a frame number. With this identification, image frames lost due to transmission interruptions can be identified.
  • the target image frame is the last correct image frame transmitted by the target video service before transmission interruption occurs.
  • the information of the target image frame includes but is not limited to at least one of the following: an identifier of the target image frame, and a type of the target image frame. Through the information of the target image frame, it can be determined that image frames subsequent to the target image frame are missing.
  • Target information is the information carried in the header of the IP data packet of the image frame of the target video service. Since the information carried in the packet headers of the image frames of the same target video service is the same, the service whose transmission is interrupted can be identified through the target information.
  • the target information includes at least one of the following: source IP address, target IP address, and service type.
  • the first communication device acquires a first image frame based on the data transmission interruption information.
  • the first communication device acquires the first image frame based on the data transmission interruption information, where the first image frame may be an image frame that has no dependency relationship with the second image frame, that is, the first image frame
  • the decoding of an image frame does not depend on the second image frame, for example, the first image frame and the second image frame do not belong to the same video frame combination.
  • the first communication device may acquire the first image frame that does not depend on the second image frame based on the data transmission interruption information, thereby avoiding that the decoding of the newly generated image frame needs to rely on the The second image frame, while causing the problem of useless data transmission, saves wireless resources.
  • the first communication device may control the image frame generation program of the target video service to regenerate the Describe the first image frame.
  • the target video service is a downlink service, that is, the first communication device is the receiving end of the target video service
  • the first communication device may notify the communication peer (that is, the sending end of the target video service), so After receiving the notification from the first communication device, the communication peer can control the image frame generation program of the target video service, regenerate the first image frame, and send it to the first communication device.
  • the transmission interruption of the first communication device occurs during the transmission process of the XR service.
  • some image frames of the XR service cannot be transmitted within the delay budget due to the inability to perform data transmission during the switching gap. And lost, and rely on these lost image frames to successfully decode the image frame into the situation of invalid data transmission, until the next I frame transmission is successful and just get back to normal.
  • the B frame cannot be successfully transmitted to the data receiver. decoded, resulting in an invalid transmission of that B-frame.
  • the multiple image frames in the subsequent transmission may be all Ineffective transmission, which in turn leads to longer interruption of XR service transmission.
  • image frame transmission failure caused by measurement gap, wireless reconnection after wireless link failure, beam failure, and consistent LBT failure has a similar impact on XR services as image frame transmission failure during handover has a similar impact on XR services .
  • the peer end is required to receive and process more image frames in a short period of time. This solution will not only increase the number of air interface
  • the peak throughput requirements of the receiving end also impose a multiplication requirement on the receiving end's wireless data receiving processing and image decoding capabilities (the multiplier depends on the number and average size of all accumulated image frames).
  • the receiving end is a UE, then It will obviously increase the cost of UE and the difficulty and complexity of product design. Therefore, in the embodiment of the present application, when it is determined that the transmission of the target video service is interrupted, the first image frame whose decoding does not depend on the image frame lost due to the transmission interruption is reacquired, on the one hand, the transmission of invalid image frames can be avoided, On the other hand, the peak requirement for the throughput of the air interface will not be increased, and the requirement for the peak capability of wireless data reception processing and image decoding at the receiving end will not be increased.
  • S212 may include: when the target video service is an uplink service, the first communication device performs at least one of the following:
  • the decoding of the first image frame does not depend on the second image frame
  • the image decoding of the newly generated first image frame does not depend on The second image frame is lost, but it can be relied on that the correct image frame has been transmitted before the data transmission interruption of the target video service occurs.
  • the newly generated image frame includes one or more of I frame, P frame and B frame.
  • I frame, P frame and B frame For example, in Figure 4a, when switching windows, 4 image frames are lost due to transmission interruption, and the newly generated image frames (that is, the image frames generated after switching windows) do not depend on the lost 4 image frames, but Rely on the correct image frame to be transmitted before the transmission is interrupted.
  • the decoding of the first image frame does not depend on the third image frame
  • the third image frame is an image frame generated before the data transmission interruption information is determined.
  • the image decoding of the newly generated first image frame does not depend on the third image frame generated before determining the data transmission interruption information of the target video service, and the newly generated image frame includes IDR frame, I frame and depends on these I frame Or P frame and B frame of IDR frame. That is to say, the decoding of the first image frame does not depend on all image frames generated before the interruption of transmission.
  • the decoding of the fourth image frame depends on the second image frame or depends on the third image frame.
  • the first communication device may stop generating image frames that depend on previously lost data packets or image frames, for example, discard already generated image frames that depend on lost frames/packets.
  • the application layer of the terminal can transmit the target video service with the content server or another terminal through the modem of the terminal through the wireless network, and the target video service is coded at the application layer to obtain the image frame to be transmitted.
  • the modem is used to transmit via the wireless network, and the interruption of transmission is generally caused by the wireless network. Therefore, the modem of the terminal generally detects the interruption of transmission. Therefore, in a possible implementation manner, in S210, the first communication device determining the data transmission interruption information of the target video service includes: the modem of the first communication device sends a message to the application layer of the first communication device The data transmission interruption information.
  • the modem of the first communication device determines that the terminal performs wireless network switching, or the modem determines that the terminal needs to enter a measurement gap, or the modem determines that the terminal's wireless link fails and performs wireless reconnection, or the modem determines that the terminal's beam fails , or, the modem determines that the terminal conformance LTB fails, thereby causing data transmission interruption of the target video service, the modem may obtain the above data transmission interruption information, and send the data transmission interruption information to the application layer of the first communication device.
  • S212 may include: the application layer of the first communication device adjusts the generation program of the image frame of the target video service to obtain a newly generated first image frame.
  • the application layer of the first communication device adjusts the encoding program for the APP that transmits the target video service to encode the target video service, re-encodes the target video service, and generates a new The second image frame is decoded from the first image frame.
  • the application layer of the first communication device may also stop generating the fourth image frame.
  • the application layer of the first communication device may also suspend the encoding of the target video service until the encoding is restarted after the transmission interruption ends.
  • the method may further include: the The application layer of the first communication device sends feedback information to a modem of the first communication device, where the feedback information carries update information of the target video service; and the modem receives the feedback information.
  • the modem can know that the image frame to be sent subsequently is an image frame that does not depend on the second image frame.
  • the feedback information includes but is not limited to at least one of the following:
  • Second indication information wherein the second indication information is used to indicate that the image frame has been regenerated.
  • the method further includes at least one of the following:
  • Discard untransmitted image frame data in the buffer for example, packet data convergence protocol (Packet Data Convergence Protocol, PDCP) and/or radio link control (Radio Link Control, RLC) layers discard untransmitted image frames in the buffer data.
  • packet data convergence protocol Packet Data Convergence Protocol
  • RLC Radio Link Control
  • cancel the data sending procedure of the target video service If there is a data sending procedure of the target video service that has been triggered or is in progress, cancel the data sending procedure of the target video service. For example, cancel the scheduling request (Scheduling Request, SR) program and/or buffer status report (Buffer Status Report, BSR) sending program triggered by XR data, and cancel the hybrid automatic repeat request (Hybrid automatic repeat) used to transmit XR business data request, HARQ) transmission program, etc.
  • the first communication device may determine the data transmission interruption information by receiving notification information sent by the second communication device. Therefore, in this possible implementation manner, S210 may include: the first communication device receives notification information sent by the second communication device, where the notification information indicates that the data transmission of the target video service is interrupted, and the The second communication device is the receiving end of the target video service. For example, the receiving end of the target video service may send the notification message to the first communication device if the data transmission of the target video service is interrupted due to switching of the wireless network.
  • the application layer of the terminal may transmit it through the wireless network through the modem of the terminal, and the above notification information may be transmitted by the application layer (ie APP) of the receiving end according to the relevant image encoding
  • the relevant processes implemented by the application layer control message are sent to the originator. Therefore, in a possible implementation manner, the receiving the notification information sent by the second communication device by the first communication device may include: the application layer of the first communication device receives the notification information sent by the application layer of the second communication device. notification information.
  • the acquisition of the newly generated first image frame by the first communication device based on the data transmission interruption information may include:
  • Step 1 when the target video service is a downlink service, the first communication device sends notification information to the second communication device, wherein the notification information indicates that the data transmission of the target video service is interrupted, and the The second communication device is the sending end of the target video service;
  • Step 2 receiving the first image frame sent by the second communication device.
  • the target video service is a downlink service, that is, when the first communication device is the receiving end of the target video service
  • the first communication device determines that the transmission of the target video service is interrupted
  • it may Notify the sender of the target video service (that is, the second communication device), so that the sender of the target video service can generate a new first image that does not depend on the second image frame according to the method adopted by the first communication device frame, and transmit it to the first communication device through the wireless network, so as to avoid the transmission of invalid data.
  • the notification information may include the foregoing data transmission interruption information, so that the second communication device may determine the second image frame.
  • the sending the notification information to the second communication device by the first communication device may include: sending the notification information to the application layer of the second communication device by an application layer of the first communication device.
  • the application layer of the first communication device may realize the transmission of the communication information according to the application layer control message of the relevant image coding transmission, and the specific process will not be repeated in this embodiment of the application.
  • the network side device may configure and enable the first communication device to perform the above step of acquiring the newly generated first image frame when video service transmission is interrupted. Therefore, before the first communication device determines the data transmission interruption information of the target video service, the method may further include: the first communication device receiving a configuration enable message sent by the network side device, wherein the configuration enables The enable message is used to indicate that the transmission of the target video service is determined to be interrupted when a predetermined condition is met. That is to say, the network side device may configure the terminal to determine that the transmission of the target video service is interrupted when a predetermined condition is met, thereby triggering step S212.
  • the predetermined condition includes at least one of the following:
  • step S212 is triggered.
  • step S212 The lost image frames of the target video service exceed the second number threshold; that is, when the lost image frames of the target video service exceed the second number threshold, step S212 is triggered.
  • step S212 is triggered.
  • the transmission of the target image frame of the target video service fails, wherein the target image frame is an image frame of a predetermined type; for example, the type of the target image frame is an I frame, a P frame or a B frame.
  • a handover command is received; for example, a handover command sent by the source base station is received, and step S212 is triggered.
  • the handover is completed after the handover command is received; for example, after the handover command is received, the handover process is executed to complete the handover, and step S212 is triggered.
  • the congestion situation is relieved.
  • the network side device may send indication information to the first communication device when the congestion situation is relieved after network congestion occurs.
  • the measurement gap starts; that is, when the first communication device needs to start measuring, step S212 is triggered.
  • the transmission delay of the image frame exceeds the pre-configured maximum transmission delay budget. For example, if a certain image frame is transmitted, but the transmission delay of the image frame exceeds the preconfigured maximum transmission delay budget, it is considered that the image frame is not transmitted correctly, and a transmission interruption occurs, and step S212 is triggered.
  • a request for adjusting image coding sent by the network side device is received.
  • the base station requests the first communication device to adjust image coding.
  • the receiving, by the first communication device, the configuration enabling message sent by the network side device includes: receiving, by the modem of the first communication device, the configuration enabling message sent by the network side device.
  • the configuration enabling message sent by the network side device is received by a modem of the first communication device.
  • the network side device includes but is not limited to a base station.
  • An adaptation layer can be added between the radio resource control (Radio Resource Control, RRC) layer and the application layer.
  • the adaptation layer can be located in the operating system of the UE, or as a sublayer of the application layer or wireless protocol stack .
  • the function of the adaptation layer is to rewrite the data transmission interruption information sent by the RRC layer of the modem to the application layer into a format that the application layer can parse, and interpret the target video service information sent by the application layer to the RRC layer as the RRC layer can parse format.
  • the adaptation layer provides some functions for access by the application layer and the RRC layer, and the application layer calls these functions to obtain data transmission interruption information from the RRC layer or send adjusted target video service information to the RRC layer, and the RRC layer calls some functions Send data transmission interruption information to the application layer or obtain adjusted target video service information from the application layer.
  • the RRC layer of the radio access network protocol layer in the modem is used to process the interaction with the application layer. It is also possible to introduce another layer on top of the RRC layer, that is, the APP control (Control) layer, as a sublayer of layer 3, for processing interaction with the application layer.
  • the APP control (Control) layer is also possible to introduce another layer on top of the RRC layer, that is, the APP control (Control) layer, as a sublayer of layer 3, for processing interaction with the application layer.
  • the first image frame whose decoding does not depend on the image frame lost due to the interruption of transmission can be re-acquired, on the one hand, it can avoid invalid
  • the transmission of image frames on the other hand, will not increase the peak throughput requirements of the air interface, and will not increase the wireless data reception processing and image decoding capability peak requirements of the receiving end.
  • FIG. 6 shows another schematic flow chart of the method for acquiring an image frame provided by the embodiment of the present application. As shown in FIG. 6 , the method mainly has the following steps.
  • the base station configures and enables the UE to start a procedure of notifying an application layer to adjust image frame generation when XR service data transmission is interrupted.
  • the base station may send a configuration and enabling message to the UE, and the message may include at least one of the following:
  • a wireless link failure occurs, or the wireless link is successfully rebuilt after the wireless link failure occurs; when a wireless link failure occurs, start a procedure for notifying the application layer to adjust image frame generation. Or after the wireless link fails, the wireless link is successfully rebuilt, and the procedure for notifying the application layer to adjust the image frame generation is started;
  • the network congestion situation is lifted after the network congestion; when the network congestion situation is lifted after the network congestion, start the program for notifying the application layer to adjust the image frame generation
  • S601 is an optional step.
  • the UE modem determines the occurrence of XR service transmission interruption and related information according to the configuration or autonomously.
  • the modem of the UE sends the transmission interruption information of the XR service to the application layer through the interaction mechanism between the modem of the UE and the application (APP) layer.
  • APP application
  • the XR service data transmission interruption information sent by the modem of the UE to the application layer includes at least one of the following:
  • Time information of XR service transmission interruption including the duration, time start and/or time end of XR service transmission interruption
  • the sequence number may be a sequence number offset relative to a previous I-frame or a next expected I-frame;
  • IP header of the IP packet of the image frame including source IP address, destination IP address, business type and other information.
  • the XR service data transmission interruption information can be defined/referred to as a reset image frame coding request, which is used to request the application layer to generate some or all of the image frames that do not depend on receiving the reset image frame coding request new image frame.
  • the application layer of the UE adjusts the generation of the image frame according to the received XR service transmission interruption information, so that the newly generated image frame can be decoded by the receiving end without depending on the lost image frame.
  • the application layer of the UE may perform at least one of the following options:
  • Option a regenerate the image frame, the image decoding of the newly generated image frame does not depend on the image frame lost due to the XR service data transmission interruption, but can rely on the correct image frame being transmitted before the XR service data transmission interruption occurs, new
  • the generated image frames include one or more of I frames, P frames and B frames;
  • Option b Regenerate the image frame.
  • the image decoding of the newly generated image frame does not depend on the image frame generated before receiving the XR service data transmission interruption message to realize the image decoding.
  • the newly generated image frame includes IDR frame, I frame and P-frames and B-frames that depend on these I-frames or IDR frames;
  • Option c Stop generating image frames that depend on previous lost data packets or image frames, including discarding already generated frames that depend on lost frames/packets;
  • Option d Notify the APP layer to suspend encoding until the end of transmission interruption and restart encoding.
  • FIG. 4a and FIG. 4b show a schematic diagram of the dependence relationship between the image frames regenerated by the APP layer of the UE when the XR service data transmission interruption is caused by handover (the XR service data transmission interruption caused by other factors mentioned above is related to similar to this).
  • the newly generated image frame depends on the transmission of the correct XR data packet (corresponding to option a) before the handover occurs. This situation is applicable to the modem of the UE that can directly or indirectly transmit the sequence number information of the lost image frame Notify the situation to the application layer.
  • the newly generated image frame does not depend on the image frame before the switching is completed (that is, the APP receives the XR service data transmission terminal message), but the dependency relationship between the newly generated image frames is not limited.
  • the application layer of the UE sends the adjusted XR service information to the modem of the UE.
  • This step is optional.
  • the UE's application layer can send feedback information to the UE's modem, which carries the update information of the XR service, including indicating whether to regenerate the image frame, the dependency relationship between the generated image frame and the previously generated frame (For example, whether to rely on previously generated frames, etc.).
  • the modem of the UE reports all or part of the received XR service information to the base station.
  • the PDCP/RLC layer discards the untransmitted image frame data in the cache, and/or cancels the uplink XR data transmission procedure, including the SR/ BSR procedure, HARQ transmission for transmitting XR service data, etc.
  • the application layer of the UE For the downlink XR service, after the application layer of the UE receives the XR service data transmission interruption information from the modem of the UE, in S604, the application layer of the UE needs to notify the opposite end of the XR service (peer XR transmitter for short) to regenerate the image frame.
  • the application layer of the UE can realize the related process according to the existing application layer control message of relevant image coding transmission, which will not be repeated here.
  • the application layer of the UE After receiving the response from the peer end, the application layer of the UE can execute the above S605 and S606.
  • the modem of the UE determines that the transmission of the target video service is interrupted, it notifies the application layer to reacquire the first image frame whose decoding does not depend on the image frame lost due to the transmission interruption, On the one hand, it can avoid the transmission of invalid image frames, on the other hand, it will not increase the peak throughput requirements of the air interface, and will not increase the wireless data reception processing and image decoding capability peak requirements of the receiving end.
  • the image frame acquisition method provided in the embodiment of the present application may be executed by an image frame acquisition device.
  • the method for obtaining the image frame performed by the device for obtaining the image frame is taken as an example to describe the device for obtaining the image frame provided in the embodiment of the present application.
  • FIG. 7 shows a schematic structural diagram of an image frame acquisition device provided by an embodiment of the present application.
  • the device 700 mainly includes: a determination module 701 and an acquisition module 702 .
  • the determining module 701 is configured to determine the data transmission interruption information of the target video service, wherein the data transmission interruption information indicates that the transmission of the target video service is interrupted; the obtaining module 702 is configured to determine based on the The data transmission interruption information is to obtain the first image frame, wherein the data transmission interruption information includes at least one of the following:
  • First indication information wherein the first indication information is used to indicate that the transmission of the target video service is interrupted
  • Time information of transmission interruption includes at least one of the following: the duration of transmission interruption, the start time point of transmission interruption, and the end time point of transmission interruption;
  • the target image frame is the last correct image frame transmitted by the target video service before transmission interruption occurs;
  • Target information wherein the target information is the information carried in the header of the IP data packet of the image frame of the target video service.
  • the information of the target image frame includes at least one of the following: an identifier of the target image frame, and a type of the target image frame.
  • the target information includes at least one of the following: a source IP address, a target IP address, and a service type.
  • the acquisition module 702 acquires the newly generated first image frame, including:
  • the acquisition module 702 performs at least one of the following:
  • the decoding of the first image frame does not depend on the second image frame, or, the decoding of the first image frame does not depend on the third image frame, the first image frame
  • the three image frames are image frames generated before the data transmission interruption information is determined
  • Stop generating a fourth image frame optionally, the decoding of the fourth image frame depends on the second image frame or depends on the third image frame;
  • the encoding of the target video service is suspended until the encoding is restarted after the transmission interruption ends.
  • the obtaining module 702 stops generating the fourth image frame, including: discarding the generated fourth image frame.
  • the determination module 701 determines the data transmission interruption information of the target video service, including:
  • the notification information sent by the second communication device is received, wherein the notification information indicates that the data transmission of the target video service is interrupted, and the second communication device is a receiving end of the target video service.
  • the acquisition module 702 acquires the newly generated first image frame based on the data transmission interruption information, including:
  • notification information is sent to a second communication device, wherein the notification information indicates that the data transmission of the target video service is interrupted, and the second communication device is the target video service The sender of the business;
  • the apparatus further includes: a receiving module, configured to receive a configuration enablement message sent by a network side device, where the configuration enablement message is used to indicate that the target is determined when a predetermined condition is met.
  • the data transmission of the video service is interrupted.
  • the predetermined condition includes at least one of the following:
  • the interruption duration of the target video service transmission exceeds the first time threshold
  • the image frames lost by the target video service exceed the second number threshold
  • the lost data packets of the target video service exceed a third threshold
  • the transmission of the target image frame of the target video service fails, wherein the target image frame is an image frame of a predetermined type
  • the transmission delay of the image frame exceeds the pre-configured maximum transmission delay budget
  • a request for adjusting image encoding sent by the network side device is received.
  • the image frame acquisition apparatus in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in the electronic device, such as an integrated circuit or a chip.
  • the electronic device may be a terminal, or other devices other than the terminal.
  • the terminal may include, but not limited to, the types of terminal 11 listed above, and other devices may be servers, Network Attached Storage (NAS), etc., which are not specifically limited in this embodiment of the present application.
  • NAS Network Attached Storage
  • the image frame acquisition device provided in the embodiment of the present application can implement the various processes implemented by the first communication device in the method embodiments in FIG. 2 to FIG. 6 , and achieve the same technical effect. To avoid repetition, details are not repeated here.
  • this embodiment of the present application also provides a communication device 800, including a processor 801 and a memory 802, and the memory 802 stores programs or instructions that can run on the processor 801, for example , when the communication device 800 is a terminal or a content server, when the program or instruction is executed by the processor 801, each step of the above-mentioned method for obtaining an image frame can be achieved, and the same technical effect can be achieved. To avoid repetition, it is not repeated here repeat.
  • the embodiment of the present application also provides a terminal, including a processor and a communication interface, the processor is used to implement the steps of the above image frame acquisition method embodiment, and the communication interface is used to communicate with an external communication device.
  • This terminal embodiment corresponds to the above-mentioned method embodiment, and each implementation process and implementation mode of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve the same technical effect.
  • FIG. 9 is a schematic diagram of a hardware structure of a terminal implementing an embodiment of the present application.
  • the terminal 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910. At least some parts.
  • the terminal 900 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 910 through the power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • a power supply such as a battery
  • the terminal structure shown in FIG. 9 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here.
  • the input unit 904 may include a graphics processing unit (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 is used in a video capture mode or an image capture mode by an image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072.
  • the touch panel 9071 is also called a touch screen.
  • the touch panel 9071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the radio frequency unit 901 may transmit the downlink data from the network side device to the processor 910 for processing after receiving the downlink data; in addition, the radio frequency unit 901 may send the uplink data to the network side device.
  • the radio frequency unit 901 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the memory 909 can be used to store software programs or instructions as well as various data.
  • the memory 909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required by at least one function (such as a sound playing function, image playback function, etc.), etc.
  • memory 909 may include volatile memory or nonvolatile memory, or, memory 909 may include both volatile and nonvolatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash.
  • ROM Read-Only Memory
  • PROM programmable read-only memory
  • Erasable PROM Erasable PROM
  • EPROM erasable programmable read-only memory
  • Electrical EPROM Electrical EPROM
  • EEPROM electronically programmable Erase Programmable Read-Only Memory
  • Volatile memory can be random access memory (Random Access Memory, RAM), 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, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM , SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM).
  • 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
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
  • Synch link DRAM , SLDRAM
  • Direct Memory Bus Random Access Memory Direct Rambus
  • the processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the foregoing modem processor may not be integrated into the processor 910 .
  • processor 910 is used for:
  • the first image frame is acquired, wherein the data transmission interruption information includes at least one of the following:
  • First indication information wherein the first indication information is used to indicate that the transmission of the target video service is interrupted
  • Time information of transmission interruption includes at least one of the following: the duration of transmission interruption, the start time point of transmission interruption, and the end time point of transmission interruption;
  • the target image frame is the last correct image frame transmitted by the target video service before transmission interruption occurs;
  • Target information wherein the target information is the information carried in the header of the Internet Protocol IP data packet of the image frame of the target video service.
  • the processor 910 acquires a newly generated first image frame, including:
  • the target video service is an uplink service
  • the decoding of the first image frame does not depend on the second image frame, or, the decoding of the first image frame does not depend on the third image frame, the first image frame
  • the three image frames are image frames generated before the data transmission interruption information is determined
  • Stop generating a fourth image frame optionally, the decoding of the fourth image frame depends on the second image frame or depends on the third image frame;
  • the encoding of the target video service is suspended until the encoding is restarted after the transmission interruption ends.
  • the newly generated first image frame can be obtained, and the decoding of the newly generated first image frame does not depend on The second image frame is lost due to interruption of data transmission, thereby avoiding the problem of useless data transmission due to the decoding of a newly generated image frame depending on the second image frame, and saving wireless resources.
  • the embodiment of the present application also provides a network side device, including a processor and a communication interface, the processor is used to implement the steps of the image frame acquisition method above, and the communication interface is used to communicate with an external communication device.
  • the network-side device embodiment corresponds to the above-mentioned method embodiment, and each implementation process and implementation mode of the above-mentioned method embodiment can be applied to this network-side device embodiment, and can achieve the same technical effect.
  • the embodiment of the present application also provides a network side device.
  • the network side device 1000 includes: a processor 1001 , a network interface 1002 and a memory 1003 .
  • the network interface 1002 is, for example, a common public radio interface (common public radio interface, CPRI).
  • the network-side device 1000 in the embodiment of the present invention further includes: instructions or programs stored in the memory 1003 and executable on the processor 1001, and the processor 1001 invokes the instructions or programs in the memory 1003 to execute the The method of module execution achieves the same technical effect, so in order to avoid repetition, it is not repeated here.
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, each process of the above-mentioned image frame acquisition method embodiment is implemented, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.
  • the processor is the processor in the terminal described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method for acquiring image frames described above
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions to implement the method for acquiring image frames described above
  • the chip mentioned in the embodiment of the present application may also be called a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip.
  • An embodiment of the present application further provides a computer program/program product, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the above-mentioned image frame acquisition method
  • the various processes of the embodiment can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application belongs to the technical field of wireless communications. Disclosed are an image frame acquisition method and apparatus, and a communication device. The image frame acquisition method in the embodiments of the present application comprises: a first communication device determining data transmission interruption information of a target video service, wherein the data transmission interruption information indicates that transmission of the target video service is interrupted; and the first communication device acquiring a first image frame on the basis of the data transmission interruption information.

Description

图像帧的获取方法、装置及通信设备Image frame acquisition method, device and communication equipment
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年12月24日提交的中国专利申请第202111605205.9号的优先权,该中国专利申请的全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111605205.9 filed on December 24, 2021, the entire content of which is hereby incorporated by reference.
技术领域technical field
本申请属于无线通信技术领域,具体涉及一种图像帧的获取方法、装置及通信设备。The present application belongs to the technical field of wireless communication, and in particular relates to an image frame acquisition method, device and communication equipment.
背景技术Background technique
在相关技术中,扩展现实(eXtended Reality,XR)可以包括增强现实(Augmented Reality,AR)业务、虚拟现实(Virtual Reality,VR)业务和混和AR与MR(Mixed AR and VR,MR)业务,在相关技术中,XR业务在传输时,为了节约流量和确保图像质量等目的,需要对图像数据进行编码,实现图像数据的压缩。例如,在相关技术的一种编码技术中,将图像数据编码为三种类型的图像帧:帧内编码图像(Intra-coded picture,I)帧、前向预测编码图像(Predictive-coded picture,P)帧和双向预测编码图像(Bidirectional predicted picture,B)帧。其中,I帧也称为独立解码帧(IDR帧),是一个完整的图像帧,可以不依赖于其他帧进行图像生成和呈现。P帧仅仅包含相对于前面的帧的图像变化信息,接收方需要结合前面的帧来生成当前帧,在接收终端上完成显示。B帧用以指示当前帧相对于前面的帧和后面的帧的变化信息,接收方需结合前面的帧和后面的帧生成当前帧。其中,上述前面的帧和后面的帧指是按帧呈现时间或信源端的图像采集时间排序,实际的发送和接收时间可能根据接收方的图像解码时间有所调整。例如,发送方可以根据接收方的图像帧解码时间顺序进行发送。In related technologies, extended reality (eXtended Reality, XR) may include augmented reality (Augmented Reality, AR) business, virtual reality (Virtual Reality, VR) business and mixed AR and MR (Mixed AR and VR, MR) business, in In related technologies, when transmitting an XR service, in order to save traffic and ensure image quality, etc., image data needs to be encoded to achieve image data compression. For example, in one encoding technique of the related art, image data is encoded into three types of image frames: Intra-coded picture (I) frame, Predictive-coded picture (P ) frame and bidirectional predicted picture (Bidirectional predicted picture, B) frame. Wherein, an I frame is also called an independently decoded frame (IDR frame), which is a complete image frame and can be generated and presented independently of other frames. The P frame only contains the image change information relative to the previous frame, and the receiver needs to combine the previous frame to generate the current frame and complete the display on the receiving terminal. The B frame is used to indicate the change information of the current frame relative to the previous frame and the subsequent frame, and the receiver needs to combine the previous frame and the subsequent frame to generate the current frame. Wherein, the preceding frames and the following frames are sorted according to the frame presentation time or the image acquisition time of the source end, and the actual sending and receiving time may be adjusted according to the image decoding time of the receiver. For example, the sender can send according to the decoding time sequence of the image frames of the receiver.
XR业务数据可以通过无线网络实现端对端的传输,然而在XR业务数据的传输过程中可能会由于某种原因导致传输中断,例如,由于移动性连接的要求无线网络可能需要切换、无线链路失败后进行无线链路重建或者测量间隙开始等都可能导致传输中断,进而使得一些XR业务的图像帧没能成功传输。针对该传输中断的情况,目前尚未给出相关的解决方案。XR service data can be transmitted end-to-end through the wireless network. However, during the transmission of XR service data, the transmission may be interrupted for some reason. For example, due to the requirement of mobility connection, the wireless network may need to be switched or the wireless link may fail. The subsequent wireless link re-establishment or the start of the measurement gap may cause the transmission to be interrupted, so that the image frames of some XR services cannot be successfully transmitted. Aiming at the situation of the interruption of the transmission, no relevant solution has been provided at present.
发明内容Contents of the invention
本申请实施例提供一种图像帧的获取方法、装置及通信设备,提供了视频业务在传输中断的情况下的解决方案。Embodiments of the present application provide a method, device, and communication device for acquiring image frames, and provide a solution for video service transmission interruption.
第一方面,提供了一种图像帧的获取方法,包括:第一通信设备确定目标视频业务的数据传输中断信息,其中,所述数据传输中断信息指示所述目标视频业务的传输中断;所述第一通信设备基于所述数据传输中断信息,获取第一图像帧,其中,所述数据传输中断信息包括以下至少之一:第一指示信息,其中,所述第一指示信息用于指示所述目标视频业务的传输中断;传输中断的时间信息,其中,所述时间信息包括以下至少之一:传输中断的时长、传输中断的起始时间点、传输中断的结束时间点;所述第二图像帧的数量,所述第二图像帧为由于所述传输中断而丢失的图像帧;所述第二图像帧的类型;所述第二图像帧的标识;目标图像帧的信息,其中,所述目标图像帧为发生传输中断前,所述目标视频业务最后一个传输正确的图像帧;目标信息,其中,所述目标信息为所述目标视频业务的图像帧的互联网协议(Internet Protocol,IP)数据包的包头中携带的信息。In a first aspect, a method for acquiring an image frame is provided, including: a first communication device determining data transmission interruption information of a target video service, wherein the data transmission interruption information indicates that the transmission of the target video service is interrupted; the The first communication device acquires the first image frame based on the data transmission interruption information, wherein the data transmission interruption information includes at least one of the following: first indication information, wherein the first indication information is used to indicate the The transmission interruption of the target video service; the time information of the transmission interruption, wherein the time information includes at least one of the following: the duration of the transmission interruption, the start time point of the transmission interruption, and the end time point of the transmission interruption; the second image The number of frames, the second image frame is an image frame lost due to the interruption of the transmission; the type of the second image frame; the identification of the second image frame; the information of the target image frame, wherein the The target image frame is before the transmission interruption occurs, the last correct image frame of the target video service; target information, wherein the target information is the Internet protocol (Internet Protocol, IP) data of the image frame of the target video service Information carried in the packet header.
第二方面,提供了一种图像帧的获取装置,包括:确定模块,用于确定目标视频业务的数据传输中信息,其中,所述数据传输中断信息指示所述目标视频业务的传输中断;获取模块,用于基于所述数据传输中断信息,获取第一图像帧,其中,所述数据传输中断信息包括以下至少之一:第一指示信息,其中,所述第一指示信息用于指示所述目标视频业务的传输中断;传输中断的时间信息,其中,所述时间信息包括以下至少之一:传输中断的时长、传输中断的起始时间点、传输中断的结束时间点;所述第二图像帧的数量,所述第二图像帧为由于所述传输中断而丢失的图像帧;所述第二图像帧的类型;所述第二图像帧的标识;目标图像帧的信息,其中,所述目标图像帧为发生传输中断前,所述目标视频业务最后一个传输正确的图像帧;目标信息,其中,所述目标信息为所述目标视频业务的图像帧的互联网协议(Internet Protocol,IP)数据包的包头中携带的信息。In a second aspect, there is provided an image frame acquisition device, including: a determining module, configured to determine information in data transmission of a target video service, wherein the data transmission interruption information indicates that the transmission of the target video service is interrupted; A module, configured to acquire a first image frame based on the data transmission interruption information, wherein the data transmission interruption information includes at least one of the following: first indication information, wherein the first indication information is used to indicate the The transmission interruption of the target video service; the time information of the transmission interruption, wherein the time information includes at least one of the following: the duration of the transmission interruption, the start time point of the transmission interruption, and the end time point of the transmission interruption; the second image The number of frames, the second image frame is an image frame lost due to the interruption of the transmission; the type of the second image frame; the identification of the second image frame; the information of the target image frame, wherein the The target image frame is before the transmission interruption occurs, the last correct image frame of the target video service; target information, wherein the target information is the Internet protocol (Internet Protocol, IP) data of the image frame of the target video service Information carried in the packet header.
第三方面,提供了一种通信设备,该通信设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, a communication device is provided, the communication device includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are implemented when executed by the processor The steps of the method as described in the first aspect.
第四方面,提供了一种通信设备,包括处理器及通信接口,其中,所述处理器用于实现如第一方面所述的方法的步骤,所述通信接口用于与外部设备进行通信。In a fourth aspect, a communication device is provided, including a processor and a communication interface, wherein the processor is used to implement the steps of the method according to the first aspect, and the communication interface is used to communicate with an external device.
第五方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。According to a fifth aspect, a readable storage medium is provided, and a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented.
第六方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法的步骤。A sixth aspect provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and implement the method as described in the first aspect A step of.
第七方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。In a seventh aspect, a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the method described in the first aspect method steps.
在本申请实施例中,第一通信设备确定目标视频业务的数据传输中断信息,基于所述数据传输中断信息,获取第一图像帧,因此,可以使得获取到的第一图像帧的解码不依赖于由于数据传输中断而丢失的第二图像帧,从而可以避免了由于传输中断后传输的图像帧的解码需要依赖于所述第二图像帧,而导致无用的数据传输的问题,节约了无线资源。并且,还可以避免由于无用的数据传输导致视频播放的中断时间长于视频业务数据的传输中断时间的情况。In this embodiment of the present application, the first communication device determines the data transmission interruption information of the target video service, and acquires the first image frame based on the data transmission interruption information, so that the decoding of the acquired first image frame does not depend on Due to the second image frame lost due to data transmission interruption, it can avoid the problem of useless data transmission due to the decoding of the image frame transmitted after the transmission interruption needs to rely on the second image frame, and save wireless resources . Moreover, it can also avoid the situation that the interruption time of video playing is longer than the interruption time of video service data transmission due to useless data transmission.
附图说明Description of drawings
图1示出本申请实施例可应用的一种无线通信系统的框图;FIG. 1 shows a block diagram of a wireless communication system to which an embodiment of the present application is applicable;
图2示出本申请实施例提供的图像帧的获取方法的一种流程示意图;Fig. 2 shows a schematic flow chart of an image frame acquisition method provided by an embodiment of the present application;
图3a示出本申请实施例中一种视频业务传输的示意图;Figure 3a shows a schematic diagram of video service transmission in the embodiment of the present application;
图3b示出本申请实施例中另一种视频业务传输的示意图;FIG. 3b shows a schematic diagram of another video service transmission in the embodiment of the present application;
图4a示出本申请实施例中一种重新产生图像帧的方式的示意图;Fig. 4a shows a schematic diagram of a way to regenerate an image frame in the embodiment of the present application;
图4b示出本申请实施例中另一种重新产生图像帧的方式的示意图;Fig. 4b shows a schematic diagram of another way to regenerate image frames in the embodiment of the present application;
图5示出本申请实施例中的一种协议层结构示意图;FIG. 5 shows a schematic diagram of a protocol layer structure in an embodiment of the present application;
图6示出本申请实施例提供的图像帧的获取方法的另一种流程示意图;FIG. 6 shows another schematic flow chart of the method for acquiring an image frame provided by the embodiment of the present application;
图7示出本申请实施例提供的图像帧的获取装置的一种结构示意图;FIG. 7 shows a schematic structural diagram of an image frame acquisition device provided by an embodiment of the present application;
图8示出本申请实施例提供的一种通信设备的结构示意图;FIG. 8 shows a schematic structural diagram of a communication device provided by an embodiment of the present application;
图9示出本申请实施例提供的一种终端的硬件结构示意图;FIG. 9 shows a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present application;
图10示出本申请实施例提供的一种网络侧设备的硬件结构示意图。FIG. 10 shows a schematic diagram of a hardware structure of a network side device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、 “第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein and that "first" and "second" distinguish objects. It is usually one category, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the description and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6 th Generation,6G)通信系统。 It is worth pointing out that the technology described in the embodiment of this application is not limited to the Long Term Evolution (Long Term Evolution, LTE)/LTE-Advanced (LTE-Advanced, LTE-A) system, and can also be used in other wireless communication systems, such as code Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access, OFDMA), Single-carrier Frequency Division Multiple Access (Single-carrier Frequency Division Multiple Access, SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technologies can be used for the above-mentioned systems and radio technologies as well as other systems and radio technologies. The following description describes the New Radio (NR) system for illustrative purposes, and uses NR terminology in most of the following descriptions, but these techniques can also be applied to applications other than NR system applications, such as the 6th generation (6 th Generation, 6G) communication system.
图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括终端11和网络侧设备12。其中,终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、车载设备(VUE)、行人终端(PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以包括接入网设备和/或核心网设备,其中,接入网设备12也可以称为无线接入网设备、无线接入网(Radio Access Network,RAN)、无线接入网功能或无线接入网单元。接入网设备12可以包括基站、WLAN接入点或WiFi节点等,基站可被称为节点B、演进节点B(eNB)、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点、家用演进型B节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要 说明的是,在本申请实施例中仅以NR系统中的基站为例进行介绍,并不限定基站的具体类型。核心网设备可以包含但不限于如下至少一项:核心网节点、核心网功能、移动管理实体(Mobility Management Entity,MME)、接入移动管理功能(Access and Mobility Management Function,AMF)、会话管理功能(Session Management Function,SMF)、用户平面功能(User Plane Function,UPF)、策略控制功能(Policy Control Function,PCF)、策略与计费规则功能单元(Policy and Charging Rules Function,PCRF)、边缘应用服务发现功能(Edge Application Server Discovery Function,EASDF)、统一数据管理(Unified Data Management,UDM),统一数据仓储(Unified Data Repository,UDR)、归属用户服务器(Home Subscriber Server,HSS)、集中式网络配置(Centralized network configuration,CNC)、网络存储功能(Network Repository Function,NRF),网络开放功能(Network Exposure Function,NEF)、本地NEF(Local NEF,或L-NEF)、绑定支持功能(Binding Support Function,BSF)、应用功能(Application Function,AF)等。需要说明的是,在本申请实施例中仅以NR系统中的核心网设备为例进行介绍,并不限定核心网设备的具体类型。Fig. 1 shows a block diagram of a wireless communication system to which the embodiment of the present application is applicable. The wireless communication system includes a terminal 11 and a network side device 12 . Wherein, the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, a super mobile personal computer (ultra-mobile personal computer, UMPC), mobile Internet device (Mobile Internet Device, MID), augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) equipment, robot, wearable device (Wearable Device) , vehicle equipment (VUE), pedestrian terminal (PUE), smart home (home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.), game consoles, personal computers (personal computers, PCs), teller machines or self-service Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), Smart wristbands, smart clothing, etc. It should be noted that, the embodiment of the present application does not limit the specific type of the terminal 11 . The network side device 12 may include an access network device and/or a core network device, wherein the access network device 12 may also be called a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or radio access network unit. The access network device 12 may include a base station, a WLAN access point, or a WiFi node, etc., and the base station may be called a Node B, an evolved Node B (eNB), an access point, a Base Transceiver Station (Base Transceiver Station, BTS), a radio Base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B, Home Evolved Node B, Transmitting Receiving Point (TRP) or all As long as the same technical effect is achieved, the base station is not limited to a specific technical vocabulary. It should be noted that in this embodiment of the application, only the base station in the NR system is used as an example for introduction, and The specific type of the base station is not limited. Core network equipment may include but not limited to at least one of the following: core network nodes, core network functions, mobility management entities (Mobility Management Entity, MME), access mobility management functions (Access and Mobility Management Function, AMF), session management functions (Session Management Function, SMF), User Plane Function (UPF), Policy Control Function (Policy Control Function, PCF), Policy and Charging Rules Function (PCRF), edge application service Discovery function (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data storage (Unified Data Repository, UDR), home subscriber server (Home Subscriber Server, HSS), centralized network configuration ( Centralized network configuration, CNC), network storage function (Network Repository Function, NRF), network exposure function (Network Exposure Function, NEF), local NEF (Local NEF, or L-NEF), binding support function (Binding Support Function, BSF), application function (Application Function, AF), etc. It should be noted that, in the embodiment of the present application, only the core network equipment in the NR system is used as an example for introduction, and the specific type of the core network equipment is not limited.
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的图像帧的获取方案进行详细地说明。The image frame acquisition solution provided by the embodiment of the present application will be described in detail below through some embodiments and application scenarios with reference to the accompanying drawings.
图2示出本申请实施例提供的图像帧的获取方法的一种流程示意图,该方法200可以由第一通信设备执行。换言之,所述方法可以由安装在第一通信设备上的软件或硬件来执行。如图2所示,该方法可以包括以下步骤。FIG. 2 shows a schematic flowchart of a method for acquiring an image frame provided by an embodiment of the present application, and the method 200 may be executed by a first communication device. In other words, the method may be performed by software or hardware installed on the first communication device. As shown in Fig. 2, the method may include the following steps.
S210,第一通信设备确定目标视频业务的数据传输中断信息,其中,所述数据传输中断信息指示所述目标视频业务的传输中断。S210. The first communication device determines data transmission interruption information of the target video service, where the data transmission interruption information indicates transmission interruption of the target video service.
在本申请实施例中,第一通信设备可以为目标视频业务的发送端设备或接收端设备。In this embodiment of the present application, the first communication device may be a sending end device or a receiving end device of a target video service.
例如,在图3a所示的视频业务传输系统中,终端(即UE)搭载的应用程序(APP)通过UE的调制解调器(modem),经过无线网络从内容服务器获取视频业务数据,则第一通信设备可以为终端,也可以为内容服务器。For example, in the video service transmission system shown in Figure 3a, the application program (APP) carried by the terminal (ie UE) obtains video service data from the content server through the wireless network through the modem (modem) of the UE, and the first communication device It can be a terminal or a content server.
另外,在图3b所示的视频业务传输系统中,两个终端(即UE1和UE2)之间传输视频业务,UE的调制解调器和基站运行无线传输协议,传输视频业务数据,则第一通信设备可以是UE1也可以是UE2。In addition, in the video service transmission system shown in FIG. 3b, the video service is transmitted between two terminals (that is, UE1 and UE2), and the modem of the UE and the base station run a wireless transmission protocol to transmit video service data, then the first communication device can It can be UE1 or UE2.
在本申请实施例中,目标视频业务包括但不限于XR业务。In the embodiment of this application, the target video service includes but not limited to XR service.
在一个可能的实现方式中,所述数据传输中断信息可以包括以下至少之一:In a possible implementation manner, the data transmission interruption information may include at least one of the following:
(1)第一指示信息,其中,所述第一指示信息用于指示所述目标视频业务的传输中断,例如,由于切换、测量间隙、无线链路失败、波束失败、一致性先听后说(Listen Before  Talk,LBT)失败、网络拥塞中的一种或多种因素引起正在传输的目标视频业务的数据传输中断。(1) First indication information, wherein the first indication information is used to indicate that the transmission of the target video service is interrupted, for example, due to handover, measurement gap, wireless link failure, beam failure, or consistency of listening before speaking (Listen Before Talk, LBT) failure, one or more factors in network congestion cause data transmission interruption of the target video service being transmitted.
(2)传输中断的时间信息,其中,所述时间信息包括以下至少之一:传输中断的时长、传输中断的起始时间点、传输中断的结束时间点;通过传输中断的时间信息,第一通信设备可以确定因传输中断而丢失的第二图像帧。(2) Time information of transmission interruption, wherein the time information includes at least one of the following: the duration of transmission interruption, the start time point of transmission interruption, and the end time point of transmission interruption; through the time information of transmission interruption, the first The communication device can determine the second image frame that was lost due to the interruption of transmission.
(3)第二图像帧的数量;所述第二图像帧为由于传输中断而丢失的图像帧。例如,第一通讯设备的无线接入协议层可以获取由于传输中断而丢失的图像帧的标识,例如,帧号。例如,第一通信设备的无线接入协议层可以获取从测量间隔开始到测量间隔结束传输的图像帧的帧号,即为丢失的图像帧。(3) The number of second image frames; the second image frames are image frames lost due to transmission interruption. For example, the wireless access protocol layer of the first communication device may obtain an identifier of an image frame lost due to transmission interruption, for example, a frame number. For example, the wireless access protocol layer of the first communication device may acquire frame numbers of image frames transmitted from the beginning of the measurement interval to the end of the measurement interval, that is, the lost image frames.
(4)所述第二图像帧的类型;例如,丢失的图像帧为控制帧(例如,I帧),或者,丢失的图像帧为非控制帧(例如,B帧或P帧)。(4) The type of the second image frame; for example, the lost image frame is a control frame (for example, an I frame), or the lost image frame is a non-control frame (for example, a B frame or a P frame).
(5)所述第二图像帧的标识,例如,帧号。通过该标识,可以识别出因传输中断而丢失的图像帧。(5) An identifier of the second image frame, for example, a frame number. With this identification, image frames lost due to transmission interruptions can be identified.
(6)目标图像帧的信息,其中,所述目标图像帧为发生传输中断前,所述目标视频业务最后一个传输正确的图像帧。可选的,目标图像帧的信息包括但不限于以下至少之一:所述目标图像帧的标识、所述目标图像帧的类型。通过该目标图像帧的信息,可以确定在该目标图像帧之后的图像帧丢失。(6) Information about the target image frame, wherein the target image frame is the last correct image frame transmitted by the target video service before transmission interruption occurs. Optionally, the information of the target image frame includes but is not limited to at least one of the following: an identifier of the target image frame, and a type of the target image frame. Through the information of the target image frame, it can be determined that image frames subsequent to the target image frame are missing.
(7)目标信息,其中,所述目标信息为所述目标视频业务的图像帧的IP数据包的包头中携带的信息。由于同一个目标视频业务的图像帧的IP数据包的包头中携带的信息均相同,因此,通过该目标信息可以标识出传输中断的业务。可选地,所述目标信息包括以下至少之一:源IP地址、目标IP地址以及业务类型。(7) Target information, wherein the target information is the information carried in the header of the IP data packet of the image frame of the target video service. Since the information carried in the packet headers of the image frames of the same target video service is the same, the service whose transmission is interrupted can be identified through the target information. Optionally, the target information includes at least one of the following: source IP address, target IP address, and service type.
S212,所述第一通信设备基于所述数据传输中断信息,获取第一图像帧。S212. The first communication device acquires a first image frame based on the data transmission interruption information.
在本申请实施例中,第一通信设备基于数据传输中断信息,获取第一图像帧,其中,所述第一图像帧可以为与第二图像帧没有依赖关系的图像帧,也就是说,第一图像帧的解码不依赖于第二图像帧,例如,第一图像帧与第二图像帧不属于同一个视频帧组合。In this embodiment of the present application, the first communication device acquires the first image frame based on the data transmission interruption information, where the first image frame may be an image frame that has no dependency relationship with the second image frame, that is, the first image frame The decoding of an image frame does not depend on the second image frame, for example, the first image frame and the second image frame do not belong to the same video frame combination.
在本申请实施例中,第一通信设备可以基于所述数据传输中断信息,获取不依赖于第二图像帧的第一图像帧,从而可以避免由于新产生的图像帧的解码需要依赖于所述第二图像帧,而导致无用的数据传输的问题,节约了无线资源。In this embodiment of the present application, the first communication device may acquire the first image frame that does not depend on the second image frame based on the data transmission interruption information, thereby avoiding that the decoding of the newly generated image frame needs to rely on the The second image frame, while causing the problem of useless data transmission, saves wireless resources.
例如,如果所述目标视频业务为上行业务,即所述第一通信设备为所述目标视频业务的发送端,则第一通信设备可以控制所述目标视频业务的图像帧产生程序,重新产生所述第一图像帧。如果所述目标视频业务为下行业务,即所述第一通信设备为所述目标视频业 务的接收端,则第一通信设备可以通知通信对端(即所述目标视频业务的发送端),所述通信对端在接收第一通信设备的通知后,可以控制所述目标视频业务的图像帧产生程序,重新产生所述第一图像帧,发送给第一通信设备。For example, if the target video service is an uplink service, that is, the first communication device is the sending end of the target video service, the first communication device may control the image frame generation program of the target video service to regenerate the Describe the first image frame. If the target video service is a downlink service, that is, the first communication device is the receiving end of the target video service, the first communication device may notify the communication peer (that is, the sending end of the target video service), so After receiving the notification from the first communication device, the communication peer can control the image frame generation program of the target video service, regenerate the first image frame, and send it to the first communication device.
在相关技术中,以XR业务为例,第一通信设备在XR业务的传输过程发生传输中断,例如,由于在切换间隙无法进行数据传输导致一些XR业务的图像帧无法在延时预算内完成传输而丢失,而依赖这些丢失的图像帧才能成功解码的图像帧成了无效数据传输的情形,直到下一个I帧传输成功才回复正常。例如假设在切换间隙只有P帧和B帧丢失而没有I帧丢失的情形,但后续传输的B帧需要依赖于丢失的P帧才能解码,因此,该B帧传输到数据接收方也无法被成功解码,从而导致该B帧的无效传输。另外,如果在切换间隙有I帧丢失的情形,则由于后续传输的多个B帧和P帧的解码都需要依赖于丢失的I帧才能解码,从而导致后续传输的多个图像帧可能都是无效传输,进而导致XR业务的传输中断持续更长。In related technologies, taking the XR service as an example, the transmission interruption of the first communication device occurs during the transmission process of the XR service. For example, some image frames of the XR service cannot be transmitted within the delay budget due to the inability to perform data transmission during the switching gap. And lost, and rely on these lost image frames to successfully decode the image frame into the situation of invalid data transmission, until the next I frame transmission is successful and just get back to normal. For example, assuming that only P frames and B frames are lost but no I frames are lost in the switching gap, but the subsequent transmitted B frames need to rely on the lost P frames to be decoded, therefore, the B frame cannot be successfully transmitted to the data receiver. decoded, resulting in an invalid transmission of that B-frame. In addition, if there is an I frame loss in the switching gap, since the decoding of multiple B frames and P frames in the subsequent transmission needs to be decoded depending on the lost I frame, the multiple image frames in the subsequent transmission may be all Ineffective transmission, which in turn leads to longer interruption of XR service transmission.
另外,测量间隙(measurement gap)、无线链路失败后的无线重连、波束失败、一致性LBT失败导致的图像帧传输失败对XR业务有与切换期间图像帧传输失败对XR业务有类似的影响。如果把所有未成功传输的图像帧都发送给对端,以便对端能够恢复后续图像帧,则要求对端在短时间内需要接收和处理较多的图像帧,采用这种方案不仅会增加空口的吞吐量的峰值要求,也对接收端的无线数据接收处理和图像解码的能力峰值提出倍增(增加的倍数取决于累积的所有图像帧的数量和平均大小)的要求,如果接收方是UE,则将明显增加UE的成本和产品设计难度和复杂度。因此,在本申请实施例中,在确定目标视频业务的传输中断时,重新获取解码不依赖于由于传输中断而丢失的图像帧的第一图像帧,一方面可以避免无效的图像帧的传输,另一方面,也不会增加对空口的吞吐量的峰值要求,并且,也不会增加接收端的无线数据接收处理和图像解码的能力峰值的要求。In addition, image frame transmission failure caused by measurement gap, wireless reconnection after wireless link failure, beam failure, and consistent LBT failure has a similar impact on XR services as image frame transmission failure during handover has a similar impact on XR services . If all the image frames that have not been successfully transmitted are sent to the peer end so that the peer end can recover subsequent image frames, the peer end is required to receive and process more image frames in a short period of time. This solution will not only increase the number of air interface The peak throughput requirements of the receiving end also impose a multiplication requirement on the receiving end's wireless data receiving processing and image decoding capabilities (the multiplier depends on the number and average size of all accumulated image frames). If the receiving end is a UE, then It will obviously increase the cost of UE and the difficulty and complexity of product design. Therefore, in the embodiment of the present application, when it is determined that the transmission of the target video service is interrupted, the first image frame whose decoding does not depend on the image frame lost due to the transmission interruption is reacquired, on the one hand, the transmission of invalid image frames can be avoided, On the other hand, the peak requirement for the throughput of the air interface will not be increased, and the requirement for the peak capability of wireless data reception processing and image decoding at the receiving end will not be increased.
在一个可能的实现方式中,S212可以包括:在所述目标视频业务为上行业务的情况下,所述第一通信设备执行以下至少之一:In a possible implementation manner, S212 may include: when the target video service is an uplink service, the first communication device performs at least one of the following:
(1)重新产生第一图像帧。(1) Regenerate the first image frame.
在该可能的实现方式中,所述第一图像帧的解码不依赖于所述第二图像帧,例如,新产生的第一图像帧的图像解码不依赖于由于目标视频业务的数据传输中断而丢失的第二图像帧,但可以依赖于目标视频业务的数据传输中断发生之前已传输正确的图像帧。其中,新产生的图像帧包括I帧、P帧和B帧中一种或多种。例如,在图4a中,在切换窗口,因传输中断而导致其中的4个图像帧丢失,新产生的图像帧(即切换窗口之后产生的图像帧)不依赖于丢失的4个图像帧,但依赖于传输中断前传输正确的图像帧。In this possible implementation, the decoding of the first image frame does not depend on the second image frame, for example, the image decoding of the newly generated first image frame does not depend on The second image frame is lost, but it can be relied on that the correct image frame has been transmitted before the data transmission interruption of the target video service occurs. Wherein, the newly generated image frame includes one or more of I frame, P frame and B frame. For example, in Figure 4a, when switching windows, 4 image frames are lost due to transmission interruption, and the newly generated image frames (that is, the image frames generated after switching windows) do not depend on the lost 4 image frames, but Rely on the correct image frame to be transmitted before the transmission is interrupted.
或者,所述第一图像帧的解码不依赖于第三图像帧,所述第三图像帧为确定所述数据传输中断信息之前产生的图像帧。例如,新产生的第一图像帧的图像解码不依赖于在确定目标视频业务的数据传输中断信息之前产生的第三图像帧,新产生的图像帧包括IDR帧、I帧和依赖于这些I帧或IDR帧的P帧和B帧。也就是说,所述第一图像帧的解码不依赖于传输中断前产生的所有图像帧。例如,在图4b中,在切换窗口,因传输中断而导致其中的4个图像帧丢失,新产生的图像帧不依赖于之前产生的所有图像帧,重新产生之前已正确传输的I(或IDR)帧和P帧。Alternatively, the decoding of the first image frame does not depend on the third image frame, and the third image frame is an image frame generated before the data transmission interruption information is determined. For example, the image decoding of the newly generated first image frame does not depend on the third image frame generated before determining the data transmission interruption information of the target video service, and the newly generated image frame includes IDR frame, I frame and depends on these I frame Or P frame and B frame of IDR frame. That is to say, the decoding of the first image frame does not depend on all image frames generated before the interruption of transmission. For example, in Figure 4b, in the switching window, 4 image frames are lost due to transmission interruption, the newly generated image frame does not depend on all the image frames generated before, and the I (or IDR) that has been correctly transmitted before is regenerated ) frame and P frame.
(2)停止产生第四图像帧。(2) Stop generating the fourth image frame.
在该可能的实现方式中,所述第四图像帧的解码依赖于所述第二图像帧或依赖于所述第三图像帧。在该可能的实现方式中,第一通信设备可以停止产生依赖于前面的已经丢失的数据包或图像帧的图像帧,例如,丢弃已经产生的依赖于已丢失的帧/包的图像帧。In this possible implementation manner, the decoding of the fourth image frame depends on the second image frame or depends on the third image frame. In this possible implementation manner, the first communication device may stop generating image frames that depend on previously lost data packets or image frames, for example, discard already generated image frames that depend on lost frames/packets.
(3)暂停所述目标视频业务的编码,直至所述传输中断结束后重新开始编码。(3) Suspend the encoding of the target video service until the encoding is restarted after the transmission interruption ends.
如图3a或图3b所示,终端的应用层可以通过终端的调制解调器经过无线网络与内容服务器或另一个终端传输目标视频业务,目标视频业务在应用层进行编码,得到待传输的图像帧,在通过调制解调器经无线网络传输,而传输中断一般是由于无线网络导致的中断,因此,一般是由终端的调制解调器检测到传输中断。因此,在一个可能的实现方式中,S210中,所述第一通信设备确定目标视频业务的数据传输中断信息,包括:所述第一通信设备的调制解调器向所述第一通信设备的应用层发送所述数据传输中断信息。As shown in Figure 3a or Figure 3b, the application layer of the terminal can transmit the target video service with the content server or another terminal through the modem of the terminal through the wireless network, and the target video service is coded at the application layer to obtain the image frame to be transmitted. The modem is used to transmit via the wireless network, and the interruption of transmission is generally caused by the wireless network. Therefore, the modem of the terminal generally detects the interruption of transmission. Therefore, in a possible implementation manner, in S210, the first communication device determining the data transmission interruption information of the target video service includes: the modem of the first communication device sends a message to the application layer of the first communication device The data transmission interruption information.
例如,第一通信设备的调制解调器确定终端执行无线网络切换,或者调制解调器确定终端需要进入测量间隙,或者调制解调器确定所述终端的无线链路失败后进行无线重连,又或者,调制解调器确定终端的波束失败,又或者,调制解调器确定终端一致性LTB失败,从而导致目标视频业务的数据传输中断,则调制解调器可以获取上述数据传输中断信息,将所述数据传输中断信息发送给第一通信设备的应用层。For example, the modem of the first communication device determines that the terminal performs wireless network switching, or the modem determines that the terminal needs to enter a measurement gap, or the modem determines that the terminal's wireless link fails and performs wireless reconnection, or the modem determines that the terminal's beam fails , or, the modem determines that the terminal conformance LTB fails, thereby causing data transmission interruption of the target video service, the modem may obtain the above data transmission interruption information, and send the data transmission interruption information to the application layer of the first communication device.
由于目标视频业务的图像帧的编码可以是由应用层完成。因此,在一个可能的实现方式中,S212可以包括:所述第一通信设备的应用层调整所述目标视频业务的图像帧的产生程序,获得新产生的第一图像帧。Because the encoding of the image frame of the target video service can be completed by the application layer. Therefore, in a possible implementation manner, S212 may include: the application layer of the first communication device adjusts the generation program of the image frame of the target video service to obtain a newly generated first image frame.
例如,所述第一通信设备的应用层调整传输所述目标视频业务的APP对所述目标视频业务进行编码的编码程序,对目标视频业务进行重新进行编码,产生新的不依赖于所述第二图像帧进行解码的第一图像帧。或者,所述第一通信设备的应用层还可以停止产生上述第四图像帧。或者,所述第一通信设备的应用层还可以暂停所述目标视频业务的编码,直至所述传输中断结束后重新开始编码。For example, the application layer of the first communication device adjusts the encoding program for the APP that transmits the target video service to encode the target video service, re-encodes the target video service, and generates a new The second image frame is decoded from the first image frame. Alternatively, the application layer of the first communication device may also stop generating the fourth image frame. Alternatively, the application layer of the first communication device may also suspend the encoding of the target video service until the encoding is restarted after the transmission interruption ends.
在一个可能的实现方式中,在所述第一通信设备的应用层调整所述目标视频业务的图像帧的产生程序,获得新产生的第一图像帧之后,所述方法还可以包括:所述第一通信设备的应用层向所述第一通信设备的调制解调器发送反馈信息,其中,所述反馈信息中携带有所述目标视频业务的更新信息;所述调制解调器接收所述反馈信息。通过该可能的实现方式,使得调制解调器可以获知后续待发送的图像帧是不依赖于所述第二图像帧的图像帧。In a possible implementation manner, after the application layer of the first communication device adjusts the generation program of the image frame of the target video service and obtains the newly generated first image frame, the method may further include: the The application layer of the first communication device sends feedback information to a modem of the first communication device, where the feedback information carries update information of the target video service; and the modem receives the feedback information. Through this possible implementation manner, the modem can know that the image frame to be sent subsequently is an image frame that does not depend on the second image frame.
在一个可能的实现方式中,所述反馈信息包括但不限于以下至少之一:In a possible implementation manner, the feedback information includes but is not limited to at least one of the following:
(1)第二指示信息,其中,所述第二指示信息用于指示已重新产生图像帧。(1) Second indication information, wherein the second indication information is used to indicate that the image frame has been regenerated.
(2)第三指示信息,其中,所述第三指示信息用于指示新产生的第一图像帧与第三图像帧的依赖关系,所述第三图像帧为确定所述数据传输中断信息之前产生的图像帧。(2) The third indication information, wherein the third indication information is used to indicate the dependence relationship between the newly generated first image frame and the third image frame, and the third image frame is before the data transmission interruption information is determined The resulting image frame.
在一个可能的实现方式中,所述调制解调器接收所述反馈信息之后,所述方法还包括以下至少之一:In a possible implementation manner, after the modem receives the feedback information, the method further includes at least one of the following:
(1)丢弃缓存中未传输的图像帧数据;例如,分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)和/或无线链路控制(Radio Link Control,RLC)层丢弃缓存中未传输的图像帧数据。(1) Discard untransmitted image frame data in the buffer; for example, packet data convergence protocol (Packet Data Convergence Protocol, PDCP) and/or radio link control (Radio Link Control, RLC) layers discard untransmitted image frames in the buffer data.
(2)如果有已经触发的所述目标视频业务的数据发送程序或者有正在进行的所述目标视频业务数据发送程序,则取消所述目标视频业务的数据发送程序。例如,取消XR数据触发的调度请求(Scheduling Request,SR)程序和/或缓存状态报告(Buffer Status Report,BSR)发送程序,以及取消用于传输XR业务数据的混合自动重传请求(Hybrid automatic repeat request,HARQ)传输程序等。(2) If there is a data sending procedure of the target video service that has been triggered or is in progress, cancel the data sending procedure of the target video service. For example, cancel the scheduling request (Scheduling Request, SR) program and/or buffer status report (Buffer Status Report, BSR) sending program triggered by XR data, and cancel the hybrid automatic repeat request (Hybrid automatic repeat) used to transmit XR business data request, HARQ) transmission program, etc.
在一个可能的实现方式中,第一通信设备可以是通过接收到第二通信设备发送的通知信息,确定所述数据传输中断信息。因此,在该可能的实现方式中,S210可以包括:所述第一通信设备接收到第二通信设备发送的通知信息,其中,所述通知信息指示所述目标视频业务的数据传输中断,所述第二通信设备为所述目标视频业务的接收端。例如,所述目标视频业务的接收端因切换无线网络导致目标视频业务的数据传输中断,则接收端可以向第一通信设备发送所述通知消息。In a possible implementation manner, the first communication device may determine the data transmission interruption information by receiving notification information sent by the second communication device. Therefore, in this possible implementation manner, S210 may include: the first communication device receives notification information sent by the second communication device, where the notification information indicates that the data transmission of the target video service is interrupted, and the The second communication device is the receiving end of the target video service. For example, the receiving end of the target video service may send the notification message to the first communication device if the data transmission of the target video service is interrupted due to switching of the wireless network.
如图3b所示,两个终端传输目标视频业务,可以是终端的应用层通过终端的调制解调器经过无线网络进行传输,上述通知信息可以是接收端的应用层(即APP)根据相关的图像编码传输的应用层控制消息实现的相关流程发送给发端。因此,在一个可能的实现方式中,所述第一通信设备接收到第二通信设备发送的通知信息,可以包括:所述第一通信设备的应用层接收到第二通信设备的应用层发送的通知信息。As shown in Figure 3b, when the two terminals transmit the target video service, the application layer of the terminal may transmit it through the wireless network through the modem of the terminal, and the above notification information may be transmitted by the application layer (ie APP) of the receiving end according to the relevant image encoding The relevant processes implemented by the application layer control message are sent to the originator. Therefore, in a possible implementation manner, the receiving the notification information sent by the second communication device by the first communication device may include: the application layer of the first communication device receives the notification information sent by the application layer of the second communication device. notification information.
在一个可能的实现方式中,所述第一通信设备基于所述数据传输中断信息,获取新产 生的第一图像帧可以包括:In a possible implementation manner, the acquisition of the newly generated first image frame by the first communication device based on the data transmission interruption information may include:
步骤1,在所述目标视频业务为下行业务的情况下,所述第一通信设备向第二通信设备发送通知信息,其中,所述通知信息指示所述目标视频业务的数据传输中断,所述第二通信设备为所述目标视频业务的发送端; Step 1, when the target video service is a downlink service, the first communication device sends notification information to the second communication device, wherein the notification information indicates that the data transmission of the target video service is interrupted, and the The second communication device is the sending end of the target video service;
步骤2,接收所述第二通信设备发送所述第一图像帧。Step 2, receiving the first image frame sent by the second communication device.
在该可能的实现方式中,在目标视频业务为下行业务的情况下,即第一通信设备为目标视频业务的接收端的情况下,第一通信设备在确定目标视频业务传输中断的情况下,可以通知目标视频业务的发送端(即第二通信设备),从而使得目标视频业务的发送端可以按照上述第一通信设备采用的方式,产生新的不依赖于所述第二图像帧的第一图像帧,并通过无线网络传输给第一通信设备,以避免无效数据的传输。In this possible implementation, when the target video service is a downlink service, that is, when the first communication device is the receiving end of the target video service, when the first communication device determines that the transmission of the target video service is interrupted, it may Notify the sender of the target video service (that is, the second communication device), so that the sender of the target video service can generate a new first image that does not depend on the second image frame according to the method adopted by the first communication device frame, and transmit it to the first communication device through the wireless network, so as to avoid the transmission of invalid data.
在一个可能的实现方式中,所述通知信息可以包括上述数据传输中断信息,从而使得第二通信设备可以确定所述第二图像帧。In a possible implementation manner, the notification information may include the foregoing data transmission interruption information, so that the second communication device may determine the second image frame.
在一个可能的实现方式中,第一通信设备向第二通信设备发送通知信息,可以包括:所述第一通信设备的应用层向所述第二通信设备的应用层发送所述通知信息。例如,第一通信设备的应用层可以依据相关的图像编码传输的应用层控制消息实现所述通信信息的传输,具体流程本申请实施例中不再赘述。In a possible implementation manner, the sending the notification information to the second communication device by the first communication device may include: sending the notification information to the application layer of the second communication device by an application layer of the first communication device. For example, the application layer of the first communication device may realize the transmission of the communication information according to the application layer control message of the relevant image coding transmission, and the specific process will not be repeated in this embodiment of the application.
在一个可能的实现方式中,网络侧设备可以配置和使能第一通信设备在出现视频业务传输中断的情况下,执行上述获取新产生的第一图像帧的步骤。因此,在所述第一通信设备确定目标视频业务的数据传输中断信息之前,所述方法可以还包括:所述第一通信设备接收网络侧设备发送的配置使能消息,其中,所述配置使能消息用于指示在达到预定条件时确定所述目标视频业务的传输中断。也就是说,网络侧设备可以配置终端在达到预定条件的情况下,确定目标视频业务的传输中断,从而触发步骤S212。In a possible implementation manner, the network side device may configure and enable the first communication device to perform the above step of acquiring the newly generated first image frame when video service transmission is interrupted. Therefore, before the first communication device determines the data transmission interruption information of the target video service, the method may further include: the first communication device receiving a configuration enable message sent by the network side device, wherein the configuration enables The enable message is used to indicate that the transmission of the target video service is determined to be interrupted when a predetermined condition is met. That is to say, the network side device may configure the terminal to determine that the transmission of the target video service is interrupted when a predetermined condition is met, thereby triggering step S212.
在一个可能的实现方式中,所述预定条件包括以下至少之一:In a possible implementation manner, the predetermined condition includes at least one of the following:
(1)所述目标视频业务传输中断时长超过第一时间门限;即在目标视频业务传输中断的时长超过第一时间门限的情况下,触发步骤S212。(1) The interruption duration of the target video service transmission exceeds the first time threshold; that is, when the interruption duration of the target video service transmission exceeds the first time threshold, step S212 is triggered.
(2)所述目标视频业务丢失的图像帧超过第二数量门限;即在目标视频业务丢失的图像帧超过第二数量门限的情况下,触发步骤S212。(2) The lost image frames of the target video service exceed the second number threshold; that is, when the lost image frames of the target video service exceed the second number threshold, step S212 is triggered.
(3)所述目标视频业务丢失的数据包超过第三数量门限;即在目标视频业务丢失的数据包超过第三数量门限的情况下,触发步骤S212。(3) The lost data packets of the target video service exceed the third threshold; that is, when the lost data packets of the target video service exceed the third threshold, step S212 is triggered.
(4)所述目标视频业务的目标图像帧传输失败,其中,所述目标图像帧为预定类型的图像帧;例如,目标图像帧的类型为I帧、P帧或B帧。(4) The transmission of the target image frame of the target video service fails, wherein the target image frame is an image frame of a predetermined type; for example, the type of the target image frame is an I frame, a P frame or a B frame.
(5)接收到切换命令;例如,接收到源基站发送的切换命令,触发步骤S212。(5) A handover command is received; for example, a handover command sent by the source base station is received, and step S212 is triggered.
(6)接收到切换命令后切换完成;例如,在接收到切换命令之后,执行切换流程,完成切换,触发步骤S212。(6) The handover is completed after the handover command is received; for example, after the handover command is received, the handover process is executed to complete the handover, and step S212 is triggered.
(7)发生无线链路失败。(7) A wireless link failure occurs.
(8)发生无线链路失败后无线链路重建成功。(8) The wireless link is reestablished successfully after the wireless link failure occurs.
(9)发现波束失败。(9) Discovery beam failure.
(10)在波束失败后波束恢复成功。(10) Beam recovery succeeds after beam failure.
(11)确定一致性先听后说(LBT)失败;即终端在非授权频段下执行LBT连续失败。(11) Determining that the consistency of Listen Before Talk (LBT) fails; that is, the terminal continuously fails to perform LBT in the unlicensed frequency band.
(12)一致性LBT失败后数据传输成功恢复。(12) Data transmission resumes successfully after consistent LBT failure.
(13)在网络拥塞后,拥塞状况解除。例如,网络侧设备可以在网络发生拥塞后,在拥塞状况解除时,向第一通信设备发送指示信息。(13) After the network is congested, the congestion situation is relieved. For example, the network side device may send indication information to the first communication device when the congestion situation is relieved after network congestion occurs.
(14)测量间隙开始;即第一通信设备需要开始进行测量时,触发步骤S212。(14) The measurement gap starts; that is, when the first communication device needs to start measuring, step S212 is triggered.
(15)测量间隙结束;即第一通信设备在测量间隙结束后,触发步骤S212。(15) The measurement gap ends; that is, the first communication device triggers step S212 after the measurement gap ends.
(16)图像帧的传输延时超过预配置的最大传输时延预算。例如,传输了某个图像帧,但该图像帧的传输时延超过预配置的最大传输时延预算,则认为该图像帧未正确传输,发生了传输中断,触发步骤S212。(16) The transmission delay of the image frame exceeds the pre-configured maximum transmission delay budget. For example, if a certain image frame is transmitted, but the transmission delay of the image frame exceeds the preconfigured maximum transmission delay budget, it is considered that the image frame is not transmitted correctly, and a transmission interruption occurs, and step S212 is triggered.
(17)接收到网络侧设备发送的调整图像编码的请求。例如,基站请求第一通信设备调整图像编码。(17) A request for adjusting image coding sent by the network side device is received. For example, the base station requests the first communication device to adjust image coding.
在一个可能的实现方式中,所述第一通信设备接收网络侧设备发送的配置使能消息,包括:所述第一通信设备的调制解调器接收所述网络侧设备发送的配置使能消息。在该可能的实现方式中,由所述第一通信设备的调制解调器接收所述网络侧设备发送的所述配置使能消息。In a possible implementation manner, the receiving, by the first communication device, the configuration enabling message sent by the network side device includes: receiving, by the modem of the first communication device, the configuration enabling message sent by the network side device. In this possible implementation manner, the configuration enabling message sent by the network side device is received by a modem of the first communication device.
在上述可能的实现方式中,网络侧设备包括但不限于基站。In the foregoing possible implementation manner, the network side device includes but is not limited to a base station.
在本申请实施例的上述各个可能的实现方式中,第一通信设备的调制解调器的无线协议层与第一通信设备的应用层依据现有协议无法进行信息交互的情况下,如图5所示,可以在无线资源控制(Radio Resource Control,RRC)层与应用层之间增加适配层(adaptation layer),适配层可以位于UE的操作系统中,或作为应用层或无线协议栈的一个子层。适配层的功能为将调制解调器的RRC层发送给应用层的所述数据传输中断信息改写为应用层能够解析的格式,并把应用层发给RRC层的目标视频业务信息解释为RRC层能够解析的格式。可选地,适配层提供一些函数,供应用层和RRC层访问,应用层调用这些函数 从RRC层获取数据传输中断信息或向RRC层发送调整后的目标视频业务信息,RRC层调用一些函数向应用层发送数据传输中断信息或从应用层获取调整后的目标视频业务信息。In each of the above possible implementations of the embodiments of the present application, when the wireless protocol layer of the modem of the first communication device and the application layer of the first communication device cannot perform information interaction according to the existing protocol, as shown in FIG. 5 , An adaptation layer can be added between the radio resource control (Radio Resource Control, RRC) layer and the application layer. The adaptation layer can be located in the operating system of the UE, or as a sublayer of the application layer or wireless protocol stack . The function of the adaptation layer is to rewrite the data transmission interruption information sent by the RRC layer of the modem to the application layer into a format that the application layer can parse, and interpret the target video service information sent by the application layer to the RRC layer as the RRC layer can parse format. Optionally, the adaptation layer provides some functions for access by the application layer and the RRC layer, and the application layer calls these functions to obtain data transmission interruption information from the RRC layer or send adjusted target video service information to the RRC layer, and the RRC layer calls some functions Send data transmission interruption information to the application layer or obtain adjusted target video service information from the application layer.
另外,在图5中,调制解调器中无线接入网络协议层的RRC层用于处理与应用层之间的交互。也可以在RRC层之上再引入一层即APP控制(Control)层,作为层3的子层,用于处理与应用层之间的交互。In addition, in FIG. 5 , the RRC layer of the radio access network protocol layer in the modem is used to process the interaction with the application layer. It is also possible to introduce another layer on top of the RRC layer, that is, the APP control (Control) layer, as a sublayer of layer 3, for processing interaction with the application layer.
通过本申请实施例提供的上述图像帧的获取方法,在确定目标视频业务的传输中断时,重新获取解码不依赖于由于传输中断而丢失的图像帧的第一图像帧,一方面可以避免无效的图像帧的传输,另一方面,也不会增加对空口的吞吐量的峰值要求,并且,也不会增加接收端的无线数据接收处理和图像解码的能力峰值的要求。Through the method for obtaining the above-mentioned image frame provided by the embodiment of the present application, when it is determined that the transmission of the target video service is interrupted, the first image frame whose decoding does not depend on the image frame lost due to the interruption of transmission can be re-acquired, on the one hand, it can avoid invalid The transmission of image frames, on the other hand, will not increase the peak throughput requirements of the air interface, and will not increase the wireless data reception processing and image decoding capability peak requirements of the receiving end.
图6示出本申请实施例提供的图像帧的获取方法的另一种流程示意图,如图6所示,该方法主要以下步骤。FIG. 6 shows another schematic flow chart of the method for acquiring an image frame provided by the embodiment of the present application. As shown in FIG. 6 , the method mainly has the following steps.
S601,基站配置和使能UE在出现XR业务数据传输中断的情况下,启动通知应用层调整图像帧产生的程序。S601. The base station configures and enables the UE to start a procedure of notifying an application layer to adjust image frame generation when XR service data transmission is interrupted.
例如,基站可以向UE发送的配置和使能消息,该消息中可以包括以下至少之一:For example, the base station may send a configuration and enabling message to the UE, and the message may include at least one of the following:
(1)配置第一时间门限,当业务传输中断时长超过第一时间门限,启动通知应用层调整图像帧产生的程序;(1) configure the first time threshold, when the service transmission interruption duration exceeds the first time threshold, start the program for notifying the application layer to adjust the image frame generation;
(2)配置第二门限,当图像帧丢失的数量超过该门限或某一类型(I帧、P帧和B帧)的图像帧传输失败,启动通知应用层调整图像帧产生的程序;(2) configure the second threshold, when the image frame loss exceeds the threshold or the image frame transmission of a certain type (I frame, P frame and B frame) fails, start the program that notifies the application layer to adjust the image frame generation;
(3)收到切换命令,或收到切换命令且切换完成时;在收到切换命令时,启动通知应用层调整图像帧产生的程序。或者,收到切换命令且切换完成时,启动通知应用层调整图像帧产生的程序;(3) When the switching command is received, or the switching command is received and the switching is completed; when the switching command is received, the program of notifying the application layer to adjust the generation of the image frame is started. Or, when the switch command is received and the switch is completed, start the program that notifies the application layer to adjust the image frame generation;
(4)发生无线链路失败,或发生无线链路失败后无线链路重建成功;发生无线链路失败时,启动通知应用层调整图像帧产生的程序。或发生无线链路失败后无线链路重建成功,启动通知应用层调整图像帧产生的程序;(4) A wireless link failure occurs, or the wireless link is successfully rebuilt after the wireless link failure occurs; when a wireless link failure occurs, start a procedure for notifying the application layer to adjust image frame generation. Or after the wireless link fails, the wireless link is successfully rebuilt, and the procedure for notifying the application layer to adjust the image frame generation is started;
(5)发现波束失败,或波束失败后波束恢复成功;发现波束失败时,启动通知应用层调整图像帧产生的程序。或波束失败后波束恢复成功,启动通知应用层调整图像帧产生的程序;(5) The beam fails to be found, or the beam recovers successfully after the beam fails; when the beam fails to be found, the procedure of notifying the application layer to adjust the generation of the image frame is started. Or after the beam fails, the beam is restored successfully, and the program of notifying the application layer to adjust the image frame generation is started;
(6)确定一致性LBT失败,或一致性LBT失败后数据传输成功恢复;确定一致性LBT失败,启动通知应用层调整图像帧产生的程序。或一致性LBT失败后数据传输成功恢复,启动通知应用层调整图像帧产生的程序;(6) It is determined that the consistent LBT fails, or the data transmission is successfully resumed after the consistent LBT fails; it is determined that the consistent LBT fails, and starts the program for notifying the application layer to adjust the generation of the image frame. Or after the consistent LBT fails, the data transmission is successfully restored, and the program of notifying the application layer to adjust the image frame generation is started;
(7)网络拥塞后网络拥塞状况解除;网络拥塞后网络拥塞状况解除时,启动通知应用层调整图像帧产生的程序(7) The network congestion situation is lifted after the network congestion; when the network congestion situation is lifted after the network congestion, start the program for notifying the application layer to adjust the image frame generation
(8)测量间隙的开始或结束;在测量间隙的开始或结束时,启动通知应用层调整图像帧产生的程序。(8) The start or end of the measurement gap; when the start or end of the measurement gap, start the procedure for notifying the application layer to adjust the generation of the image frame.
(9)图像帧传输成功,但是实际传输延时超过预配置的最大传输时延预算;即图像帧传输成功,但是实际传输延时超过预配置的最大传输时延预算时,启动通知应用层调整图像帧产生的程序。(9) The image frame transmission is successful, but the actual transmission delay exceeds the preconfigured maximum transmission delay budget; that is, the image frame transmission is successful, but the actual transmission delay exceeds the preconfigured maximum transmission delay budget, start notification application layer adjustment Image frame generation program.
(10)收到基站发送的调整图像编码的请求,启动通知应用层调整图像帧产生的程序。(10) After receiving the request for adjusting the image encoding sent by the base station, start the procedure of notifying the application layer to adjust the generation of the image frame.
其中,S601为可选步骤。Wherein, S601 is an optional step.
S602,位于UE调制解调器(modem)根据所述配置或自主确定XR业务传输中断的发生和相关信息。S602. The UE modem (modem) determines the occurrence of XR service transmission interruption and related information according to the configuration or autonomously.
S603,UE的modem把XR业务的传输中断信息通过UE的modem和应用(APP)层交互机制发送给应用层。S603, the modem of the UE sends the transmission interruption information of the XR service to the application layer through the interaction mechanism between the modem of the UE and the application (APP) layer.
其中,UE的modem向应用层发送的XR业务数据传输中断信息包括以下至少之一:Wherein, the XR service data transmission interruption information sent by the modem of the UE to the application layer includes at least one of the following:
(1)XR业务传输中断发生的指示;(1) An indication of the interruption of XR service transmission;
(2)XR业务的传输中断的时间信息,包括XR业务传输中断的时长、时间起点和/或时间终点;(2) Time information of XR service transmission interruption, including the duration, time start and/or time end of XR service transmission interruption;
(3)受到所述传输中断影响丢失的图像帧的数量、类型(I帧、P帧和B帧)、序号等。所述序号可以是相对于前一个I帧或下一个预期I帧的序号偏移;(3) The number, type (I frame, P frame and B frame), sequence number, etc. of the lost image frames affected by the transmission interruption. The sequence number may be a sequence number offset relative to a previous I-frame or a next expected I-frame;
(4)发生XR业务数据传输中断前,最后一个传输正确的图像帧的信息,包括序号和图像帧类型等;(4) Before the interruption of XR service data transmission, the information of the last transmitted correct image frame, including serial number and image frame type, etc.;
(5)图像帧的IP数据包的IP header中携带的信息,包括源IP地址,目的IP地址,业务类型等信息。(5) The information carried in the IP header of the IP packet of the image frame, including source IP address, destination IP address, business type and other information.
其中,所述XR业务数据传输中断信息又可以定义/称作为重置图像帧编码请求,用于请求应用层产生不依赖于收到所述重置图像帧编码请求前产生的部分或全部图像帧的新图像帧。Wherein, the XR service data transmission interruption information can be defined/referred to as a reset image frame coding request, which is used to request the application layer to generate some or all of the image frames that do not depend on receiving the reset image frame coding request new image frame.
S604,UE的应用层根据收到的XR业务传输中断信息,调整图像帧的产生,使得新产生的图像帧可以不依赖于丢失的图像帧就可以被接收端解码。S604, the application layer of the UE adjusts the generation of the image frame according to the received XR service transmission interruption information, so that the newly generated image frame can be decoded by the receiving end without depending on the lost image frame.
其中,UE的应用层可以执行以下选项中的至少之一:Wherein, the application layer of the UE may perform at least one of the following options:
选项a:重新产生图像帧,新产生的图像帧的图像解码不依赖于由于XR业务数据传输中断而丢失的图像帧,但可以依赖于XR业务数据传输中断发生之前就传输正确的图像 帧,新产生的图像帧包括I帧、P帧和B帧中一种或多种;Option a: regenerate the image frame, the image decoding of the newly generated image frame does not depend on the image frame lost due to the XR service data transmission interruption, but can rely on the correct image frame being transmitted before the XR service data transmission interruption occurs, new The generated image frames include one or more of I frames, P frames and B frames;
选项b:重新产生图像帧,新产生的图像帧的图像解码不依赖于收到XR业务数据传输中断信息之前产生的图像帧就能实现图像解码,新产生的图像帧包括IDR帧、I帧和依赖于这些I帧或IDR帧的P帧和B帧;Option b: Regenerate the image frame. The image decoding of the newly generated image frame does not depend on the image frame generated before receiving the XR service data transmission interruption message to realize the image decoding. The newly generated image frame includes IDR frame, I frame and P-frames and B-frames that depend on these I-frames or IDR frames;
选项c:停止产生依赖于前面的已经丢失的数据包或图像帧的图像帧,包括丢弃已经产生的依赖于已丢失的帧/包的帧;Option c: Stop generating image frames that depend on previous lost data packets or image frames, including discarding already generated frames that depend on lost frames/packets;
选项d:通知APP层暂停编码,直至传输中断结束后重新开始编码。Option d: Notify the APP layer to suspend encoding until the end of transmission interruption and restart encoding.
例如,图4a和图4b示出了XR业务数据传输中断是由切换引起的时候,UE的APP层重新产生的图像帧的依赖关系示意图(前文提到的其它因素引起的XR业务数据传输中断与此类似)。其中,图4a图中,新产生的图像帧依赖于切换发生之前传输正确的XR数据包(对应于选项a),这一情形适用于UE的modem能够将丢失的图像帧的序号信息直接或间接地通知给应用层的情形。图4b图中,新产生的图像帧不依赖于切换完成(即APP接收XR业务数据传输终端消息)之前的图像帧,但是新产生的图像帧之间的依赖关系不受限制。For example, FIG. 4a and FIG. 4b show a schematic diagram of the dependence relationship between the image frames regenerated by the APP layer of the UE when the XR service data transmission interruption is caused by handover (the XR service data transmission interruption caused by other factors mentioned above is related to similar to this). Among them, in Figure 4a, the newly generated image frame depends on the transmission of the correct XR data packet (corresponding to option a) before the handover occurs. This situation is applicable to the modem of the UE that can directly or indirectly transmit the sequence number information of the lost image frame Notify the situation to the application layer. In Fig. 4b, the newly generated image frame does not depend on the image frame before the switching is completed (that is, the APP receives the XR service data transmission terminal message), but the dependency relationship between the newly generated image frames is not limited.
S605,UE的应用层把调整后的XR业务信息发送给UE的modem。S605, the application layer of the UE sends the adjusted XR service information to the modem of the UE.
该步骤为可选步骤。This step is optional.
可选地,在该步骤中,UE的应用层可以向UE的modem发送反馈信息,其中携带XR业务的更新信息,包括指示是否重新产生图像帧、产生的图像帧与前面产生的帧的依赖关系(例如是否依赖此前产生的帧等)。Optionally, in this step, the UE's application layer can send feedback information to the UE's modem, which carries the update information of the XR service, including indicating whether to regenerate the image frame, the dependency relationship between the generated image frame and the previously generated frame (For example, whether to rely on previously generated frames, etc.).
S606,UE的modem把收到的全部或部分XR业务信息报告给基站。S606, the modem of the UE reports all or part of the received XR service information to the base station.
对于上行XR,UE的modem在收到重新产生图像帧的指示后,PDCP/RLC层丢弃缓存中未传输的图像帧数据,和/或,取消上行XR数据发送程序,包括XR数据触发的SR/BSR程序,用于传输XR业务数据的HARQ传输等。For uplink XR, after the modem of the UE receives the instruction to regenerate the image frame, the PDCP/RLC layer discards the untransmitted image frame data in the cache, and/or cancels the uplink XR data transmission procedure, including the SR/ BSR procedure, HARQ transmission for transmitting XR service data, etc.
对于下行XR业务,在UE的应用层从UE的modem收到XR业务数据传输中断信息后,在S604中,UE的应用层需要通知XR业务的对端(简称对端peer XR transmitter)重新产生图像帧。UE的应用层可以依据现有的相关图像编码传输的应用层控制消息实现相关流程,在此不再赘述,UE的应用层在收到对端的响应后,可以执行上述S605和S606。For the downlink XR service, after the application layer of the UE receives the XR service data transmission interruption information from the modem of the UE, in S604, the application layer of the UE needs to notify the opposite end of the XR service (peer XR transmitter for short) to regenerate the image frame. The application layer of the UE can realize the related process according to the existing application layer control message of relevant image coding transmission, which will not be repeated here. After receiving the response from the peer end, the application layer of the UE can execute the above S605 and S606.
通过本申请实施例提供的上述图像帧的获取方法,UE的调制解调器在确定目标视频业务的传输中断时,通知应用层重新获取解码不依赖于由于传输中断而丢失的图像帧的第一图像帧,一方面可以避免无效的图像帧的传输,另一方面,也不会增加对空口的吞吐量的峰值要求,并且,也不会增加接收端的无线数据接收处理和图像解码的能力峰值的要求。Through the method for obtaining the above image frame provided by the embodiment of the present application, when the modem of the UE determines that the transmission of the target video service is interrupted, it notifies the application layer to reacquire the first image frame whose decoding does not depend on the image frame lost due to the transmission interruption, On the one hand, it can avoid the transmission of invalid image frames, on the other hand, it will not increase the peak throughput requirements of the air interface, and will not increase the wireless data reception processing and image decoding capability peak requirements of the receiving end.
本申请实施例提供的图像帧的获取方法,执行主体可以为图像帧的获取装置。本申请实施例中以图像帧的获取装置执行图像帧的获取方法为例,说明本申请实施例提供的图像帧的获取装置。The image frame acquisition method provided in the embodiment of the present application may be executed by an image frame acquisition device. In the embodiment of the present application, the method for obtaining the image frame performed by the device for obtaining the image frame is taken as an example to describe the device for obtaining the image frame provided in the embodiment of the present application.
图7示出本申请实施例提供的图像帧的获取装置的一种结构示意图,如图7所示,该装置700主要包括:确定模块701和获取模块702。FIG. 7 shows a schematic structural diagram of an image frame acquisition device provided by an embodiment of the present application. As shown in FIG. 7 , the device 700 mainly includes: a determination module 701 and an acquisition module 702 .
在本申请实施例中,确定模块701,用于确定目标视频业务的数据传输中断信息,其中,所述数据传输中断信息指示所述目标视频业务的传输中断;获取模块702,用于基于所述数据传输中断信息,获取第一图像帧,其中,所述数据传输中断信息包括以下至少之一:In this embodiment of the present application, the determining module 701 is configured to determine the data transmission interruption information of the target video service, wherein the data transmission interruption information indicates that the transmission of the target video service is interrupted; the obtaining module 702 is configured to determine based on the The data transmission interruption information is to obtain the first image frame, wherein the data transmission interruption information includes at least one of the following:
第一指示信息,其中,所述第一指示信息用于指示所述目标视频业务的传输中断;First indication information, wherein the first indication information is used to indicate that the transmission of the target video service is interrupted;
传输中断的时间信息,其中,所述时间信息包括以下至少之一:传输中断的时长、传输中断的起始时间点、传输中断的结束时间点;Time information of transmission interruption, wherein the time information includes at least one of the following: the duration of transmission interruption, the start time point of transmission interruption, and the end time point of transmission interruption;
所述第二图像帧的数量,所述第二图像帧为由于所述传输中断而丢失的图像帧;the number of said second image frames, said second image frames being image frames lost due to said transmission interruption;
所述第二图像帧的类型;the type of the second image frame;
所述第二图像帧的标识;an identification of the second image frame;
目标图像帧的信息,其中,所述目标图像帧为发生传输中断前,所述目标视频业务最后一个传输正确的图像帧;Information about the target image frame, wherein the target image frame is the last correct image frame transmitted by the target video service before transmission interruption occurs;
目标信息,其中,所述目标信息为所述目标视频业务的图像帧的IP数据包的包头中携带的信息。Target information, wherein the target information is the information carried in the header of the IP data packet of the image frame of the target video service.
在一个可能的实现方式中,所述目标图像帧的信息包括以下至少之一:所述目标图像帧的标识、所述目标图像帧的类型。In a possible implementation manner, the information of the target image frame includes at least one of the following: an identifier of the target image frame, and a type of the target image frame.
在一个可能的实现方式中,所述目标信息包括以下至少之一:源IP地址、目标IP地址以及业务类型。In a possible implementation manner, the target information includes at least one of the following: a source IP address, a target IP address, and a service type.
在一个可能的实现方式中,所述获取模块702获取新产生的第一图像帧,包括:In a possible implementation, the acquisition module 702 acquires the newly generated first image frame, including:
在所述目标视频业务为上行业务的情况下,所述获取模块702执行以下至少之一:In the case where the target video service is an uplink service, the acquisition module 702 performs at least one of the following:
重新产生第一图像帧,可选地,所述第一图像帧的解码不依赖于所述第二图像帧,或者,所述第一图像帧的解码不依赖于第三图像帧,所述第三图像帧为确定所述数据传输中断信息之前产生的图像帧;regenerate the first image frame, optionally, the decoding of the first image frame does not depend on the second image frame, or, the decoding of the first image frame does not depend on the third image frame, the first image frame The three image frames are image frames generated before the data transmission interruption information is determined;
停止产生第四图像帧,可选地,所述第四图像帧的解码依赖于所述第二图像帧或依赖于所述第三图像帧;Stop generating a fourth image frame, optionally, the decoding of the fourth image frame depends on the second image frame or depends on the third image frame;
暂停所述目标视频业务的编码,直至所述传输中断结束后重新开始编码。The encoding of the target video service is suspended until the encoding is restarted after the transmission interruption ends.
在一个可能的实现方式中,所述获取模块702停止产生第四图像帧,包括:丢弃已经产生的所述第四图像帧。In a possible implementation manner, the obtaining module 702 stops generating the fourth image frame, including: discarding the generated fourth image frame.
在一个可能的实现方式中,所述确定模块701确定目标视频业务的数据传输中断信息,包括:In a possible implementation manner, the determination module 701 determines the data transmission interruption information of the target video service, including:
接收到第二通信设备发送的通知信息,其中,所述通知信息指示所述目标视频业务的数据传输中断,所述第二通信设备为所述目标视频业务的接收端。The notification information sent by the second communication device is received, wherein the notification information indicates that the data transmission of the target video service is interrupted, and the second communication device is a receiving end of the target video service.
在一个可能的实现方式中,所述获取模块702基于所述数据传输中断信息,获取新产生的第一图像帧,包括:In a possible implementation, the acquisition module 702 acquires the newly generated first image frame based on the data transmission interruption information, including:
在所述目标视频业务为下行业务的情况下,向第二通信设备发送通知信息,其中,所述通知信息指示所述目标视频业务的数据传输中断,所述第二通信设备为所述目标视频业务的发送端;In the case that the target video service is a downlink service, notification information is sent to a second communication device, wherein the notification information indicates that the data transmission of the target video service is interrupted, and the second communication device is the target video service The sender of the business;
接收所述第二通信设备发送所述第一图像帧。receiving the first image frame sent by the second communications device.
在一个可能的实现方式中,所述装置还包括:接收模块,用于接收网络侧设备发送的配置使能消息,其中,所述配置使能消息用于指示在达到预定条件时确定所述目标视频业务的数据传输中断。In a possible implementation manner, the apparatus further includes: a receiving module, configured to receive a configuration enablement message sent by a network side device, where the configuration enablement message is used to indicate that the target is determined when a predetermined condition is met. The data transmission of the video service is interrupted.
在一个可能的实现方式中,所述预定条件包括以下至少之一:In a possible implementation manner, the predetermined condition includes at least one of the following:
所述目标视频业务传输中断时长超过第一时间门限;The interruption duration of the target video service transmission exceeds the first time threshold;
所述目标视频业务丢失的图像帧超过第二数量门限;The image frames lost by the target video service exceed the second number threshold;
所述目标视频业务丢失的数据包超过第三数量门限;The lost data packets of the target video service exceed a third threshold;
所述目标视频业务的目标图像帧传输失败,其中,所述目标图像帧为预定类型的图像帧;The transmission of the target image frame of the target video service fails, wherein the target image frame is an image frame of a predetermined type;
接收到切换命令;A switching command is received;
接收到切换命令后切换完成;After receiving the switching command, the switching is completed;
发生无线链路失败;A wireless link failure occurs;
发生无线链路失败后无线链路重建成功;After a wireless link failure occurs, the wireless link is reestablished successfully;
发现波束失败;Discovery beam failure;
在波束失败后波束恢复成功;Beam recovery succeeds after beam failure;
确定一致性先听后说LBT失败;Determining Consistency Listen-before-talk LBT failures;
一致性LBT失败后数据传输成功恢复;Data transmission resumes successfully after consistent LBT failure;
在网络拥塞后,拥塞状况解除;After the network is congested, the congestion situation is relieved;
测量间隙开始;start of measurement gap;
测量间隙结束;end of measurement gap;
图像帧的传输延时超过预配置的最大传输时延预算;The transmission delay of the image frame exceeds the pre-configured maximum transmission delay budget;
接收到网络侧设备发送的调整图像编码的请求。A request for adjusting image encoding sent by the network side device is received.
本申请实施例中的图像帧的获取装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端11的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。The image frame acquisition apparatus in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or other devices other than the terminal. Exemplarily, the terminal may include, but not limited to, the types of terminal 11 listed above, and other devices may be servers, Network Attached Storage (NAS), etc., which are not specifically limited in this embodiment of the present application.
本申请实施例提供的图像帧的获取装置能够实现图2至图6的方法实施例中第一通信设备实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The image frame acquisition device provided in the embodiment of the present application can implement the various processes implemented by the first communication device in the method embodiments in FIG. 2 to FIG. 6 , and achieve the same technical effect. To avoid repetition, details are not repeated here.
可选的,如图8所示,本申请实施例还提供一种通信设备800,包括处理器801和存储器802,存储器802上存储有可在所述处理器801上运行的程序或指令,例如,该通信设备800为终端或内容服务器时,该程序或指令被处理器801执行时实现上述图像帧的获取方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 8 , this embodiment of the present application also provides a communication device 800, including a processor 801 and a memory 802, and the memory 802 stores programs or instructions that can run on the processor 801, for example , when the communication device 800 is a terminal or a content server, when the program or instruction is executed by the processor 801, each step of the above-mentioned method for obtaining an image frame can be achieved, and the same technical effect can be achieved. To avoid repetition, it is not repeated here repeat.
本申请实施例还提供一种终端,包括处理器和通信接口,处理器用于实现上述图像帧的获取方法实施例的各个步骤,通信接口用于与外部通信设备进行通信。该终端实施例与上述方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。The embodiment of the present application also provides a terminal, including a processor and a communication interface, the processor is used to implement the steps of the above image frame acquisition method embodiment, and the communication interface is used to communicate with an external communication device. This terminal embodiment corresponds to the above-mentioned method embodiment, and each implementation process and implementation mode of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve the same technical effect.
具体地,图9为实现本申请实施例的一种终端的硬件结构示意图。Specifically, FIG. 9 is a schematic diagram of a hardware structure of a terminal implementing an embodiment of the present application.
该终端900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909以及处理器910等中的至少部分部件。The terminal 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910. At least some parts.
本领域技术人员可以理解,终端900还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the terminal 900 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 910 through the power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions. The terminal structure shown in FIG. 9 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here.
应理解的是,本申请实施例中,输入单元904可以包括图形处理单元(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元906可包括显示面板9061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板9061。用户输入单元907包括触控面板9071以及其他输入设备9072中的至少 一种。触控面板9071,也称为触摸屏。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in the embodiment of the present application, the input unit 904 may include a graphics processing unit (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 is used in a video capture mode or an image capture mode by an image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
本申请实施例中,射频单元901接收来自网络侧设备的下行数据后,可以传输给处理器910进行处理;另外,射频单元901可以向网络侧设备发送上行数据。通常,射频单元901包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。In the embodiment of the present application, the radio frequency unit 901 may transmit the downlink data from the network side device to the processor 910 for processing after receiving the downlink data; in addition, the radio frequency unit 901 may send the uplink data to the network side device. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
存储器909可用于存储软件程序或指令以及各种数据。存储器909可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器909可以包括易失性存储器或非易失性存储器,或者,存储器909可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器909包括但不限于这些和任意其它适合类型的存储器。The memory 909 can be used to store software programs or instructions as well as various data. The memory 909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required by at least one function (such as a sound playing function, image playback function, etc.), etc. Furthermore, memory 909 may include volatile memory or nonvolatile memory, or, memory 909 may include both volatile and nonvolatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. Volatile memory can be random access memory (Random Access Memory, RAM), 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, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM , SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). The memory 909 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
处理器910可包括一个或多个处理单元;可选的,处理器910集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。The processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the foregoing modem processor may not be integrated into the processor 910 .
其中,处理器910,用于:Wherein, the processor 910 is used for:
确定目标视频业务的数据传输中断信息,其中,所述数据传输中断信息指示所述目标视频业务的传输中断;determining data transmission interruption information of the target video service, wherein the data transmission interruption information indicates that the transmission of the target video service is interrupted;
基于所述数据传输中断信息,获取第一图像帧,其中,所述数据传输中断信息包括以下至少之一:Based on the data transmission interruption information, the first image frame is acquired, wherein the data transmission interruption information includes at least one of the following:
第一指示信息,其中,所述第一指示信息用于指示所述目标视频业务的传输中断;First indication information, wherein the first indication information is used to indicate that the transmission of the target video service is interrupted;
传输中断的时间信息,其中,所述时间信息包括以下至少之一:传输中断的时长、传 输中断的起始时间点、传输中断的结束时间点;Time information of transmission interruption, wherein the time information includes at least one of the following: the duration of transmission interruption, the start time point of transmission interruption, and the end time point of transmission interruption;
所述第二图像帧的数量,所述第二图像帧为由于所述传输中断而丢失的图像帧;the number of said second image frames, said second image frames being image frames lost due to said transmission interruption;
所述第二图像帧的类型;the type of the second image frame;
所述第二图像帧的标识;an identification of the second image frame;
目标图像帧的信息,其中,所述目标图像帧为发生传输中断前,所述目标视频业务最后一个传输正确的图像帧;Information about the target image frame, wherein the target image frame is the last correct image frame transmitted by the target video service before transmission interruption occurs;
目标信息,其中,所述目标信息为所述目标视频业务的图像帧的互联网协议IP数据包的包头中携带的信息。Target information, wherein the target information is the information carried in the header of the Internet Protocol IP data packet of the image frame of the target video service.
可选地,处理器910获取新产生的第一图像帧,包括:Optionally, the processor 910 acquires a newly generated first image frame, including:
在所述目标视频业务为上行业务的情况下,执行以下至少之一:When the target video service is an uplink service, perform at least one of the following:
重新产生第一图像帧,可选地,所述第一图像帧的解码不依赖于所述第二图像帧,或者,所述第一图像帧的解码不依赖于第三图像帧,所述第三图像帧为确定所述数据传输中断信息之前产生的图像帧;regenerate the first image frame, optionally, the decoding of the first image frame does not depend on the second image frame, or, the decoding of the first image frame does not depend on the third image frame, the first image frame The three image frames are image frames generated before the data transmission interruption information is determined;
停止产生第四图像帧,可选地,所述第四图像帧的解码依赖于所述第二图像帧或依赖于所述第三图像帧;Stop generating a fourth image frame, optionally, the decoding of the fourth image frame depends on the second image frame or depends on the third image frame;
暂停所述目标视频业务的编码,直至所述传输中断结束后重新开始编码。The encoding of the target video service is suspended until the encoding is restarted after the transmission interruption ends.
通过本申请实施例提供的终端,可以在确定目标视频业务的数据传输中断信息后,基于所述数据传输中断信息,获取新产生第一图像帧,该新产生的第一图像帧的解码不依赖于由于数据传输中断而丢失的第二图像帧,从而避免了由于新产生的图像帧的解码需要依赖于所述第二图像帧,而导致无用的数据传输的问题,节约了无线资源。Through the terminal provided by the embodiment of the present application, after determining the data transmission interruption information of the target video service, based on the data transmission interruption information, the newly generated first image frame can be obtained, and the decoding of the newly generated first image frame does not depend on The second image frame is lost due to interruption of data transmission, thereby avoiding the problem of useless data transmission due to the decoding of a newly generated image frame depending on the second image frame, and saving wireless resources.
本申请实施例还提供一种网络侧设备,包括处理器和通信接口,处理器用于实现上述图像帧的获取方法实施例的各个步骤,通信接口用于与外部通信设备进行通信。该网络侧设备实施例与上述方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该网络侧设备实施例中,且能达到相同的技术效果。The embodiment of the present application also provides a network side device, including a processor and a communication interface, the processor is used to implement the steps of the image frame acquisition method above, and the communication interface is used to communicate with an external communication device. The network-side device embodiment corresponds to the above-mentioned method embodiment, and each implementation process and implementation mode of the above-mentioned method embodiment can be applied to this network-side device embodiment, and can achieve the same technical effect.
具体地,本申请实施例还提供了一种网络侧设备。如图10所示,该网络侧设备1000包括:处理器1001、网络接口1002和存储器1003。其中,网络接口1002例如为通用公共无线接口(common public radio interface,CPRI)。Specifically, the embodiment of the present application also provides a network side device. As shown in FIG. 10 , the network side device 1000 includes: a processor 1001 , a network interface 1002 and a memory 1003 . Wherein, the network interface 1002 is, for example, a common public radio interface (common public radio interface, CPRI).
具体地,本发明实施例的网络侧设备1000还包括:存储在存储器1003上并可在处理器1001上运行的指令或程序,处理器1001调用存储器1003中的指令或程序执行图7所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。Specifically, the network-side device 1000 in the embodiment of the present invention further includes: instructions or programs stored in the memory 1003 and executable on the processor 1001, and the processor 1001 invokes the instructions or programs in the memory 1003 to execute the The method of module execution achieves the same technical effect, so in order to avoid repetition, it is not repeated here.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该 程序或指令被处理器执行时实现上述图像帧的获取方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, each process of the above-mentioned image frame acquisition method embodiment is implemented, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the terminal described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图像帧的获取方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method for acquiring image frames described above Each process of the example, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiment of the present application may also be called a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip.
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述图像帧的获取方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a computer program/program product, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the above-mentioned image frame acquisition method The various processes of the embodiment can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形 式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (26)

  1. 一种图像帧的获取方法,包括:A method for acquiring an image frame, comprising:
    第一通信设备确定目标视频业务的数据传输中断信息,其中,所述数据传输中断信息指示所述目标视频业务的传输中断;The first communication device determines data transmission interruption information of the target video service, wherein the data transmission interruption information indicates that the transmission of the target video service is interrupted;
    所述第一通信设备基于所述数据传输中断信息,获取第一图像帧;The first communication device acquires a first image frame based on the data transmission interruption information;
    其中,所述数据传输中断信息包括以下至少之一:Wherein, the data transmission interruption information includes at least one of the following:
    第一指示信息,其中,所述第一指示信息用于指示所述目标视频业务的传输中断;First indication information, wherein the first indication information is used to indicate that the transmission of the target video service is interrupted;
    传输中断的时间信息,其中,所述时间信息包括以下至少之一:传输中断的时长、传输中断的起始时间点、传输中断的结束时间点;Time information of transmission interruption, wherein the time information includes at least one of the following: the duration of transmission interruption, the start time point of transmission interruption, and the end time point of transmission interruption;
    第二图像帧的数量,所述第二图像帧为由于所述传输中断而丢失的图像帧;the number of second image frames, said second image frames being image frames lost due to said transmission interruption;
    所述第二图像帧的类型;the type of the second image frame;
    所述第二图像帧的标识;an identification of the second image frame;
    目标图像帧的信息,其中,所述目标图像帧为发生传输中断前,所述目标视频业务最后一个传输正确的图像帧;Information about the target image frame, wherein the target image frame is the last correct image frame transmitted by the target video service before transmission interruption occurs;
    目标信息,其中,所述目标信息为所述目标视频业务的图像帧的互联网协议IP数据包的包头中携带的信息。Target information, wherein the target information is the information carried in the header of the Internet Protocol IP data packet of the image frame of the target video service.
  2. 根据权利要求1所述的方法,其中,所述目标图像帧的信息包括以下至少之一:所述目标图像帧的标识、所述目标图像帧的类型。The method according to claim 1, wherein the information of the target image frame includes at least one of the following: an identifier of the target image frame, and a type of the target image frame.
  3. 根据权利要求1所述的方法,其中,所述目标信息包括以下至少之一:源IP地址、目标IP地址以及业务类型。The method according to claim 1, wherein the target information includes at least one of the following: source IP address, target IP address and service type.
  4. 根据权利要求1所述的方法,其中,所述第一通信设备获取第一图像帧,包括:The method according to claim 1, wherein said first communication device acquiring a first image frame comprises:
    在所述目标视频业务为上行业务的情况下,所述第一通信设备执行以下至少之一:In the case where the target video service is an uplink service, the first communication device performs at least one of the following:
    重新产生第一图像帧;regenerate the first image frame;
    停止产生第三图像帧;stop generating the third image frame;
    暂停所述目标视频业务的编码,直至所述传输中断结束后重新开始编码。The encoding of the target video service is suspended until the encoding is restarted after the transmission interruption ends.
  5. 根据权利要求4所述的方法,其中,所述第一通信设备停止产生第三图像帧,包括:丢弃已经产生的所述第三图像帧。The method according to claim 4, wherein the first communication device stops generating the third image frame, comprising: discarding the generated third image frame.
  6. 根据权利要求4或5所述的方法,其中,所述第一通信设备确定目标视频业务的数据传输中断信息,包括:The method according to claim 4 or 5, wherein the first communication device determines the data transmission interruption information of the target video service, comprising:
    所述第一通信设备接收到第二通信设备发送的通知信息,其中,所述通知信息指示所 述目标视频业务的数据传输中断,所述第二通信设备为所述目标视频业务的接收端。The first communication device receives the notification information sent by the second communication device, wherein the notification information indicates that the data transmission of the target video service is interrupted, and the second communication device is the receiving end of the target video service.
  7. 根据权利要求6所述的方法,其中,所述第一通信设备接收到第二通信设备发送的通知信息,包括:The method according to claim 6, wherein the first communication device receives the notification information sent by the second communication device, comprising:
    所述第一通信设备的应用层接收到第二通信设备的应用层发送的通知信息。The application layer of the first communication device receives notification information sent by the application layer of the second communication device.
  8. 根据权利要求4或5所述的方法,其中,所述第一通信设备获取第一图像帧,包括:The method according to claim 4 or 5, wherein the acquiring the first image frame by the first communication device comprises:
    所述第一通信设备的应用层调整所述目标视频业务的图像帧的产生程序,获得新产生的第一图像帧。The application layer of the first communication device adjusts the generation program of the image frame of the target video service to obtain a newly generated first image frame.
  9. 根据权利要求8所述的方法,其中,在所述第一通信设备的应用层调整所述目标视频业务的图像帧的产生程序,获得新产生的第一图像帧之后,所述方法还包括:The method according to claim 8, wherein, after the application layer of the first communication device adjusts the generation program of the image frame of the target video service and obtains the newly generated first image frame, the method further comprises:
    所述第一通信设备的应用层向所述第一通信设备的调制解调器发送反馈信息,其中,所述反馈信息中携带有所述目标视频业务的更新信息;The application layer of the first communication device sends feedback information to the modem of the first communication device, where the feedback information carries update information of the target video service;
    所述调制解调器接收所述反馈信息。The modem receives the feedback information.
  10. 根据权利要求9所述的方法,其中,所述反馈信息包括以下至少之一:The method according to claim 9, wherein the feedback information includes at least one of the following:
    第二指示信息,其中,所述第二指示信息用于指示已重新产生图像帧;second indication information, wherein the second indication information is used to indicate that the image frame has been regenerated;
    第三指示信息,其中,所述第三指示信息用于指示重新产生的第一图像帧与第四图像帧的依赖关系,所述第四图像帧为确定所述数据传输中断信息之前产生的图像帧。The third indication information, wherein the third indication information is used to indicate the dependence relationship between the regenerated first image frame and the fourth image frame, and the fourth image frame is an image generated before the data transmission interruption information is determined. frame.
  11. 根据权利要求10所述的方法,其中,所述调制解调器接收所述反馈信息之后,所述方法还包括以下至少之一:The method according to claim 10, wherein, after the modem receives the feedback information, the method further comprises at least one of the following:
    丢弃缓存中未传输的图像帧数据;Discard untransmitted image frame data in the cache;
    取消已经触发的所述目标视频业务的数据发送程序;Cancel the triggered data sending procedure of the target video service;
    取消正在进行的所述目标视频业务的数据发送程序。Cancel the ongoing data sending procedure of the target video service.
  12. 根据权利要求1所述的方法,其中,所述第一通信设备基于所述数据传输中断信息,获取第一图像帧,包括:The method according to claim 1, wherein said first communication device acquiring a first image frame based on said data transmission interruption information comprises:
    在所述目标视频业务为下行业务的情况下,所述第一通信设备向第二通信设备发送通知信息,其中,所述通知信息指示所述目标视频业务的数据传输中断,所述第二通信设备为所述目标视频业务的发送端;When the target video service is a downlink service, the first communication device sends notification information to the second communication device, where the notification information indicates that the data transmission of the target video service is interrupted, and the second communication The device is the sending end of the target video service;
    接收所述第二通信设备发送所述第一图像帧。receiving the first image frame sent by the second communications device.
  13. 根据权利要求12所述的方法,其中,所述第一通信设备向第二通信设备发送通知信息,包括:The method according to claim 12, wherein the first communication device sending notification information to the second communication device comprises:
    所述第一通信设备的应用层向所述第二通信设备的应用层发送所述通知信息。The application layer of the first communication device sends the notification information to the application layer of the second communication device.
  14. 根据权利要求1至13任一项所述的方法,其中,在所述第一通信设备确定目标视频业务的数据传输中断信息之前,所述方法还包括:The method according to any one of claims 1 to 13, wherein, before the first communication device determines the data transmission interruption information of the target video service, the method further comprises:
    所述第一通信设备接收网络侧设备发送的配置使能消息,其中,所述配置使能消息用于指示在达到预定条件时确定所述目标视频业务的传输中断。The first communication device receives a configuration enabling message sent by a network side device, where the configuration enabling message is used to indicate that when a predetermined condition is met, it is determined that the transmission of the target video service is interrupted.
  15. 根据权利要求14所述的方法,其中,所述预定条件包括以下至少之一:The method according to claim 14, wherein the predetermined condition comprises at least one of the following:
    所述目标视频业务传输中断时长超过第一时间门限;The interruption duration of the target video service transmission exceeds the first time threshold;
    所述目标视频业务丢失的图像帧超过第二数量门限;The image frames lost by the target video service exceed the second number threshold;
    所述目标视频业务丢失的数据包超过第三数量门限;The lost data packets of the target video service exceed a third threshold;
    所述目标视频业务的目标图像帧传输失败,其中,所述目标图像帧为预定类型的图像帧;The transmission of the target image frame of the target video service fails, wherein the target image frame is an image frame of a predetermined type;
    接收到切换命令;A switching command is received;
    接收到切换命令后切换完成;After receiving the switching command, the switching is completed;
    发生无线链路失败;A wireless link failure occurs;
    发生无线链路失败后无线链路重建成功;After a wireless link failure occurs, the wireless link is reestablished successfully;
    发现波束失败;Discovery beam failure;
    在波束失败后波束恢复成功;Beam recovery succeeds after beam failure;
    确定一致性先听后说LBT失败;Determining Consistency Listen-before-talk LBT failures;
    一致性LBT失败后数据传输成功恢复;Data transmission resumes successfully after consistent LBT failure;
    在网络拥塞后,拥塞状况解除;After the network is congested, the congestion situation is relieved;
    测量间隙开始;start of measurement gap;
    测量间隙结束;end of measurement gap;
    图像帧的传输延时超过预配置的最大传输时延预算;The transmission delay of the image frame exceeds the pre-configured maximum transmission delay budget;
    接收到网络侧设备发送的调整图像编码的请求。A request for adjusting image encoding sent by the network side device is received.
  16. 根据权利要求15所述的方法,其中,所述第一通信设备接收网络侧设备发送的配置使能消息,包括:The method according to claim 15, wherein the first communication device receives the configuration enabling message sent by the network side device, comprising:
    所述第一通信设备的调制解调器接收所述网络侧设备发送的配置使能消息。The modem of the first communication device receives the configuration enabling message sent by the network side device.
  17. 根据权利要求1至5、8至16中任一项所述的方法,其中,所述第一通信设备确定目标视频业务的数据传输中断信息,包括:所述第一通信设备的调制解调器向所述第一通信设备的应用层发送所述数据传输中断信息。The method according to any one of claims 1 to 5, 8 to 16, wherein the first communication device determining the data transmission interruption information of the target video service includes: sending the modem of the first communication device to the The application layer of the first communication device sends the data transmission interruption information.
  18. 一种图像帧的获取装置,包括:A device for acquiring an image frame, comprising:
    确定模块,用于确定目标视频业务的数据传输中断信息,其中,所述数据传输中断信息指示所述目标视频业务的传输中断;A determining module, configured to determine data transmission interruption information of the target video service, wherein the data transmission interruption information indicates that the transmission of the target video service is interrupted;
    获取模块,用于基于所述数据传输中断信息,获取第一图像帧;An acquisition module, configured to acquire a first image frame based on the data transmission interruption information;
    其中,所述数据传输中断信息包括以下至少之一:Wherein, the data transmission interruption information includes at least one of the following:
    第一指示信息,其中,所述第一指示信息用于指示所述目标视频业务的传输中断;First indication information, wherein the first indication information is used to indicate that the transmission of the target video service is interrupted;
    传输中断的时间信息,其中,所述时间信息包括以下至少之一:传输中断的时长、传输中断的起始时间点、传输中断的结束时间点;Time information of transmission interruption, wherein the time information includes at least one of the following: the duration of transmission interruption, the start time point of transmission interruption, and the end time point of transmission interruption;
    第二图像帧的数量,所述第二图像帧为由于所述传输中断而丢失的图像帧;the number of second image frames, said second image frames being image frames lost due to said transmission interruption;
    所述第二图像帧的类型;the type of the second image frame;
    所述第二图像帧的标识;an identification of the second image frame;
    目标图像帧的信息,其中,所述目标图像帧为发生传输中断前,所述目标视频业务最后一个传输正确的图像帧;Information about the target image frame, wherein the target image frame is the last correct image frame transmitted by the target video service before transmission interruption occurs;
    目标信息,其中,所述目标信息为所述目标视频业务的图像帧的IP数据包的包头中携带的信息。Target information, wherein the target information is the information carried in the header of the IP data packet of the image frame of the target video service.
  19. 根据权利要求18所述的装置,其中,所述获取模块获取第一图像帧,包括:The device according to claim 18, wherein the acquisition module acquires the first image frame, comprising:
    在所述目标视频业务为上行业务的情况下,所述获取模块执行以下至少之一:In the case where the target video service is an uplink service, the acquiring module performs at least one of the following:
    重新产生第一图像帧;regenerate the first image frame;
    停止产生第三图像帧;stop generating the third image frame;
    暂停所述目标视频业务的编码,直至所述传输中断结束后重新开始编码。The encoding of the target video service is suspended until the encoding is restarted after the transmission interruption ends.
  20. 根据权利要求19所述的装置,其中,所述获取模块停止产生第三图像帧,包括:丢弃已经产生的所述第三图像帧。The apparatus according to claim 19, wherein the obtaining module stops generating the third image frame, comprising: discarding the generated third image frame.
  21. 根据权利要求19或20所述的装置,其中,所述确定模块确定目标视频业务的数据传输中断信息,包括:The device according to claim 19 or 20, wherein the determining module determines data transmission interruption information of the target video service, comprising:
    接收到第二通信设备发送的通知信息,其中,所述通知信息指示所述目标视频业务的数据传输中断,所述第二通信设备为所述目标视频业务的接收端。The notification information sent by the second communication device is received, wherein the notification information indicates that the data transmission of the target video service is interrupted, and the second communication device is a receiving end of the target video service.
  22. 根据权利要求18所述的装置,其中,所述获取模块基于所述数据传输中断信息,获取第一图像帧,包括:The device according to claim 18, wherein the acquisition module acquires the first image frame based on the data transmission interruption information, comprising:
    在所述目标视频业务为下行业务的情况下,向第二终端通信设备发送通知信息,其中,所述通知信息指示所述目标视频业务的数据传输中断,所述第二终端通信设备为所述目标 视频业务的发送端;When the target video service is a downlink service, sending notification information to a second terminal communication device, wherein the notification information indicates that the data transmission of the target video service is interrupted, and the second terminal communication device is the The sending end of the target video service;
    接收所述第二终端通信设备发送所述第一图像帧。receiving the first image frame sent by the second terminal communication device.
  23. 根据权利要求18至22任一项所述的装置,其中,所述装置还包括:The device according to any one of claims 18 to 22, wherein the device further comprises:
    接收模块,用于接收网络侧设备发送的配置使能消息,其中,所述配置使能消息用于指示在达到预定条件时确定所述目标视频业务的数据传输中断。The receiving module is configured to receive a configuration enabling message sent by the network side device, wherein the configuration enabling message is used to indicate that the data transmission of the target video service is determined to be interrupted when a predetermined condition is met.
  24. 根据权利要求23所述的装置,其中,所述预定条件包括以下至少之一:The device according to claim 23, wherein the predetermined condition includes at least one of the following:
    所述目标视频业务传输中断时长超过第一时间门限;The interruption duration of the target video service transmission exceeds the first time threshold;
    所述目标视频业务丢失的图像帧超过第二数量门限;The image frames lost by the target video service exceed the second number threshold;
    所述目标视频业务丢失的数据包超过第三数量门限;The lost data packets of the target video service exceed a third threshold;
    所述目标视频业务的目标图像帧传输失败,其中,所述目标图像帧为预定类型的图像帧;The transmission of the target image frame of the target video service fails, wherein the target image frame is an image frame of a predetermined type;
    接收到切换命令;A switching command is received;
    接收到切换命令后切换完成;After receiving the switching command, the switching is completed;
    发生无线链路失败;A wireless link failure occurs;
    发生无线链路失败后无线链路重建成功;After a wireless link failure occurs, the wireless link is reestablished successfully;
    发现波束失败;Discovery beam failure;
    在波束失败后波束恢复成功;Beam recovery succeeds after beam failure;
    确定一致性先听后说LBT失败;Determining Consistency Listen-before-talk LBT failures;
    一致性LBT失败后数据传输成功恢复;Data transmission resumes successfully after consistent LBT failure;
    在网络拥塞后,拥塞状况解除;After the network is congested, the congestion situation is relieved;
    测量间隙开始;start of measurement gap;
    测量间隙结束;end of measurement gap;
    图像帧的传输延时超过预配置的最大传输时延预算;The transmission delay of the image frame exceeds the pre-configured maximum transmission delay budget;
    接收到网络侧设备发送的调整图像编码的请求。A request for adjusting image encoding sent by the network side device is received.
  25. 一种通信设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至17任一项所述的图像帧的获取方法的步骤。A communication device, comprising a processor and a memory, the memory stores programs or instructions that can run on the processor, and when the programs or instructions are executed by the processor, any one of claims 1 to 17 is implemented Steps in the method for acquiring an image frame.
  26. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至17任一项所述的图像帧的获取方法的步骤。A readable storage medium storing programs or instructions on the readable storage medium, and implementing the steps of the image frame acquisition method according to any one of claims 1 to 17 when the programs or instructions are executed by a processor.
PCT/CN2022/141148 2021-12-24 2022-12-22 Image frame acquisition method and apparatus, and communication device WO2023116836A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111605205.9A CN116347536A (en) 2021-12-24 2021-12-24 Image frame acquisition method and device and communication equipment
CN202111605205.9 2021-12-24

Publications (1)

Publication Number Publication Date
WO2023116836A1 true WO2023116836A1 (en) 2023-06-29

Family

ID=86890303

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/141148 WO2023116836A1 (en) 2021-12-24 2022-12-22 Image frame acquisition method and apparatus, and communication device

Country Status (2)

Country Link
CN (1) CN116347536A (en)
WO (1) WO2023116836A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005260541A (en) * 2004-03-11 2005-09-22 Matsushita Electric Ind Co Ltd Device and method for displaying video
CN108924485A (en) * 2018-06-29 2018-11-30 四川斐讯信息技术有限公司 Client live video stream interruption processing method and system, monitoring system
CN111246306A (en) * 2020-03-09 2020-06-05 歌尔科技有限公司 Playing control method, playing equipment switching method, playing equipment and intelligent terminal
CN113613346A (en) * 2021-07-12 2021-11-05 深圳Tcl新技术有限公司 Network connection method, device, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005260541A (en) * 2004-03-11 2005-09-22 Matsushita Electric Ind Co Ltd Device and method for displaying video
CN108924485A (en) * 2018-06-29 2018-11-30 四川斐讯信息技术有限公司 Client live video stream interruption processing method and system, monitoring system
CN111246306A (en) * 2020-03-09 2020-06-05 歌尔科技有限公司 Playing control method, playing equipment switching method, playing equipment and intelligent terminal
CN113613346A (en) * 2021-07-12 2021-11-05 深圳Tcl新技术有限公司 Network connection method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN116347536A (en) 2023-06-27

Similar Documents

Publication Publication Date Title
JP2022501946A (en) NR-U LBT MAC procedure
CN107483710B (en) Method and apparatus for providing service to terminal in wireless communication system
TWI477166B (en) Apparatus and methods for mitigating protocol-induced back-offs in a communication network
WO2018196855A1 (en) Beam recovery processing method and terminal
US20190021134A1 (en) User plane optimization for narrowband internet of things
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
WO2022028473A1 (en) Data transmission type configuration method and terminal
CN113972967B (en) Auxiliary information sending method, auxiliary information receiving device, terminal and network side equipment
KR20230079275A (en) Data transmission method, device, terminal, network-side device and storage medium
WO2022206612A1 (en) Communication path switching method and apparatus, and terminal
WO2022184044A1 (en) Multicast service receiving method, multicast service configuration method, terminal, and network side device
WO2023040893A1 (en) Continuous lbt failure processing method and apparatus, and terminal and network-side device
WO2023116836A1 (en) Image frame acquisition method and apparatus, and communication device
WO2022078394A1 (en) Multicast service transmission method, apparatus, and communication device
US20230071861A1 (en) Data transmission methods and communication device
WO2023066106A1 (en) Data discarding method and apparatus, terminal, and network side device
WO2022152129A1 (en) Method and apparatus for triggering uplink data transmission enhancement process and terminal
WO2023098799A1 (en) Information transmission method and apparatus, terminal, and network side device
WO2024017134A1 (en) Data packet processing method, terminal, and network-side device
WO2023066114A1 (en) Data processing method and apparatus, and terminal
WO2023241445A1 (en) Data packet set time delay processing methods, apparatus, and communication device
WO2023185929A1 (en) Resource control method and apparatus, terminal, and network side device
WO2022262865A1 (en) Gap processing method, apparatus, terminal, and readable storage medium
WO2023098800A1 (en) Information transmission method and apparatus, and terminal and network side device
WO2022127703A1 (en) Mobility procedure handling method and related device

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: 22910147

Country of ref document: EP

Kind code of ref document: A1