[go: up one dir, main page]

CN114095796A - Method, apparatus, device and computer storage medium for reducing invalid retransmission packets - Google Patents

Method, apparatus, device and computer storage medium for reducing invalid retransmission packets Download PDF

Info

Publication number
CN114095796A
CN114095796A CN202010748858.1A CN202010748858A CN114095796A CN 114095796 A CN114095796 A CN 114095796A CN 202010748858 A CN202010748858 A CN 202010748858A CN 114095796 A CN114095796 A CN 114095796A
Authority
CN
China
Prior art keywords
retransmission
delay
packets
server
downlink
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202010748858.1A
Other languages
Chinese (zh)
Inventor
刘俊
汪恒江
穆家松
张雷
徐福康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Group Terminal Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Group Terminal Co Ltd
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 China Mobile Communications Group Co Ltd, China Mobile Communications Group Terminal Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010748858.1A priority Critical patent/CN114095796A/en
Publication of CN114095796A publication Critical patent/CN114095796A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64746Control signals issued by the network directed to the server or the client
    • H04N21/64761Control signals issued by the network directed to the server or the client directed to the server
    • H04N21/64776Control signals issued by the network directed to the server or the client directed to the server for requesting retransmission, e.g. of data packets lost or corrupted during transmission from server

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

The embodiment of the invention provides a method, a device and equipment for reducing invalid retransmission packets and a computer storage medium, wherein the method for reducing the invalid retransmission packets comprises the following steps: calculating retransmission time length according to player parameters configured by a client; determining downlink time delay according to the time delay of a client receiving a network packet from a server within a preset time period; acquiring uplink time delay of a network packet sent by a server receiving client from the server; calculating retransmission time consumption according to the downlink time delay and the uplink time delay, wherein the retransmission time consumption is equal to the sum of the downlink time delay and the uplink time delay; when the retransmission time consumption is less than the retransmission time length, transmitting a retransmission packet; the embodiment of the invention can avoid the uploading of the invalid retransmission packet and solve the problem of computing resource waste caused by the uploading of the invalid retransmission packet in the prior art.

Description

无效重传包减少方法、装置、设备及计算机存储介质Invalid retransmission packet reduction method, apparatus, device and computer storage medium

技术领域technical field

本发明属于网络传输质量领域,尤其涉及一种无效重传包减少方法、装置、设备及计算机存储介质。The invention belongs to the field of network transmission quality, and in particular relates to a method, device, equipment and computer storage medium for reducing invalid retransmission packets.

背景技术Background technique

目前在家庭多媒体领域,智能IPTV机顶盒使用越来越广泛。IPTV机顶盒的一个突出特点即为可以通过组播的方式供用户观看直播节目。其实现原理为将直播节目视频信号封装为基于用户数据报协议(user datagram protocol,UDP)协议上的实时传输协议(realtime transport protocol,RTP)包,经由因特网组管理协议(internet group managementprotocol,IGMP)组播协议传送至各个机顶盒终端进行解码播放。由于UDP协议并不是可靠传输协议,在网络中经常存在丢包的情况,而一旦直播节目视频数据丢包,会导致图像部分缺失或者图像帧缺失,在这种情况下,播放出来的视频画面就会出现马赛克或者花屏卡顿,严重影响直播节目的用户体验,此时需要进行网络包的重传。At present, in the field of home multimedia, intelligent IPTV set-top boxes are used more and more widely. A prominent feature of IPTV set-top boxes is that users can watch live programs through multicast. Its realization principle is to encapsulate the live program video signal into a real-time transport protocol (RTP) packet based on the user datagram protocol (UDP) protocol, and via the Internet group management protocol (internet group management protocol, IGMP) The multicast protocol is transmitted to each set-top box terminal for decoding and playback. Since the UDP protocol is not a reliable transmission protocol, there is often packet loss in the network. Once the video data of the live program is lost, part of the image or image frame will be missing. Mosaic or screen freezes may occur, which seriously affects the user experience of live programs. In this case, network packets need to be retransmitted.

由于重传包通过网络传输,在这过程这存在一定耗时。而直播具有一定的时效要求,往往容易出现视频播放完成后,重传包滞后到达,导致计算资源的浪费。Since the retransmitted packets are transmitted through the network, there is a time-consuming process in this process. However, live broadcasts have certain timeliness requirements, and it is often prone to delays in the arrival of retransmission packets after video playback is completed, resulting in a waste of computing resources.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种在无效重传包减少方法、装置、设备及计算机存储介质,解决了现有技术中因上传无效重传包导致的计算资源浪费的问题。Embodiments of the present invention provide a method, apparatus, device, and computer storage medium for reducing invalid retransmission packets, which solve the problem of wasting computing resources caused by uploading invalid retransmission packets in the prior art.

第一方面,本发明实施例提供一种无效重传包减少方法,该方法包括:In a first aspect, an embodiment of the present invention provides a method for reducing invalid retransmission packets, the method comprising:

根据客户端配置的播放器参数计算重传时长;Calculate the retransmission duration according to the player parameters configured by the client;

根据客户端在预设时间段内从服务器接收网络包的时延确定下行时延;Determine the downlink delay according to the delay of the client receiving network packets from the server within the preset time period;

从服务器获取服务器接收客户端发送的网络包的上行时延;Obtain from the server the uplink delay of the server receiving the network packet sent by the client;

根据下行时延和上行时延计算重传耗时,重传耗时等于下行时延与上行时延之和;Calculate the retransmission time according to the downlink delay and uplink delay, and the retransmission time is equal to the sum of the downlink delay and the uplink delay;

当重传耗时小于重传时长时,发送重传包。When the retransmission time is less than the retransmission duration, the retransmission packet is sent.

进一步地,在一种实施例中,根据客户端配置的播放器参数计算重传时长,包括:Further, in an embodiment, calculating the retransmission duration according to the player parameters configured by the client includes:

根据播放器缓存容量和片源平均码率计算重传时长,重传时长等于播放器缓存容量除以片源评语码率。The retransmission duration is calculated based on the player's buffer capacity and the average bit rate of the video source. The retransmission duration is equal to the player's buffer capacity divided by the video source comment bit rate.

