CN112995693A - 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
CN112995693A
CN112995693A CN202110241394.XA CN202110241394A CN112995693A CN 112995693 A CN112995693 A CN 112995693A CN 202110241394 A CN202110241394 A CN 202110241394A CN 112995693 A CN112995693 A CN 112995693A
Authority
CN
China
Prior art keywords
streaming media
media file
caching
target
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110241394.XA
Other languages
Chinese (zh)
Other versions
CN112995693B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

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 cache state of the streaming media file playing device during playing of the target streaming media file meets a preset first condition, the streaming media file playing device broadcasts a cache assisting request to the local area network, so that the streaming media file cache device receiving the request in the local area network feeds back network connection state information to the streaming media file playing device; when the streaming media file playing device judges that the network connection state information 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, 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 jamming and unsmooth flow 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 invention relates to the technical field of intelligent home furnishing, in particular to an intelligent processing method of 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 smart homes, the processing requirements of users on the streaming media files of smart home devices are higher and higher. For example, in the environment of smart homes, network music or network video is played through a control panel on a wall surface, so that audiovisual enjoyment is brought to users anytime and anywhere.
However, in the existing smart home environment, when a single smart device plays online music, due to the fact that the network speed is slow or the data volume of streaming media files such as songs is large, the streaming media files such as songs played online may be not cached in time, and this situation generally causes the problems of playing being blocked and unsmooth. In the prior art, in order to solve the above technical problem, a scheme is proposed in which downloading threads are increased based on the above single device, so as to improve the progress of caching. However, the solution does not consider that the smart home devices such as the control panel and the like need to bear the execution and scheduling of the multifunctional task, if the downloading threads are singly added for a single device, other function implementation of the device may be affected, the phenomena of unsmooth locking and unsmooth flowing are further emphasized, 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 comprises the following steps:
when the file cache state of the streaming media file playing device during playing of 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 cache device receiving the request in the local area network feeds back the network connection state information of the streaming media file cache 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 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, 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 a playing progress of the streaming media file playing device when playing the target streaming media file is faster than the caching progress.
Optionally, 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.
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 the network server to cache the target streaming media file, the method includes:
determining the current caching progress of the streaming media file playing equipment 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, where the instruction requests the network server to cache the target streaming media file 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 the data to be cached into first data to be cached and second data to be cached according to the proportional relation of 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, if there are multiple streaming media file caching devices, the second data to be cached is divided according to the proportional relationship of the second transmission bandwidths of the streaming media file caching devices, and the divided second data to be cached is respectively used as the caching tasks of the streaming media file caching devices.
Optionally, after the step of sending, by the streaming media file playing device, an instruction to the streaming media file caching device to request the network server to cache the target streaming media file, the method includes:
determining a third transmission bandwidth of each streaming media file caching device and each streaming media file playing device;
and increasing the caching task of the streaming media file caching device with the third transmission bandwidth larger than the second bandwidth threshold, and synchronously reducing the caching task of the streaming media file caching device with the third transmission bandwidth smaller than the second bandwidth threshold.
The invention also proposes a control panel comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method for intelligent processing of streaming media files as defined in any one of the above.
The present invention also provides a computer-readable storage medium, on which an intelligent processing program of a streaming media file is stored, and when being executed by a processor, the intelligent processing program of the streaming media file implements the steps of the intelligent processing method of the streaming media file as described in any one of the above.
The invention discloses an intelligent processing method of a streaming media file, a control panel and a computer readable storage medium. When recognizing that the file cache state of the streaming media file playing device 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 cache device receiving the request in the local area network feeds back the network connection state information of the streaming media file cache 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 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, 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 flow in the implementation 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 schematic flowchart of a method for intelligently processing a streaming media file according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for intelligently processing a streaming media file according to another embodiment of the present application;
fig. 3 is a flowchart illustrating a method for intelligently processing a streaming media file according to another embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for intelligently processing a streaming media file according to another embodiment of the present application;
FIG. 5 is a block diagram of a control panel according to another embodiment of the present application;
fig. 6 is a block diagram of a computer-readable storage medium according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the rapid development of the internet of things technology and the wide popularization of smart homes, the processing requirements of users on the streaming media files of the smart home devices are higher and higher. For example, in the environment of smart homes, network music or network video is played through a control panel on a wall surface, so that audiovisual enjoyment is brought to users anytime and anywhere. However, in the existing smart home environment, when a single smart device plays online music, due to the fact that the network speed is slow or the data volume of streaming media files such as songs is large, the streaming media files such as songs played online may be not cached in time, and this situation generally causes the problems of playing being blocked and unsmooth. In the prior art, in order to solve the above technical problem, a scheme is proposed in which downloading threads are increased based on the above single device, so as to improve the progress of caching. However, the solution does not consider that the smart home devices such as the control panel and the like need to bear the execution and scheduling of the multifunctional task, if the downloading threads are singly added for a single device, other function implementation of the device may be affected, the phenomena of unsmooth locking and unsmooth flowing are further emphasized, and the user experience is poor. Therefore, the problems of unsmooth and unsmooth operation in the function implementation process of the intelligent home device brought to the user are avoided, meanwhile, a more smooth streaming media file processing scheme is provided for the user, and the use experience of the user is enhanced.
Therefore, the inventor provides an intelligent processing method, a control panel and a computer-readable storage medium for a streaming media file, which are provided by an embodiment of the present application, so that an intelligent home device can provide a smoother streaming media file processing experience for a user, and in this embodiment, an intelligent processing scheme for a streaming media file is provided, in which a streaming media file playing device broadcasts a request for assisting in caching a target streaming media file to a local area network by recognizing that a file cache state when the streaming media file playing device plays the target streaming media file meets a preset first condition, so that the streaming media file caching device receiving the request in the local area network feeds back network connection state information between 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 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, 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 flow in the implementation process of executing other functions.
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an intelligent processing method for a streaming media file according to an embodiment of the present application. The intelligent processing scheme for streaming media files provided by this embodiment is not only applicable to an intelligent home environment through a control panel for controlling intelligent home devices, but also applicable to an intelligent home environment, and any networking device in the same home network range can determine a corresponding intelligent processing scheme according to different processing devices for streaming media files, so that the processing requirements for streaming media files of multiple devices in an intelligent home environment can be met, and this embodiment provides an intelligent processing method for streaming media files, which is applied to streaming media file playing devices, and the method includes:
s1, when the file caching status of the streaming media file playing device during playing the target streaming media file meets a first preset 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 the network connection status information between 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 playing instruction of a target streaming media file from a user, a streaming media file playing device connects a network server where the target streaming media file is stored 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 playing while caching, if so, when the streaming media file playing device is successfully connected with the network server through the currently accessed network, starting to cache the cache data of the streaming media file returned by the network server through the currently accessed network by the streaming media file playing device, and starting to play the streaming media file synchronously or after delaying preset time. In this embodiment, a file cache state of the streaming media file playing device for caching the cache 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 cache progress of the streaming media file playing device for caching the cache 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 caching state of the streaming media file playing device when playing the target streaming media file is that the caching progress of the streaming media file playing device for caching the caching data of the streaming media file cannot meet the playing progress of the streaming media file playing device for playing the streaming media file, the streaming media file playing device broadcasts a request for assisting in caching 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 all networking devices in the same intelligent home environment. In this embodiment, when 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 for playing the streaming media file, the request for assisting in buffering the target streaming media file is broadcast 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 buffering 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 to cache the cache data of the streaming media file, network connection state information of the other networking devices of the local area network and the network server storing the target streaming media file is first determined, then, other networking devices in the network connection state information that can meet the auxiliary cache requirement are used as the streaming media file caching device of this embodiment, and the network connection state information of such streaming media file caching device is fed back to the streaming media file playing device, so that the streaming media file playing device can perform subsequent cache task allocation of the remaining cache data as needed.
S2, when the streaming media file playing device determines that the network connection status information satisfies the second predetermined condition, the streaming media file playing device sends an instruction to the streaming media file caching device to request the network server to cache the target streaming media file, so that the streaming media file caching device requests the network server to cache the target streaming media file 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 cache task allocation of the remaining cache data as required, first, a second condition is set for network connection status information returned by the streaming media file caching device, where the second condition is that the streaming media file caching device can complete the cache task allocated to 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 cache data that can satisfy the requirement that the streaming media file playing device caches the streaming media file, in this embodiment, the streaming media file caching device is screened according to the set second condition, so as to determine to obtain the streaming media file caching devices that have the appropriate number and meet the caching requirement. In this embodiment, after determining the streaming media file caching device meeting the preset second condition, the streaming media file playing device sends an instruction to the streaming media file caching device to request the network server to cache the target streaming media file, 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 the 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 file cache state of the streaming media file playing device during playing of the target streaming media file meets the 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 cache device receiving the request in the local area network feeds back the network connection state information of the streaming media file cache 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 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, 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 flow in the implementation process of executing other functions.
Example two
Based on the foregoing embodiment, in this embodiment, in order to further determine whether the cache progress of the streaming media file playing device for caching the cache data of the streaming media file can meet the playing progress of the streaming media file playing device for playing the streaming media file, the first condition is set that the playing progress of the streaming media file playing device for playing the target streaming media file is faster than the cache progress. Specifically, it is determined that the playing progress of the target streaming media file is later than the caching progress, for example, when the playing progress is 1 minute and 15 seconds, at this time, the caching progress is 1 minute and 18 seconds, at this time, it is determined that the caching progress of the cached data of the streaming media file can meet the playing progress of the streaming media file playing device for playing the streaming media file; if the playing progress is 1 minute and 15 seconds, at this time, the caching progress is 1 minute and 14 seconds, or 1 minute and 15 seconds, and at this time, it is determined that the caching progress of the cached 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 another setting scheme of the first condition, it is determined whether a time that a playing progress of the target streaming media file is later than a buffering progress is greater than a preset time. For example, the preset time is 2 seconds, if the time that the playing progress is later than the caching progress is 3 seconds, that is, when the playing progress is 1 minute 15 seconds, at this time, the caching progress is 1 minute 18 seconds, at this time, it is determined that the caching progress of the cached data of the streaming media file can meet the playing progress of the streaming media file playing device for playing the streaming media file; if the time that the playing progress is later than the caching progress is 1 second, that is, when the playing progress is 1 minute 15 seconds, at this time, the caching progress is 1 minute 16 seconds, and at this time, it is determined that the caching progress of the cached 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 still another setting scheme of the first condition, it is determined whether a time at which a play progress is later than a buffering progress when the target streaming media file is played is in a decreasing state. For example, the amplitude of the time in the decreasing state is 2 seconds, if at the first time, the time that the playing progress is later than the buffering progress is 10 seconds, 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 time, the time that the playing progress is later than the buffering progress is 7 seconds, 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 time, the time that the playing progress is later than the buffering progress is 4 seconds, 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 meet the playing progress of the streaming media file playing device.
Based on the foregoing embodiment, in this embodiment, in order to further determine that the streaming media file playing device can perform subsequent cache task allocation of the remaining cache data as required, and determine a qualified and appropriate streaming media file cache device, the network connection state information is set as the transmission link on-off state information and the transmission bandwidth information between the streaming media file cache device and the network server storing the target streaming media file. Specifically, the information on the on-off state of the transmission link between the network servers of the target streaming media file includes: first, whether a transport connection can be successfully established with the network server, second, including a transport delay when the transport connection is established with the network server, and third, including transport bandwidth information when the transport connection is established with the network server. Optionally, in this embodiment, a lowest bandwidth value of the transmission bandwidth is set, and or a highest latency value of the transmission delay when the transmission connection is established with the network server is set, so that, in the streaming media file caching device that is determined to be able to successfully establish the transmission connection with the network server, the streaming media file caching device whose transmission delay when the transmission connection is established with the network server is greater than the highest latency value, and or the streaming media file caching device whose transmission bandwidth when the transmission connection is established with the network server is smaller than the lowest bandwidth value is further removed, thereby further improving the efficiency of allocation and execution of subsequent caching tasks, and avoiding waste of processing resources.
Based on the foregoing embodiment, in this embodiment, in order to further determine that the streaming media file caching device can perform a subsequent caching task of remaining cached data as needed, a 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 configuration of the system, and may also be determined according to a current network bandwidth of the streaming media file device itself, for example, one 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 flexibility of selection of the streaming media file caching device in this scheme.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an intelligent processing method for a streaming media file according to another embodiment of the present application. In this embodiment, before the step of sending, by the streaming media file playing device, an instruction to the streaming media file caching device to request the network server to cache the target streaming media file, the method includes the following steps.
S11, determining the current buffer progress of the streaming media file playing device when playing the target streaming media file.
In this embodiment, the caching progress of a streaming media file being played is determined, so that data to be cached is subsequently distributed to streaming media file playing equipment and streaming media file caching equipment to jointly execute a caching task; optionally, determining a caching progress of a streaming media file being played, so that data to be cached is subsequently distributed to one or more streaming media file caching devices to execute a caching task, and the streaming media file playing device does not execute the subsequent caching task any more; optionally, the caching progress of a group of streaming media files being played is determined, so that data to be cached of a currently played file in the group of streaming media files is subsequently allocated to the streaming media file playing device to execute the caching task, and data to be cached of a currently unplayed file in the group of streaming media files is allocated to the streaming media file caching device to execute the caching task.
And S12, determining the data to be cached of the target streaming media file according to the current caching progress. Similarly, as described in the above example, the data to be cached of the target streaming media file is determined according to the actual streaming media file caching requirement. For example, determining the caching progress of a streaming media file being played, and distributing data to be cached to streaming media file playing equipment and streaming media file caching equipment to jointly execute a caching task; optionally, determining a caching progress of a streaming media file being played, allocating data to be cached to one or more streaming media file caching devices to execute a caching task, and the streaming media file playing device does not execute subsequent caching tasks any more; optionally, determining a caching progress of a group of streaming media files being played, allocating data to be cached of a currently played file in the group of streaming media files to a streaming media file playing device to execute a caching task, and allocating data to be cached of a currently unplayed file in the group of streaming media files to the streaming media file caching device to execute the caching task; optionally, the caching progress of a group of streaming media files being played is determined, data to be cached of a currently played file in the group of streaming media files is allocated to a streaming media file caching device to execute a caching task, and data to be cached of a currently unplayed file in the group of streaming media files is sequentially allocated to a corresponding number of streaming media file caching devices according to the number of files, so that one streaming media file caching device executes the caching task of one streaming media file.
Referring to fig. 3, fig. 3 is a flowchart illustrating an intelligent processing method for 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 the network server to cache the target streaming media file 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. When the streaming media file playing device and the streaming media file caching device jointly execute the caching task of the data to be cached, in order to facilitate reasonable division of the caching task, in this embodiment, a division ratio of the caching task is determined according to a 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 caching device caches 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 a current streaming media file playing device a determines that auxiliary caching is required for other streaming media file caching devices, if it is determined that the streaming media file caching device B is a device capable of 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 according to the device a and the device B from large to small. Further, if it is detected that the bandwidth ratio of the device a to the device B is 4: 3, (device a) 4: and (equipment B)3, allocating the data to be buffered.
In this embodiment, optionally, if there are a plurality of streaming media file caching devices, the second data to be cached is divided according to a proportional relationship of the second transmission bandwidths of the streaming media file caching devices, and the divided second data to be cached is respectively used as the caching tasks of the streaming media file caching devices. Specifically, for example, in an intelligent home environment, when the current streaming media file playing device a determines that auxiliary caching is required by other streaming media file caching devices, if it is determined that there are 3 auxiliary buffering devices in the streaming media file buffering device B, the streaming media file buffering device C and the streaming media file buffering device D, determining the network bandwidth of the streaming media file caching device B, the streaming media file caching device C and the streaming media file caching device D, if the network bandwidth of the streaming media file caching device B is determined to be larger than that of the streaming media file caching device C and the network bandwidth of the streaming media file caching device C is determined to be larger than that of the streaming media file caching device D, the network bandwidth of the streaming media file playing device a is larger than that of all the streaming media file caching devices, then the data to be cached from large to small are sequentially distributed according to the sequence of the device A, the device B, the device C and the device D. Further, if it is detected that the bandwidth ratios of the device a, the device B, the device C, and the device D are 4: 3: 2: 1, (device a) 4: (apparatus B) 3: (device C) 2: the proportion of (device D)1 performs the allocation of the data to be buffered.
Referring to fig. 4, fig. 4 is a flowchart illustrating an intelligent processing method for a streaming media file according to another embodiment of the present application. In this embodiment, after the step of sending, by the streaming media file playing device, an instruction to the streaming media file caching device to request the network server to cache the target streaming media file, the method 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 cache task allocation, if the assisted cache progress still cannot precede the playing progress, the cache tasks of the streaming media file caching devices are allocated reasonably again according to different third transmission bandwidths by determining the third transmission bandwidths of the streaming media file caching devices and the streaming media file playing device.
S32, increasing the caching task of the streaming media file caching device with the third transmission bandwidth larger than the second bandwidth threshold value, and synchronously decreasing the caching task of the streaming media file caching device with the third transmission bandwidth smaller than the second bandwidth threshold value.
In this embodiment, specifically, all the caching tasks of the streaming media file caching device with the third transmission bandwidth larger than the second bandwidth threshold are added, and according to the proportion exceeding the second bandwidth threshold, the proportion of the added caching tasks of the streaming media file caching device is determined, and at the same time, all the caching tasks of the streaming media file caching device with the third transmission bandwidth smaller than the second bandwidth threshold are reduced, and according to the proportion smaller than the second bandwidth threshold, the proportion of the reduced caching tasks of the streaming media file caching device is determined. Optionally, another implementation of this embodiment is to determine a third transmission bandwidth of each of the streaming media file caching device and the streaming media file playing device, meanwhile, a fourth bandwidth threshold value which is smaller than the second bandwidth threshold value is set, at the moment, all caching tasks of the streaming media file caching equipment of which the third transmission bandwidth is larger than the second bandwidth threshold value are added, and determining the increasing proportion of the caching task of the streaming media file caching equipment according to the proportion exceeding the second bandwidth threshold, meanwhile, reducing all caching tasks of the streaming media file caching device with the third transmission bandwidth smaller than the second bandwidth threshold and larger than the fourth bandwidth threshold, canceling all caching tasks of the streaming media file caching device with the third transmission bandwidth smaller than the fourth bandwidth threshold, and determining the reduction ratio of the caching tasks of the residual streaming media file caching equipment according to the ratio smaller than the second bandwidth threshold value. Therefore, the flexibility of each streaming media file caching device in the process of allocating the caching task is further improved, the streaming media file playing device can perform adaptive adjustment on the caching task allocation in time in the face of different local area network environments, and the application universality, 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 present 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, when executed by said processor, implementing the steps of the method for intelligent processing of streaming media files as described in any of the above.
It should be noted that the above-mentioned control panel embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the control panel embodiment, which is not described herein again.
Example four
Referring to fig. 6, fig. 6 is a block diagram illustrating a computer-readable storage medium according to another embodiment of the present application. The present invention also proposes a computer readable storage medium 600, wherein the computer readable storage medium 600 stores thereon an intelligent processing program 601 of a streaming media file, and the intelligent processing program of the streaming media file, when executed by a processor, implements the steps of the intelligent processing method of the streaming media file as described in any one of the above.
It should be noted that the media embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the media embodiment, which is not described herein again.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. 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 (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An intelligent processing method for a streaming media file is applied to a streaming media file playing device, and is characterized by comprising the following steps:
when the file cache state of the streaming media file playing device during playing of 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 cache device receiving the request in the local area network feeds back the network connection state information of the streaming media file cache device and a network server 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 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, 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.
2. The method for intelligently processing 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 caching progress.
3. The method for intelligently processing streaming media files 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 method for intelligently processing 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 method for intelligently processing streaming media files according to any one of claims 1-4, wherein the step of the streaming media file playing device sending an instruction to the streaming media file caching device to request the network server to cache the target streaming media file is preceded by the steps of:
determining the current caching progress of the streaming media file playing equipment 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 method for intelligently processing streaming media files according to claim 5, wherein the step of the streaming media file playing device sending an instruction to the streaming media file caching device to request the network server to cache the target streaming media file specifically comprises:
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 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.
7. The intelligent processing method of streaming media files according to claim 6, characterized in that:
and if the number of the streaming media file caching devices is multiple, dividing the second data to be cached according to the proportional relation of the second transmission bandwidth of each streaming media file caching device, and respectively using the divided second data to be cached as the caching task of each streaming media file caching device.
8. The method for intelligently processing streaming media files according to claim 7, wherein the step of the streaming media file playing device sending an instruction to the streaming media file caching device to request the network server to cache the target streaming media file is followed by:
determining a third transmission bandwidth of each streaming media file caching device and each streaming media file playing device;
and increasing the caching task of the streaming media file caching device with the third transmission bandwidth larger than a second bandwidth threshold, and synchronously reducing the caching task of the streaming media file caching device with the third transmission bandwidth smaller than the second bandwidth threshold.
9. A control panel, characterized in that the control panel comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method for intelligent processing of streaming media files according to any of claims 1 to 8.
10. A computer-readable storage medium, on which an intelligent processing program for a streaming media file is stored, which, when executed by a processor, implements the steps of the intelligent processing method for a streaming media file according to any one of claims 1 to 8.
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 true CN112995693A (en) 2021-06-18
CN112995693B 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 (13)

* 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
CN103152410A (en) * 2013-02-25 2013-06-12 广东欧珀移动通信有限公司 Data downloading method and device for mobile device
CN103327101A (en) * 2013-06-21 2013-09-25 上海交通大学 Mobile terminal collaboration downloading method
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
CN106028259A (en) * 2016-04-28 2016-10-12 北京小米移动软件有限公司 Data download method and terminal
CN107018192A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Upgrade method, device and the audio-frequence player device of audio frequency broadcast system
CN108512761A (en) * 2018-03-02 2018-09-07 咪咕文化科技有限公司 File transmission dispatching method, management platform, request platform and storage medium
US20180278667A1 (en) * 2017-03-24 2018-09-27 Avermedia Technologies, Inc. Multimedia data transmission system and multimedia data transmission method
CN110519299A (en) * 2019-09-20 2019-11-29 惠州市新一代工业互联网创新研究院 A kind of internet intelligent terminal system and its application method for supporting multi-protocols adaptation
US20190394498A1 (en) * 2018-06-26 2019-12-26 Qualcomm Incorporated Uplink And Downlink Methods For Efficient Operation Of Live Uplink Streaming Services
CN112671661A (en) * 2020-12-24 2021-04-16 广州市网优优信息技术开发有限公司 Internet of things data transmission method and system

Patent Citations (13)

* 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
CN103152410A (en) * 2013-02-25 2013-06-12 广东欧珀移动通信有限公司 Data downloading method and device for mobile device
CN103327101A (en) * 2013-06-21 2013-09-25 上海交通大学 Mobile terminal collaboration downloading method
CN106028259A (en) * 2016-04-28 2016-10-12 北京小米移动软件有限公司 Data download method and terminal
US20180278667A1 (en) * 2017-03-24 2018-09-27 Avermedia Technologies, Inc. Multimedia data transmission system and multimedia data transmission method
CN107018192A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Upgrade method, device and the audio-frequence player device of audio frequency broadcast system
CN108512761A (en) * 2018-03-02 2018-09-07 咪咕文化科技有限公司 File transmission dispatching method, management platform, request platform and storage medium
US20190394498A1 (en) * 2018-06-26 2019-12-26 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
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
张振辉;戎蒙恬;刘涛;: "无线自组网路由协议仿真与实现" *

Also Published As

Publication number Publication date
CN112995693B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN111937364B (en) Method and system for processing data path creation in wireless network system
US7886074B2 (en) Methods and systems for a receiver to allocate bandwidth among incoming communications flows
JP2742390B2 (en) Method and system for supporting pause resume in a video system
US20080022005A1 (en) Glitch-Free Media Streaming
US7099953B2 (en) Video proxy server
CN108833996A (en) Service node selection, update and code rate adaptive approach in distributed DASH system
CN105337901A (en) Router intelligent bandwidth allocation method and device
JPH09130779A (en) Method and memory for controlling data stream transmission
WO2019128800A1 (en) Content service implementation method and device, and content delivery network node
CN110336885A (en) Fringe node distribution method, device, dispatch server and storage medium
CN110022482A (en) Video plays broadcasting method, video service system and storage medium
CN102790925A (en) Method and VOD (Video On Demand) terminal for playing online streaming media
CN107147921A (en) Based on section and the intelligence CDN video playback accelerated methods dispatched and equipment
CN112130802A (en) Vehicle-mounted audio playing method and device, vehicle and storage medium
CN107911712A (en) Data buffering method and electronic equipment
CN117336300B (en) Resource management system for state machine
CN109347967A (en) A kind of method and device obtaining audio, video data
CN112995693B (en) Intelligent processing method of streaming media file, control panel and computer readable storage medium
CN104581424A (en) Method, related equipment and system for streaming media transmission
CN101958934B (en) Electronic program guide incremental content synchronization method, device and system
CN113395549B (en) Play resource downloading method, device, equipment and storage medium
CN108768886A (en) A kind of SaaS data access increased quality method
CN111477229B (en) Voice recognition request processing method and device
CN109379127B (en) Data processing method and device
CN110417902B (en) Streaming network service load method, related device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant