CN106993014B - Cache content adjusting method, device and system - Google Patents

Cache content adjusting method, device and system Download PDF

Info

Publication number
CN106993014B
CN106993014B CN201610041473.5A CN201610041473A CN106993014B CN 106993014 B CN106993014 B CN 106993014B CN 201610041473 A CN201610041473 A CN 201610041473A CN 106993014 B CN106993014 B CN 106993014B
Authority
CN
China
Prior art keywords
code rate
network
index
terminal
cache server
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.)
Active
Application number
CN201610041473.5A
Other languages
Chinese (zh)
Other versions
CN106993014A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610041473.5A priority Critical patent/CN106993014B/en
Priority to PCT/CN2017/071541 priority patent/WO2017125017A1/en
Publication of CN106993014A publication Critical patent/CN106993014A/en
Application granted granted Critical
Publication of CN106993014B publication Critical patent/CN106993014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Abstract

The invention provides a method, a device and a system for adjusting cache contents, wherein the method comprises the following steps: a cache server in a content distribution network system receives an address range with deteriorated network conditions and a service code rate corresponding to the address range, the cache server receives a media service request of a terminal, wherein the media service request carries an address of the terminal, the cache server adjusts the index code rate to a code rate smaller than the service code rate under the condition that the address of the terminal is in the address range and the index code rate is higher than the service code rate, the index code rate is the code rate of media file information in an index file requested by the media service request, and the cache server sends the index file to the terminal, wherein the index file carries the adjusted index code rate, so that the problem of video playing blockage of the terminal is solved, and the streaming degree of video playing is improved.

Description

