CN114650433A - Caching method and caching device - Google Patents

Caching method and caching device Download PDF

Info

Publication number
CN114650433A
CN114650433A CN202011513948.9A CN202011513948A CN114650433A CN 114650433 A CN114650433 A CN 114650433A CN 202011513948 A CN202011513948 A CN 202011513948A CN 114650433 A CN114650433 A CN 114650433A
Authority
CN
China
Prior art keywords
played
multimedia file
capacity
caching
determining
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.)
Granted
Application number
CN202011513948.9A
Other languages
Chinese (zh)
Other versions
CN114650433B (en
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202011513948.9A priority Critical patent/CN114650433B/en
Publication of CN114650433A publication Critical patent/CN114650433A/en
Application granted granted Critical
Publication of CN114650433B publication Critical patent/CN114650433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback

Abstract

The disclosure relates to a caching method and a caching device, wherein the method comprises the following steps: determining the corresponding cache capacity of a target application of a terminal under the network environment of a passing area in the process of moving from the current position to the target area, wherein the target area is an area of which the target network performance index is smaller than a threshold value; determining the data volume of the multimedia file to be played by the target application when the multimedia file is in the target area; determining a cache mode of the multimedia file to be played based on the cache capacity and the data volume of the multimedia file to be played; the multimedia file to be played is cached according to the caching mode, and the problem that the multimedia file which is enough to be used in a weak network area is difficult to cache in a pre-downloading mode in the related technology is solved.

Description

Caching method and caching device
Technical Field
The present disclosure relates to the field of data caching technologies, and in particular, to a caching method and a caching apparatus.
Background
The short video application product is a leisure and entertainment product which is loved by users of all ages, and according to data survey and display, the more the user is in a long-distance travel or a long-time rest period, the longer the time for browsing the short video is.
When browsing the short video, displaying a video list on a screen, and browsing the short video by sliding a user up and down, specifically, pushing video multimedia files in a batch pulling mode when the user slides up and down, after the user browses the video cached at the client, triggering network pulling, and requesting a batch of video multimedia files from the server.
It should be noted that, in the related art, when the video multimedia file is cached and played, a unified strategy is adopted for caching, and a streaming media technology is used for providing a playing service for a user, in an area with a better network condition, the user requirement can be met by pulling in real time, but in an area with a poor network condition, such as a tunnel, a subway entrance/exit, and the like, the multimedia file enough to be used in a weak network area is difficult to cache, and the user experience in the caching and playing mode is poor.
For the problem that the pre-download mode in the related art is difficult to cache enough multimedia files used in the weak network area, no effective solution is proposed at present.
Disclosure of Invention
The present disclosure provides a caching method and a caching device, which at least solve the problem that it is difficult to cache enough multimedia files used in a weak network area in a pre-download manner in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a caching method, including: determining the corresponding cache capacity of a target application of a terminal under the network environment of a passing area in the process of moving from the current position to the target area, wherein the target area is an area of which the target network performance index is smaller than a threshold value; determining the data volume of the multimedia file to be played by the target application when the multimedia file is in the target area; determining a cache mode of the multimedia file to be played based on the cache capacity and the data volume of the multimedia file to be played; and caching the multimedia file to be played according to a caching mode.
Optionally, in the process of determining that the target application moves from the current location to the target area, determining a cache capacity corresponding to the target application of the terminal in the network environment of the passing area includes: acquiring the distance between the current position and the edge position of the target area and the moving speed of the terminal; determining a first time length based on the distance and the moving speed, wherein the first time length is the time length of the terminal moving from the current position to the edge position of the target area; and obtaining the current network speed, and determining the corresponding cache capacity of the target application in the network environment of the passing area in the first time length based on the first time length and the current network speed, wherein the current network speed is the network speed corresponding to the area where the current position is located.
Optionally, before obtaining the distance between the current position and the edge position of the target area, and the moving speed of the terminal, the method further includes: and determining a target area to which the terminal moves in a future time period among the plurality of first target areas based on the current position, the historical action track of the terminal, and the positions of the plurality of first target areas within a first distance range of the current position.
Optionally, determining the data amount of the multimedia file to be played by the target application when the multimedia file is in the target area includes: determining a second time length of the terminal in the target area; determining a first number of the multimedia files to be played by the target application when the multimedia files are in the target area according to the second time length and the playing time length of each multimedia file to be played; determining a first capacity required by caching a first number of multimedia files to be played by adopting different caching formats to obtain a plurality of first capacities; the plurality of first capacities is determined as a data amount of the multimedia file to be played.
Optionally, determining, according to the second duration and the playing duration of each multimedia file to be played, that the first number of multimedia files to be played by the target application when the target application is in the target area includes: determining a first multimedia file to be played when the multimedia file is in a target area based on the sequence of a plurality of multimedia files arranged behind the currently played multimedia file, and determining the playing time length of the first multimedia file to be played; determining the sequence of a plurality of multimedia files to be played which are arranged behind a first multimedia file to be played and the playing time length of each multimedia file to be played; and determining the first number of the multimedia files to be played based on the second time length, the sequence of the plurality of multimedia files to be played and the playing time length of each multimedia file to be played.
Optionally, before determining the caching mode of the multimedia file to be played based on the caching capacity and the data amount of the multimedia file to be played, the method further includes: determining the idle storage capacity of the terminal, and comparing the idle storage capacity with the cache capacity; under the condition that the free storage capacity is larger than or equal to the cache capacity, determining the cache mode of the multimedia file to be played based on the cache capacity and the data volume of the multimedia file to be played; and under the condition that the free storage capacity is smaller than the cache capacity, determining the cache mode of the multimedia file to be played based on the free storage capacity and the data volume of the multimedia file to be played.
Optionally, determining a caching mode of the multimedia file to be played based on the caching capacity and the data amount of the multimedia file to be played comprises: comparing the buffer capacity with a plurality of first capacities respectively; under the condition that the cache capacity is smaller than the minimum first capacity, caching a first number of multimedia files to be played by adopting a cache format corresponding to the minimum first capacity; under the condition that the cache capacity is larger than the maximum first capacity, caching a first number of multimedia files to be played by adopting a cache format corresponding to the maximum first capacity; and under the condition that the cache capacity is larger than the minimum first capacity and smaller than the maximum first capacity, caching a first number of multimedia files to be played by adopting a cache format corresponding to the first capacity which has the minimum difference with the cache capacity and is smaller than the cache capacity.
Optionally, after caching the multimedia file to be played in a caching manner, the method further includes: deleting the cached multimedia file under the condition that a preset condition is met, wherein the preset condition at least comprises one of the following conditions: and after the cached multimedia file is played on the terminal, the terminal leaves the target area.
According to a second aspect of the embodiments of the present disclosure, there is provided a cache apparatus, including: the terminal comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is configured to determine the corresponding cache capacity of a target application of the terminal under the network environment of a passing area in the process of moving from a current position to the target area, and the target area is an area with a target network performance index smaller than a threshold value; a second determining unit configured to determine a data amount of the multimedia file to be played by the target application when the target application is in the target area; the third determining unit is configured to determine a caching mode of the multimedia file to be played based on the caching capacity and the data amount of the multimedia file to be played; the first cache unit is configured to cache the multimedia file to be played in a cache manner.
According to a third aspect of the embodiments of the present disclosure, there is provided a caching apparatus/electronic device/server, including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the above caching methods.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the caching method of any one of the above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
when the terminal moves, in the process of determining that the terminal moves from the current position to a target area, the target of the terminal is applied to the corresponding cache capacity under the network environment of passing areas, wherein the target area is an area with target network performance indexes smaller than a threshold value; determining the data volume of a multimedia file to be played by a target application when the multimedia file is in a target area; determining a cache mode of the multimedia file to be played based on the cache capacity and the data volume of the multimedia file to be played; the multimedia file to be played is cached according to the caching mode, the aim of caching the multimedia file to be played in the target area in advance before the multimedia file reaches the target area can be achieved, the technical effect that the terminal is applied to smoothly play the multimedia file in the target area is achieved, and the problem that the multimedia file enough to be used in the weak network area is difficult to cache in the pre-downloading mode in the related technology is solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a block diagram illustrating a hardware structure of a computer terminal of a caching method according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a caching method according to an example embodiment.
FIG. 3 is a flowchart illustrating an alternative caching method in accordance with an illustrative embodiment.
Fig. 4 is a flow chart illustrating an alternative caching method in accordance with an example embodiment.
Fig. 5 is a flow chart illustrating an alternative caching method in accordance with an example embodiment.
FIG. 6 is a flow chart illustrating an alternative caching method in accordance with an illustrative embodiment.
FIG. 7 is a block diagram illustrating a caching apparatus, according to an example embodiment.
Fig. 8 is a block diagram illustrating a terminal according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to solve the problem that the pre-downloading method in the related art is difficult to cache enough multimedia files used in the weak network area, the following pre-caching methods appear in the related art: and determining video coding according to network sensitivity, and adopting real-time conversion coding to ensure the video caching success rate under the weak network condition. However, in the cache mode, when the sensitivity of the network is reduced, the cache strategy is changed, when a user quickly enters the weak network and stays in the weak network environment for a long time, it is difficult to cache enough contents, and meanwhile, the coding rate is adjusted in real time, so that the pressure of the server is increased, and the pull delay of the client is caused.
The following pre-caching methods have also appeared in the related art: according to the network characteristics and the user movement characteristics, how many large cache regions are opened before entering the weak network is determined, so that data are cached as much as possible to ensure the use fluency of the user in the weak network region. However, the cache mode has multiple dimensions for triggering the change of the cache strategy, the probability of false touch is increased, the cache strategy is changed only when the weak network is accessed, high-definition or blue light is tried to be cached under the weak network condition, and the condition that a cache space is opened up but a file cannot be downloaded due to network abnormality exists.
Based on this, the present application intends to provide a solution to the above technical problem, the details of which will be set forth in the following embodiments.
The method provided by the first embodiment of the disclosure can be executed in a mobile terminal or a computer terminal. Fig. 1 is a block diagram illustrating a hardware structure of a computer terminal (or mobile device) of a caching method according to an exemplary embodiment. As shown in fig. 1, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, … …, 102 n) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial BUS (USB) port (which may be included as one of the ports of the BUS), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 10 (or mobile device). As referred to in the disclosed embodiments, the data processing circuit acts as a processor control (e.g., selection of a variable resistance termination path connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the caching method in the embodiment of the disclosure, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the caching. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
It should be noted here that in some alternative embodiments, the computer device (or mobile device) shown in fig. 1 described above may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that fig. 1 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in the computer device (or mobile device) described above.
Fig. 2 is a flowchart illustrating a caching method according to an exemplary embodiment, where the caching method is used in a mobile terminal or a computer terminal, as shown in fig. 2, and includes the following steps.
In step S201, in the process of moving from the current location to the target area, the target application of the terminal is determined to be the corresponding cache capacity in the network environment of the passing area, where the target area is an area where the target network performance index is smaller than the threshold.
Specifically, the target area is an area where the target network performance index is smaller than a threshold, and an area where the target network performance index is smaller than a preset threshold is an area with poor network performance. Under the condition that the target network performance index of the target area is the network speed, the target area can be an area where the network speed is smaller than a preset network speed threshold value, that is, weak network environment areas, such as tunnels, subways, supermarkets, train stations and other places, are weak network environment areas.
The process of moving from the current position to the target area refers to a process of moving the terminal from the current position to the target area, the terminal movement may be a process of moving the terminal carried by the user, and the terminal may be a mobile terminal installed with a target application, such as a mobile phone, a tablet computer, and the like, where the target application may be an application program having a function of caching and playing a multimedia file, specifically, the multimedia file may be an animation file, a video file, an audio file, and the like, and the multimedia file further includes other materials such as praise, a title, and the like.
It should be noted that the caching performance of the target application of the device is affected by the network performance factor of the environment where the terminal is located and the device's own factor, and after the terminal moves to the target area where the target network performance index is smaller than the preset threshold, the caching performance of the target application in the mobile terminal is not good, so caching needs to be performed in advance.
Further, when caching is performed in advance, the capacity of the target application capable of caching data in the process of moving from the current position to the target area needs to be determined, that is, the corresponding cache capacity of the target application in the network environment of the passing area, where the current network speed is the network speed corresponding to the area where the current position is located.
In step S202, the data amount of the multimedia file to be played by the target application while in the target area is determined.
It should be noted that when the target application is located in the target area, the number of the multimedia files to be played by the target application may be multiple, and the duration of the target application being located in the target area is the longest total duration of the multiple multimedia files to be played.
Specifically, under the condition that the duration and the capacity of each multimedia file to be played are known, the number of the multimedia files to be played can be determined according to the total duration of the plurality of multimedia files to be played, so that the data volume of the multimedia files to be played is determined according to the sum of the capacities of the plurality of multimedia files.
For example, the maximum number of the multimedia files to be played may be determined according to the longest total duration of the plurality of multimedia files to be played, and thus the data of the multimedia files to be played may be determined according to the sum of the capacities of the maximum number of multimedia files.
In step S203, a caching manner of the multimedia file to be played is determined based on the caching capacity and the data amount of the multimedia file to be played.
It should be noted that, the occupied capacity of different caching methods for the same file is different. For example, in the case that the multimedia file is a video file, the sequence may have 5 buffer formats, i.e. 1080P format, 720P format, 1080i format, 480P format and 480i format, according to the buffer definition, and the higher the buffer definition is, the larger the capacity occupied when the file is buffered is.
Specifically, since the cache capacity is a capacity of the target application capable of caching data before moving to the target area, the data volume of the multimedia file to be played is the data volume of the multimedia file to be played in the process of being located in the target area, the cache capacity is compared with the data volume of the multimedia file to be played, and the cache format is determined according to the comparison result. Specifically, it may be determined that the multimedia file is cached in the cache format with high cache definition when the cache capacity is greater than the data amount of the multimedia file to be played, and it is determined that the multimedia file is cached in the cache format with high cache definition when the cache capacity is less than the data amount of the multimedia file to be played.
In addition, it should be noted that, in the embodiment of the present disclosure, steps S201 to S203 may be periodically executed every preset time period, so as to adjust the caching mode in real time, and ensure the rationality of the caching mode of the multimedia file to be played.
In step S204, the multimedia file to be played is cached in a caching manner.
Specifically, the server provides multimedia files with different resolutions corresponding to different cache formats, and after the pre-caching is started, the client caches the multimedia files to be played according to a determined caching mode, so that before reaching a target area, more multimedia files with high definition are pre-downloaded as far as possible, and the requirement of a user for flowing the multimedia files in the target area through a target application program is met.
In an alternative embodiment, as shown in fig. 3, in step S201, determining that, in the process of moving from the current location to the target area, the cache capacity corresponding to the target application of the terminal in the network environment of the passing area includes:
step S301, obtaining a distance between the current position and the edge position of the target area, and a moving speed of the terminal.
Step S302, a first time length is determined based on the distance and the moving speed, wherein the first time length is the time length of the terminal moving from the current position to the edge position of the target area.
Step S303, obtaining the current network speed, and determining the corresponding cache capacity of the target application in the network environment of the passing area in the first time length based on the first time length and the current network speed, wherein the current network speed is the network speed corresponding to the area where the current position is located.
Specifically, the current position may be obtained by using a positioning system in the terminal, the target area may be determined by using a path planning application in the terminal, and the edge position of the target area may be determined according to the contour of the target area. After the current position and the edge position of the target area are obtained, the distance between the current position and the edge position is calculated,
further, the moving speed of the terminal is determined, and specifically, the average moving speed of the terminal in the past preset time period may be calculated as the moving speed of the terminal, so that the time required for the terminal to move to the edge position of the target area at the speed, that is, the first time period, is calculated.
After the first duration is obtained, the current network speed is obtained under the condition that the network is stable, and the capacity of caching data before reaching the target area can be obtained by calculating the product of the first duration and the current network speed.
Optionally, in the caching method shown in the embodiment of the present disclosure, before obtaining the distance between the current position and the edge position of the target area and the moving speed of the terminal, the method further includes: and determining a target area to which the terminal moves in a future time period among the plurality of first target areas based on the current position, the historical action track of the terminal, and the positions of the plurality of first target areas within a first distance range of the current position.
It should be noted that different types of sensors can be arranged on the terminal, and data are collected by the sensors, so that a data technology is established for determining the target area.
Specifically, the current position, the action track in the past preset time period, the position of a key building in the first distance range and other basic data of the user can be determined in real time through a GPS positioning system arranged on the terminal, and a path dynamic planning algorithm in a path planning application program is adopted to detect a path which the user may advance in advance, so that whether the user moves towards a weak network area or not and whether the user reaches the weak network area in the future time period or not is determined, or whether the user reaches the weak network area in the future time period or not is predicted in advance according to whether the current user is at an exact position of a high speed, a subway, a train station and the like.
For example, if it is determined that the user is traveling at a high speed of 100km/h based on GPS positioning, it is possible to detect whether a tunnel exists on a route of a next section of an expressway based on map information, thereby realizing advanced detection of a weak network environment.
In addition, it should be noted that, in order to improve the accuracy of the advanced detection of the weak network area, the detection may be continued for a preset time, and whether the user moves towards the weak network area is comprehensively determined according to the data detected in the preset time period. And after the user is confirmed to move forward towards the weak network area, the current network speed is confirmed through the network detection module.
According to the embodiment of the disclosure, when caching is performed in advance, the capacity of the target application capable of caching data in the process of moving from the current position to the target area needs to be determined, so that a foundation is laid for caching the data in advance by the target application.
In an alternative embodiment, as shown in fig. 4, step S202, determining the data amount of the multimedia file to be played by the target application when the multimedia file is in the target area includes:
step S401, determining a second time length of the terminal in the target area.
Step S402, according to the second time length and the playing time length of each multimedia file to be played, determining a first number of the multimedia files to be played by the target application when the multimedia files are in the target area.
Step S403, determining a first capacity required for caching a first number of multimedia files to be played in different cache formats, to obtain a plurality of first capacities.
In step S404, a plurality of first capacities are determined as the data amount of the multimedia file to be played.
Specifically, the second duration of the user in the target area determines the duration of the multimedia file caching. The second duration may be determined according to different types of target areas, for example, when the target area is a supermarket, a hospital, or other places, the time that the person stays in the target area may be determined based on big data statistics as the second duration; when the target area is a place such as a tunnel on an expressway, the second time period may be determined according to the length of the target area and the moving speed of the terminal, and specifically, for example, the tunnel length is 2km, and the vehicle speed in the tunnel is 60km/h, and the second time period is 2/60 h.
It should be noted that, since the multimedia files to be played by the target application are stored in the form of a video list, the sequence and duration of the multimedia files to be played can be known, and the first number of the multimedia files to be played can be obtained according to the second duration and the playing durations of the multimedia files to be played arranged in sequence.
It should be noted that, the capacities occupied by different caching methods for the same file are different, the higher the caching definition is, the larger the capacity occupied when caching the file is, the first capacity required for caching a first number of multimedia files to be played in different caching formats may be respectively calculated to obtain a plurality of first capacities, and the plurality of first capacities are subsets of the data size.
For example, in the case that the multimedia file is a video file, the buffering resolution order may have 5 buffering formats, which are 1080P format, 720P format, 1080i format, 480P format and 480i format, and if the first number of the multimedia files to be played is 10, the first capacities respectively required for buffering 10 multimedia files in the 1080P format, 720P format, 1080i format, 480P format and 480i format are calculated, so as to obtain 5 first capacities, and these 5 first capacities constitute the data size.
Optionally, in the caching method shown in the embodiment of the present disclosure, determining, according to the second duration and the play duration of each multimedia file to be played, that the first number of multimedia files to be played by the target application when the multimedia file is in the target area includes: determining a first multimedia file to be played when the multimedia file is positioned in a target area based on the sequence of a plurality of multimedia files arranged behind the currently played multimedia file, and determining the playing time length of the first multimedia file to be played; determining the sequence of a plurality of multimedia files to be played which are arranged behind a first multimedia file to be played and the playing time length of each multimedia file to be played; and determining the first number of the multimedia files to be played based on the second time length, the sequence of the plurality of multimedia files to be played and the playing time length of each multimedia file to be played.
Specifically, when determining a first to-be-played multimedia file when being in the target area according to the sequence of the plurality of multimedia files arranged after the currently-played multimedia file, in the case that the degree of front-back correlation between the to-be-played multimedia files is not high, the first to-be-played multimedia file may be set as a first number of multimedia files after the currently-played multimedia file, for example, a 10 th multimedia file.
And under the condition that the degree of front-back correlation between the multimedia files to be played is high, determining the first multimedia file to be played when the multimedia file is in the target area according to the first time length from the current position to the edge area of the target area and the sequence and the time length of a plurality of multimedia files after the currently played multimedia file.
It should be noted that, because the duration of each to-be-played multimedia file is different, the duration of the first to-be-played multimedia file to be played in the target area and the sequence and duration of the plurality of videos after the first to-be-played multimedia file are obtained, so that how many to-be-played multimedia files need to be cached in the second duration can be determined.
In an alternative embodiment, as shown in fig. 5, before determining the caching mode of the multimedia file to be played based on the caching capacity and the data amount of the multimedia file to be played in step S203, the method further includes:
step S501, determining the free storage capacity of the terminal, and comparing the free storage capacity with the cache capacity.
Step S502, under the condition that the free storage capacity is larger than or equal to the cache capacity, the step of determining the cache mode of the multimedia file to be played based on the cache capacity and the data volume of the multimedia file to be played is executed.
Step S503, determining a caching mode of the multimedia file to be played based on the free storage capacity and the data amount of the multimedia file to be played when the free storage capacity is smaller than the caching capacity.
Specifically, since the free storage capacity of the terminal, that is, the current available capacity, limits the capacity of the data that is cached at most, before determining the caching mode of the multimedia file to be played based on the caching capacity and the data amount of the multimedia file to be played, the caching capacity is compared with the free capacity, and in the case that the free capacity is greater than or equal to the caching capacity, it indicates that the free storage capacity of the terminal is wide, and the caching mode may be determined based on the caching capacity and the data amount of the multimedia file to be played; and under the condition that the free capacity is smaller than the cache capacity, indicating that the free storage capacity of the terminal is insufficient, and determining a cache mode based on the free capacity and the data volume of the multimedia file to be played.
According to the embodiment of the disclosure, the current idle storage capacity of the terminal is considered when the format of the cached multimedia file is determined, so that under the condition that the cache capacity is sufficient, but the terminal storage capacity, namely the idle capacity is insufficient, the resolution is reduced, and the multimedia file which is browsed enough in the target area is ensured.
In an alternative embodiment, as shown in fig. 6, in step S203, determining a caching mode of the multimedia file to be played based on the caching capacity and the data amount of the multimedia file to be played includes:
in step S601, the buffer capacities are compared with the plurality of first capacities, respectively.
Step S602, when the buffer capacity is smaller than the minimum first capacity, a first number of multimedia files to be played are buffered in a buffer format corresponding to the minimum first capacity.
Step S603, when the buffer capacity is greater than the maximum first capacity, a first number of multimedia files to be played are buffered in a buffer format corresponding to the maximum first capacity.
Step S604, under the condition that the buffer capacity is greater than the minimum first capacity and less than the maximum first capacity, a buffer format corresponding to the first capacity having the minimum difference with the buffer capacity and less than the buffer capacity is used to buffer a first number of multimedia files to be played.
For example, in the case that the multimedia file is a video file, the multimedia file may have 5 buffer formats, namely 1080P format, 720P format, 1080i format, 480P format and 480i format, according to the buffer definition sequence, and the capacities required for buffering the multimedia files to be played in the 1080P format, 720P format, 1080i format, 480P format and 480i format are the first capacity, the second capacity, the third capacity, the fourth capacity and the fifth capacity which are sequentially decreased.
Specifically, under the condition that the first capacity is smaller than the fifth capacity, the multimedia file to be played is cached in a 480i format corresponding to the fifth capacity; and under the condition that the cache capacity is larger than the first capacity, caching the multimedia file to be played by adopting a 1080P format corresponding to the first capacity. Under the condition that the first capacity is larger than the fifth capacity and smaller than the fourth capacity, caching the multimedia file to be played by adopting a 480i format corresponding to the fifth capacity; under the condition that the first capacity is larger than the fourth capacity and smaller than the third capacity, caching the multimedia file to be played by adopting a 480P format corresponding to the fourth capacity; under the condition that the cache capacity is larger than the third capacity and smaller than the second capacity, caching the multimedia file to be played by adopting a 1080i format corresponding to the third capacity; and under the condition that the first capacity is larger than the second capacity and smaller than the first capacity, caching the multimedia file to be played by adopting a 720P format corresponding to the second capacity.
By the embodiment of the disclosure, clearer multimedia files can be cached as much as possible under the condition that the cache capacity is sufficient, the resolution is reduced under the condition that the cache capacity is insufficient, and the multimedia files which are browsed sufficiently in the target area are ensured, so that the experience of browsing the multimedia files in the target area by a user is improved.
In order to ensure that the terminal has sufficient operating capacity, optionally, in the caching method shown in the embodiment of the present disclosure, after caching the multimedia file to be played in a caching manner in step S203, the method further includes: deleting the cached multimedia file under the condition that a preset condition is met, wherein the preset condition at least comprises one of the following conditions: and after the cached multimedia file is played on the terminal, the terminal leaves the target area.
Specifically, after entering the target area, the user may view the cached multimedia file to be played, and after the cached multimedia file is played, or leaves the target area, or exits the target application, delete the cached multimedia file so as not to affect the use of the memory of the user, thereby enabling the terminal to have sufficient running capacity.
In an exemplary embodiment, there is also provided a cache system, including:
and the server is used for providing the multimedia files stored according to a plurality of preset cache formats.
Specifically, the server is configured to provide a desired multimedia file for the client, where the multimedia file may be an animation file, a video file, an audio file, and the like, and the multimedia file further includes other materials such as praise, a title, and the like.
It should be noted that, in order to meet the requirement of the client for requesting to download files in different cache formats, the server has multi-specification cache performance, that is, the server stores multimedia files according to multiple preset cache formats.
The client is used for downloading the multimedia file to be cached in the target cache format and played in the target area through the target application from the server before moving to the target area, and playing the cached multimedia file, wherein the target area is an area with a network performance index smaller than a preset threshold.
It should be noted that the target network performance index of the target area may be the network speed, that is, the time length for requesting and returning data when uploading or downloading data through the network. Under the condition that the target network performance index of the target area is the network speed, the target area can be an area where the network speed is smaller than a preset network speed threshold value, that is, weak network environment areas, such as tunnels, subways, supermarkets, train stations and other places, are weak network environment areas.
Specifically, the client is used for caching and playing the multimedia file and has a function of pre-caching the multimedia file to be played before reaching the target area.
Optionally, the client comprises at least the following modules: the positioning module is used for determining the current position of the client; the path planning module is used for determining the moving speed of the client, the position of a target area reached by the client in a future preset time period and the target duration required by the client in the target area; the network detection module is used for determining the current network speed; the cache management module is used for determining a multimedia file to be cached, a target cache format and cache start time of the multimedia file to be cached according to the obtained target information, wherein the target information at least comprises: the current position, the position of a target area, the moving speed, the current network speed and the target duration; and the playing module is used for playing the cached multimedia file.
Specifically, the positioning module may be a GPS positioning system, and is configured to determine, in real time, basic data such as a position where the user is located and a forward route.
The path planning module can be a path planning application program, a path which is possible to advance of a user is detected in advance by adopting a path dynamic planning algorithm through basic data acquired by the positioning module, or whether the user reaches a target area in a future period of time is predicted in advance according to whether the current user is at an exact position of a high speed, a subway, a railway station and the like, and meanwhile, the driving speed and the target duration required by the user in the target area are calculated.
And after the user is preliminarily detected to move towards the target area, determining the real-time network speed through a network detection module.
And the cache management module is used for receiving the data acquired by the module and determining the multimedia file to be cached, the target cache format and the cache start time of the multimedia file to be cached, so that the multimedia file is cached in advance.
For example, if a multimedia file to be played while driving on a highway is used as a video material and a target area is a tunnel, and if the length of the tunnel is 2km and the vehicle speed in the tunnel is 60km/h, the time duration 2/60h is passed, and how long the material needs to be cached is determined. Meanwhile, the current vehicle speed, the network downloading speed and the distance from the weak network environment are obtained, the time can be obtained through the distance from the weak network environment and the vehicle speed, the total number of materials which can be downloaded is obtained through the network downloading speed and the network downloading time, the size and the duration of the materials are determined, and the definition of the cache data and the materials which are cached are determined through the size and the duration of the materials.
In addition, after the size and the duration of the material are determined, the size and the duration of the material can be transmitted to the server, the definition of the cache data and the cache of the material are determined through the calculation of the server, and the calculation result is cached to the client.
Further, after the client side knows the definition of the cache data and the materials to be cached, the client side starts to prepare for caching, and if the space is enough, the download cache is started.
According to the embodiment of the disclosure, the server with the multi-specification caching function is matched with each module in the client, and the sufficient multimedia files to be played are cached in advance before the specific scene with poor network performance is reached, so that the fact that the multimedia files are available in the time period of 'most needed' recreation is guaranteed, and the user experience that a user uses a target application to browse the multimedia files under the specific scene with poor network performance is improved.
FIG. 7 is a block diagram illustrating a caching apparatus, according to an example embodiment. Referring to fig. 7, the apparatus includes: a first determining unit 701, a second determining unit 702, a third determining unit 703 and a first buffering unit 704.
The first determining unit 701 is configured to determine a corresponding cache capacity of a target application of the terminal in a network environment of a passing area in a process of moving from a current location to a target area, where the target area is an area where a target network performance index is smaller than a threshold.
A second determining unit 702 configured to determine the data amount of the multimedia file to be played by the target application when being in the target area.
The third determining unit 703 is configured to determine a caching manner of the multimedia file to be played based on the caching capacity and the data amount of the multimedia file to be played.
The first caching unit 704 is configured to cache the multimedia file to be played in a caching manner.
Optionally, in the cache apparatus shown in the embodiment of the present disclosure, the first determining unit 701 includes: the terminal comprises an acquisition module, a processing module and a display module, wherein the acquisition module is configured to acquire the distance between the current position and the edge position of a target area and the moving speed of the terminal; the terminal comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is configured to determine a first time length based on the distance and the moving speed, and the first time length is the time length of the terminal moving from the current position to the edge position of the target area; and the second determining module is configured to acquire the current network speed, and determine the corresponding cache capacity of the target application in the network environment of the passing area in the first time length based on the first time length and the current network speed, wherein the current network speed is the network speed corresponding to the area where the current position is located.
Optionally, in the cache apparatus shown in the embodiment of the present disclosure, the apparatus further includes: a fourth determination unit configured to determine, before acquiring the distance between the current position and the edge position of the target area and the moving speed of the terminal, a target area to which the terminal moves in a future time period among a plurality of first target areas based on the current position, the historical action trajectory of the terminal, and positions of the plurality of first target areas within a first distance range of the current position.
Optionally, in the cache apparatus shown in the embodiment of the present disclosure, the first determining unit 701 includes: the third determining module is configured to determine a second time length for which the terminal is in the target area; the fourth determining module is configured to determine the first number of the multimedia files to be played by the target application when the target application is in the target area according to the second time length and the playing time length of each multimedia file to be played; a fifth determining module, configured to determine a first capacity required for caching a first number of multimedia files to be played in different cache formats, to obtain a plurality of first capacities; a sixth determining module configured to determine the plurality of first capacities as a data amount of the multimedia file to be played.
Optionally, in the cache apparatus shown in the embodiment of the present disclosure, the fourth determining module includes: the first determining submodule is configured to determine a first multimedia file to be played when the multimedia file is in the target area and determine the playing time length of the first multimedia file to be played based on the sequence of the plurality of multimedia files arranged behind the currently played multimedia file; a second determining submodule configured to determine an order of a plurality of multimedia files to be played arranged after a first multimedia file to be played and a play time length of each multimedia file to be played; and the third determining submodule is configured to determine the first number of the multimedia files to be played based on the second time length, the sequence of the plurality of multimedia files to be played and the playing time length of each multimedia file to be played.
Optionally, in the cache apparatus shown in the embodiment of the present disclosure, the apparatus further includes: a fourth determining unit configured to determine an idle storage capacity of the terminal and compare the idle storage capacity with a cache capacity before determining a caching manner of the multimedia file to be played based on the cache capacity and a data amount of the multimedia file to be played; the execution unit is configured to execute the step of determining the caching mode of the multimedia file to be played based on the caching capacity and the data volume of the multimedia file to be played under the condition that the free storage capacity is larger than or equal to the caching capacity; and the fifth determining unit is configured to determine the caching mode of the multimedia file to be played based on the free storage capacity and the data amount of the multimedia file to be played when the free storage capacity is smaller than the caching capacity.
Optionally, in the cache apparatus shown in the embodiment of the present disclosure, the third determining unit 703 includes: a comparison module configured to compare the buffer capacities with a plurality of first capacities, respectively; the seventh determining module is configured to cache a first number of multimedia files to be played in a cache format corresponding to the minimum first capacity under the condition that the cache capacity is smaller than the minimum first capacity; the eighth determining module is configured to cache a first number of multimedia files to be played in a cache format corresponding to the maximum first capacity under the condition that the cache capacity is greater than the maximum first capacity; and the ninth determining module is configured to cache the first number of multimedia files to be played by adopting a cache format corresponding to the first capacity which has the smallest difference with the cache capacity and is smaller than the cache capacity under the condition that the cache capacity is larger than the minimum first capacity and smaller than the maximum first capacity.
Optionally, in the cache apparatus shown in the embodiment of the present disclosure, the apparatus further includes: the deleting unit is configured to delete the cached multimedia file after caching the multimedia file to be played in a caching manner under the condition that a preset condition is met, wherein the preset condition at least comprises one of the following conditions: and after the cached multimedia file is played on the terminal, the terminal leaves the target area.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In an exemplary embodiment, there is also provided a caching apparatus/electronic device/server, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the above-described caching methods.
In an exemplary embodiment, there is also provided a computer-readable storage medium having instructions that, when executed by a processor of an electronic device of an information processing method, enable the electronic device of the information processing method to perform the caching method of any one of the above. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program/instructions which, when executed by a processor, implement the caching method of any one of the above. The computer product may be a terminal, which may be any one of a group of computer terminals. Optionally, in this embodiment of the present disclosure, the terminal may also be a terminal device such as a mobile terminal.
Optionally, in this embodiment of the present disclosure, the terminal may be located in at least one network device of a plurality of network devices of a computer network.
Alternatively, fig. 8 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment. As shown in fig. 8, the terminal may include: one or more processors 81 (only one shown), a memory 82 for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the above-described page processing methods.
The memory may be configured to store software programs and modules, such as program instructions/modules corresponding to the page processing method and apparatus in the embodiments of the disclosure, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implementing the page processing method. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located from the processor, which may be connected to the computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It can be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration, and the computer terminal may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 8 is a diagram illustrating the structure of the electronic device. For example, terminal 8 may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A caching method, comprising:
determining the corresponding cache capacity of a target application of a terminal under a network environment of a passing area in the process of moving from a current position to the target area, wherein the target area is an area with a target network performance index smaller than a threshold value;
determining the data volume of the multimedia file to be played by the target application when the multimedia file is in the target area;
determining a caching mode of the multimedia file to be played based on the caching capacity and the data volume of the multimedia file to be played;
and caching the multimedia file to be played according to the caching mode.
2. The caching method according to claim 1, wherein determining the corresponding caching capacity of the target application of the terminal in the network environment of the passing area in the process of moving from the current position to the target area comprises:
acquiring the distance between the current position and the edge position of the target area and the moving speed of the terminal;
determining a first time length based on the distance and the moving speed, wherein the first time length is a time length for the terminal to move from the current position to the edge position of the target area;
and obtaining a current network speed, and determining the cache capacity corresponding to the target application in the network environment of the passing area in the first time length based on the first time length and the current network speed, wherein the current network speed is the network speed corresponding to the area where the current position is located.
3. The caching method according to claim 2, wherein before obtaining the distance between the current position and the edge position of the target area and the moving speed of the terminal, the method further comprises:
determining, among a plurality of first target areas, a target area to which the terminal moves within a future time period based on the current position, a historical action track of the terminal, and positions of the plurality of first target areas within a first distance range of the current position.
4. The caching method of claim 1, wherein determining the amount of data of the multimedia file to be played by the target application while in the target region comprises:
determining a second time length of the terminal in the target area;
determining a first number of the multimedia files to be played by the target application when the multimedia files are in the target area according to the second time length and the playing time length of each multimedia file to be played;
determining a first capacity required for caching the first number of multimedia files to be played by adopting different caching formats to obtain a plurality of first capacities;
and determining the plurality of first capacities as the data volume of the multimedia file to be played.
5. The caching method of claim 4, wherein determining, according to the second duration and a play duration of each multimedia file to be played, a first number of multimedia files to be played by the target application while being in the target region comprises:
determining a first multimedia file to be played when the multimedia file is in the target area based on the sequence of a plurality of multimedia files arranged behind the currently played multimedia file, and determining the playing time length of the first multimedia file to be played;
determining the sequence of a plurality of multimedia files to be played which are arranged behind the first multimedia file to be played and the playing time length of each multimedia file to be played;
and determining the first number of the multimedia files to be played based on the second time length, the sequence of the plurality of multimedia files to be played and the playing time length of each multimedia file to be played.
6. The caching method according to claim 1, wherein before determining the caching mode of the multimedia file to be played based on the caching capacity and the data amount of the multimedia file to be played, the method further comprises:
determining the idle storage capacity of the terminal, and comparing the idle storage capacity with the cache capacity;
under the condition that the free storage capacity is larger than or equal to the cache capacity, determining a cache mode of the multimedia file to be played based on the cache capacity and the data volume of the multimedia file to be played;
and under the condition that the free storage capacity is smaller than the cache capacity, determining the cache mode of the multimedia file to be played based on the free storage capacity and the data volume of the multimedia file to be played.
7. The caching method according to claim 4 or 5, wherein determining the caching mode of the multimedia file to be played based on the caching capacity and the data volume of the multimedia file to be played comprises:
comparing the buffer capacity with the plurality of first capacities, respectively;
under the condition that the cache capacity is smaller than the minimum first capacity, caching the first number of multimedia files to be played by adopting a cache format corresponding to the minimum first capacity;
under the condition that the cache capacity is larger than the maximum first capacity, caching the first number of multimedia files to be played by adopting a cache format corresponding to the maximum first capacity;
and under the condition that the cache capacity is larger than the minimum first capacity and smaller than the maximum first capacity, caching the first number of multimedia files to be played by adopting a cache format corresponding to the first capacity with the minimum difference value with the cache capacity and smaller than the cache capacity.
8. The caching method according to claim 1, wherein after caching the multimedia file to be played in the caching manner, the method further comprises:
deleting the cached multimedia file when a preset condition is met, wherein the preset condition at least comprises one of the following conditions: and after the cached multimedia file is played on the terminal, the terminal leaves the target area.
9. A cache apparatus, comprising:
the terminal comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is configured to determine the corresponding cache capacity of a target application of the terminal under a network environment of a passing area in the process of moving from a current position to the target area, and the target area is an area with a target network performance index smaller than a threshold value;
a second determining unit configured to determine a data amount of a multimedia file to be played by the target application while being in the target area;
a third determining unit, configured to determine a caching mode of the multimedia file to be played based on the caching capacity and the data amount of the multimedia file to be played;
and the first cache unit is configured to cache the multimedia file to be played according to the cache mode.
10. A caching apparatus/electronic device/server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the caching method of any one of claims 1 to 8.
CN202011513948.9A 2020-12-18 2020-12-18 Caching method and caching device Active CN114650433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011513948.9A CN114650433B (en) 2020-12-18 2020-12-18 Caching method and caching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011513948.9A CN114650433B (en) 2020-12-18 2020-12-18 Caching method and caching device

Publications (2)

Publication Number Publication Date
CN114650433A true CN114650433A (en) 2022-06-21
CN114650433B CN114650433B (en) 2024-01-19

Family

ID=81991469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011513948.9A Active CN114650433B (en) 2020-12-18 2020-12-18 Caching method and caching device

Country Status (1)

Country Link
CN (1) CN114650433B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114650433B (en) * 2020-12-18 2024-01-19 北京达佳互联信息技术有限公司 Caching method and caching device
WO2024040981A1 (en) * 2022-08-25 2024-02-29 荣耀终端有限公司 Photographing method and related device therefor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140095943A1 (en) * 2012-09-28 2014-04-03 Tobias M. Kohlenberg Predictive precaching of data based on context
US20140199980A1 (en) * 2013-01-16 2014-07-17 Apple Inc. Location- Assisted Service Capability Monitoring
CN111526246A (en) * 2020-04-07 2020-08-11 咪咕音乐有限公司 Caching method, electronic device and computer-readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114650433B (en) * 2020-12-18 2024-01-19 北京达佳互联信息技术有限公司 Caching method and caching device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140095943A1 (en) * 2012-09-28 2014-04-03 Tobias M. Kohlenberg Predictive precaching of data based on context
US20140199980A1 (en) * 2013-01-16 2014-07-17 Apple Inc. Location- Assisted Service Capability Monitoring
CN111526246A (en) * 2020-04-07 2020-08-11 咪咕音乐有限公司 Caching method, electronic device and computer-readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114650433B (en) * 2020-12-18 2024-01-19 北京达佳互联信息技术有限公司 Caching method and caching device
WO2024040981A1 (en) * 2022-08-25 2024-02-29 荣耀终端有限公司 Photographing method and related device therefor

Also Published As

Publication number Publication date
CN114650433B (en) 2024-01-19

Similar Documents

Publication Publication Date Title
US11303970B2 (en) Systems and methods for internet video delivery
US11336742B2 (en) Predictive content caching
KR102600833B1 (en) Method, device, electronic equipment and storage medium for displaying hotspot list
CN112261226B (en) Horizontal screen interaction method and device, electronic equipment and storage medium
CN114650433B (en) Caching method and caching device
US9942347B2 (en) Dynamically adjusting media content cache size
GB2589997A (en) Video access method, client, video access apparatus, terminal, server, and storage medium
KR102616386B1 (en) Method, device, electronic equipment and storage medium for displaying hotspot list
CN111526246A (en) Caching method, electronic device and computer-readable storage medium
US20230368246A1 (en) Method for in-stream aggregation of ad interaction data for a population of users viewing ad content
CN109462779B (en) Video preview information playing control method, application client and electronic equipment
CN109255070B (en) Recommendation information processing method and device, computer equipment and storage medium
Liotou et al. Enriching HTTP adaptive streaming with context awareness: A tunnel case study
KR102085839B1 (en) Method for controlling device, method for predicting moving route of device, computing device and computer-readable medium
CN112672227B (en) Service processing method, device, node and storage medium based on edge node
JP2013239087A (en) Information processing system and moving bodies
KR20120036494A (en) Method and system for providing real-time broadcasting information
CN114827750B (en) Viewing angle prediction method, device, equipment and storage medium
JP6271794B1 (en) Application layer multicast delivery method
KR101482240B1 (en) Operating method of mobile advertisement system with numerical map for user behavioeral targeting
Tsai et al. Evaluation of the effect of variations in vehicle velocity and channel bandwidth on an image-streaming system in vehicular networks
WO2023143518A1 (en) Live streaming studio topic recommendation method and apparatus, device, and medium
CN114302187B (en) Media resource playing method and device, electronic equipment and storage medium
KR100617098B1 (en) Moving picture indexing and searching method for mobile handset, and apparatus for the same
CN115278349A (en) Method for processing dragging watching video under wireless communication environment

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
GR01 Patent grant
GR01 Patent grant