进一步地,在一种实施例中,根据客户端在预设时间段内从服务器接收网络包的时延确定下行时延,包括:Further, in an embodiment, the downlink delay is determined according to the delay of the client receiving network packets from the server within a preset time period, including:

根据在预设时间段内从服务器接收的网络包中每个网络包的时延和相应权重计算下行时延;或者,Calculate the downlink delay according to the delay and corresponding weight of each network packet in the network packets received from the server within the preset time period; or,

将预设时间段内从服务器接收的网络包的时延平均值确定为下行时延。The average delay of network packets received from the server within the preset time period is determined as the downlink delay.

进一步地,在一种实施例中,该方法还包括:Further, in one embodiment, the method also includes:

当重传耗时大于重传时长时,根据估值参量更新下行时延。When the retransmission time is longer than the retransmission duration, the downlink delay is updated according to the estimated parameter.

进一步地,在一种实施例中,在重传包发送后,该方法还包括:Further, in an embodiment, after the retransmission packet is sent, the method further includes:

根据本次重传包的下行实际时延更新下行时延。The downlink delay is updated according to the actual downlink delay of the retransmitted packet this time.

第二方面,本发明实施例提供一种无效重传包减少装置,该装置包括:In a second aspect, an embodiment of the present invention provides an apparatus for reducing invalid retransmission packets, the apparatus comprising:

计算模块,用于根据客户端配置的播放器参数计算重传时长;A calculation module for calculating the retransmission duration according to the player parameters configured by the client;

确定模块,用于根据客户端在预设时间段内从服务器接收网络包的时延确定下行时延;a determining module, configured to determine the downlink delay according to the delay of the client receiving network packets from the server within a preset time period;

获取模块,用于从服务器获取服务器接收客户端发送的网络包的上行时延;The acquisition module is used to acquire from the server the uplink delay of the server receiving the network packet sent by the client;

计算模块,还用于根据下行时延和上行时延计算重传耗时,重传耗时等于下行时延与上行时延之和;The calculation module is also used to calculate the retransmission time according to the downlink delay and the uplink delay, and the retransmission time is equal to the sum of the downlink delay and the uplink delay;

发送模块,用于当重传耗时小于重传时长时,发送重传包。The sending module is used to send the retransmission packet when the retransmission time is less than the retransmission time.

进一步地,在一种实施例中,计算模块,具体用于:Further, in an embodiment, the computing module is specifically used for:

根据播放器缓存容量和片源平均码率计算重传时长,重传时长等于播放器缓存容量除以片源评语码率。The retransmission duration is calculated based on the player's buffer capacity and the average bit rate of the video source. The retransmission duration is equal to the player's buffer capacity divided by the video source comment bit rate.

进一步地,在一种实施例中,确定模块,具体用于:Further, in an embodiment, the determining module is specifically used for:

根据在预设时间段内从服务器接收的网络包中每个网络包的时延和相应权重计算下行时延;或者,Calculate the downlink delay according to the delay and corresponding weight of each network packet in the network packets received from the server within the preset time period; or,

将预设时间段内从服务器接收的网络包的时延平均值确定为下行时延。The average delay of network packets received from the server within the preset time period is determined as the downlink delay.

进一步地,在一种实施例中,该装置还包括:Further, in one embodiment, the device further includes:

更新模块,用于当重传耗时大于重传时长时,根据估值参量更新下行时延。The updating module is used to update the downlink delay according to the estimated parameter when the retransmission time is longer than the retransmission time.

进一步地,在一种实施例中,在重传包发送后,该装置还包括:Further, in an embodiment, after the retransmission packet is sent, the apparatus further includes:

更新模块,用于根据本次重传包的下行实际时延更新下行时延。The updating module is configured to update the downlink delay according to the actual downlink delay of the retransmitted packet this time.

第三方面,本发明实施例提供一种无效重传包减少设备,该设备包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现无效重传包减少方法。In a third aspect, an embodiment of the present invention provides a device for reducing invalid retransmission packets. The device includes: a memory, a processor, and a computer program stored in the memory and running on the processor, and the computer program is implemented when the processor is executed. Invalid retransmission packet reduction method.

第四方面,本发明实施例提供一种计算机可读存储介质,该计算机可读存储介质上存储有信息传递的实现程序,程序被处理器执行时实现无效重传包减少方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a program for implementing information transmission is stored thereon, and when the program is executed by a processor, a method for reducing invalid retransmission packets is implemented.

本发明实施例的无效重传包减少方法、装置、设备及计算机存储介质,能够避免无效重传包的上传,解决了现有技术中因上传无效重传包导致的计算资源浪费的问题。The method, device, device and computer storage medium for reducing invalid retransmission packets according to the embodiments of the present invention can avoid the uploading of invalid retransmission packets, and solve the problem of wasting computing resources caused by uploading invalid retransmission packets in the prior art.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单的介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the embodiments of the present invention. For those of ordinary skill in the art, without creative work, the Additional drawings can be obtained from these drawings.

图1是本发明实施例提供的一种无效重传包减少方法的流程示意图;1 is a schematic flowchart of a method for reducing invalid retransmission packets according to an embodiment of the present invention;

图2是本发明实施例提供的一种无效重传包减少装置的结构示意图;2 is a schematic structural diagram of an apparatus for reducing invalid retransmission packets according to an embodiment of the present invention;

图3是本发明实施例提供的一种无效重传包减少设备的结构示意图。FIG. 3 is a schematic structural diagram of a device for reducing invalid retransmission packets according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将详细描述本发明的各个方面的特征和示例性实施例,为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本发明进行进一步详细描述。应理解,此处所描述的具体实施例仅被配置为解释本发明,并不被配置为限定本发明。对于本领域技术人员来说,本发明可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本发明的示例来提供对本发明更好的理解。The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention, and are not configured to limit the present invention. It will be apparent to those skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is only intended to provide a better understanding of the present invention by illustrating examples of the invention.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element defined by the phrase "comprises" does not preclude the presence of additional identical elements in a process, method, article, or device that includes the element.