Cache content adjusting method, device and system
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for adjusting cache contents.
Background
A Content Delivery Network (CDN) is a new Network construction method, which is a Network overlay layer optimized particularly for delivering broadband rich media in a traditional Network Protocol (IP). The content services offered by CDNs are based on cache servers, also called proxy caches, which are located at the edge of the network, just one hop away from the user. Meanwhile, the proxy cache is a transparent mirror image of the content provider origin server (typically located in the CDN service provider's data center). Such an architecture enables a CDN service provider to provide the best possible experience on behalf of the content provider to end users who are intolerant of any delay in request response time.
The CDN system comprises distributed storage, load balancing, network request redirection, content management and other parts, and is generally configured with an operation and maintenance management platform, a global redirection module, a load balancing module and a plurality of cache servers, when a terminal requests a media service from a cache server, the terminal firstly passes through the global redirection module, the global redirection module redirects the request to the load balancing module, each load balancing module mounts a plurality of cache servers, after receiving the request, the load balancing module forwards the request to the cache servers according to certain rules, and the cache servers finally process the request and return the request to the terminal service response.
If the network environment deteriorates and the bandwidth is reduced, the video clips returned to the terminal by the cache server have time delay in the transmission process, and the terminal cannot timely receive the high-bit-rate media file provided by the cache server, so that the playing is blocked. At this time, the terminal tries to request the cache server for the second-highest-rate media file fragment, and if the current network bandwidth still cannot meet the transmission requirement of the second-highest-rate media file fragment, the terminal still has the situation of playing card pause; considering the extreme situation, the terminal can obtain the video fragment which is smoothly played only after a plurality of attempts, which will certainly affect the user experience;
aiming at the problem that the video played by the terminal is blocked in the related technology, no effective solution is available at present.
Disclosure of Invention
The invention provides a method, a device and a system for adjusting cache contents, which are used for at least solving the problem that a terminal plays a video in the related art.
According to an aspect of the present invention, there is provided a method for adjusting cache contents, including:
a cache server in a content distribution network system receives an address range with deteriorated network conditions and a service code rate corresponding to the address range;
the cache server receives a media service request of a terminal, wherein the media service request carries an address of the terminal;
when the address of the terminal is in the address range and the index code rate is higher than the service code rate, the cache server adjusts the index code rate to be smaller than the service code rate, wherein the index code rate is the code rate of the media file information in the index file requested by the media service request;
and the cache server sends the index file to the terminal, wherein the index file carries the adjusted index code rate.
Further, the adjusting, by the cache server, the index code rate to a code rate smaller than the service code rate includes:
the cache server deletes the media file information meeting the following conditions: and the index code rate corresponding to the media file information is higher than the service code rate.
Further, determining that the network condition is deteriorating if:
and determining that the network state parameter is within a preset network condition deterioration range, wherein the network state parameter is the network state parameter of the uplink and/or downlink equipment of the address range on the cache server.
Further, the network status parameter includes at least one of:
flow parameters, bandwidth parameters, delay rate and packet loss rate.
Further, the address range includes: an internet protocol, IP, address field.
According to another aspect of the present invention, there is provided a device for adjusting cached content, which is located in a cache server in a content distribution network system, and includes:
a first receiving module, configured to receive an address range with degraded network conditions and a service code rate corresponding to the address range;
a second receiving module, configured to receive a media service request of a terminal, where the media service request carries an address of the terminal;
an adjusting module, configured to adjust an index code rate to a code rate smaller than the service code rate when an address of the terminal is within the address range and the index code rate is higher than the service code rate, where the index code rate is a code rate of media file information in an index file requested by the media service request;
and the sending module is used for sending the index file to the terminal, wherein the index file carries the adjusted index code rate.
Further, the adjustment module includes:
a deleting unit configured to delete the media file information satisfying the following conditions: and the index code rate corresponding to the media file information is higher than the service code rate.
Further, determining that the network condition is deteriorating if:
and determining that the network state parameter is within a preset network condition deterioration range, wherein the network state parameter is the network state parameter of the uplink and/or downlink equipment of the address range on the cache server.
Further, the network status parameter includes at least one of:
flow parameters, bandwidth parameters, delay rate and packet loss rate.
Further, the address range includes: an internet protocol, IP, address field.
According to another aspect of the present invention, there is also provided a cache content adjustment system, including: the system comprises a terminal, a network detection device, a network monitoring server, an operation and maintenance management platform and a cache server;
the network detection device is positioned in the uplink and/or downlink equipment of the cache server and is used for detecting network state parameters;
the network monitoring server collects the network state parameters of the network detection device and determines an address range with deteriorated network conditions and a service code rate corresponding to the address range;
the operation and maintenance management platform of the content distribution network system issues the address range with the deteriorated network condition and the service code rate corresponding to the address range to the cache server;
the cache server receives a media service request of the terminal, wherein the media service request carries an address of the terminal;
when the address of the terminal is in the address range and the index code rate is higher than the service code rate, the cache server adjusts the index code rate to be smaller than the service code rate, wherein the index code rate is the code rate of the media file information in the index file requested by the media service request;
and the cache server sends the index file to the terminal, wherein the index file carries the adjusted index code rate.
According to the invention, a cache server in a content distribution network system receives an address range with deteriorated network conditions and a service code rate corresponding to the address range, the cache server receives a media service request of a terminal, wherein the media service request carries an address of the terminal, the cache server adjusts the index code rate to a code rate smaller than the service code rate under the condition that the address of the terminal is in the address range and the index code rate is higher than the service code rate, wherein the index code rate is the code rate of media file information in an index file requested by the media service request, and the cache server sends the index file to the terminal, wherein the index file carries the adjusted index code rate, so that the problem of video playing jam of the terminal is solved, and the streaming degree of video playing is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a method for adjusting cache contents according to an embodiment of the present invention;
fig. 2 is a block diagram of a cache content adjusting apparatus according to an embodiment of the present invention;
FIG. 3 is a system block diagram of a network-aware cache content adaptation in accordance with a preferred embodiment of the present invention;
fig. 4 is a flowchart of a streaming media service method for a single adaptive network condition change according to a preferred embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In this embodiment, a method for adjusting cache contents is provided, and fig. 1 is a flowchart of a method for adjusting cache contents according to an embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
step S102, a cache server in the content distribution network system receives an address range with deteriorated network conditions and a service code rate corresponding to the address range;
step S104, the cache server receives a media service request of a terminal, wherein the media service request carries an address of the terminal;
step S106, when the address of the terminal is in the address range and the index code rate is higher than the service code rate, the cache server adjusts the index code rate to a code rate smaller than the service code rate, wherein the index code rate is the code rate of the media file information in the index file requested by the media service request;
step S108, the cache server sends the index file to the terminal, wherein the index file carries the adjusted index code rate.
Through the steps, the cache server adjusts the index code rate to a code rate smaller than the service code rate, and sends the index file carrying the adjusted index code rate to the terminal, so that the problem that the terminal plays video is solved, and the streaming degree of video playing is improved.
In this embodiment, the adjusting, by the cache server, the index code rate to a code rate smaller than the service code rate includes:
the cache server deletes the media file information satisfying the following conditions: the index code rate corresponding to the media file information is higher than the service code rate.
Wherein the network condition is determined to be deteriorating if: and determining that the network state parameter is within a preset network condition deterioration range, wherein the network state parameter is the network state parameter of the uplink and/or downlink equipment of the address range on the cache server.
Wherein the network state parameter comprises at least one of: the address range includes: an internet protocol, IP, address field.
In this embodiment, a device for adjusting cache contents is further provided, where the device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 2 is a block diagram of a cache content adjusting apparatus according to an embodiment of the present invention, as shown in fig. 2, located in a cache server in a content distribution network system, the apparatus including
A first receiving module 22, configured to receive an address range with degraded network conditions and a service code rate corresponding to the address range;
a second receiving module 24, connected to the first receiving module 22, configured to receive a media service request of a terminal, where the media service request carries an address of the terminal;
an adjusting module 26, connected to the second receiving module 24, configured to adjust the index code rate to a code rate smaller than the service code rate when the address of the terminal is within the address range and the index code rate is higher than the service code rate, where the index code rate is a code rate of media file information in an index file requested by the media service request;
and a sending module 28, connected to the adjusting module 26, configured to send the index file to the terminal, where the index file carries the adjusted index code rate.
By the device, the cache server adjusts the index code rate to a code rate smaller than the service code rate, and sends the index file carrying the adjusted index code rate to the terminal, so that the problem that the terminal plays video is solved, and the streaming degree of video playing is improved.
In this embodiment, the adjusting module 26 includes:
a deleting unit configured to delete the media file information satisfying the following conditions: the index code rate corresponding to the media file information is higher than the service code rate.
In the present embodiment, the network condition is determined to be deteriorating in the following cases: and determining that the network state parameter is within a preset network condition deterioration range, wherein the network state parameter is the network state parameter of the uplink and/or downlink equipment of the address range on the cache server. Wherein the network state parameter comprises at least one of: flow parameters, bandwidth parameters, delay rate and packet loss rate. The address range includes: an internet protocol, IP, address field.
In another embodiment of the present invention, there is also provided a cache content adjusting system, including: the system comprises a terminal, a network detection device, a network monitoring server, an operation and maintenance management platform and a cache server;
the network detection device is positioned in the uplink and/or downlink equipment of the cache server and is used for detecting network state parameters;
the network monitoring server collects the network state parameters of the network detection device, and determines an address range with deteriorated network conditions and a service code rate corresponding to the address range;
the operation and maintenance management platform of the content distribution network system issues the address range with the deteriorated network condition and the service code rate corresponding to the address range to the cache server;
the cache server receives a media service request of the terminal, wherein the media service request carries an address of the terminal;
when the address of the terminal is in the address range and the index code rate is higher than the service code rate, the cache server adjusts the index code rate to be a code rate smaller than the service code rate, wherein the index code rate is the code rate of the media file information in the index file requested by the media service request;
and the cache server sends the index file to the terminal, wherein the index file carries the adjusted index code rate.
The present invention will be described in detail with reference to preferred examples and embodiments.
The preferred embodiment of the present invention relates to the field of multimedia services in telecommunication networks such as CDNs (content delivery networks), and in particular, to a system and method for adjusting cache content in a CDN multimedia service system through network sensing.
The technical problem to be solved by the preferred embodiment of the present invention is to notify the network status to each cache server when the network condition is deteriorated, and the cache server provides the media service file with suitable code rate according to the network bandwidth of each user terminal, so that the terminal can smoothly play the media service file, and the main steps include: the Network pattern side device collects Network Monitor (Network monitoring server) of the Network and informs the CDN of a Network condition message, wherein the message carries an IP address segment of Network deterioration and a corresponding limited service code rate; broadcasting network condition information to all cache servers inside the CDN; when the terminal requests the cache server, the cache server checks whether the terminal IP is in the range of network deterioration, and returns the media service file which corresponds to the range and has the code rate smaller than the limited code rate to the terminal; the terminal receives the media service file for service.
The preferred embodiment of the invention provides a method for providing a media service file suitable for the current network bandwidth for a terminal on the premise of knowing the network change based on a cache server, thereby reducing the video pause playing condition of the terminal and improving the user experience; when the network condition is recovered, the code rate can be recovered to the normal code rate to provide service for the user terminal.
The preferred embodiment of the invention provides a system for adjusting cache content of network perception, which comprises a network monitoring server, an operation and maintenance management platform, a plurality of cache servers and a user terminal;
the network detection device comprises: deploying at the edge of a network, and collecting network operation states, wherein the network operation states can include but are not limited to traffic, bandwidth, delay rate, packet loss rate and the like of the network; in the invention, the network detection devices can be one or more and are deployed in the uplink data equipment or the downlink data equipment of the cache server.
The network monitoring server: collecting network state parameters sent by network detection devices which are deployed in an uplink and a downlink of a cache server, wherein the parameters can include but are not limited to flow, bandwidth, delay rate, packet loss rate and the like, and the network monitoring server collects and stores the parameters; the network monitoring server simultaneously notifies the operation and maintenance management platform of the CDN of network service level (code rate) information of the network state parameters aiming at the network IP address section;
operation and maintenance management platform: in the system, an operation and maintenance management platform is responsible for receiving an IP address segment and corresponding network service level (code rate) information sent by a network monitoring server and sending the network service level information to all cache servers;
a cache server: the cache server is used for processing the media service request of the user terminal and can provide the media service function to the user terminal in a unicast mode, and the form of the media service function can include but is not limited to the following: the system is used for receiving and storing an IP address field and corresponding network service grades (code rates) sent by an operation and maintenance management platform, and deleting code rate index files corresponding to the content of the media service request of the user terminal, which does not meet the current network service grade, according to the network service grade information; under the premise of controlling code rate and not influencing smooth playing, providing a media service file which is suitable for the current network bandwidth for a user terminal;
a user terminal: the user terminal sends a media service request to the cache server and can receive a unicast code stream sent by the cache server;
the cache server stores media files with various code rates and index files for marking the information of the media files. When the terminal requests the media service from the cache server, the terminal requests the index file and stores the index file locally, after receiving the index file, the terminal selects the media file fragment with the highest code rate in the index file and requests the cache server for the service, and after receiving the request, the cache server returns the corresponding media file fragment in the request to the terminal and provides the service of downloading and playing simultaneously.
The preferred embodiment of the present invention provides a system and method for network-aware cache content adjustment, comprising the steps of:
the network detection device which is deployed in the upper connection of the cache server periodically collects the upper connection network state parameters of the current cache server to the network monitoring server;
the network detection device deployed on the cache server periodically collects the uplink network state parameters of the current cache server to the network monitoring server;
the network monitoring server monitors the network state parameters of the uplink and the downlink of the cache server, sets the hierarchical configuration of the network service level, then judges the network condition parameters of the corresponding IP sections of the uplink and the downlink of the cache server, and sends the IP address section with reduced network bandwidth and the network service level (namely code rate) allowed by the corresponding address section to the operation and maintenance management platform when the network deteriorates;
after receiving the message corresponding to the IP address field and the network service level sent by the network monitoring server, the operation and maintenance management platform synchronizes the message to all cache servers;
before the cache server receives the information, the cache server still considers that the network condition is not changed, and provides a media service file with the highest code rate in the index files for the user terminal by default;
after receiving the corresponding relation between the IP address field and the network service level, the cache server can be stored in the local server;
when the user terminal accesses the cache server, the cache server can judge whether the IP of the user terminal is in an IP address field monitored by the network monitoring server and with deteriorated network conditions, if so, the cache server needs to judge the size relation between the service level (code rate) corresponding to the IP field and the code rate in the index file, and returns the media file information which is smaller than the limited service level (code rate) in the index file to the user terminal;
after the terminal receives the index file with the code rate higher than the limited code rate, the terminal selects the media service file with the highest code rate from the index file and requests the cache server, the media service file at the moment can adapt to the bandwidth transmission of the current network, and the cache server sends the media service file to the terminal without blockage, so that the terminal can provide smooth video service;
when the network condition becomes better, the network monitoring server issues the IP address field and the allowed network service level (code rate) thereof to the operation and maintenance management platform again, and at the moment, the network service level (code rate) is correspondingly improved due to the improvement of the network bandwidth;
after receiving the corresponding information of the IP address field and the network service level, the operation and maintenance management platform synchronizes the information to each cache server, and each cache server stores the information locally;
if the user terminal does not request a new media service file at the moment and the low-bit-rate media service file is still requested before, the cache server still sends the low-bit-rate file to the terminal;
if a user terminal requests a new media service from a cache server, the user terminal requests an index file on the cache server as a service flow when a network is deteriorated, the cache server checks whether the IP of the terminal is in an IP section range, and then returns media file information of which the code rate is not higher than the service level in the index file to the terminal according to the service level of a corresponding IP section;
therefore, the service request of the terminal to the cache server can be recovered to the normal state of the network;
the technical scheme constructed by the method disclosed by the preferred embodiment of the invention is as follows: when the network condition changes, the cache server can self-adaptively provide the media service file with the proper code rate for the terminal according to the current network bandwidth, so that when the network condition deteriorates, the user terminal does not need to try to acquire the media service file with the proper code rate from the cache server for multiple times, the terminal playing jam is reduced, and the user experience is improved; on the other hand, the media index file with high code rate in the cache server can be deleted by using the method and the device, so that the aim of reducing storage is fulfilled; when the network condition is recovered, the media service file provided by the cache server to the terminal can be recovered to the normal code rate.
Fig. 3 is a system framework diagram of Network-aware cache content adjustment according to a preferred embodiment of the present invention, and as shown in fig. 3, this embodiment provides a system and a method for Network-aware cache content adjustment, where the system includes a Network monitoring server (Network Monitor), a Network probe 1 deployed on a cache server for uplink, a Network probe 2 deployed on a cache server for downlink, an operation and maintenance server, a load balancing module, multiple cache servers, and multiple User terminals (UE1, UE2, UE3 … UEM, and UE is User Equipment).
Fig. 4 is a flowchart of a streaming media service method for single adaptive network condition change according to a preferred embodiment of the present invention, as shown in fig. 4, the steps of the method include:
step S400: the network detection device 1 and the network detection device 2 periodically collect the flow and the cache hit rate of the network to the network monitoring server;
step S401: when the network condition is not changed, the cache server provides service for the UE according to the normal code rate;
step S402: the network monitoring server monitors that the network condition is deteriorated and sends the IP section with the deteriorated network condition and the corresponding service level (code rate) to the operation and maintenance management platform;
step S403: after receiving the information, the operation and maintenance management platform synchronizes the information to all the cache servers, and after receiving the information, the cache servers can store the information locally;
step S404: UE requests media service to a cache server, and all requests are sent to a load balancing module;
step S405: the load balancing module redirects the request to a specific cache server according to a certain algorithm;
step S406: the cache server judges whether the IP of the UE belongs to the range of the network condition deterioration stored locally, if the UE belongs to the range of the network deterioration, the code rate in the index file corresponding to the requested media service is compared with the limited code rate of the IP section;
step S407: if the index file has the media file information higher than the limited code rate, the cache server will clear the information and return the processed index file to the UE;
step S408: after receiving the index file, the UE preferentially selects the media service files with the highest code rate, and the media service files can be normally transmitted in the network with the reduced current bandwidth without influencing the playing fluency and give the best experience to the user as far as possible;
step S409: UE requests a media service file from a cache server;
step S410: the cache server returns the media service file to the UE, and the UE starts to provide video playing service;
through the embodiment, the method for providing the smooth media service for the terminal by the content distribution network through sensing the network change is provided, and is used for controlling the index in the media service file through the cache server when the network condition is deteriorated and the bandwidth is reduced, so that the code rate is reduced, the media service file which can be smoothly played by the terminal is provided, the user experience is improved, and the method for obtaining the media service file with the proper code rate by the terminal through multiple attempts is replaced.
It should be noted that, in this embodiment, a scheme for adaptively controlling the bit rate of the media service file by the cache server when the network deteriorates is described, and when the network condition returns to normal, the whole process is similar to the above process, and also belongs to the protection scope of the present invention.
It should be noted that, in this embodiment, a case when a user terminal makes a media service request to a cache server is described, and other application scenarios include but are not limited to: the present invention also provides an application scenario in which a plurality of user terminals are served to one cache server, or a plurality of cache servers serve one user terminal, or a plurality of cache servers serve a plurality of user terminals.
It should be noted that, in this embodiment, the load balancing module is not within the protection scope of the present invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in a plurality of processors.
The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the method steps of the above embodiment:
optionally, the storage medium is further arranged to store program code for performing the method steps of the above embodiments:
optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Optionally, in this embodiment, the processor executes the method steps of the above embodiments according to the program code stored in the storage medium.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method for adjusting cache contents, comprising:
a cache server in a content distribution network system receives an address range with deteriorated network conditions and a service code rate corresponding to the address range;
the cache server receives a media service request of a terminal, wherein the media service request carries an address of the terminal;
when the address of the terminal is in the address range and the index code rate is higher than the service code rate, the cache server adjusts the index code rate to be smaller than the service code rate, wherein the index code rate is the code rate of the media file information in the index file requested by the media service request;
and the cache server sends the index file to the terminal, wherein the index file carries the adjusted index code rate.
2. The method of claim 1, wherein the cache server adjusting the index bitrate to a bitrate less than the service bitrate comprises:
the cache server deletes the media file information meeting the following conditions: and the index code rate corresponding to the media file information is higher than the service code rate.
3. The method of claim 1, wherein the network condition degradation is determined if:
and determining that the network state parameter is within a preset network condition deterioration range, wherein the network state parameter is the network state parameter of the uplink and/or downlink equipment of the address range on the cache server.
4. The method of claim 3, wherein the network status parameter comprises at least one of:
flow parameters, bandwidth parameters, delay rate and packet loss rate.
5. The method of any of claims 1 to 4, wherein the address range comprises: an internet protocol, IP, address field.
6. An apparatus for adjusting cache contents in a cache server in a content distribution network system, comprising:
a first receiving module, configured to receive an address range with degraded network conditions and a service code rate corresponding to the address range;
a second receiving module, configured to receive a media service request of a terminal, where the media service request carries an address of the terminal;
an adjusting module, configured to adjust an index code rate to a code rate smaller than the service code rate when an address of the terminal is within the address range and the index code rate is higher than the service code rate, where the index code rate is a code rate of media file information in an index file requested by the media service request;
and the sending module is used for sending the index file to the terminal, wherein the index file carries the adjusted index code rate.
7. The apparatus of claim 6, wherein the adjustment module comprises:
a deleting unit configured to delete the media file information satisfying the following conditions: and the index code rate corresponding to the media file information is higher than the service code rate.
8. The apparatus of claim 6, wherein the network condition degradation is determined if:
and determining that the network state parameter is within a preset network condition deterioration range, wherein the network state parameter is the network state parameter of the uplink and/or downlink equipment of the address range on the cache server.
9. The apparatus of claim 8, wherein the network status parameter comprises at least one of:
flow parameters, bandwidth parameters, delay rate and packet loss rate.
10. The apparatus of any of claims 6 to 9, wherein the address range comprises: an internet protocol, IP, address field.
11. A cache content adjustment system, comprising: the system comprises a terminal, a network detection device, a network monitoring server, an operation and maintenance management platform and a cache server;
the network detection device is positioned in the uplink and/or downlink equipment of the cache server and is used for detecting network state parameters;
the network monitoring server collects the network state parameters of the network detection device and determines an address range with deteriorated network conditions and a service code rate corresponding to the address range;
the operation and maintenance management platform of the content distribution network system issues the address range with the deteriorated network condition and the service code rate corresponding to the address range to the cache server;
the cache server receives a media service request of the terminal, wherein the media service request carries an address of the terminal;
when the address of the terminal is in the address range and the index code rate is higher than the service code rate, the cache server adjusts the index code rate to be smaller than the service code rate, wherein the index code rate is the code rate of the media file information in the index file requested by the media service request;
and the cache server sends the index file to the terminal, wherein the index file carries the adjusted index code rate.
CN201610041473.5A 2016-01-20 2016-01-20 Cache content adjusting method, device and system Active CN106993014B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610041473.5A CN106993014B (en) 2016-01-20 2016-01-20 Cache content adjusting method, device and system
PCT/CN2017/071541 WO2017125017A1 (en) 2016-01-20 2017-01-18 Method for adjusting cache content, device, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610041473.5A CN106993014B (en) 2016-01-20 2016-01-20 Cache content adjusting method, device and system

Publications (2)

Publication Number Publication Date
CN106993014A CN106993014A (en) 2017-07-28
CN106993014B true CN106993014B (en) 2020-12-18

Family

ID=59361536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610041473.5A Active CN106993014B (en) 2016-01-20 2016-01-20 Cache content adjusting method, device and system

Country Status (2)

Country Link
CN (1) CN106993014B (en)
WO (1) WO2017125017A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395732A (en) * 2017-07-29 2017-11-24 安徽云帮邦网络技术有限公司 A kind of business data storage inquiry cloud platform
CN108234319B (en) * 2017-12-29 2021-10-19 北京奇虎科技有限公司 Data transmission method and device
CN109996092B (en) * 2017-12-29 2021-01-15 华为技术有限公司 Method and device for video playing
CN108366218A (en) * 2018-04-16 2018-08-03 上海小蚁科技有限公司 Video file forming method and device, computer readable storage medium, picture pick-up device
CN109788254B (en) * 2019-01-30 2021-01-08 安徽睿极智能科技有限公司 Real-time high-definition video stream distribution method and system for adaptive network
CN111510789B (en) 2019-01-30 2021-09-21 上海哔哩哔哩科技有限公司 Video playing method, system, computer equipment and computer readable storage medium
EP4277289A4 (en) * 2021-02-26 2024-01-03 Huawei Tech Co Ltd Media parameter adjustment method and apparatus
CN114531489A (en) * 2022-01-14 2022-05-24 北京字节跳动网络技术有限公司 Request response method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068236A (en) * 2007-04-13 2007-11-07 华为技术有限公司 Streaming media bit rate control method, system and equipment
CN102088620A (en) * 2010-12-01 2011-06-08 中兴通讯股份有限公司 Method for downloading media file in content distribution network and client
CN102378043A (en) * 2011-09-29 2012-03-14 深圳市矽伟智科技有限公司 Content delivery method and Internet television (TV) playing method as well as corresponding device and systems
CN102833219A (en) * 2011-06-16 2012-12-19 华为技术有限公司 Method and device for transmitting data files to client side
CN102843616A (en) * 2012-08-13 2012-12-26 中兴通讯股份有限公司 Method for realizing playing and downloading by IPTV (Internet Protocol Television) system, terminal and CDN (Content Delivery Network) server
CN102957672A (en) * 2011-08-25 2013-03-06 中国电信股份有限公司 Method, client side and system for self-adaptive playing of FLV (flash video) media streams
CN104486254A (en) * 2014-12-12 2015-04-01 上海斐讯数据通信技术有限公司 SDN network bandwidth control method and SDN network bandwidth control system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800885A (en) * 2010-02-26 2010-08-11 北京新岸线网络技术有限公司 Video data distribution method and system method and system for distributing video data
US9756142B2 (en) * 2013-03-14 2017-09-05 The Regents Of The University Of California System and method for delivering video data from a server in a wireless network by caching the video data
CN103269331A (en) * 2013-04-20 2013-08-28 华为技术有限公司 Method and device for selectively playing code rate content
CN103248962B (en) * 2013-04-23 2016-12-28 华为技术有限公司 Obtain the method for stream medium data, equipment and system
CN103813181A (en) * 2014-02-14 2014-05-21 华为技术有限公司 System and method for optimizing video

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068236A (en) * 2007-04-13 2007-11-07 华为技术有限公司 Streaming media bit rate control method, system and equipment
CN102088620A (en) * 2010-12-01 2011-06-08 中兴通讯股份有限公司 Method for downloading media file in content distribution network and client
CN102833219A (en) * 2011-06-16 2012-12-19 华为技术有限公司 Method and device for transmitting data files to client side
CN102957672A (en) * 2011-08-25 2013-03-06 中国电信股份有限公司 Method, client side and system for self-adaptive playing of FLV (flash video) media streams
CN102378043A (en) * 2011-09-29 2012-03-14 深圳市矽伟智科技有限公司 Content delivery method and Internet television (TV) playing method as well as corresponding device and systems
CN102843616A (en) * 2012-08-13 2012-12-26 中兴通讯股份有限公司 Method for realizing playing and downloading by IPTV (Internet Protocol Television) system, terminal and CDN (Content Delivery Network) server
CN104486254A (en) * 2014-12-12 2015-04-01 上海斐讯数据通信技术有限公司 SDN network bandwidth control method and SDN network bandwidth control system

Also Published As

Publication number Publication date
CN106993014A (en) 2017-07-28
WO2017125017A1 (en) 2017-07-27

Similar Documents

Publication Publication Date Title
CN106993014B (en) Cache content adjusting method, device and system
US9065809B2 (en) Method and node for distributing electronic content in a content distribution network
US9660922B2 (en) Network assisted rate shifting for adaptive bit rate streaming
US10320870B2 (en) Method and apparatus for carrier controlled dynamic rate adaptation and client playout rate reduction
US9191322B2 (en) Methods, apparatus and computer readable medium for managed adaptive bit rate for bandwidth reclamation
US20100312861A1 (en) Method, network, and node for distributing electronic content in a content distribution network
KR102080116B1 (en) Method and apparatus for assigning video bitrate in mobile communicatino system
US20160295429A1 (en) System, method and service product for content delivery
US20070140113A1 (en) Method for providing quality-of-service based services in a packet network
US9178929B2 (en) Client-side class-of-service-based bandwidth management in over-the-top video delivery
KR102123439B1 (en) CONGESTION MITIGATION METHOD AND APPARATUS TO MAXIMIZE QoE OF VIEOD TRAFFIC IN MOBILE NETWORKS
US20150172354A1 (en) Content-delivery transfer for cooperative delivery systems
US20150172135A1 (en) Dynamic bandwidth allocation for cooperative delivery systems
CN110771122A (en) Method and network node for enabling a content delivery network to handle unexpected traffic surges
Bayhan et al. EdgeDASH: Exploiting network-assisted adaptive video streaming for edge caching
US8769047B1 (en) Delivery control for cooperative delivery systems
CN106209952B (en) Service node distribution method and device, CDN management server and system
Hayamizu et al. QoE-aware bitrate selection in cooperation with in-network caching for information-centric networking
US11627358B2 (en) Communication entity and a method for transmitting a video data stream
JP7222748B2 (en) Receiving device and distribution server
Seyedebrahimi et al. Client QoE-oriented segment selection for DASH
EP2885940B1 (en) Throttling cell notification
KR101424503B1 (en) Apparatus and mehtod for controlling traffic
KR20140075829A (en) System and Method of Providing Contents with TIC Server and CDN
JP5749516B2 (en) Video distribution system, IP (Internet Protocol) network device, and video distribution program

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