CN112995693B - Intelligent processing method of streaming media file, control panel and computer readable storage medium - Google Patents

Intelligent processing method of streaming media file, control panel and computer readable storage medium Download PDF

Info

Publication number
CN112995693B
CN112995693B CN202110241394.XA CN202110241394A CN112995693B CN 112995693 B CN112995693 B CN 112995693B CN 202110241394 A CN202110241394 A CN 202110241394A CN 112995693 B CN112995693 B CN 112995693B
Authority
CN
China
Prior art keywords
streaming media
media file
caching
playing
target
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
CN202110241394.XA
Other languages
Chinese (zh)
Other versions
CN112995693A (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.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo 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 Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202110241394.XA priority Critical patent/CN112995693B/en
Publication of CN112995693A publication Critical patent/CN112995693A/en
Application granted granted Critical
Publication of CN112995693B publication Critical patent/CN112995693B/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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • 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/80Responding to QoS
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention discloses an intelligent processing method of a streaming media file, a control panel and a computer readable storage medium. Wherein the method comprises the following steps: when the file caching status of the streaming media file playing device when playing the target streaming media file meets a preset first condition, the streaming media file playing device broadcasts a request for assisting in caching to the local area network, so that the streaming media file caching device which receives the request in the local area network feeds back network connection status information to the streaming media file playing device; when the streaming media file playing device judges that the network connection state information meets a preset second condition, the streaming media file playing device sends an instruction for requesting the streaming media file caching device to cache the target streaming media file to the network server, so that the streaming media file caching device requests the streaming media file to be cached to the network server after receiving the instruction, and sends the cached target streaming media file to the streaming media file playing device after the streaming media file caching device caches the target streaming media file, thereby providing a more smooth streaming media file processing scheme for a user and simultaneously ensuring that the intelligent home device cannot have the problems of clamping and unsmooth in the implementation process of executing other functions.

Description

Intelligent processing method of streaming media file, control panel and computer readable storage medium
Technical Field
The present invention relates to the field of smart home technologies, and in particular, to an intelligent processing method for a streaming media file, a control panel, and a computer readable storage medium.
Background
In the prior art, along with the rapid development of the internet of things technology and the wide popularization of intelligent home, the processing requirement of users on streaming media files of intelligent home equipment is also higher and higher. For example, in the environment of smart home, network music or network video is played through a control panel of a wall surface, so that users are provided with audiovisual enjoyment anytime and anywhere.
However, in the existing smart home environment, when a single smart device plays online music, because there may be a situation that the network speed is slow or the data volume of the streaming media files such as songs is large, at this time, the streaming media files such as songs that play online may be cached untimely, which generally causes problems of playing stuck and unsmooth. In the prior art, in order to solve the above technical problems, the proposed solution is to increase the download threads based on the above single device, thereby improving the progress of the cache. However, in the solution, the intelligent home devices such as the control panel and the like are not considered, and the execution and the scheduling of the multifunctional tasks are also required, and if the downloading threads are singly increased for a single device, other function implementation of the device may be affected, further the phenomena of blocking and unsmooth are further aggravated, and the user experience is poor.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides an intelligent processing method of a streaming media file, which is applied to streaming media file playing equipment, and the method comprises the following steps:
when the file caching status of the streaming media file playing device when playing the target streaming media file meets a preset first condition, the streaming media file playing device broadcasts a request for assisting in caching the target streaming media file to the local area network, so that the streaming media file caching device which receives the request in the local area network feeds back the network connection status information of the streaming media file caching device and a network server for storing the target streaming media file to the streaming media file playing device;
when the streaming media file playing device judges that the network connection state information meets a preset second condition, the streaming media file playing device sends an instruction for requesting the streaming media file caching device to cache the target streaming media file to the network server, so that the streaming media file caching device requests the streaming media file to be cached to the network server after receiving the instruction, and sends the cached target streaming media file to the streaming media file playing device after the streaming media file caching device caches the target streaming media file.
Optionally, the first condition is that the playing progress of the streaming media file playing device when playing the target streaming media file is faster than the buffering progress.
Optionally, the network connection state information is transmission link on-off state information and transmission bandwidth information between the streaming media file cache device and a network server storing the target streaming media file.
Optionally, the second condition is that the transmission link is successfully established, and the transmission bandwidth is greater than a preset first bandwidth threshold.
Optionally, before the step of sending, by the streaming media file playing device, an instruction to the streaming media file caching device to request to the network server to cache the target streaming media file, the method includes:
determining the current caching progress of the streaming media file playing device when playing the target streaming media file;
and determining the data to be cached of the target streaming media file according to the current caching progress.
Optionally, the step of sending, by the streaming media file playing device, an instruction to the streaming media file caching device to request to cache the target streaming media file from the network server specifically includes:
determining a first transmission bandwidth when the streaming media file playing device plays the target streaming media file and a second transmission bandwidth when the streaming media file caching device caches the target streaming media file;
dividing data to be cached into first data to be cached and second data to be cached according to the proportional relation between the first transmission bandwidth and the second transmission bandwidth, respectively serving as a caching task of the streaming media file playing device and a caching task of the streaming media file caching device, and sending the caching task of the streaming media file caching device to the streaming media file caching device.
Optionally, the number of the streaming media file cache devices is multiple, and the second data to be cached is divided according to the proportion relation of the second transmission bandwidths of the streaming media file cache devices and is used as the cache task of each streaming media file cache device.
Optionally, after the step of sending, by the streaming media file playing device, an instruction to the streaming media file caching device to request to the network server to cache the target streaming media file, the method includes:
determining a third transmission bandwidth of each streaming media file cache device and each streaming media file playing device;
and synchronously reducing the buffer tasks of the streaming media file buffer devices with the third transmission bandwidth smaller than the second bandwidth threshold.
The invention also provides a control panel which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the intelligent processing method of the streaming media file according to any one of the above steps when being executed by the processor.
The invention also provides a computer readable storage medium, the computer readable storage medium stores an intelligent processing program of the streaming media file, and the intelligent processing program of the streaming media file realizes the steps of the intelligent processing method of the streaming media file when being executed by a processor.
The intelligent processing method, the control panel and the computer readable storage medium for the streaming media file implement the invention. When the file caching status of the streaming media file playing device when playing the target streaming media file meets a preset first condition, the streaming media file playing device broadcasts a request for assisting in caching the target streaming media file to the local area network, so that the streaming media file caching device which receives the request in the local area network feeds back the network connection status information of the streaming media file caching device and a network server for storing the target streaming media file to the streaming media file playing device; then, when the streaming media file playing device judges that the network connection state information meets a preset second condition, the streaming media file playing device sends an instruction for requesting the streaming media file caching device to cache the target streaming media file to the network server, so that the streaming media file caching device requests the streaming media file to be cached to the network server after receiving the instruction, and sends the cached target streaming media file to the streaming media file playing device after the streaming media file caching device caches the target streaming media file, thereby providing a smoother streaming media file processing scheme for a user and simultaneously ensuring that the intelligent home device cannot have the problems of blocking and unsmooth in the process of executing other functions.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a flow chart of a method for intelligent processing of streaming media files according to an embodiment of the present application;
fig. 2 is a flow chart of an intelligent processing method for a streaming media file according to another embodiment of the present application;
fig. 3 is a flow chart of an intelligent processing method for a streaming media file according to another embodiment of the present application;
fig. 4 is a flow chart of an intelligent processing method for a streaming media file according to another embodiment of the present application;
FIG. 5 is a block diagram of a control panel provided in accordance with yet another embodiment of the present application;
fig. 6 is a block diagram of a computer-readable storage medium according to still another embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
With the rapid development of the internet of things technology and the wide popularization of smart home, the processing requirements of users on streaming media files of smart home devices are also higher and higher. For example, in the environment of smart home, network music or network video is played through a control panel of a wall surface, so that users are provided with audiovisual enjoyment anytime and anywhere. However, in the existing smart home environment, when a single smart device plays online music, because there may be a situation that the network speed is slow or the data volume of the streaming media files such as songs is large, at this time, the streaming media files such as songs that play online may be cached untimely, which generally causes problems of playing stuck and unsmooth. In the prior art, in order to solve the above technical problems, the proposed solution is to increase the download threads based on the above single device, thereby improving the progress of the cache. However, in the solution, the intelligent home devices such as the control panel and the like are not considered, and the execution and the scheduling of the multifunctional tasks are also required, and if the downloading threads are singly increased for a single device, other function implementation of the device may be affected, further the phenomena of blocking and unsmooth are further aggravated, and the user experience is poor. Therefore, in order to avoid the problems of blocking and unsmooth in the function implementation process of the intelligent household equipment, a smoother streaming media file processing scheme is provided for the user, and the use experience of the user is enhanced.
The inventor proposes an intelligent processing method, a control panel and a computer readable storage medium for a streaming media file, so that an intelligent home device can provide a smoother streaming media file processing experience for a user, and the inventor proposes an intelligent processing scheme for a streaming media file, and when a file cache state when a streaming media file playing device plays a target streaming media file meets a preset first condition, the streaming media file playing device broadcasts a request for assisting in caching the target streaming media file to a local area network, so that the streaming media file caching device receiving the request in the local area network feeds back network connection state information of the streaming media file caching device and a network server storing the target streaming media file to the streaming media file playing device; then, when the streaming media file playing device judges that the network connection state information meets a preset second condition, the streaming media file playing device sends an instruction for requesting the streaming media file caching device to cache the target streaming media file to the network server, so that the streaming media file caching device requests the streaming media file to be cached to the network server after receiving the instruction, and sends the cached target streaming media file to the streaming media file playing device after the streaming media file caching device caches the target streaming media file, thereby providing a smoother streaming media file processing scheme for a user and simultaneously ensuring that the intelligent home device cannot have the problems of blocking and unsmooth in the process of executing other functions.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Example 1
Referring to fig. 1, fig. 1 is a flow chart illustrating a method for intelligently processing a streaming media file according to an embodiment of the present application. The intelligent processing scheme of the streaming media file provided by the embodiment is not only suitable for a control panel for controlling intelligent home equipment in an intelligent home environment, but also suitable for any networking equipment in the same home network range in an intelligent home environment, and can determine corresponding intelligent processing schemes according to processing equipment of different streaming media files, so that the streaming media file processing requirements of a plurality of devices in the intelligent home environment can be met.
S1, when a file caching state of the streaming media file playing device when playing a target streaming media file meets a preset first condition, the streaming media file playing device broadcasts a request for assisting in caching the target streaming media file to a local area network, so that the streaming media file caching device in the local area network receives the request and feeds back network connection state information of the streaming media file caching device and a network server storing the target streaming media file to the streaming media file playing device.
In this embodiment, after receiving a play instruction of a user to a target streaming media file, a streaming media file playing device connects a network server stored in the target streaming media file to a network to which the streaming media file playing device is currently connected; inquiring whether the configuration option of the current streaming media file playing device is to play the streaming media file while buffering, if yes, when the streaming media file playing device is successfully connected with the network server through the current accessed network, starting buffering the buffering data of the streaming media file returned by the network server through the current accessed network by the streaming media file playing device, and starting playing the streaming media file synchronously or after a preset time is delayed. In this embodiment, a file buffer status of the streaming media file playing device for buffering the buffered data of the streaming media file is monitored in real time, and meanwhile, a first condition in the monitoring process is determined, where the first condition is that a buffer progress of the streaming media file playing device for buffering the buffered data of the streaming media file cannot meet a playing progress of the streaming media file playing device for playing the streaming media file. Specifically, when the file buffering state of the streaming media file playing device when playing the target streaming media file is that the buffering progress of the streaming media file playing device for buffering the buffering data of the streaming media file cannot meet the playing progress of the streaming media file playing device, the streaming media file playing device broadcasts a request for assisting in buffering the target streaming media file to a local area network, wherein the local area network where the streaming media file playing device is located can be formed according to each networking device in the same intelligent home environment. In this embodiment, when the buffering progress of the streaming media file playing device for buffering the buffered data of the streaming media file cannot meet the playing progress of the streaming media file played by the streaming media file playing device, a request for assisting in buffering the target streaming media file is broadcasted to the local area network where the streaming media file playing device is located, so that other networking devices of the local area network can assist the streaming media file playing device in buffering the buffered data of the streaming media file. In this embodiment, in order to determine whether other networking devices of the local area network can assist the streaming media file playing device in caching the streaming media file, network connection status information of the other networking devices of the local area network and a network server storing the target streaming media file is first determined, then, other networking devices capable of meeting the above-mentioned auxiliary caching requirement in the network connection status information are used as streaming media file caching devices of this embodiment, and the network connection status information of the streaming media file caching devices is fed back to the streaming media file playing device, so that the streaming media file playing device can conveniently perform subsequent task allocation of remaining caching data according to needs.
And S2, when the streaming media file playing device judges that the network connection state information meets a preset second condition, the streaming media file playing device sends an instruction for requesting the streaming media file caching device to cache the target streaming media file to the network server, so that the streaming media file caching device requests the streaming media file caching device to cache the target streaming media file to the network server after receiving the instruction, and sends the cached target streaming media file to the streaming media file playing device after the streaming media file caching device caches the target streaming media file.
In this embodiment, in order to facilitate the streaming media file playing device to perform subsequent allocation of the remaining buffer data according to needs, first, a second condition is set for the network connection status information returned by the streaming media file buffering device, where the second condition is that the streaming media file buffering device can complete the buffer task allocated for the streaming media file as required, and specifically, the second condition includes, but is not limited to, a connection status with a network server, a transmission delay with the network server, and a transmission bandwidth with the network server. It can be understood that, in order to obtain the cached data capable of meeting the streaming media file playing device to cache the streaming media file, the embodiment screens the streaming media file caching device according to the set second condition, so as to determine that a proper number of streaming media file caching devices meeting the caching requirement are obtained. In this embodiment, after determining that the streaming media file caching device meets the preset second condition, the streaming media file playing device sends an instruction for requesting the network server to cache the target streaming media file to the streaming media file caching device, so that the streaming media file caching device requests the network server to cache the target streaming media file after receiving the instruction. Meanwhile, in order to solve the problem that the buffering progress of a single streaming media file playing device is delayed from the playing progress, in this embodiment, after the streaming media file buffering device buffers the target streaming media file, the buffered target streaming media file is timely sent to the streaming media file playing device, so that the buffering progress of the streaming media file playing device is indirectly prior to the playing progress, and the requirement that the streaming media file playing device plays the streaming media file in real time is met.
The method has the advantages that when the fact that the file caching state of the streaming media file playing device when playing the target streaming media file meets the preset first condition is recognized, the streaming media file playing device broadcasts a request for assisting in caching the target streaming media file to the local area network, so that the streaming media file caching device which receives the request in the local area network feeds back the network connection state information of the streaming media file caching device and the network server which stores the target streaming media file to the streaming media file playing device; then, when the streaming media file playing device judges that the network connection state information meets a preset second condition, the streaming media file playing device sends an instruction for requesting the streaming media file caching device to cache the target streaming media file to the network server, so that the streaming media file caching device requests the streaming media file to be cached to the network server after receiving the instruction, and sends the cached target streaming media file to the streaming media file playing device after the streaming media file caching device caches the target streaming media file, thereby providing a smoother streaming media file processing scheme for a user and simultaneously ensuring that the intelligent home device cannot have the problems of blocking and unsmooth in the process of executing other functions.
Example two
Based on the above embodiment, in this embodiment, in order to further determine whether the buffering progress of the streaming media file playing device for buffering the buffered data of the streaming media file can meet the playing progress of the streaming media file played by the streaming media file playing device, the first condition is set such that the playing progress of the streaming media file playing device when playing the target streaming media file is faster than the buffering progress. Specifically, determining that the playing progress of the target streaming media file is later than the buffering progress, for example, when the playing progress is 1 minute 15 seconds, the buffering progress is 1 minute 18 seconds, and determining that the buffering progress of the buffered data of the streaming media file can meet the playing progress of the streaming media file by the streaming media file playing device; if the playing progress is 1 minute 15 seconds, at this time, the buffering progress is 1 minute 14 seconds, or 1 minute 15 seconds, at this time, it is determined that the buffering progress of the buffered data of the streaming media file cannot meet the playing progress of the streaming media file played by the streaming media file playing device. In another setting scheme of the first condition, whether the time of playing progress of playing the target streaming media file is later than the time of caching progress is larger than the preset time or not is determined. For example, if the preset time is 2 seconds, and the playing progress is 3 seconds later than the buffering progress, that is, when the playing progress is 1 minute 15 seconds, the buffering progress is 1 minute 18 seconds, and at this time, it is determined that the buffering progress of the buffered data of the streaming media file can meet the playing progress of the streaming media file played by the streaming media file playing device; if the playing progress is 1 second later than the buffering progress, that is, when the playing progress is 1 minute 15 seconds, the buffering progress is 1 minute 16 seconds, and at this time, it is determined that the buffering progress of the buffered data of the streaming media file cannot meet the playing progress of the streaming media file playing device for playing the streaming media file. In still another setting scheme of the first condition, it is determined whether a time of playing the target streaming media file at which the playing progress is later than the buffering progress is in a decreasing state. For example, if the magnitude of the time in the decreasing state is 2 seconds, at the first moment, the playing progress is 10 seconds later than the buffering progress, that is, when the playing progress is 1 minute 15 seconds, at this time, the buffering progress is 1 minute 25 seconds, at the second moment, the playing progress is 7 seconds later than the buffering progress, that is, when the playing progress is 1 minute 15 seconds, at this time, the buffering progress is 1 minute 22 seconds, at the third moment, the playing progress is 4 seconds later than the buffering progress, that is, when the playing progress is 1 minute 15 seconds, at this time, the buffering progress is 1 minute 19 seconds, at this time, it is determined that the buffering progress of the buffered data of the streaming media file cannot satisfy the playing progress of the streaming media file by the streaming media file playing device.
Based on the above embodiment, in this embodiment, in order to further determine that the streaming media file playing device can perform subsequent allocation of the buffer task of the remaining buffer data as required, qualified and appropriate streaming media file buffer devices are determined, and the network connection state information is set to be transmission link on-off state information and transmission bandwidth information between the streaming media file buffer devices and a network server storing the target streaming media file. Specifically, the on-off state information of the transmission link between the network servers of the target streaming media file includes: first, whether a transmission connection can be successfully established with the network server, second, including a transmission delay when the transmission connection is established with the network server, and third, including transmission bandwidth information when the transmission connection is established with the network server. Optionally, in this embodiment, the lowest bandwidth value of the transmission bandwidth is set, and or the highest delay value of the transmission delay when the transmission connection is established with the network server is set, so that in the streaming media file cache device which can successfully establish the transmission connection with the network server, the streaming media file cache device with the transmission delay greater than the highest delay value when the transmission connection is established with the network server and the streaming media file cache device with the transmission bandwidth less than the lowest bandwidth value when the transmission connection is established with the network server are further removed, thereby further improving the efficiency of the allocation and execution of the subsequent cache tasks and avoiding the waste of processing resources.
Based on the foregoing embodiments, in this embodiment, in order to further determine that the streaming media file cache device is capable of executing the subsequent buffering task of the remaining buffered data as needed, the second condition of this embodiment is that the transmission link is successfully established, and the transmission bandwidth is greater than a preset first bandwidth threshold, where the first bandwidth threshold may be set according to the configuration of the system, and may also be determined according to the current network bandwidth of the streaming media file device itself, for example, a half of the current network bandwidth of the streaming media file device itself is used as the first bandwidth threshold of this embodiment, so as to improve the flexibility of selecting the streaming media file cache device according to this scheme.
Referring to fig. 2, fig. 2 is a flow chart illustrating a method for intelligent processing of a streaming media file according to another embodiment of the present application. In this embodiment, before the step of sending, to the streaming media file caching device, an instruction for requesting to cache the target streaming media file from the network server, the streaming media file playing device includes the following steps.
S11, determining the current caching progress of the streaming media file playing device when playing the target streaming media file.
In this embodiment, a buffering progress of a streaming media file being played is determined, so that data to be buffered is distributed to streaming media file playing equipment and streaming media file buffering equipment to jointly execute a buffering task; optionally, determining a buffering progress of a streaming media file being played, so that data to be buffered is distributed to one or more streaming media file buffering devices to execute a buffering task, and the streaming media file playing device does not execute the subsequent buffering task; optionally, determining a buffering progress of a group of streaming media files being played, so that data to be buffered of a current playing file in the group of streaming media files is distributed to streaming media file playing equipment to execute a buffering task, and data to be buffered of a current non-playing file in the group of streaming media files is distributed to streaming media file buffering equipment to execute the buffering task.
And S12, determining the data to be cached of the target streaming media file according to the current caching progress. Also, as described above, according to the actual streaming media file buffering requirement, the data to be buffered of the target streaming media file is determined. For example, determining the buffering progress of a streaming media file being played, distributing data to be buffered to streaming media file playing equipment and streaming media file buffering equipment to jointly execute buffering tasks; optionally, determining a buffering progress of a streaming media file being played, and distributing data to be buffered to one or more streaming media file buffering devices to execute a buffering task, wherein the streaming media file playing device does not execute a subsequent buffering task; optionally, determining a buffering progress of a group of streaming media files being played, distributing data to be buffered of a current playing file in the group of streaming media files to streaming media file playing equipment to execute a buffering task, and distributing data to be buffered of a current non-playing file in the group of streaming media files to streaming media file buffering equipment to execute the buffering task; optionally, determining the buffering progress of a group of streaming media files being played, distributing data to be buffered of a current playing file in the group of streaming media files to one streaming media file buffering device to execute a buffering task, and distributing data to be buffered of a current non-playing file in the group of streaming media files to the streaming media file buffering devices of corresponding numbers according to the number of files in sequence, so that one streaming media file buffering device executes the buffering task of one streaming media file.
Referring to fig. 3, fig. 3 is a flow chart illustrating a method for intelligently processing a streaming media file according to another embodiment of the present application. In this embodiment, the step of sending, by the streaming media file playing device, an instruction to the streaming media file caching device to request to cache the target streaming media file from the network server includes the following steps.
S21, determining a first transmission bandwidth when the streaming media file playing device plays the target streaming media file, and determining a second transmission bandwidth when the streaming media file caching device caches the target streaming media file. In order to facilitate reasonable division of the buffering task when the buffering task of the data to be buffered is executed together by the streaming media file playing device and the streaming media file buffering device, in this embodiment, the dividing ratio of the buffering task is determined according to the bandwidth ratio, that is, a first transmission bandwidth when the streaming media file playing device plays the target streaming media file and a second transmission bandwidth when the streaming media file buffering device buffers the target streaming media file are determined.
S22, dividing the data to be cached into first data to be cached and second data to be cached according to the proportional relation between the first transmission bandwidth and the second transmission bandwidth, respectively serving as a caching task of the streaming media file playing device and a caching task of the streaming media file caching device, and sending the caching task of the streaming media file caching device to the streaming media file caching device. Specifically, for example, in an intelligent home environment, when the current streaming media file playing device a determines that other streaming media file caching devices are required to perform auxiliary caching, if it is determined that the streaming media file caching device B is a device capable of performing auxiliary caching, it is determined that the network bandwidth of the streaming media file caching device B is determined, and if it is determined that the network bandwidth of the streaming media file playing device a is greater than the bandwidth of the streaming media file caching device B, data to be cached is sequentially allocated from large to small according to the device a and the device B. Further, if the bandwidth ratio of the detected device a to the detected device B is 4:3, (device a) 4: the proportion of (device B) 3 performs allocation of data to be buffered.
In this embodiment, optionally, the number of the streaming media file buffer devices is multiple, and the second data to be buffered is divided according to a proportion relation of the second transmission bandwidths of the streaming media file buffer devices, and the second data to be buffered is used as a buffering task of each streaming media file buffer device. Specifically, for example, in an intelligent home environment, when the current streaming media file playing device a determines that other streaming media file caching devices are required to perform auxiliary caching, if it is determined that 3 streaming media file caching devices B, C and D are available for auxiliary caching, network bandwidths of the streaming media file caching device B, C and D are determined, if it is determined that the network bandwidth of the streaming media file caching device B is greater than the streaming media file caching device C, and the network bandwidth of the streaming media file caching device C is greater than the streaming media file caching device D, and the network bandwidth of the streaming media file playing device a is greater than all the streaming media file caching devices, the data to be cached are sequentially allocated from large to small according to the order of the devices a, B, C and D. Further, if it is detected that the bandwidth ratio of the device a, the device B, the device C, and the device D is 4:3:2:1, (device a) 4: (device B) 3: (device C) 2: the proportion of (device D) 1 makes allocation of data to be buffered.
Referring to fig. 4, fig. 4 is a flow chart illustrating a method for intelligently processing a streaming media file according to another embodiment of the present application. In this embodiment, after the step of sending, to the streaming media file caching device, an instruction for requesting the network server to cache the target streaming media file, the streaming media file playing device includes the following steps.
S31, determining a third transmission bandwidth of each streaming media file caching device and each streaming media file playing device.
In this embodiment, when the streaming media file playing device performs the allocation of the buffering task, if the assisted buffering progress still cannot precede the playing progress, the buffering tasks of the streaming media file buffering devices are allocated reasonably again according to different third transmission bandwidths by determining the third transmission bandwidths of the streaming media file buffering devices and the streaming media file playing device.
S32, increasing the buffer task of the streaming media file buffer device with the third transmission bandwidth larger than a second bandwidth threshold, and synchronously reducing the buffer task of the streaming media file buffer device with the third transmission bandwidth smaller than the second bandwidth threshold.
In this embodiment, specifically, the buffer tasks of the streaming media file buffer device with the third transmission bandwidth greater than the second bandwidth threshold are added, and according to the ratio exceeding the second bandwidth threshold, the adding ratio of the buffer tasks of the streaming media file buffer device is determined, and at the same time, the buffer tasks of the streaming media file buffer device with the third transmission bandwidth less than the second bandwidth threshold are reduced, and according to the ratio less than the second bandwidth threshold, the reducing ratio of the buffer tasks of the streaming media file buffer device is determined. Optionally, another implementation manner of this embodiment is that third transmission bandwidths of the streaming media file cache devices and the streaming media file playing device are determined, a fourth bandwidth threshold smaller than the second bandwidth threshold is set at the same time, at this time, the cache tasks of all the streaming media file cache devices with the third transmission bandwidths being greater than the second bandwidth threshold are added, the adding proportion of the cache tasks of the streaming media file cache devices is determined according to the proportion exceeding the second bandwidth threshold, at the same time, the cache tasks of all the streaming media file cache devices with the third transmission bandwidths being smaller than the second bandwidth threshold and greater than the fourth bandwidth threshold are reduced, the cache tasks of all the streaming media file cache devices with the third transmission bandwidths being smaller than the fourth bandwidth threshold are cancelled, and the reducing proportion of the cache tasks of the remaining streaming media file cache devices is determined according to the proportion smaller than the second bandwidth threshold. Therefore, the flexibility of each streaming media file caching device in the process of carrying out caching task allocation is further improved, so that the streaming media file playing device can carry out adaptive adjustment on caching task allocation in time in the face of different local area network environments, and the applicability, timeliness and effectiveness of the intelligent processing scheme of the streaming media file are improved.
Example III
Referring to fig. 5, fig. 5 is a block diagram illustrating a control panel according to another embodiment of the present application. The invention also proposes a control panel 500, the control panel 500 comprising a memory 501, a processor 502 and a computer program stored on said memory and executable on said processor, said computer program implementing the steps of the intelligent processing method of streaming media files according to any of the above when executed by said processor.
It should be noted that the control panel embodiment and the method embodiment belong to the same concept, the specific implementation process of the control panel embodiment is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the control panel embodiment, which is not repeated herein.
Example IV
Referring to fig. 6, fig. 6 shows a block diagram of a computer readable storage medium according to still another embodiment of the present application. The present invention also proposes a computer readable storage medium 600, on which a smart processing program 601 for a streaming media file is stored, the smart processing program for a streaming media file implementing the steps of the smart processing method for a streaming media file according to any one of the above when being executed by a processor.
It should be noted that the medium embodiment and the method embodiment belong to the same concept, the specific implementation process of the medium embodiment and the method embodiment are detailed, and technical features in the method embodiment are correspondingly applicable in the medium embodiment, which is not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (8)

1. An intelligent processing method of a streaming media file, which is applied to streaming media file playing equipment, is characterized in that the method comprises the following steps:
when the file caching status of the streaming media file playing device when playing the target streaming media file meets a preset first condition, the streaming media file playing device broadcasts a request for assisting in caching the target streaming media file to a local area network, so that the streaming media file caching device which receives the request in the local area network feeds back the network connection status information of the streaming media file caching device and a network server which stores the target streaming media file to the streaming media file playing device;
when the streaming media file playing device judges that the network connection state information meets a preset second condition, the streaming media file playing device sends an instruction for requesting the streaming media file to be cached to the network server to the streaming media file caching device, so that the streaming media file caching device requests the streaming media file to be cached to the network server after receiving the instruction, and sends the cached streaming media file to the streaming media file playing device after the streaming media file caching device caches the streaming media file;
the step of sending, by the streaming media file playing device, an instruction to the streaming media file caching device to request to cache the target streaming media file from the network server, specifically includes:
determining a first transmission bandwidth when the streaming media file playing device plays the target streaming media file, and a second transmission bandwidth when the streaming media file caching device caches the target streaming media file;
dividing data to be cached into first data to be cached and second data to be cached according to the proportional relation between the first transmission bandwidth and the second transmission bandwidth, respectively serving as a caching task of the streaming media file playing device and a caching task of the streaming media file caching device, and sending the caching task of the streaming media file caching device to the streaming media file caching device;
after the step that the streaming media file playing device sends an instruction for requesting the network server to cache the target streaming media file to the streaming media file caching device, the method includes:
determining a third transmission bandwidth of each streaming media file cache device and each streaming media file playing device;
and increasing the buffer task of the streaming media file buffer device with the third transmission bandwidth being larger than a second bandwidth threshold value, and synchronously reducing the buffer task of the streaming media file buffer device with the third transmission bandwidth being smaller than the second bandwidth threshold value.
2. The intelligent processing method of a streaming media file according to claim 1, wherein the first condition is that a playing progress of the streaming media file playing device when playing the target streaming media file is faster than a buffering progress.
3. The intelligent processing method of the streaming media file according to claim 1, wherein the network connection status information is transmission link on-off status information and transmission bandwidth information between the streaming media file caching device and a network server storing the target streaming media file.
4. The intelligent processing method of a streaming media file according to claim 3, wherein the second condition is that the transmission link is successfully established, and the transmission bandwidth is greater than a preset first bandwidth threshold.
5. The intelligent processing method according to any one of claims 1 to 4, wherein before the step of sending, by the streaming media file playing device, an instruction to the streaming media file caching device to request to the web server to cache the target streaming media file, the method comprises:
determining the current caching progress of the streaming media file playing device when playing the target streaming media file;
and determining the data to be cached of the target streaming media file according to the current caching progress.
6. The intelligent processing method for streaming media files according to claim 5, wherein:
and dividing the second data to be cached according to the proportion relation of the second transmission bandwidths of the streaming media file caching devices, and respectively serving as the caching tasks of the streaming media file caching devices.
7. A control panel, characterized in that it comprises a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor realizes the steps of the intelligent processing method of streaming media files according to any of claims 1-6.
8. A computer readable storage medium, wherein a smart processing program of a streaming media file is stored on the computer readable storage medium, and the smart processing program of the streaming media file, when executed by a processor, implements the steps of the smart processing method of the streaming media file according to any one of claims 1 to 6.
CN202110241394.XA 2021-03-04 2021-03-04 Intelligent processing method of streaming media file, control panel and computer readable storage medium Active CN112995693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110241394.XA CN112995693B (en) 2021-03-04 2021-03-04 Intelligent processing method of streaming media file, control panel and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110241394.XA CN112995693B (en) 2021-03-04 2021-03-04 Intelligent processing method of streaming media file, control panel and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112995693A CN112995693A (en) 2021-06-18
CN112995693B true CN112995693B (en) 2023-04-28

Family

ID=76352800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110241394.XA Active CN112995693B (en) 2021-03-04 2021-03-04 Intelligent processing method of streaming media file, control panel and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112995693B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512761A (en) * 2018-03-02 2018-09-07 咪咕文化科技有限公司 File transmission dispatching method, management platform, request platform and storage medium
CN112671661A (en) * 2020-12-24 2021-04-16 广州市网优优信息技术开发有限公司 Internet of things data transmission method and system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103549A (en) * 2009-12-18 2011-06-22 上海华虹集成电路有限责任公司 Method for replacing cache
CN103369013A (en) * 2012-04-09 2013-10-23 厦门毅想通信研发中心有限公司 Data transmission method, data transmission apparatus and electronic device
CN103634336A (en) * 2012-08-21 2014-03-12 宏碁股份有限公司 File collaborative download system, apparatus and method
CN103856531A (en) * 2012-12-05 2014-06-11 中国科学院深圳先进技术研究院 Local area network downloading device and method based on multiple collaborators
CN103152410B (en) * 2013-02-25 2015-09-23 广东欧珀移动通信有限公司 The method of mobile device downloading data and device
CN103327101B (en) * 2013-06-21 2017-02-08 上海交通大学 Mobile terminal collaboration downloading method
CN106028259A (en) * 2016-04-28 2016-10-12 北京小米移动软件有限公司 Data download method and terminal
TWI749002B (en) * 2017-03-24 2021-12-11 圓剛科技股份有限公司 Multimedia data transmission method and multimedia data transmission system
CN107018192B (en) * 2017-03-31 2019-05-21 Oppo广东移动通信有限公司 Upgrade method, device and the audio-frequence player device of audio frequency broadcast system
US10924775B2 (en) * 2018-06-26 2021-02-16 Qualcomm Incorporated Uplink and downlink methods for efficient operation of live uplink streaming services
CN110519299A (en) * 2019-09-20 2019-11-29 惠州市新一代工业互联网创新研究院 A kind of internet intelligent terminal system and its application method for supporting multi-protocols adaptation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512761A (en) * 2018-03-02 2018-09-07 咪咕文化科技有限公司 File transmission dispatching method, management platform, request platform and storage medium
CN112671661A (en) * 2020-12-24 2021-04-16 广州市网优优信息技术开发有限公司 Internet of things data transmission method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张振辉 ; 戎蒙恬 ; 刘涛 ; .无线自组网路由协议仿真与实现.通信技术.2009,(第10期),全文. *

Also Published As

Publication number Publication date
CN112995693A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US7783773B2 (en) Glitch-free media streaming
CN108833996B (en) Service node selection, update and code rate self-adaption method in distributed DASH system
US8041830B2 (en) Media download method and system based on connection speed
US7673318B2 (en) Channel merging method for VOD system
CA2702191C (en) Systems and methods for managing advertising content corresponding to streaming media content
US20060020703A1 (en) Methods and systems for a receiver to allocate bandwidth among incoming communications flows
CN101478556B (en) Method and apparatus for downloading peer-to-peer transmitted data slice
CN106533932B (en) A kind of method and apparatus for pushing instant message
KR20210135338A (en) How to broadcast streaming content on a peer-to-peer (P2P) network
JP2003167813A (en) Stream data storing and distributing method and system
JP2000507428A (en) Client management flow control method and apparatus on finite memory computer system
WO2019128800A1 (en) Content service implementation method and device, and content delivery network node
CN105337901A (en) Router intelligent bandwidth allocation method and device
JP2005276079A (en) Data distribution server and data distribution system
JP2017168074A (en) Method and apparatus for controlling data transmission
CN111786901B (en) Transmission parameter self-adaptive adjustment method and acceleration service system
US20240106891A1 (en) Peer-to-peer network scheduling method and system
CN112995693B (en) Intelligent processing method of streaming media file, control panel and computer readable storage medium
EP4013006A1 (en) Method for playing on a player of a client device a content streamed in a network
CN101883124B (en) Data downloading method, device and system of on-demand system
CN109347967A (en) A kind of method and device obtaining audio, video data
KR20220130837A (en) A method for playing content streamed from the network on a player on a client device
CN114416013A (en) Data transmission method, data transmission device, electronic equipment and computer-readable storage medium
KR20220158275A (en) A method for playing content streamed over a network in a player on a client device
US6763439B1 (en) Disk throttling and priority queuing for streaming I/O

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