目前在家庭多媒体领域,智能IPTV机顶盒使用越来越广泛。IPTV机顶盒的一个突出特点即为可以通过组播的方式供用户观看直播节目。其实现原理为将直播节目视频信号封装为基于UDP协议上的RTP包,经由IGMP组播协议传送至各个机顶盒终端进行解码播放。由于UDP协议并不是可靠传输协议,在网络中经常存在丢包的情况,而一旦直播节目视频数据丢包,会导致图像部分缺失或者图像帧缺失,在这种情况下,播放出来的视频画面就会出现马赛克或者花屏卡顿,严重影响直播节目的用户体验。At present, in the field of home multimedia, intelligent IPTV set-top boxes are used more and more widely. A prominent feature of IPTV set-top boxes is that users can watch live programs through multicast. The implementation principle is to encapsulate the live program video signal into RTP packets based on the UDP protocol, and transmit them to each set-top box terminal via the IGMP multicast protocol for decoding and playback. Since the UDP protocol is not a reliable transmission protocol, there is often packet loss in the network. Once the video data of the live program is lost, part of the image or image frame will be missing. Mosaic or blurry screen will appear, which will seriously affect the user experience of live programs.

现有技术中可以通过单播请求重传的技术手段解决网络丢包问题,但是该技术手段存在一定弊端:由于重传网络包通过网络传输,在这过程这存在一定耗时,由于直播具有一定的时效要求,往往容易出现视频播放完成后,重传包滞后到达的问题;滞后到达的重传包属于无效重传包,但是到达机顶盒终端后,由于机顶盒无法判断该网络包是否无效,需要进行接收,解析,排序等处理,最终丢弃滞后网络包,造成机顶盒计算资源的浪费。In the prior art, the problem of network packet loss can be solved by the technical means of unicast request for retransmission, but this technical means has certain drawbacks: since the retransmitted network packets are transmitted through the network, this process is time-consuming, and the live broadcast has certain disadvantages. After the video playback is completed, the retransmission packet arrives late; the retransmission packet that arrives late is an invalid retransmission packet, but after reaching the set-top box terminal, since the set-top box cannot judge whether the network packet is invalid, it is necessary to carry out Receiving, parsing, sorting and other processing, and finally discard the lagging network packets, resulting in a waste of computing resources of the set-top box.

为了解决现有技术问题,本发明实施例提供了一种无效重传包减少方法、装置、设备及计算机存储介质。本发明实施例基于重传时长和预估的重传耗时来判断是否进行重传包的发送,能够避免无效重传包的上传,解决了现有技术中因上传无效重传包导致的计算资源浪费的问题。下面首先对本发明实施例所提供的无效重传包减少方法进行介绍。In order to solve the problems of the prior art, the embodiments of the present invention provide a method, apparatus, device, and computer storage medium for reducing invalid retransmission packets. The embodiment of the present invention determines whether to send a retransmission packet based on the retransmission duration and the estimated retransmission time, which can avoid the upload of invalid retransmission packets, and solve the calculation problem caused by uploading invalid retransmission packets in the prior art. The problem of wasting resources. The following first introduces the method for reducing invalid retransmission packets provided by the embodiments of the present invention.

图1示出了本发明一个实施例提供的无效重传包减少方法的流程示意图。如图1所示,该方法可以包括以下步骤:FIG. 1 shows a schematic flowchart of a method for reducing invalid retransmission packets provided by an embodiment of the present invention. As shown in Figure 1, the method may include the following steps:

S110,根据客户端配置的播放器参数计算重传时长。S110: Calculate the retransmission duration according to the player parameters configured by the client.

由于客户端配置的播放器直接进行视频的播放,基于该播放器的参数计算重传时长能够保证重传时长的准确性。Since the player configured by the client directly plays the video, calculating the retransmission duration based on the parameters of the player can ensure the accuracy of the retransmission duration.

S120,根据客户端在预设时间段内从服务器接收网络包的时延确定下行时延。S120: Determine the downlink delay according to the delay of the client receiving network packets from the server within a preset time period.

下行时延指的是由服务器发往客户端网络包的时间延迟,由于此时还并未进行重传包的发送,所以需要根据历史接收网络包的时延预估一个下行时延。The downlink delay refers to the time delay of network packets sent from the server to the client. Since the retransmission packets have not been sent yet, it is necessary to estimate a downlink delay based on the historical delay of receiving network packets.

S130,从服务器获取服务器接收客户端发送的网络包的上行时延。S130: Acquire, from the server, the uplink delay of the server receiving the network packet sent by the client.

上行时延指的是由客户端发往服务重传请求的时间延迟,基于本发明实施例的应用场景为重传请求已发出,上行时延已存在,故可以直接从服务器获取服务器接收客户端发送的网络包的上行时延。The uplink delay refers to the time delay sent by the client to the service retransmission request. Based on the application scenario of the embodiment of the present invention, the retransmission request has been sent and the uplink delay already exists, so the server can be directly obtained from the server to receive the client Upstream delay of sent network packets.

S140,根据下行时延和上行时延计算重传耗时,重传耗时等于下行时延与上行时延之和。S140: Calculate the retransmission time according to the downlink delay and the uplink delay, and the retransmission time is equal to the sum of the downlink delay and the uplink delay.

基于下行时延和上行时延计算重传耗时,考虑到了重传包的发送所需的所有耗时,保证了计算所得的重传耗时的准确性。The retransmission time is calculated based on the downlink delay and the uplink delay, and all the time required for sending the retransmission packet is considered, so as to ensure the accuracy of the calculated retransmission time.

S150,当重传耗时小于重传时长时,发送重传包。S150, when the retransmission time is less than the retransmission duration, send a retransmission packet.

仅在重传耗时小于重传时长时才发送重传包,避免了无效重传包的发送。The retransmission packet is sent only when the retransmission time is less than the retransmission duration, avoiding the sending of invalid retransmission packets.

本发明实施例基于重传时长和预估的重传耗时来判断是否进行重传包的发送,仅在重传耗时小于重传时长时,才发送重传包,能够避免无效重传包的上传,进而避免产生因上传无效重传包导致的计算资源浪费。This embodiment of the present invention determines whether to send a retransmission packet based on the retransmission duration and the estimated retransmission duration, and only sends the retransmission packet when the retransmission duration is less than the retransmission duration, which can avoid invalid retransmission packets. to avoid the waste of computing resources caused by uploading invalid retransmission packets.

