CN107087231B - Video data playing method and device - Google Patents

Video data playing method and device Download PDF

Info

Publication number
CN107087231B
CN107087231B CN201710209021.8A CN201710209021A CN107087231B CN 107087231 B CN107087231 B CN 107087231B CN 201710209021 A CN201710209021 A CN 201710209021A CN 107087231 B CN107087231 B CN 107087231B
Authority
CN
China
Prior art keywords
video data
network video
player
playing
calling
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.)
Expired - Fee Related
Application number
CN201710209021.8A
Other languages
Chinese (zh)
Other versions
CN107087231A (en
Inventor
张泽鑫
谢洲为
邹荣波
郭晓龙
李超
张菊元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Longzhixin Technology Co ltd
Original Assignee
Beijing Panda Mutual Entertainment Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Panda Mutual Entertainment Technology Co Ltd filed Critical Beijing Panda Mutual Entertainment Technology Co Ltd
Priority to CN201710209021.8A priority Critical patent/CN107087231B/en
Publication of CN107087231A publication Critical patent/CN107087231A/en
Application granted granted Critical
Publication of CN107087231B publication Critical patent/CN107087231B/en
Expired - Fee Related 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/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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • 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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4341Demultiplexing of audio and video streams
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a video data playing method and a device, wherein the method comprises the following steps: judging whether the software player is compatible with an operating system of the intelligent television terminal, if so, calling the software player to play the network video data acquired by the request; if not, calling a system player to play the network video data. According to the method and the device, the network video data acquired by the system player playing request which is compatible with the operating system of the intelligent television terminal can be selected in a self-adaptive mode, so that the technical problem that the software player plays the network video data in a pause mode is solved, and the watching experience of a user is improved.

Description

Video data playing method and device
Technical Field
The application belongs to the technical field of mobile internet, and particularly relates to a video data playing method and device.
Background
With the rapid development of internet technology and the popularization of broadband, smart television terminals gradually blend into the public life. At present, an intelligent television terminal is provided with a full-open platform, and an operating system is loaded to install and uninstall various application software. Therefore, in addition to being able to view television video data at the smart television terminal, network video data can also be viewed through application software installed in the smart television terminal.
In the prior art, the application software is usually used to watch the network video data, and the player carried by the application software, that is, the software player plays the network video data, but the playing pause phenomenon often occurs when the software player plays the network video data, which affects the watching experience of the user.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for playing video data, which can solve the technical problem that a playback pause phenomenon occurs when a player plays network video data, and improve the viewing experience of a user.
In order to solve the above technical problem, the present application provides a video data playing method, including:
judging whether the software player is compatible with an operating system of the intelligent television terminal;
if so, calling the software player to play the network video data acquired by the request;
if not, calling a system player to play the network video data.
Preferably, the invoking the system player to play the network video data comprises:
judging whether the core number of a Central Processing Unit (CPU) of the intelligent television terminal reaches a preset core number or not;
and if the number of the CPU cores of the intelligent television terminal does not reach the preset number, calling a system player to play the network video data.
Preferably, after judging whether the number of CPU cores of the smart television terminal reaches a preset number of cores, the method further includes:
and if the CPU core number of the intelligent television terminal reaches a preset core number, calling the software player to play the network video data.
Preferably, the invoking the software player to play the network video data acquired by the request includes:
calling the software player to utilize a GPU (graphics processing Unit) to perform hard decoding on the network video data requested to be acquired;
playing the network video data after hard decoding;
the calling a system player to play the network video data comprises:
calling the system player to perform hard decoding on the network video data requested to be acquired by using the GPU;
and playing the network video data after hard decoding.
Preferably, the invoking the software player to play the network video data includes;
calling the software player to perform soft decoding on the network video data requested to be acquired by using the CPU;
playing the network video data after soft decoding.
The application provides a video data playing device, the device includes:
the first judgment module is used for judging whether the software player is compatible with an operating system of the intelligent television terminal;
the first playing module is used for calling the software player to play the network video data acquired by the request when the first judgment result is yes;
and the second playing module is used for calling a system player to play the network video data when the first judgment module has no result.
Preferably, the second playing module comprises:
the second judgment unit is used for judging whether the core number of a Central Processing Unit (CPU) of the intelligent television terminal reaches a preset core number or not when the first judgment module has a negative result;
and the first playing unit is used for calling a system player to play the network video data when the judgment result of the second judging unit is negative.
Preferably, the second playing module further comprises:
and the second playing unit is used for calling the software player to play the network video data when the result of the second judging unit is yes.
Preferably, the first playing module is specifically configured to:
calling the software player to utilize a GPU (graphics processing Unit) to perform hard decoding on the network video data requested to be acquired;
playing the network video data after hard decoding;
the second playing module is specifically configured to:
calling the system player to perform hard decoding on the network video data requested to be acquired by using the GPU;
and playing the network video data after hard decoding.
Preferably, the second playing unit is specifically configured to:
calling the software player to perform soft decoding on the network video data requested to be acquired by using the CPU;
playing the network video data after soft decoding.
Compared with the prior art, the application can obtain the following technical effects:
by judging the compatibility of the operating system of the intelligent television terminal and the player, the system player compatible with the operating system of the intelligent television terminal is selected in a self-adaptive mode to play the network video data acquired by the request, so that the technical problem that the software player is unsmooth in playing the network video data is solved, and the watching experience of a user is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of an embodiment of a video data playing method according to an embodiment of the present application;
fig. 2 is a flowchart of another embodiment of a video data playing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an embodiment of a video data playing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another embodiment of a video data playing apparatus according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail with reference to the drawings and examples, so that how to implement technical means to solve technical problems and achieve technical effects of the present application can be fully understood and implemented.
At present, a full-open platform is arranged in an intelligent television terminal, an operating system is loaded to install and uninstall various application software, and the application software installed in the intelligent television terminal can be used for searching and watching network video data. Therefore, the intelligent television terminal meets the requirements of users on high-definition, networking and intellectualization, and is widely popularized and applied.
The application software installed in the smart television terminal is usually provided with a player, and is named as a software player for convenience of description distinction, and is used for playing the network video data acquired through the application software. The intelligent television terminal can select a player according to whether the requested video data is network video data or television video data, and plays the video data, for example, if the requested video data is from application software network video data, a software player is called to play the network video data; and if the request is the television video data from the intelligent television terminal operating system, calling a system player to play the television video data.
In the prior art, video decoding in an intelligent television terminal is mainly divided into two categories: one is hard decoding, that is, decoding implemented by hardware, and is to use a GPU (Graphic Processing Unit) to complete decoding of network video data, and has low CPU (Central Processing Unit) occupancy rate and high decoding speed; one is soft decoding, that is, decoding implemented by software, which completes the decoding work of network video data by using a CPU, and the decoding speed is relatively slow because the CPU resources are occupied. Therefore, the decoding efficiency of hard decoding is superior to that of soft decoding, and in order to ensure the smoothness of playing the network video data, a software player provided by application software usually utilizes a GPU to perform hard decoding on the network video data, so that the problem of playing jamming of the player when playing the network video data is avoided.
However, the inventor finds that when the application software plays the network video data, the problem of playing pause still occurs. In order to solve the problem of network video data playing jamming, the inventor finds, through further research, that the network video data playing jamming is mainly caused by the following reasons: due to the fact that the application software in the intelligent television terminal is high in updating iteration speed, and operating system versions of different intelligent television terminals are different, the problem that compatibility of a software player and an operating system of the intelligent television terminal is poor occurs. When the version of the intelligent television terminal system is too low, the software player is incompatible with an operating system of the intelligent television terminal, so that the software player cannot normally open the GPU to perform hard decoding on the network video data, and at the moment, the software player can automatically open the CPU to perform soft decoding on the network video data, so that the normal playing of the network video data is ensured. However, as the soft decoding completely depends on the CPU to perform video decoding, when the performance of the CPU of the smart tv terminal is poor, for example, the number of CPU cores is lower than 4 cores, the decoding efficiency of the soft decoding is too low, which causes the phenomenon of pause in playing the network video data.
Based on the research, the inventor further thinks that, in order to solve the technical problem of network video data playing jamming, although the software player is incompatible with the system version of the operating system of the smart television terminal, the CPU can still be called to perform soft decoding on the network video data, but due to the difference of hardware configurations of different smart television terminals, the performance of the CPU in the smart television terminal cannot be guaranteed, and therefore the phenomenon of playing jamming occurring when the software player plays the network video data cannot be avoided. But the system player and the operating system of the intelligent television terminal do not have compatibility problem, and the GPU can be opened to carry out hard decoding on the network video data.
Accordingly, the inventor proposes a technical solution of the embodiment of the present invention, and first determines whether the software player is compatible with an operating system of the smart tv terminal, and if the software player is compatible with the operating system, calls the software player to play the network video data, and if the software player is incompatible with the operating system of the smart tv terminal, calls the system player to open the GPU to perform hard decoding on the network video data and play the network video data, thereby implementing a change of the existing network video data playing method. In the embodiment of the invention, the compatibility of the operating system of the intelligent television terminal and the software player is judged, and the self-adaptive selection of the system player for playing the network video data can be realized, so that the technical problem of playing jam of the software player when playing the network video data is solved, and the watching experience of a user is improved.
The technical scheme of the application is described in detail in the following with reference to the accompanying drawings.
Fig. 1 is a flowchart of an embodiment of a video data playing method provided in an embodiment of the present application, which may include the following steps:
101: judging whether the software player is compatible with an operating system of the intelligent television terminal; if yes, go to step 102, otherwise go to step 103.
The intelligent television terminal is provided with an operating system, and can download and install application software to obtain network video data.
Optionally, when the software player carried by the application software is installed, it may be determined whether the software player is compatible with the operating system of the smart television terminal, and then it is determined whether the software player is compatible with the operating system of the smart television terminal only after detecting that the operating system of the smart television terminal is updated.
The step of judging whether the software player is compatible with the operating system of the smart television terminal may be to judge whether the system version of the operating system of the smart television terminal reaches a preset system version, if so, execute step 102, and otherwise, execute step 103. For example, the preset system version matched with the software player is an android 4.0 version, and if the system version of the operating system installed in the smart television terminal is lower than the android 4.0 version, the system version is determined to be incompatible; and if the system version of the operating system installed in the intelligent television terminal is the android 4.0 version or is higher than the android 4.0 version, determining that the operating system is compatible.
102: and calling the software player to play the network video data acquired by the request.
And if the software player is judged to be compatible with the operating system of the intelligent television terminal, the software player can be directly called to play the network video data acquired by the request.
The invoking of the network video data obtained by the software player playing request may include:
calling the software player to perform hard decoding on the network video data requested to be acquired by using the GPU;
and playing the network video data after hard decoding.
The network video data requested to be acquired can be obtained by searching from the internet through application software, the network video data is usually high-definition video data with a large data volume, and the network video data from the internet can be played through a software player after being decoded.
In order to reduce the user waiting time, the current software player generally adopts a decoding-playing mode for network video data. Therefore, the requirement on the decoding efficiency of the network video is high, and when the decoding efficiency of the network video is too low, the network video data obtained by decoding cannot keep up with the video playing progress, so that the phenomenon of playing jam occurs. Because the GPU in the intelligent television terminal has better processing performance on the network video data, the GPU can be opened by the software player under the condition that the software player is compatible with the operating system, the decoding efficiency of the network video data can be greatly improved by utilizing the GPU to carry out hard decoding on the network video data, and the playing smoothness of the network video data is ensured.
103: and calling a system player to play the network video data.
And if the software player is not compatible with the operating system of the intelligent television terminal, calling the system player to play the network video data acquired by the request.
The invoking of the network video data obtained by the software player playing request may include:
calling the software player to perform hard decoding on the network video data requested to be acquired by using the GPU;
and playing the network video data after hard decoding.
The system player is a software player of an operating system of the intelligent television terminal, so that the system player has strong compatibility with the operating system, and the GPU can be used for carrying out hard decoding on the network video data, thereby ensuring the decoding efficiency of the network video data.
In the embodiment of the application, by judging the compatibility of the operating system of the intelligent television terminal and the software player, the network video data can be played by adaptively selecting the system player compatible with the operating system of the intelligent terminal, so that the technical problem that the software player is unsmooth in playing the network video data is solved, and the watching experience of a user is improved.
In some embodiments, under the condition that the software player is incompatible with the operating system of the smart television terminal, the number of CPU cores of the smart television terminal may be first determined, and if the number of CPU cores does not reach the preset number, the system player is called to play the network video data.
If the core number of the CPU reaches the preset core number, the software player can be called to play the network video data. At the moment, the software playing utilizes the CPU to perform soft decoding on the network video data, and the CPU has stronger performance when the CPU core number reaches the preset core number, so the soft decoding efficiency of the software player can meet the progress of the software player in playing the network video data, and the playing can be ensured not to be blocked by adopting a soft decoding mode.
For a detailed description, reference may be made to the embodiment described in fig. 2 below.
Fig. 2 is a flowchart of another embodiment of a video data playing method according to an embodiment of the present application, which may include the following steps:
201: judging whether the software player is compatible with an operating system of the intelligent television terminal; if yes, go to step 202; if not, go to step 204.
202: calling the software player to utilize the GPU to perform hard processing on the network video data requested to be acquired
Decoding;
203: and playing the network video data after the hard decoding.
204: judging whether the CPU core number of the intelligent television terminal reaches a preset core number or not; if yes, go to step 205; if not, go to step 207.
Optionally, the preset number of cores may be set to four cores, and it is determined whether the number of CPU cores of the central processing unit of the smart television terminal reaches four cores, and if the number of CPU cores of the smart television terminal is lower than four cores, it is determined that the number of CPU cores of the smart television terminal does not reach the preset number of cores, and step 207 is executed; if the number of the cores of the Central Processing Unit (CPU) of the intelligent television terminal is equal to or higher than four cores, judging that the number of the cores of the CPU of the intelligent television terminal reaches a preset number, and executing step 205.
205: calling the software player to perform soft decoding on the network video data by using a CPU (central processing unit);
206: and playing the network video data after soft decoding.
207: and calling a system player to play the network video data.
The invoking the system player to play the network video data may include:
calling the software player to perform hard decoding on the network video data requested to be acquired by using the GPU;
and playing the network video data after hard decoding.
The soft decoding of the network video data in the intelligent television terminal mainly depends on the computing capacity of a CPU, and due to the development of computer technology, the intelligent television terminal configured with a four-core or double-four-core CPU has appeared, so that when the core number of the CPU is higher, the decoding efficiency of the soft decoding can also meet the playing progress of the network video data, and the playing pause phenomenon can not occur. Therefore, in this embodiment, when the software player is incompatible with the operating system, the CPU core number may be determined, and if the CPU core number meets the preset core number, the CPU performance is stronger, so that the software player is used to play the network video data, and a soft decoding manner is adopted to ensure that the playing is not blocked.
Step 201 is the same as step 101 in the embodiment corresponding to fig. 1, and is not described herein again.
In the embodiment of the application, another scheme for adaptively selecting the system player or the software player is provided by judging the compatibility of the operating system of the intelligent television terminal and the software player, when the number of the CPU cores in the intelligent television terminal reaches the preset number of the cores, the software player can be selected to ensure the fluency of network video playing through soft decoding, and when the number of the CPU cores in the intelligent television terminal does not reach the preset number of the cores, the system player can be selected to ensure the fluency of network video playing through hard decoding. Therefore, the technical problem that the playing of the software player is unsmooth when the network video data is played is solved, and the watching experience of a user is improved.
Fig. 3 is a schematic structural diagram of an embodiment of a video data playing apparatus according to an embodiment of the present application, where the apparatus may include a first determining module 301, a first playing module 302, and a second playing module 303.
The first judging module 301 is configured to judge whether the software player is compatible with an operating system of the smart television terminal; if yes, the first playing module 302 is triggered, otherwise, the second playing module 303 is triggered.
The intelligent television terminal is provided with an operating system, and can download and install application software to obtain network video data.
Optionally, when the software player carried by the application software is installed, it may be determined whether the software player is compatible with the operating system of the smart television terminal, and then it is determined whether the software player is compatible with the operating system of the smart television terminal only after detecting that the operating system of the smart television terminal is updated.
The determining whether the software player is compatible with the operating system of the smart television terminal may be determining whether the system version of the operating system of the smart television terminal reaches a preset system version, if so, triggering the first playing module 302, and otherwise, triggering. For example, in the second playing module 303, the preset system version matched with the software player is an android 4.0 version, and if the system version of the operating system installed in the smart television terminal is lower than the android 4.0 version, the system version is determined to be incompatible; and if the system version of the operating system installed in the intelligent television terminal is the android 4.0 version or is higher than the android 4.0 version, determining that the operating system is compatible.
The first playing module 302 is configured to invoke the software player to play the network video data acquired by the request.
As another embodiment, optionally, if it is determined that the software player is compatible with the operating system of the smart television terminal, the software player may be directly invoked to play the network video data requested to be obtained. The first playing module 302 may specifically be configured to:
calling the software player to perform hard decoding on the network video data requested to be acquired by using the GPU;
and playing the network video data after hard decoding.
The network video data requested to be acquired can be obtained by searching from the internet through application software, the network video data is usually high-definition video data with a large data volume, and the network video data from the internet can be played through a software player after being decoded.
In order to reduce the user waiting time, the current software player generally adopts a decoding-playing mode for network video data. Therefore, the requirement on the decoding efficiency of the network video is high, and when the decoding efficiency of the network video is too low, the network video data obtained by decoding cannot keep up with the video playing progress, so that the phenomenon of playing jam occurs. Because the GPU in the intelligent television terminal has better processing performance on the network video data, the GPU can be opened by the software player under the condition that the software player is compatible with the operating system, the decoding efficiency of the network video data can be greatly improved by utilizing the GPU to carry out hard decoding on the network video data, and the playing smoothness of the network video data is ensured.
The second playing module 303 is configured to invoke a system player to play the network video data.
As another embodiment, optionally, if it is determined that the software player is not compatible with the operating system of the smart television terminal, the system player may be invoked to play the network video data requested to be obtained. The second playing module may specifically be configured to:
calling the software player to perform hard decoding on the network video data requested to be acquired by using the GPU;
and playing the network video data after hard decoding.
The system player is a software player of an operating system of the intelligent television terminal, so that the system player has strong compatibility with the operating system, and the GPU can be used for carrying out hard decoding on the network video data, thereby ensuring the decoding efficiency of the network video data.
In the embodiment of the application, the compatibility of the operating system of the intelligent television terminal and the software player is judged, and the self-adaptive selection of the system player for playing the network video data can be realized, so that the technical problem that the software player is unsmooth in playing the network video data is solved, and the watching experience of a user is improved.
Fig. 4 is a schematic structural diagram of another embodiment of a video data playing apparatus according to an embodiment of the present application, and the apparatus may include a first determining module 401, a first playing module 402, and a second playing module 403.
The first determining module 401 and the first playing module 402 have the same functions as the first determining module 301 and the first playing module 302 in the embodiment corresponding to fig. 3, and are not described herein again.
The difference from the embodiment corresponding to fig. 3 is that the second playing module 403 is configured to invoke a system player to play the network video data when the result of the first determining module is negative.
Wherein the second playing module 403 may include:
the second judging unit 411 is configured to, if the first judging module result is negative, judge whether the number of cores of the central processing unit CPU of the smart television terminal reaches a preset number of cores.
Optionally, the preset number of cores may be set to four cores, and it is determined whether the number of CPU cores of the central processing unit of the smart television terminal reaches four cores, and if the number of CPU cores of the smart television terminal is lower than four cores, it is determined that the number of CPU cores of the smart television terminal does not reach the preset number of cores, and the first playing unit 412 is triggered; if the number of the CPU cores of the central processing unit of the smart television terminal is equal to or higher than four cores, it is determined that the number of the CPU cores of the smart television terminal reaches a preset number, and the second playing unit 413 is triggered.
A first playing unit 412, configured to invoke the system player to play the network video data.
Optionally, the first playing unit 412 may specifically be configured to:
calling the software player to perform hard decoding on the network video data requested to be acquired by using the GPU;
and playing the network video data after hard decoding.
A second playing unit 413, configured to invoke the software player to play the network video data when the result of the second determining unit is yes.
Alternatively, the second playing unit 413 may be specifically configured to,
calling the software player to perform soft decoding on the network video data requested to be acquired by using the CPU;
playing the network video data after soft decoding.
The soft decoding of the network video data in the intelligent television terminal mainly depends on the computing capacity of a CPU, and due to the development of computer technology, the intelligent television terminal configured with a four-core or double-four-core CPU has appeared, so that when the core number of the CPU is higher, the decoding efficiency of the soft decoding can also meet the playing progress of the network video data, and the playing pause phenomenon can not occur.
Therefore, in this embodiment, when the software player is incompatible with the operating system, the CPU core number may be determined, and if the CPU core number meets the preset core number, the CPU performance is stronger, so that the software player is used to play the network video data, and a soft decoding manner is adopted to ensure that the playing is not blocked.
In the embodiment of the application, another scheme for adaptively selecting the system player or the software player is provided by judging the compatibility of the operating system of the intelligent television terminal and the software player, when the number of the CPU cores in the intelligent television terminal reaches the preset number of the cores, the software player can be selected to ensure the fluency of network video playing through soft decoding, and when the number of the CPU cores in the intelligent television terminal does not reach the preset number of the cores, the system player can be selected to ensure the fluency of network video playing through hard decoding. Therefore, the technical problem that the playing of the software player is unsmooth when the network video data is played is solved, and the watching experience of a user is improved.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As used in the specification and in the claims, certain terms are used to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This specification and claims do not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. "substantially" means within an acceptable error range, and a person skilled in the art can solve the technical problem within a certain error range to substantially achieve the technical effect. Furthermore, the term "coupled" is intended to encompass any direct or indirect electrical coupling. Thus, if a first device couples to a second device, that connection may be through a direct electrical coupling or through an indirect electrical coupling via other devices and couplings. The description which follows is a preferred embodiment of the present application, but is made for the purpose of illustrating the general principles of the application and not for the purpose of limiting the scope of the application. The protection scope of the present application shall be subject to the definitions of the appended claims.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element
The foregoing description shows and describes several preferred embodiments of the present application, but as aforementioned, it is to be understood that the application is not limited to the forms disclosed herein, but is not to be construed as excluding other embodiments and is capable of use in various other combinations, modifications, and environments and is capable of changes within the scope of the application as described herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the application, which is to be protected by the claims appended hereto.

Claims (10)

1. A method for playing video data, comprising:
judging whether the software player is compatible with an operating system of the intelligent television terminal; the judging whether the software player is compatible with the operating system of the intelligent television terminal comprises judging whether the system version of the operating system of the intelligent television terminal reaches a preset system version;
if so, calling the software player to play the network video data acquired by the request;
if not, calling a system player to play the network video data.
2. The method of claim 1, wherein invoking the system player to play the network video data comprises:
judging whether the core number of a Central Processing Unit (CPU) of the intelligent television terminal reaches a preset core number or not;
and if the number of the CPU cores of the intelligent television terminal does not reach the preset number, calling a system player to play the network video data.
3. The method according to claim 2, wherein after determining whether the number of CPU cores of the smart tv terminal reaches a preset number of cores, the method further comprises:
and if the CPU core number of the intelligent television terminal reaches a preset core number, calling the software player to play the network video data.
4. The method of claim 1, wherein the invoking the software player to play the network video data requested to be obtained comprises:
calling the software player to utilize a GPU (graphics processing Unit) to perform hard decoding on the network video data requested to be acquired;
playing the network video data after hard decoding;
the calling the system player to play the network video data comprises the following steps:
calling the system player to perform hard decoding on the network video data requested to be acquired by using the GPU;
and playing the network video data after hard decoding.
5. The method of claim 3, wherein said invoking said software player to play said network video data comprises;
calling the software player to perform soft decoding on the network video data requested to be acquired by using the CPU;
playing the network video data after soft decoding.
6. A video data playback apparatus, comprising:
the first judgment module is used for judging whether the software player is compatible with an operating system of the intelligent television terminal; the judging whether the software player is compatible with the operating system of the intelligent television terminal comprises judging whether the system version of the operating system of the intelligent television terminal reaches a preset system version;
the first playing module is used for calling the software player to play the network video data acquired by the request when the first judgment module has a positive result;
and the second playing module is used for calling a system player to play the network video data when the first judgment module has no result.
7. The apparatus of claim 6, wherein the second playing module comprises:
the second judgment unit is used for judging whether the core number of a Central Processing Unit (CPU) of the intelligent television terminal reaches a preset core number or not when the first judgment module has a negative result;
and the first playing unit is used for calling a system player to play the network video data when the judgment result of the second judging unit is negative.
8. The apparatus of claim 7, wherein the second playing module further comprises:
and the second playing unit is used for calling the software player to play the network video data when the result of the second judging unit is yes.
9. The apparatus of claim 6, wherein the first playback module is specifically configured to:
calling the software player to utilize a GPU (graphics processing Unit) to perform hard decoding on the network video data requested to be acquired;
playing the network video data after hard decoding;
the second playing module is specifically configured to:
calling the system player to perform hard decoding on the network video data requested to be acquired by using the GPU;
and playing the network video data after hard decoding.
10. The apparatus of claim 8, wherein the second playback unit is specifically configured to:
calling the software player to perform soft decoding on the network video data requested to be acquired by using the CPU;
playing the network video data after soft decoding.
CN201710209021.8A 2017-03-31 2017-03-31 Video data playing method and device Expired - Fee Related CN107087231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710209021.8A CN107087231B (en) 2017-03-31 2017-03-31 Video data playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710209021.8A CN107087231B (en) 2017-03-31 2017-03-31 Video data playing method and device

Publications (2)

Publication Number Publication Date
CN107087231A CN107087231A (en) 2017-08-22
CN107087231B true CN107087231B (en) 2021-03-05

Family

ID=59614573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710209021.8A Expired - Fee Related CN107087231B (en) 2017-03-31 2017-03-31 Video data playing method and device

Country Status (1)

Country Link
CN (1) CN107087231B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107993185A (en) * 2017-11-28 2018-05-04 北京潘达互娱科技有限公司 Data processing method and device
CN110582024A (en) * 2018-06-08 2019-12-17 网宿科技股份有限公司 method and device for playing video
CN109640179B (en) * 2018-11-27 2020-09-22 Oppo广东移动通信有限公司 Video decoding control method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753811A (en) * 2013-12-30 2015-07-01 中国移动通信集团公司 Streaming medium service optimizing method, device and system
CN104780378A (en) * 2015-04-16 2015-07-15 腾讯科技(北京)有限公司 Method, device and player for decoding video

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8768078B2 (en) * 2010-04-07 2014-07-01 Apple Inc. Intelligent media decoding
CN102739627B (en) * 2011-04-14 2015-06-10 深圳市快播科技有限公司 Method and system for switching and playing video
KR102275717B1 (en) * 2015-01-21 2021-07-09 에스케이하이닉스 주식회사 Flash memory system and operating method thereof
CN104853254A (en) * 2015-05-26 2015-08-19 深圳市理奥网络技术有限公司 Video playing method and mobile terminal
CN105681905A (en) * 2016-01-28 2016-06-15 深圳国微技术有限公司 Smart television and method and device for improving adaptability of application program thereof
CN106210726A (en) * 2016-08-08 2016-12-07 成都佳发安泰科技股份有限公司 The method that utilization rate according to CPU Yu GPU carries out adaptive decoding to video data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753811A (en) * 2013-12-30 2015-07-01 中国移动通信集团公司 Streaming medium service optimizing method, device and system
CN104780378A (en) * 2015-04-16 2015-07-15 腾讯科技(北京)有限公司 Method, device and player for decoding video

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Android的视频软硬解码及渲染的对比研究与实现;李炜锋;《电视技术》;20140502(第9期);67-70 *

Also Published As

Publication number Publication date
CN107087231A (en) 2017-08-22

Similar Documents

Publication Publication Date Title
CN108521608B (en) Video file processing method and device, terminal and storage medium
WO2015149664A1 (en) Web page access method and apparatus
US10725972B2 (en) Continuous and concurrent device experience in a multi-device ecosystem
CN107277601B (en) Video playing method and device
US10394516B2 (en) Mobile terminal and method for controlling sound output
CN107087231B (en) Video data playing method and device
US8954660B2 (en) Execute-in-place mode configuration for serial non-volatile memory
WO2017054462A1 (en) Video decoding method, server and mobile terminal
US20060129898A1 (en) Method for accessing a data sector and processing a bad sector in a hard disk drive of a mobile communication terminal
CN103677979B (en) Interactive method and device for application software and plugin
CN108391170A (en) Switch method, apparatus, television set and the storage medium of EDID files
WO2016019875A1 (en) Method and device for presenting content data from network
CN104503839A (en) Voice frequency-based method and device for optimizing computing equipment
US20140372621A1 (en) AirSharing Method, AirSharing Apparatus, and Terminal Device
JP2007052764A (en) Multimedia computer system with dual-cpu and its multimedia instant play method
CN112565210A (en) CDN node recommendation method, system, electronic device and storage medium
CN102789795B (en) Method and system used for playing vehicle-mounted compact disc and based on Android operating system
CN115297371A (en) Adaptive player generation method and adaptive player equipment
US20210240499A1 (en) Systems and methods for adjusting application functionality to resource constraints
EP3249936A1 (en) Audio debugging method and device for television
US20170034301A1 (en) Caching streaming media to user devices
CN106792105B (en) Playing processing method and device for optical disk image ISO audio/video file and television
CN100437421C (en) Method and system of preventing system damage
CN108650544A (en) A kind of media playing method, device and media play system
CN107506196A (en) A kind of boot animation processing method, equipment and storage device based on Android system

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
TR01 Transfer of patent right

Effective date of registration: 20210325

Address after: 101300 309, 3rd floor, 60 Fuqian 1st Street, Tianzhu District, Shunyi District, Beijing

Patentee after: Beijing longzhixin Technology Co.,Ltd.

Address before: 100041 room 120, 4th floor, building 17, yard 30, Shixing street, Shijingshan District, Beijing

Patentee before: BEIJING PANDA MUTUAL ENTERTAINMENT TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210305

CF01 Termination of patent right due to non-payment of annual fee