Client device and program for estimating cached file
The client device in DASH-ICN systems estimates cache status through segment requests and analysis, ensuring accurate cache data availability, improving content quality selection and playback efficiency.
Patent Information
- Application Number
- JP2023036659
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-03-09
AI Technical Summary
In content distribution systems that integrate Dynamic Adaptive Streaming over HTTP (DASH) with Information Centric Networking (ICN), the client device lacks the ability to accurately determine the cache status of segments in intermediate cache devices, leading to inefficient quality selection based on unavailable cache data.
A client device estimates cache status by sending request packets for multiple segments and determining if they originate from the server or cache device, using round trip time thresholds and source information, to accurately assess cache presence of encoded data files.
Enables precise cache status estimation, optimizing content quality selection and reducing misjudgment, thereby enhancing playback efficiency and user experience.
Smart Images

Figure 2024127479000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technique for estimating a cache status of a file in a cache device in a content distribution system that distributes files in units of segments and has a cache device that caches the segments. [Background technology]
[0002] A variable bit rate delivery technology is adopted in a content delivery system that delivers content such as video. One example of the variable bit rate delivery technology is MPEG-DASH (Dynamic Adaptive Streaming over HTTP) described in Non-Patent Document 1. Hereinafter, the MPEG-DASH technology described in Non-Patent Document 1 will be referred to simply as DASH technology.
[0003] In the DASH technology, a server device that publishes content stores multiple pieces of encoded data of different qualities for each piece of content. FIG. 1 shows an example of encoded data of three different qualities for the same content stored in a server device. Each piece of encoded data of each quality includes multiple files of the same time period of the content. In FIG. 1, the encoded data of each quality is composed of a total of Z files, and files Q1#k, Q2#k, and Q3#k (k is an integer from 1 to Z) are k-th files of high quality, medium quality, and low quality, respectively. The time periods in the content of files Q1#k, Q2#k, and Q3#k are all the same. Note that the higher the quality, the larger the amount of data, and therefore the higher the quality, the higher the bit rate required for file distribution. In the following description, files Q1#k, Q2#k, and Q3#k are also referred to as high quality files, medium quality files, and low quality files, respectively.
[0004] A client device that acquires and plays back content acquires the content from a server device in file units. At this time, the client device can select the quality (bit rate) for each file. For example, when the network throughput is high, the client device requests a high-quality file from the server device, and when the network is congested and the throughput is reduced, the client device requests a medium-quality or low-quality file from the server device. This allows a user of the client device to view the content regardless of the network situation. The number of qualities, the number of files, the duration of each file, and the like prepared for one piece of content are described in an MPD (Media Presentation Description) file and stored in the server device. When requesting the distribution of content, the client device first acquires the MPD of the content from the server device, thereby being able to determine the quality, the number of files, the duration of each file, and the like prepared for the content.
[0005] Meanwhile, a content distribution system called ICN (Information Centric Networking) has been proposed, which requests and distributes content based on a content name indicating the content. Non-Patent Document 2 discloses one such system, CCN (Content Centric Networking). In ICN, content is divided into segments also called chunks, and a client device acquires content in units of segments. Therefore, the concept of DASH technology can also be applied to ICN. [Prior art documents] [Non-patent literature]
[0006] [Non-Patent Document 1] T. Stockhammer, "Dynamic adaptive streaming over HTTP-standards and design principles", Proceedings of ACM conference on Multimedia systems, pp. 133-144, February 2011. [Non-Patent Document 2] V. Jacobson,et al.,"Networking Named Content",in Proceedings of ACM CoNEXT 2009,December 2009. Summary of the Invention [Problem to be solved by the invention]
[0007] When the concept of DASH technology is applied to ICN, one file may be divided into multiple chunks (segments). This is because the size of one file in DASH technology is generally larger than the size of a segment in ICN. According to FIG. 1, file Q3#k is divided into N segments, Q3#k / 1 to Q3#k / N (N is an integer of 2 or more). The value "n" of Q3#k / n (n is an integer of 1 to N) indicates the position of the segment in the entire data. In ICN, a file is downloaded by sequentially acquiring segments with low segment numbers. Therefore, in the following explanation, it is assumed that the larger the value of n, the slower the acquisition time of that segment. The same applies to other files.
[0008] In a content delivery system using a normal DASH technology, the only device between a client device and a server device is a device that transfers IP packets, and the client device notifies the server device of the requested file and obtains the file from the server device. In other words, the client device obtains files for each time interval required to play one piece of content from the same device. On the other hand, in an ICN, as shown in Figure 2, a cache device 2 that can cache segments exists between a client device 1 and a server device 3.
[0009] For example, assume that the encoded data of the three qualities shown in Fig. 1 is stored in the server device 3, and that all segments of all high-quality files from the first timing in the middle of the content to the end are cached in the cache device 2. Furthermore, assume that the throughput of section #1 between the client device 1 and the cache device 2 is sufficient for transmitting high-quality files, but the throughput of section #2 between the cache device 2 and the server device 3 is such that only low-quality files can be transmitted. In this case, an appropriate method of acquiring content is to request a segment of a low-quality file until the first timing, and to request a segment of a high-quality file from the first timing onwards. In this way, in order for the client device 1 to appropriately select the quality of a file, the client device 1 needs to be aware of the cache status of the cache device 2.
[0010] The present disclosure provides a technique for estimating a cache status in a cache device. [Means for solving the problem]
[0011] According to one aspect of the present disclosure, a client device of a content distribution system includes a server device that stores encoded data of multiple qualities for a content to be made public, each of the encoded data of multiple qualities being composed of multiple files corresponding to different time sections of the content to be made public, each of the multiple files being composed of multiple segments, and a cache device that caches the segments. The client device includes a transmission means that transmits a request packet to the content distribution system requesting a target segment among a plurality of first segments that constitute an estimated target file for each of the multiple files of the encoded data of the multiple qualities of a first content to be acquired, a determination means that determines whether the target segment received in response to the request packet was transmitted from the server device, and an estimation means that estimates that the estimated target file is cached in the cache device when the determination means determines that a predetermined number of the target segments received in succession were not transmitted from the server device. Effect of the Invention
[0012] According to the present invention, the cache status in a cache device can be estimated. [Brief description of the drawings]
[0013] [Figure 1] FIG. 2 is a diagram showing an example of encoded data of one piece of content stored in the server device. [Diagram 2] FIG. 1 is a diagram showing the configuration of a content distribution system. [Diagram 3] FIG. 13 is an explanatory diagram of a method for selecting a file to be estimated. [Figure 4] 2 is a block diagram of a client device according to some embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the invention according to the claims, and not all combinations of features described in the embodiments are essential to the invention. Two or more features among the multiple features described in the embodiments may be arbitrarily combined. In addition, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0015] Fig. 2 is a schematic diagram of a content delivery system used to explain the embodiments. Note that the content delivery system of each embodiment is based on ICN. In Fig. 2, for the sake of simplicity, one server device 3, one cache device 2, and one client device 1 are shown, but the content delivery system may include multiple server devices, multiple cache devices, and multiple client devices.
[0016] The server device 3 stores encoded data of multiple qualities for each content to be published. Fig. 1 shows an example of encoded data of three different qualities for the same content stored in the server device 3. The explanation of Fig. 1 has already been given, so it will be omitted here.
[0017] First Embodiment In this embodiment, before acquiring one content, the client device 1 estimates and judges whether each of all files of the content is cached in the cache device 2. For example, if Y (Y is an integer of 2 or more) pieces of encoded data with different qualities are prepared for one content, and each piece of encoded data is composed of Z (Z is an integer of 2 or more) files, the client device 1 estimates whether each of the Y×Z files is cached in the cache device 2. The reason why it is estimated whether each file is cached in the cache device 2 is that all segments of the file are required to play the file. In other words, even if Q2#k / 1 and Q2#k / 2 of Q2#k / 1 to Q2#k / N constituting the medium quality file Q2#k in FIG. 1 and Q3#k / 3 to Q3#k / N constituting the low quality file are acquired, the file cannot be played back.
[0018] Since the method of estimating whether or not one file is cached in the cache device 2 is the same for each file, the following description will be given assuming that the file to be estimated (estimated file) is the first file. The first file is assumed to be composed of N first segments (N is an integer of 2 or more). In order to estimate whether or not the first file is cached in the cache device 2, the client device 1 transmits M request packets requesting M first segments (hereinafter referred to as target segments) among the N first segments of the first file. The M target segments are selected, for example, randomly from the N first segments. Alternatively, the M target segments are selected so that they are not consecutive in time. The request packet is referred to as an interest packet in, for example, CCN. The value of M can be 1 to N, but in this embodiment, M is set to a value of 2 or more, as described later. Furthermore, as described later, the value of M can be equal to or less than a value obtained by rounding up 3% of N.
[0019] The client device 1 receives M different target segments in sequence in response to transmitting M request packets requesting M different target segments. When the client device 1 receives one target segment, the client device 1 determines whether the received target segment was transmitted from the server device 1. The method of determination will be described later.
[0020] When the client device 1 determines that the received target segment is transmitted from the server device 1, the client device 1 presumes that the first file is not cached in the cache device 2, more specifically, presumes that all the first segments of the first file are not cached in the cache device 2. When it is determined that all the M target segments of the first file are not transmitted from the server device 1, the client device 1 presumes that the first file is cached in the cache device 2, more specifically, presumes that all the first segments of the first file are cached in the cache device 2. Note that, before transmitting all M request packets, if the client device 1 receives a target segment determined to have been transmitted from the server device 1 as a response to a request packet that has already been transmitted, the client device 1 may be configured not to transmit the untransmitted request packet. In addition, the number of request packets to be transmitted may be greater than M. Even if the number of request packets to be transmitted is greater than M, the client device 1 presumes that the first file is cached in the cache device 2 when it is determined that all the M target segments that the client device 1 initially receives are not transmitted from the server device 1.
[0021] Next, a method for determining whether a received target segment has been sent from the server device 1 will be described. The client device 1 measures the round trip delay (RTT) between the client device 1 and the server device 1 in advance using any method, and stores this as a reference RTT. When the client device 1 receives a target segment, it determines the RTT of the target segment. The RTT is the period from the timing of sending a request packet to the timing of receiving the target segment requested by the request packet. The client device 1 sets a threshold based on the reference RTT, and if the RTT of the received target segment is greater than the threshold, it determines that the received target segment has been sent from the server device 1. The threshold can be set by subtracting a margin from the reference RTT.
[0022] In ICN, a packet carrying a segment may contain source information indicating the source of the packet. When source information is contained in a packet carrying a received target segment, the client device 1 can determine whether the target segment was sent from the server device 1 based on the source information.
[0023] Generally, when a segment of a certain file is cached in the cache device 2, it is because another client device 1 has requested all the segments of the file from the content distribution system in order to play the file. Therefore, it is generally difficult for only some segments of one file to be cached in the cache device 2. Therefore, in this embodiment, when it is determined that all of the M target segments of the first file received in response to the M request packets were not sent from the server device 1, the client device 1 presumes that the first file is cached in the cache device 2.
[0024] According to an experimental result, when M=1, the probability of erroneously determining that the first file is cached in the cache device 2 increases even though all segments of the first file are not cached in the cache device 2. For example, in a state in which the cache device 2 does not cache any segments of the low-quality file Q3#k, the client device 1 transmits a request packet requesting only Q3#k / 1 to determine whether the low-quality file Q3#k is cached in the cache device 2. It is assumed that, shortly before the client device 1 transmits this request packet, another client device 1 transmits request packets requesting Q3#k / 1 to Q3#k / N in sequence. In this case, if a request packet from the client device 1 arrives immediately after the cache device 2 distributes and caches only Q3#k / 1 to the other client device 1, the client device 1 erroneously determines that all segments of the low-quality file Q3#k are cached in the cache device 2 even though only one segment of the low-quality file Q3#k is cached.
[0025] Experimental results show that by setting M to 2 or more, the probability of erroneous determination can be reduced. Furthermore, if M is set too large, the number of request packets sent for estimation increases, which becomes inefficient. Experimental results show that even if M is set to more than about 3% of N, the probability of erroneous determination does not change significantly. Therefore, M can be set to 3% of N rounded up or less, and the cache status of the cache device 2 can be efficiently estimated.
[0026] Second Embodiment Next, the second embodiment will be described, focusing on the differences from the first embodiment. In the following description, it is assumed that Y pieces of coded data of different qualities, quality #1 to quality #Y (Y is an integer equal to or greater than 2), are prepared for one content, and a file for time section #k of quality #y (y is an integer from 1 to Y) is represented as file Qy#k. It is assumed that the smaller the value of y, the higher the quality.
[0027] In the first embodiment, the client device 1 individually estimated whether or not each of the Y×Z files is cached in the cache device 2. In the present embodiment, during playback of content, the client device 1 estimates whether or not some estimation target files among the Y files in the time section next to the currently played time section are cached in the cache device 2.
[0028] As shown in FIG. 3, it is assumed that the client device 1 is playing a file Q3#k in a time period #k. In this case, while acquiring and playing the file Q3#k in the time period #k, the client device 1 estimates whether or not an estimation target file among Y files in the time period #(k+1) is cached in the cache device 2. The estimation target file is selected based on the quality of the currently played file Q3#k. In this embodiment, the estimation targets are quality #3, which is the same as the currently played file, quality #2, which is one level higher than the currently played file, and quality #4, which is one level lower than the currently played file. That is, in this example, the estimation target file has a quality within the range of quality #2 to quality #4.
[0029] More generally, the estimation target may be a file in the range of quality #(y-x1) to quality #(y+x2) (x1 and x2 are integers equal to or greater than 1) in the next time section based on the currently played quality #y. The values x1 and x2 may be the same or different. If the value of y-x1 of quality #(y-x1) is equal to or less than 0, the maximum quality to be estimated will be quality #1, and if the value of y+x2 of quality #(y+x2) is greater than Z, the minimum quality to be estimated will be quality #Z.
[0030] In this example, the files in the time section #(k+1) following the currently played time section #k are the estimation target, but the two following time sections #(k+2) may be the estimation target. More generally, based on the quality #y of the currently played time section #k, files in the range of quality #(y-x1) to quality #(y+x2) of the time section #(k+p) a predetermined number p (p is an integer equal to or greater than 1) following may be the estimation target.
[0031] In the case of the predetermined number p, it is necessary to judge the quality of time interval #1 to time interval #p before playback starts, but it may be possible to estimate whether all qualities of time interval #1 to time interval #p are cached in the cache device 2, or to estimate whether some qualities are cached in the cache device 2. When estimating some qualities, it is not necessary for the estimated some qualities to be continuous. Furthermore, when the predetermined number p is 2 or more, it is not necessary for the estimated some qualities in each time interval to be the same.
[0032] Generally, the more frequently the quality is switched, the more the user's quality of experience deteriorates. Also, the greater the difference in quality before and after the switch, the more the user's quality of experience deteriorates. In this embodiment, based on the quality #y of the currently played time section #k, files to be estimated as being cached or not in a future time section are narrowed down. Therefore, the number of request packets to be transmitted for estimating whether or not a file is cached can be reduced. Also, the quality of the file to be estimated as being cached or not is set to a predetermined range including the quality #y of the currently played file. Therefore, the deterioration of the user's quality of experience can be suppressed.
[0033] <Third embodiment> Next, the third embodiment will be described with a focus on the differences from the second embodiment. In the second embodiment, files to be estimated as being cached or not in a future time interval are narrowed down based on the quality #y of the currently played time interval #k. Therefore, for example, if the future time interval is time interval #(k+1), a request packet requesting a segment of the file in time interval #(k+1) is transmitted in time interval #k. This is not a problem in the case of a VOD application in which files in all time intervals of the content are stored in the server device 3 in advance, but in the case of live distribution, there are cases in which the file in time interval #(k+1) is not stored in the server device 3 in time interval #k. Therefore, when the content is live distribution, the method of the second embodiment is not appropriate.
[0034] For this reason, in this embodiment, based on the quality #y of the currently played time section #k, the quality (#y-x1) to (#y-1) and the quality (#y+1) to (#y+x2) of the time section #k are estimated as the estimation targets to estimate whether or not the file is cached in the cache device 2. Then, it is estimated that the file of the time section #(k+1) having the same quality as the file estimated to be cached in the cache device 2 is cached in the cache device 2. It is estimated that the quality #y of the currently played time section #k is always cached in the cache device 2. It is also possible to estimate the quality (#y-x1) to (#y+x2) of the time section #(k-1) based on the quality #y of the currently played time section #k. It is also possible to estimate the quality (#y-x1) to (#y+x2) of the time section #(k-1). If the quality played in the time section #(k-1) is within the quality (#y-x1) to (#y+x2), it is estimated that the quality is cached in the cache device 2 without transmitting a request packet.
[0035] <Configuration diagram of client device 1> FIG. 4 is a configuration diagram of the client device 1 in each of the above embodiments. Note that FIG. 4 shows only the configuration related to determining whether a file is cached in the cache device 2. The client device 1 shown in FIG. 4 is configured to be able to select the above first embodiment to third embodiment with respect to the selection of the estimation target file. In the following description, the mode described in the first embodiment in which all files are estimation target files is defined as the first mode. Also, the mode described in the second embodiment in which some files in a future time interval are estimated based on the quality of the currently played file is defined as the second mode. Furthermore, the mode described in the third embodiment in which some files in a current time interval or the immediately previous time interval are estimated based on the quality of the currently played file is defined as the third mode.
[0036] The mode setting unit 11 sets the operation mode to be used. The operation mode may include at least one of the first mode, the second mode, and the third mode. If all of the first mode to the third mode are possible, the operation mode may be set based on a user setting and the content to be acquired. For example, if the content to be acquired is a live distribution content, the mode setting unit 11 sets the third mode as the operation mode. On the other hand, if the content to be acquired is a VOD content, the mode setting unit 11 allows the user to select the first mode or the second mode.
[0037] The estimation target file selection unit 12 selects an estimation target file according to an operation mode. The request packet generation unit 13 selects at least M target segments for each estimation target file and generates a request packet requesting at least M target segments. The transmission unit 16 transmits the request packet requesting at least M target segments generated by the request packet generation unit 13 to the content distribution system.
[0038] Each time the determination unit 14 receives a target segment as a response to a request packet via the receiving unit 17, it determines whether or not the target segment has been transmitted from the server device 1. The determination unit 14 outputs the determination result to the estimation unit 15. When the determination unit 14 determines that all of the M consecutively received target segments have not been transmitted from the server device 1, the estimation unit 15 determines that the estimated target file is cached in the cache device 2.
[0039] The client device 1 according to the present disclosure can be realized by a computer program that, when executed by one or more processors of a device having one or more processors, causes the device to operate as the client device 1. These computer programs can be stored in a computer-readable storage medium or distributed via a network.
[0040] The invention is not limited to the above-described embodiment, and various modifications and variations are possible within the scope of the gist of the invention.
[0041] With the above configuration, it is possible to estimate the cache status of the cache device, which will contribute to Goal 9 of the United Nations' Sustainable Development Goals (SDGs), which is to "build resilient infrastructure, promote sustainable industrialization and foster innovation." [Explanation of symbols]
[0042] 16: transmitting unit, 14: determining unit, 15: estimating unit
Claims
1. A client device of a content distribution system, the content distribution system includes a server device that stores encoded data of a plurality of qualities for a content to be published, the encoded data of the plurality of qualities being composed of a plurality of files corresponding to different time intervals of the content to be published, and each of the plurality of files being composed of a plurality of segments; and a cache device that caches the segments; The client device includes: a transmission means for transmitting, to the content distribution system, a request packet requesting a target segment among a plurality of first segments constituting an estimation target file for an estimation target file among the plurality of files of each of the encoded data of the plurality of qualities of the first content to be acquired; a determination means for determining whether the target segment received as a response to the request packet was transmitted from the server device; an estimation means for estimating that the estimated target file is cached in the cache device when the determination means determines that the predetermined number of consecutively received target segments are not transmitted from the server device; A client device comprising:
2. 2. The client device according to claim 1, wherein said determining means determines that said target segment has been transmitted from said server device when a period from when said request packet is transmitted until when said target segment is received is greater than a threshold value.
3. The client device of claim 2 , wherein the threshold is set based on a round-trip delay between the client device and the server device.
4. The client device according to claim 1, wherein the determination means determines that the target segment was transmitted from the server device when information indicating the source of the target segment contained in a packet carrying the target segment indicates the server device.
5. The client device according to claim 1 , wherein the predetermined number is equal to or greater than 2 and equal to or less than a predetermined percentage of the number of the plurality of first segments rounded up to an integer.
6. The client device according to claim 5 , wherein the predetermined percentage is 3%.
7. The client device according to claim 1 , wherein the transmission means randomly selects the target segment from the plurality of first segments.
8. The client device according to claim 1 , further comprising a selection means for selecting one or more of the files to be estimated from the plurality of files for each of the plurality of qualities of encoded data.
9. The client device according to claim 8 , wherein the selection means selects the plurality of files of the encoded data of the plurality of qualities as the estimation target files before playing back the first content.
10. The client device according to claim 8, wherein the selection means, while playing a first file of the first content, selects as the estimation target file a file of a second time period that is a predetermined number of times later than a first time period that is the time period of the first file and that has a predetermined range of quality that includes a first quality that is the quality of the first file.
11. The client device according to claim 8, wherein the selection means, while playing a first file of the first content, selects as the estimation target file a file that is different from the first file and is a file of a first time period that is the time period of the first file and is of a predetermined range of quality including a first quality that is the quality of the first file.
12. The client device according to claim 8, wherein the selection means, while playing a first file of the first content, selects as the estimation target file a file of a second time interval that is one time interval before the first time interval, which is the time interval of the first file, and which is different from the file played in the second time interval among files of a predetermined range of quality including a first quality, which is the quality of the first file.
13. A program, which when executed by one or more processors of a device having one or more processors, causes the device to function as a client device according to any one of claims 1 to 12.
Citation Information
Patent Citations
System and method for enabling network based rate determination for adaptive video streaming
US20160150255A1