在一种实施例中,S110可以包括:In one embodiment, S110 may include:

根据播放器缓存容量H和片源平均码率R计算重传时长T,重传时长等于播放器缓存容量除以片源评语码率,T=H/R;由于客户端配置的播放器直接进行视频的播放,基于播放器缓存容量和片源平均码率计算重传时长能够保证重传时长的准确性。Calculate the retransmission duration T according to the player's buffer capacity H and the average bit rate R of the video source. The retransmission duration is equal to the player's buffer capacity divided by the video source comment bit rate, T=H/R; For video playback, calculating the retransmission duration based on the player's buffer capacity and the average bit rate of the video source can ensure the accuracy of the retransmission duration.

在一种实施例中,S120可以包括:In one embodiment, S120 may include:

根据在预设时间段内从服务器接收的网络包中每个网络包的时延Pk和相应权重Wk计算下行时延T0The downlink delay T 0 is calculated according to the delay P k and the corresponding weight W k of each network packet in the network packets received from the server within the preset time period.

例如,在预设时间段内从服务器接收的网络包个数为n,则

Figure BDA0002609355620000061
Figure BDA0002609355620000062
For example, if the number of network packets received from the server within a preset time period is n, then
Figure BDA0002609355620000061
Figure BDA0002609355620000062

在一种实施例中,S120还可以包括:In an embodiment, S120 may further include:

将预设时间段内从服务器接收的网络包的时延平均值确定为下行时延。The average delay of network packets received from the server within the preset time period is determined as the downlink delay.

本发明实施例的下行时延是基于客户端在预设时间段内从服务器接收网络包的时延估算确定的,使得估计的下行时延与实际的下行时延误差极小。The downlink delay in the embodiment of the present invention is determined based on the delay estimation of the client receiving network packets from the server within a preset time period, so that the error between the estimated downlink delay and the actual downlink delay is extremely small.

在一种实施例中,在重传包发送后,该方法还可以包括:In an embodiment, after the retransmission packet is sent, the method may further include:

根据本次重传包的下行实际时延更新下行时延;由于重传包的下行时延仅与相近的一个时间段内其他网络包的接收时延关联性较强,所以需要保证下行时延是根据最接近的一个时间段内从服务器接收网络包的时延估算确定,这就要求下行时延需要及时更新。The downlink delay is updated according to the actual downlink delay of the retransmitted packet. Since the downlink delay of the retransmitted packet is only strongly correlated with the reception delay of other network packets in a similar time period, it is necessary to ensure the downlink delay. It is determined according to the estimation of the delay of receiving network packets from the server in the closest time period, which requires that the downlink delay needs to be updated in time.

例如,在本次的上行预估时延是基于1到n个网络包的接收时延估算的。在本次重传包发送后,进行了上行时延的更新。那么下一次的上行时延则是基于2到n+1个网络包的接收时延进行估算的,且该第n+1个网络包的接收时延即为本次重传包的下行实际时延。For example, the estimated uplink delay this time is estimated based on the receiving delays of 1 to n network packets. After the retransmission packet is sent this time, the uplink delay is updated. Then the next uplink delay is estimated based on the receiving delay of 2 to n+1 network packets, and the receiving delay of the n+1th network packet is the actual downlink time of the retransmitted packet. extension.

在一种实施例中,该方法还可以包括:In one embodiment, the method may further include:

当重传耗时大于重传时长时,根据估值参量更新下行时延;由于当重传耗时大于重传时长时,并未进行重传包的发送,并未产生下行实际时延,故根据估值参量α更新下行时延,估值参量α是一个在区间(0,1]中选定的常数。When the retransmission time is longer than the retransmission time, the downlink delay is updated according to the estimated parameter; because when the retransmission time is longer than the retransmission time, the retransmission packet is not sent, and the actual downlink delay is not generated, so The downlink delay is updated according to the evaluation parameter α, which is a constant selected in the interval (0, 1].

例如,用T0’表示更新后的下行时延,更新后的下行时延可以通过如下算式求得T0’=α×T0For example, the updated downlink delay is represented by T 0 ′, and the updated downlink delay can be obtained by the following formula: T 0 ′=α×T 0 .

本发明实施例基于重传时长和重传耗时来判断是否进行重传包的发送,仅在重传耗时小于重传时长时,才发送重传包,能够避免无效重传包的上传,进而避免产生因上传无效重传包导致的计算资源浪费。This embodiment of the present invention determines whether to send a retransmission packet based on the retransmission duration and the retransmission duration, and only sends the retransmission packet when the retransmission duration is less than the retransmission duration, which can avoid the upload of invalid retransmission packets. Thus, waste of computing resources caused by uploading invalid retransmission packets is avoided.

图1描述了无效重传包减少方法,下面结合附图2和附图3描述本发明实施例提供的装置。FIG. 1 describes a method for reducing invalid retransmission packets, and an apparatus provided by an embodiment of the present invention is described below with reference to FIG. 2 and FIG. 3 .

图2示出了本发明一个实施例提供的无效重传包减少装置的结构示意图。如图2所示,该装置可以包括:FIG. 2 shows a schematic structural diagram of an apparatus for reducing invalid retransmission packets provided by an embodiment of the present invention. As shown in Figure 2, the apparatus may include:

计算模块210,用于根据客户端配置的播放器参数计算重传时长。The calculation module 210 is configured to calculate the retransmission duration according to the player parameters configured by the client.

由于客户端配置的播放器直接进行视频的播放,基于该播放器的参数计算重传时长能够保证重传时长的准确性。Since the player configured by the client directly plays the video, calculating the retransmission duration based on the parameters of the player can ensure the accuracy of the retransmission duration.

确定模块220,用于根据客户端在预设时间段内从服务器接收网络包的时延确定下行时延。The determining module 220 is configured to determine the downlink delay according to the delay of the client receiving network packets from the server within a preset time period.

下行时延指的是由服务器发往客户端网络包的时间延迟,由于此时还并未进行重传包的发送,所以需要根据历史接收网络包的时延预估一个下行时延,即下行时延。The downlink delay refers to the time delay of the network packet sent by the server to the client. Since the retransmission packet has not been sent at this time, it is necessary to estimate a downlink delay according to the historical delay of receiving network packets, that is, the downlink delay. time delay.

获取模块230,用于从服务器获取服务器接收客户端发送的网络包的上行时延。The obtaining module 230 is configured to obtain, from the server, the uplink delay of the server receiving the network packet sent by the client.

上行时延指的是由客户端发往服务重传请求的时间延迟,基于本发明实施例的应用场景为重传请求已发出,上行时延已存在,故可以直接从服务器获取服务器接收客户端发送的网络包的上行时延。The uplink delay refers to the time delay sent by the client to the service retransmission request. Based on the application scenario of the embodiment of the present invention, the retransmission request has been sent and the uplink delay already exists, so the server can be directly obtained from the server to receive the client Upstream delay of sent network packets.

计算模块210,还用于根据下行时延和上行时延计算重传耗时,重传耗时等于下行时延与上行时延之和。The calculation module 210 is further configured to calculate the retransmission time according to the downlink delay and the uplink delay, and the retransmission time is equal to the sum of the downlink delay and the uplink delay.

基于下行时延和上行时延计算重传耗时,考虑到了重传包的发送所需的所有耗时,保证了计算所得的重传耗时的准确性。The retransmission time is calculated based on the downlink delay and the uplink delay, and all the time required for sending the retransmission packet is considered, so as to ensure the accuracy of the calculated retransmission time.

发送模块240,用于当重传耗时小于重传时长时,发送重传包。The sending module 240 is configured to send the retransmission packet when the retransmission time is less than the retransmission duration.

仅在重传耗时小于重传时长时才发送重传包,避免了无效重传包的发送。The retransmission packet is sent only when the retransmission time is less than the retransmission duration, avoiding the sending of invalid retransmission packets.

本发明实施例基于重传时长和预估的重传耗时来判断是否进行重传包的发送,仅在重传耗时小于重传时长时,才发送重传包,能够避免无效重传包的上传,进而避免产生因上传无效重传包导致的计算资源浪费。This embodiment of the present invention determines whether to send a retransmission packet based on the retransmission duration and the estimated retransmission duration, and only sends the retransmission packet when the retransmission duration is less than the retransmission duration, which can avoid invalid retransmission packets. to avoid the waste of computing resources caused by uploading invalid retransmission packets.

图3示出了本发明一个实施例提供的无效重传包减少设备的结构示意图。如图3所示,该设备可以包括处理器301以及存储有计算机程序指令的存储器302。FIG. 3 shows a schematic structural diagram of a device for reducing invalid retransmission packets provided by an embodiment of the present invention. As shown in Figure 3, the apparatus may include a processor 301 and a memory 302 storing computer program instructions.

具体地,上述处理器301可以包括中央处理器(Central Processing Unit,CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本发明实施例的一个或多个集成电路。Specifically, the above-mentioned processor 301 may include a central processing unit (Central Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured as one or more integrated circuits implementing the embodiments of the present invention .

存储器302可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器302可包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个或更多个以上这些的组合。在一个实例中,存储器302可以包括可移除或不可移除(或固定)的介质,或者存储器302是非易失性固态存储器。存储器302可在综合网关容灾设备的内部或外部。Memory 302 may include mass storage for data or instructions. By way of example and not limitation, memory 302 may include a Hard Disk Drive (HDD), a floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive or two or more A combination of more than one of the above. In one example, memory 302 may include removable or non-removable (or fixed) media, or memory 302 is non-volatile solid state memory. The memory 302 may be internal or external to the integrated gateway disaster recovery device.

在一个实例中,存储器302可以是只读存储器(Read Only Memory,ROM)。在一个实例中,该ROM可以是掩模编程的ROM、可编程ROM(PROM)、可擦除PROM(EPROM)、电可擦除PROM(EEPROM)、电可改写ROM(EAROM)或闪存或者两个或更多个以上这些的组合。In one example, the memory 302 may be a read only memory (ROM). In one example, the ROM may be a mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or both A combination of one or more of the above.

处理器301通过读取并执行存储器302中存储的计算机程序指令,以实现图1所示实施例中的方法/步骤S110至S150,并达到图1所示实例执行其方法/步骤达到的相应技术效果,为简洁描述在此不再赘述。The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement the methods/steps S110 to S150 in the embodiment shown in FIG. 1 , and achieve the corresponding technology achieved by the example shown in FIG. 1 by executing its method/steps The effect is not repeated here for the sake of brevity.

在一个示例中,该无效重传包减少设备还可包括通信接口303和总线310。其中,处理器301、存储器302、通信接口303通过总线310连接并完成相互间的通信。In one example, the invalid retransmission packet reduction device may further include a communication interface 303 and a bus 310 . Among them, the processor 301, the memory 302, and the communication interface 303 are connected through the bus 310 and complete the mutual communication.

通信接口303,主要用于实现本发明实施例中各模块、装置、单元和/或设备之间的通信。The communication interface 303 is mainly used to implement communication between modules, apparatuses, units and/or devices in the embodiments of the present invention.

总线310包括硬件、软件或两者,将在线数据流量计费设备的部件彼此耦接在一起。举例来说而非限制,总线可包括加速图形端口(Accelerated Graphics Port,AGP)或其他图形总线、增强工业标准架构(Extended Industry Standard Architecture,EISA)总线、前端总线(Front Side Bus,FSB)、超传输(Hyper Transport,HT)互连、工业标准架构(Industry Standard Architecture,ISA)总线、无限带宽互连、低引脚数(LPC)总线、存储器总线、微信道架构(MCA)总线、外围组件互连(PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(SATA)总线、视频电子标准协会局部(VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线310可包括一个或多个总线。尽管本发明实施例描述和示出了特定的总线,但本发明考虑任何合适的总线或互连。The bus 310 includes hardware, software, or both, coupling the components of the online data flow metering device to each other. By way of example and not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a hyper Transport (Hyper Transport, HT) interconnect, Industry Standard Architecture (Industry Standard Architecture, ISA) bus, Infiniband interconnect, Low pin count (LPC) bus, Memory bus, Micro Channel Architecture (MCA) bus, Peripheral component interconnect Connectivity (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VLB) bus or other suitable bus or two or more of these combination. Bus 310 may include one or more buses, where appropriate. Although embodiments of the present invention describe and illustrate a particular bus, the present invention contemplates any suitable bus or interconnect.

该无效重传包减少设备可以执行本发明实施例中的无效重传包减少方法,从而实现结合图1和图2描述的在线数据流量计费方法和装置。The device for reducing invalid retransmission packets may execute the method for reducing invalid retransmission packets in this embodiment of the present invention, thereby implementing the online data flow charging method and apparatus described in conjunction with FIG. 1 and FIG. 2 .

另外,结合上述实施例中的无效重传包减少方法,本发明实施例可提供一种计算机存储介质来实现。该计算机存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种无效重传包减少方法。In addition, in combination with the method for reducing invalid retransmission packets in the foregoing embodiments, the embodiments of the present invention may provide a computer storage medium for implementation. Computer program instructions are stored on the computer storage medium; when the computer program instructions are executed by the processor, any one of the methods for reducing invalid retransmission packets in the foregoing embodiments is implemented.

需要明确的是,本发明并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本发明的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本发明的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。It is to be understood that the present invention is not limited to the specific arrangements and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above-described embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the sequence of steps after comprehending the spirit of the present invention.

以上所述的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(Application SpecificIntegrated Circuit,ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本发明的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RadioFrequency,RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, and the like. When implemented in software, elements of the invention are programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted over a transmission medium or communication link by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and the like . The code segments may be downloaded via a computer network such as the Internet, an intranet, or the like.

还需要说明的是,本发明中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本发明不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be different from the order in the embodiments, or several steps may be performed simultaneously.

上面参考根据本公开的实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that execution of the instructions via the processor of the computer or other programmable data processing apparatus enables the Implementation of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams. Such processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It will also be understood that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can also be implemented by special purpose hardware for performing the specified functions or actions, or by special purpose hardware and/or A combination of computer instructions is implemented.

以上所述,仅为本发明的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。The above are only specific implementations of the present invention. Those skilled in the art can clearly understand that, for the convenience and simplicity of the description, the specific working process of the above-described systems, modules and units may refer to the foregoing method embodiments. The corresponding process in , will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should all cover within the protection scope of the present invention.

Claims (12)

1.一种无效重传包减少方法,其特征在于,包括:1. a method for reducing invalid retransmission packets, comprising: 根据客户端配置的播放器参数计算重传时长;Calculate the retransmission duration according to the player parameters configured by the client; 根据所述客户端在预设时间段内从服务器接收网络包的时延确定下行时延;Determine the downlink delay according to the delay of the client receiving network packets from the server within a preset time period; 从所述服务器获取所述服务器接收所述客户端发送的网络包的上行时延;Obtain, from the server, the uplink delay of the server receiving the network packet sent by the client; 根据所述下行时延和所述上行时延计算重传耗时,所述重传耗时等于所述下行时延与所述上行时延之和;Calculate the retransmission time according to the downlink delay and the uplink delay, and the retransmission time is equal to the sum of the downlink delay and the uplink delay; 当所述重传耗时小于所述重传时长时,发送重传包。When the retransmission time is less than the retransmission duration, a retransmission packet is sent. 2.如权利要求1所述的无效重传包减少方法,其特征在于,所述根据客户端配置的播放器参数计算重传时长,包括:2. The method for reducing invalid retransmission packets according to claim 1, wherein the calculation of the retransmission duration according to the player parameter configured by the client comprises: 根据所述播放器缓存容量和片源平均码率计算所述重传时长,所述重传时长等于所述播放器缓存容量除以所述片源评语码率。The retransmission duration is calculated according to the buffer capacity of the player and the average bit rate of the film source, and the retransmission duration is equal to dividing the buffer capacity of the player by the comment bit rate of the video source. 3.如权利要求1所述的无效重传包减少方法,其特征在于,所述根据所述客户端在预设时间段内从服务器接收网络包的时延确定下行时延,包括:3. The method for reducing invalid retransmission packets according to claim 1, wherein determining the downlink delay according to the delay of the client receiving network packets from the server within a preset time period, comprising: 根据在所述预设时间段内从所述服务器接收的所述网络包中每个所述网络包的时延和相应权重计算所述下行时延;或者,Calculate the downlink delay according to the delay and the corresponding weight of each of the network packets received from the server within the preset time period; or, 将所述预设时间段内从所述服务器接收的所述网络包的时延平均值确定为所述下行时延。The downlink delay is determined as the average delay of the network packets received from the server within the preset time period. 4.如权利要求1所述的无效重传包减少方法,其特征在于,所述方法还包括:4. The method for reducing invalid retransmission packets according to claim 1, wherein the method further comprises: 当所述重传耗时大于所述重传时长时,根据估值参量更新所述下行时延。When the retransmission time is longer than the retransmission time, the downlink delay is updated according to the estimated parameter. 5.如权利要求1所述的无效重传包减少方法,其特征在于,在所述重传包发送后,所述方法还包括:5. The method for reducing invalid retransmission packets according to claim 1, wherein after the retransmission packets are sent, the method further comprises: 根据本次所述重传包的下行实际时延更新所述下行时延。The downlink delay is updated according to the actual downlink delay of the retransmitted packet this time. 6.一种无效重传包减少装置,其特征在于,包括:6. A device for reducing invalid retransmission packets, comprising: 计算模块,用于根据客户端配置的播放器参数计算重传时长;A calculation module for calculating the retransmission duration according to the player parameters configured by the client; 确定模块,用于根据所述客户端在预设时间段内从服务器接收网络包的时延确定下行时延;a determining module, configured to determine the downlink delay according to the delay of the client receiving network packets from the server within a preset time period; 获取模块,用于从所述服务器获取所述服务器接收所述客户端发送的网络包的上行时延;an obtaining module, configured to obtain, from the server, the uplink delay of the server receiving the network packet sent by the client; 所述计算模块,还用于根据所述下行时延和所述上行时延计算重传耗时,所述重传耗时等于所述下行时延与所述上行时延之和;The calculation module is further configured to calculate the retransmission time according to the downlink delay and the uplink delay, and the retransmission time is equal to the sum of the downlink delay and the uplink delay; 发送模块,用于当所述重传耗时小于所述重传时长时,发送重传包。A sending module, configured to send a retransmission packet when the retransmission time is less than the retransmission time. 7.如权利要求6所述的无效重传包减少装置,其特征在于,所述计算模块,具体用于:7. The device for reducing invalid retransmission packets according to claim 6, wherein the computing module is specifically used for: 根据所述播放器缓存容量和片源平均码率计算所述重传时长,所述重传时长等于所述播放器缓存容量除以所述片源评语码率。The retransmission duration is calculated according to the buffer capacity of the player and the average bit rate of the film source, and the retransmission duration is equal to dividing the buffer capacity of the player by the comment bit rate of the video source. 8.如权利要求6所述的无效重传包减少装置,其特征在于,所述确定模块,具体用于:8. The apparatus for reducing invalid retransmission packets according to claim 6, wherein the determining module is specifically configured to: 根据在所述预设时间段内从所述服务器接收的所述网络包中每个所述网络包的时延和相应权重计算所述下行时延;或者,Calculate the downlink delay according to the delay and the corresponding weight of each of the network packets received from the server within the preset time period; or, 将所述预设时间段内从所述服务器接收的所述网络包的时延平均值确定为所述下行时延。The downlink delay is determined as the average delay of the network packets received from the server within the preset time period. 9.如权利要求6所述的无效重传包减少装置,其特征在于,所述装置还包括:9. The apparatus for reducing invalid retransmission packets according to claim 6, wherein the apparatus further comprises: 更新模块,用于当所述重传耗时大于所述重传时长时,根据估值参量更新所述下行时延。An updating module, configured to update the downlink delay according to the estimated parameter when the retransmission time is longer than the retransmission time. 10.如权利要求6所述的无效重传包减少装置,其特征在于,在所述重传包发送后,所述装置还包括:10. The apparatus for reducing invalid retransmission packets according to claim 6, wherein after the retransmission packets are sent, the apparatus further comprises: 更新模块,用于根据本次所述重传包的下行实际时延更新所述下行时延。An update module, configured to update the downlink delay according to the actual downlink delay of the retransmitted packet this time. 11.一种无效重传包减少设备,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的无效重传包减少方法。11. A device for reducing invalid retransmission packets, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor When executed, the method for reducing invalid retransmission packets according to any one of claims 1 to 5 is implemented. 12.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有信息传递的实现程序,所述程序被处理器执行时实现如权利要求1至5中任一项所述的无效重传包减少方法。12. A computer-readable storage medium, characterized in that, an implementation program for information transmission is stored on the computer-readable storage medium, and when the program is executed by a processor, the implementation as claimed in any one of claims 1 to 5 is realized. Invalid retransmission packet reduction method described above.
CN202010748858.1A 2020-07-30 2020-07-30 Method, apparatus, device and computer storage medium for reducing invalid retransmission packets Pending CN114095796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010748858.1A CN114095796A (en) 2020-07-30 2020-07-30 Method, apparatus, device and computer storage medium for reducing invalid retransmission packets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010748858.1A CN114095796A (en) 2020-07-30 2020-07-30 Method, apparatus, device and computer storage medium for reducing invalid retransmission packets

Publications (1)

Publication Number Publication Date
CN114095796A true CN114095796A (en) 2022-02-25

Family

ID=80294879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010748858.1A Pending CN114095796A (en) 2020-07-30 2020-07-30 Method, apparatus, device and computer storage medium for reducing invalid retransmission packets

Country Status (1)

Country Link
CN (1) CN114095796A (en)

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275471B1 (en) * 1998-05-12 2001-08-14 Panasonic Technologies, Inc. Method for reliable real-time multimedia streaming
US20030120802A1 (en) * 2001-12-04 2003-06-26 Michinari Kohno Data communication system, data transmission apparatus, data reception apparatus, data communication method, and computer program
US20030126238A1 (en) * 2001-12-12 2003-07-03 Michinari Kohno Data communications system, data sender, data receiver, data communications method, and computer program
JP2004186793A (en) * 2002-11-29 2004-07-02 Ntt Docomo Inc Streaming distributor, streaming terminal equipment, streaming distribution system, and streaming distribution method
US20050254508A1 (en) * 2004-05-13 2005-11-17 Nokia Corporation Cooperation between packetized data bit-rate adaptation and data packet re-transmission
CN101356814A (en) * 2006-08-17 2009-01-28 索尼株式会社 Communication processing device, communication control method, and computer program
US20090178087A1 (en) * 2008-01-03 2009-07-09 Microsoft Corporation Intelligent retransmission of data stream segments
CN102118653A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Method and device for ensuring service quality of live broadcast of web television
CN102932667A (en) * 2012-11-15 2013-02-13 掌赢信息科技(上海)有限公司 Frame loss control and retransmission method and system in real-time streaming media uploading
WO2013160042A1 (en) * 2012-04-23 2013-10-31 Qarva Ltd. System for packet loss recovery
CN104038845A (en) * 2014-06-30 2014-09-10 杭州华三通信技术有限公司 Method and device for transmitting message
US20140295789A1 (en) * 2013-03-30 2014-10-02 International Business Machines Corporation Delayed delivery with bounded interference in a cellular data network
CN104254012A (en) * 2013-06-28 2014-12-31 广州华多网络科技有限公司 Network video live broadcast method and network video live broadcast system
CN106664440A (en) * 2014-07-03 2017-05-10 三星电子株式会社 Method and device for receiving and transmitting information in multimedia system
CN107864084A (en) * 2016-09-22 2018-03-30 腾讯科技(深圳)有限公司 The transmission method and device of packet
CN109194452A (en) * 2018-09-04 2019-01-11 京信通信系统(中国)有限公司 Data repeating method, device, storage medium and its network equipment
CN109274980A (en) * 2018-09-19 2019-01-25 北京文香信息技术有限公司 A kind of data transmission method for being quickly broadcast live
CN110855402A (en) * 2016-09-30 2020-02-28 瞬已网络科技(上海)有限公司 A kind of network real-time video transmission method and device
CN111327402A (en) * 2018-12-17 2020-06-23 杭州海康威视数字技术股份有限公司 Method, device and system for retransmitting data
CN111327962A (en) * 2020-03-06 2020-06-23 广州市百果园信息技术有限公司 Play control method, device, equipment and storage medium
US20200220668A1 (en) * 2017-09-14 2020-07-09 Huawei Technologies Co., Ltd. Packet transmission method, network component, and computer-readable storage medium
US20200313802A1 (en) * 2017-11-20 2020-10-01 Changlong Xu Dynamic termination of hybrid automatic repeat request retransmissions

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275471B1 (en) * 1998-05-12 2001-08-14 Panasonic Technologies, Inc. Method for reliable real-time multimedia streaming
US20030120802A1 (en) * 2001-12-04 2003-06-26 Michinari Kohno Data communication system, data transmission apparatus, data reception apparatus, data communication method, and computer program
US20030126238A1 (en) * 2001-12-12 2003-07-03 Michinari Kohno Data communications system, data sender, data receiver, data communications method, and computer program
JP2004186793A (en) * 2002-11-29 2004-07-02 Ntt Docomo Inc Streaming distributor, streaming terminal equipment, streaming distribution system, and streaming distribution method
US20050254508A1 (en) * 2004-05-13 2005-11-17 Nokia Corporation Cooperation between packetized data bit-rate adaptation and data packet re-transmission
CN101356814A (en) * 2006-08-17 2009-01-28 索尼株式会社 Communication processing device, communication control method, and computer program
US20090178087A1 (en) * 2008-01-03 2009-07-09 Microsoft Corporation Intelligent retransmission of data stream segments
CN102118653A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Method and device for ensuring service quality of live broadcast of web television
WO2013160042A1 (en) * 2012-04-23 2013-10-31 Qarva Ltd. System for packet loss recovery
CN102932667A (en) * 2012-11-15 2013-02-13 掌赢信息科技(上海)有限公司 Frame loss control and retransmission method and system in real-time streaming media uploading
US20140295789A1 (en) * 2013-03-30 2014-10-02 International Business Machines Corporation Delayed delivery with bounded interference in a cellular data network
CN104254012A (en) * 2013-06-28 2014-12-31 广州华多网络科技有限公司 Network video live broadcast method and network video live broadcast system
CN104038845A (en) * 2014-06-30 2014-09-10 杭州华三通信技术有限公司 Method and device for transmitting message
CN106664440A (en) * 2014-07-03 2017-05-10 三星电子株式会社 Method and device for receiving and transmitting information in multimedia system
CN107864084A (en) * 2016-09-22 2018-03-30 腾讯科技(深圳)有限公司 The transmission method and device of packet
CN110855402A (en) * 2016-09-30 2020-02-28 瞬已网络科技(上海)有限公司 A kind of network real-time video transmission method and device
US20200220668A1 (en) * 2017-09-14 2020-07-09 Huawei Technologies Co., Ltd. Packet transmission method, network component, and computer-readable storage medium
US20200313802A1 (en) * 2017-11-20 2020-10-01 Changlong Xu Dynamic termination of hybrid automatic repeat request retransmissions
CN109194452A (en) * 2018-09-04 2019-01-11 京信通信系统(中国)有限公司 Data repeating method, device, storage medium and its network equipment
CN109274980A (en) * 2018-09-19 2019-01-25 北京文香信息技术有限公司 A kind of data transmission method for being quickly broadcast live
CN111327402A (en) * 2018-12-17 2020-06-23 杭州海康威视数字技术股份有限公司 Method, device and system for retransmitting data
CN111327962A (en) * 2020-03-06 2020-06-23 广州市百果园信息技术有限公司 Play control method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苗彦超, 周应超, 郝敏, 孙凝晖, 杨晓君, 高帆: "基于IP网络的视频点播服务传输控制", 微电子学与计算机, no. 07 *

Similar Documents

Publication Publication Date Title
WO2019144836A1 (en) Data transmission method, apparatus and system
CN106067847B (en) A kind of voice data transmission method and device
CN110445722B (en) Congestion control method, device, equipment and storage medium
US20070286077A1 (en) Communication system
US9503355B2 (en) Video receiving terminal, home gateway device, quality management system, and quality deterioration isolation system
US20210234945A1 (en) Packet Processing Method and Apparatus
WO2019095278A1 (en) Method and apparatus for synchronization between different data packet streams
CN104159166A (en) Live video data transmission error control method based on mobile network packet loss status
CN101622847B (en) A method for efficient feedback of receiving channel conditions in adaptive video multicast and broadcast systems
JP6575529B2 (en) Usable band estimation system, usable band estimation method, receiving apparatus, and control program for receiving apparatus
CN114039703A (en) Data transmission method, device, equipment and medium
US8539297B1 (en) Determining whether a wireless access node should retransmit data packets based on the condition of a reverse wireless link
WO2018024497A1 (en) Estimation of losses in a video stream
CN112332903A (en) Congestion control method, device, terminal and medium for satellite link
CN114095796A (en) Method, apparatus, device and computer storage medium for reducing invalid retransmission packets
WO2019179437A1 (en) Method and device for retransmitting packet via wireless fidelity link
CN108540273B (en) Method and device for retransmitting data packet
WO2017045229A1 (en) Method for processing traffic data of base station, and base station
US9059847B2 (en) Reliable multicast broadcast in wireless networks
EP3328010B1 (en) Adaptive jitter buffer
US20150281014A1 (en) Packet analysis apparatus and packet analysis method
CN116886949A (en) Live code rate control method and device, electronic equipment and storage medium
CN110809127B (en) Video call method and device based on deep simulation learning
CN111385241B (en) Method, device and system for repairing lost packet of multimedia data and readable storage medium
CN116170376A (en) Data transmission control method, device, equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220225