CN117412117A - Program resource fusion playing method and device, electronic equipment and storage medium - Google Patents

Program resource fusion playing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117412117A
CN117412117A CN202310424552.4A CN202310424552A CN117412117A CN 117412117 A CN117412117 A CN 117412117A CN 202310424552 A CN202310424552 A CN 202310424552A CN 117412117 A CN117412117 A CN 117412117A
Authority
CN
China
Prior art keywords
program
playing
network
target
content
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.)
Pending
Application number
CN202310424552.4A
Other languages
Chinese (zh)
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 TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202310424552.4A priority Critical patent/CN117412117A/en
Publication of CN117412117A publication Critical patent/CN117412117A/en
Pending legal-status Critical Current

Links

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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams

Abstract

The embodiment of the invention discloses a program resource fusion playing method, a device, electronic equipment and a storage medium; the embodiment of the invention can acquire the target program attribute information corresponding to the target program based on the program playing request aiming at the target program, analyze the target program attribute information to obtain the program source information of the target program, wherein the program source information is used for indicating the program content source of the target program, the program content source at least comprises a program broadcasting source, when the program content source comprises a program network source, the network program content of the target program is downloaded from the program network source through a high-speed network, the network program content is played, the broadcasting program content of the target program is received from the program broadcasting source through a broadcasting channel, and when the broadcasting program content meets the preset playing switching condition, the network program content is not played, and the playing is carried out based on the broadcasting program content; the waiting time when the television program is played can be shortened, and the experience of the user when watching the television program is improved.

Description

Program resource fusion playing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of televisions, in particular to a program resource fusion playing method, a device, electronic equipment and a storage medium.
Background
With the current rapid development of economy and technology, smart televisions are increasingly frequently appeared and used in the life of people. In general, when using smart televisions, one would want to start playing a television program as soon as possible.
At present, the main method adopted by the intelligent television when playing the television program is that the program content is obtained through broadcasting for playing. However, with this scheme, since the rate of broadcast transmission is limited and frequency locking and data filtering are required for data received through broadcasting, it is necessary to wait a certain time for broadcasting programs by broadcasting.
Disclosure of Invention
The embodiment of the invention provides a program resource fusion playing method, a device, electronic equipment and a storage medium, which can shorten waiting time when a television program is played and improve experience when a user watches the television program.
The embodiment of the invention provides a program resource fusion playing method, which comprises the following steps:
acquiring target program attribute information corresponding to a target program based on a program playing request aiming at the target program;
Analyzing the target program attribute information to obtain program source information of the target program, wherein the program source information is used for indicating a program content source of the target program, and the program content source at least comprises a program broadcasting source;
downloading the network program content of the target program from the program network source through a high-speed network when the program content source comprises the program network source, and playing the network program content;
receiving broadcast program content of the target program from the program broadcast source through a broadcast channel;
and when the broadcast program content meets a preset playing switching condition, not playing the network program content, and playing based on the broadcast program content.
Correspondingly, the embodiment of the invention provides a program resource fusion playing device, which comprises:
an attribute information obtaining unit, configured to obtain target program attribute information corresponding to a target program based on a program play request for the target program;
a source information obtaining unit, configured to parse the target program attribute information to obtain program source information of the target program, where the program source information is used to indicate a program content source of the target program, and the program content source at least includes a program broadcast source;
A network program downloading unit, configured to, when the program content source includes a program network source, download, through a high-speed network, network program content of the target program from the program network source, and play the network program content;
a broadcast program receiving unit for receiving broadcast program content of the target program from the program broadcast source through a broadcast channel;
and the program playing switching unit is used for not playing the network program content and playing the network program content based on the broadcast program content when the broadcast program content meets the preset playing switching condition.
In some alternative embodiments, the network program downloading unit is configured to download network program data of the target program from the program network source through a high-speed network;
when the network program data meets a playable state, decoding the downloaded network program data to obtain network program content;
and playing the network program content.
In some optional embodiments, the program resource fusion playing device provided by the embodiments of the present invention further includes a broadcast program playing unit, configured to receive, when the program network source is not included in the program content source, broadcast program content of the target program from the program broadcast source through a broadcast channel;
And playing the broadcast program content.
In some optional embodiments, the attribute information obtaining unit is configured to determine, in response to a television start instruction, a program displayed by default at the time of starting the television as a target program;
generating a program playing request based on the target program, wherein the program playing request comprises program identification information of the target program;
and acquiring target program attribute information corresponding to the target program according to the program identification information.
In some optional embodiments, the attribute information obtaining unit is configured to determine, in response to a program switching instruction, a program corresponding to the program switching instruction as a target program;
generating a program playing request based on the target program, wherein the program playing request comprises program identification information of the target program;
and acquiring target program attribute information corresponding to the target program according to the program identification information.
In some optional embodiments, the broadcast program receiving unit is configured to receive candidate program data through a broadcast channel, where the candidate program data includes broadcast program content of the target program;
and selecting the candidate program data according to the frequency point corresponding to the target program to obtain the broadcast program content of the target program.
In some optional embodiments, the program playing switching unit is configured to obtain a first time axis corresponding to the network program content and a first playing time corresponding to the played network program content when the broadcast program content meets a preset playing switching condition;
acquiring a second time axis corresponding to the broadcast program content, and determining a second playing time corresponding to the broadcast program content according to the first playing time and the first time axis;
and not playing the network program content, and playing the broadcast program content based on the second playing time.
Correspondingly, the embodiment of the invention also provides electronic equipment, which comprises a memory and a processor; the memory stores an application program, and the processor is configured to run the application program in the memory, so as to execute steps in any program resource fusion playing method provided by the embodiment of the present invention.
Correspondingly, the embodiment of the invention also provides a computer readable storage medium, which stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in any program resource fusion playing method provided by the embodiment of the invention.
In addition, the embodiment of the invention also provides a computer program product, which comprises a computer program or instructions, wherein the computer program or instructions realize the steps in any program resource fusion playing method provided by the embodiment of the invention when being executed by a processor.
By adopting the scheme of the embodiment of the invention, the target program attribute information corresponding to the target program can be acquired based on the program playing request aiming at the target program, the target program attribute information is analyzed to obtain the program source information of the target program, the program source information is used for indicating the program content source of the target program, the program content source at least comprises a program broadcasting source, when the program content source comprises a program network source, the network program content of the target program is downloaded from the program network source through a high-speed network, the network program content is played, the broadcast program content of the target program is received from the program broadcasting source through a broadcast channel, and when the broadcast program content meets the preset playing switching condition, the network program content is not played, and the playing is performed based on the broadcast program content; in the embodiment of the invention, when the program supports downloading from a network source, the program can be downloaded and played from a high-speed network without waiting for receiving data through a broadcasting channel and carrying out frequency locking and filtering on the data, so that the waiting time when the television program is played can be shortened, and the experience when a user watches the television program is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scene of a program resource fusion playing method provided by an embodiment of the present invention;
fig. 2 is a flowchart of a program resource fusion playing method provided by an embodiment of the present invention;
fig. 3 is a schematic diagram of a technical implementation of performing program resource fusion playing according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a program resource fusion playing device according to an embodiment of the present invention;
fig. 5 is another schematic structural diagram of a program resource fusion playing device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
The embodiment of the invention provides a program resource fusion playing method, a device, electronic equipment and a computer readable storage medium. Specifically, the embodiment of the invention provides a program resource fusion playing method suitable for a program resource fusion playing device, and the program resource fusion playing device can be integrated in electronic equipment.
The electronic device may be a terminal or the like, including but not limited to a mobile terminal and a fixed terminal, for example, a mobile terminal including but not limited to a smart phone, a smart watch, a tablet computer, a notebook computer, a smart car, etc., wherein the fixed terminal includes but not limited to a desktop computer, a smart television, etc.
The electronic device may be a server, which may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network ), and basic cloud computing services such as big data and artificial intelligence platform, but is not limited thereto.
The program resource fusion playing method of the embodiment of the invention can be realized by a server or by a terminal and the server together.
The method for realizing the program resource fusion playing by the terminal and the server is taken as an example and is described below.
As shown in fig. 1, the program resource fusion playing system provided by the embodiment of the invention includes a terminal 10, a server 20 and the like; the terminal 10 and the server 20 are connected through a network, for example, a wired or wireless network connection, wherein the terminal 10 may exist as a terminal that needs to play a television program.
The terminal 10 may be a terminal for requesting to play a target program, and is configured to obtain target program attribute information corresponding to the target program based on a program play request for the target program, and parse the target program attribute information to obtain program source information of the target program, where the program source information is used to indicate a program content source of the target program, and the program content source at least includes a program broadcast source.
When the program content source includes a program network source, the terminal 10 may download the network program content of the target program from the program network source in the server 20 through a high-speed network, and play the network program content.
The terminal 10 receives the broadcast program content of the target program from the program broadcast source through a broadcast path, does not play the network program content when the broadcast program content satisfies a preset play switching condition, and plays based on the broadcast program content.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The embodiment of the invention is described from the perspective of a program resource fusion playing device which can be integrated in a server and/or an intelligent television.
As shown in fig. 2, the specific flow of the program resource fusion playing method in this embodiment may be as follows:
201. and acquiring target program attribute information corresponding to the target program based on a program playing request aiming at the target program.
The target program is a program which needs to be played on the intelligent television. The target program may be in any form, for example, the target program may include only audio or video, may include both audio and video, and so on.
The program playing request may be an instruction generated by the smart television in response to an operation of a viewer, and the smart television may acquire related data about the target program according to the instruction. For example, the program play request may include, but is not limited to, program identification information of the target program, and the like.
Specifically, the attribute information of the target program may be related information of the audio/video data corresponding to the target program. For example, the target program attribute information may be an SLS table corresponding to a target program, where the SLS table is a program chain table, and related information of audio and video data corresponding to the program is mainly recorded, and through the table, data such as audio and video corresponding to the program can be further obtained.
In some optional embodiments, the target program may be a program played by a program channel displayed by default when the television is turned on, that is, the step of "obtaining, based on a program playing request for the target program, target program attribute information corresponding to the target program" may specifically include:
responding to a television starting instruction, and determining a program displayed by default as a target program when the television is started;
generating a program playing request based on the target program, wherein the program playing request comprises program identification information of the target program;
and acquiring target program attribute information corresponding to the target program according to the program identification information.
The television starting instruction can be an instruction generated when the intelligent television is electrified or a screen is started.
Specifically, the program displayed by default may be the program content to be displayed by the smart television when the screen is lit, or may be the program being watched by the user last time the smart television was used or the program being played by the television channel being watched when the screen is lit this time, and so on.
In other alternative embodiments, the target program may be a program played by a program channel displayed by default when the television is turned on, that is, the step of "obtaining, based on a program playing request for the target program, target program attribute information corresponding to the target program" may specifically include:
responding to a program switching instruction, and determining a program corresponding to the program switching instruction as a target program;
generating a program playing request based on the target program, wherein the program playing request comprises program identification information of the target program;
and acquiring target program attribute information corresponding to the target program according to the program identification information.
The program switching instruction is an instruction generated by the intelligent television after the user instructs the intelligent television to switch channels, and is used for enabling the intelligent television to switch programs.
Specifically, the program identification information may be a channel name of a television channel corresponding to the target program, or a name of the target program, and the embodiment of the present invention is not limited thereto.
202. Analyzing the target program attribute information to obtain program source information of the target program, wherein the program source information is used for indicating a program content source of the target program, and the program content source at least comprises a program broadcasting source.
In the ATSC3.0 standard scenario, the content of a program may originate from a broadcast or a network, or from both the broadcast and the network. For example, a piece of content of a program may come from a broadcast, a piece of content comes from a network, such as video from a network, and audio from a broadcast.
That is, the program content sources may include network sources as well as broadcast sources. That is, the program content sources include at least program broadcast sources, and may also include program network sources.
In general, as broadcasting is a mature way of transmitting television programs, television programs are basically all of the type including broadcast sources,
in some optional embodiments, the smart tv may search channels and parse the SLS information to obtain whether a network program source exists in the program, that is, whether the program content source includes the program network source. As shown in fig. 3, after receiving the program switching instruction, the smart tv may search channels and parse the SLS information to determine whether the program content source has a network program source.
203. And when the program content source comprises a program network source, downloading the network program content of the target program from the program network source through a high-speed network, and playing the network program content.
That is, if the target program is a network-sourced program, the program content may be downloaded first using the high-speed network and the play-out process initiated.
In some alternative embodiments, to play the network program content, it is generally required to download a certain amount of data to play the content, that is, the step of "downloading the network program content of the target program from the program network source through a high-speed network, and playing the network program content" may specifically include:
downloading network program data of the target program from the program network source through a high-speed network;
when the network program data meets a playable state, decoding the downloaded network program data to obtain network program content;
and playing the network program content.
Wherein, the playable state is that the network program data meets a certain data amount, or the network program data is downloaded to a certain node, and the like.
204. Broadcast program content of the target program is received from the program broadcast source over a broadcast channel.
It should be noted that, step 203 and step 204 may be performed simultaneously or may not be performed simultaneously, which is not limited in this embodiment of the present invention. For example, the program content of the target program may be acquired simultaneously through the network and the broadcast channel using a software protocol stack or hardware.
In some alternative embodiments, when acquiring broadcast program content through a broadcast channel, frequency locking is required, where the step of receiving, through the broadcast channel, the broadcast program content of the target program from the program broadcast source may specifically include:
receiving candidate program data through a broadcast channel, wherein the candidate program data comprises broadcast program content of the target program;
and selecting the candidate program data according to the frequency point corresponding to the target program to obtain the broadcast program content of the target program.
For example, when candidate program data is received over a broadcast channel, frequency locking may begin, enabling a filter to collect program content.
205. And when the broadcast program content meets a preset playing switching condition, not playing the network program content, and playing based on the broadcast program content.
The preset play switching condition may be that the broadcast program content satisfies a certain data amount, or the broadcast program content is downloaded to a certain node, or the like.
For example, in a broadcast path, after the program content is received completely, the program content can be seamlessly switched to a broadcast source.
In some optional embodiments, the step of "when the broadcast program content meets a preset play switching condition, not playing the network program content, and playing based on the broadcast program content" may specifically include:
when the broadcast program content meets a preset playing switching condition, a first time axis corresponding to the network program content and a first playing time corresponding to the played network program content are obtained;
acquiring a second time axis corresponding to the broadcast program content, and determining a second playing time corresponding to the broadcast program content according to the first playing time and the first time axis;
and not playing the network program content, and playing the broadcast program content based on the second playing time.
In the practical application process, seamless switching can be realized on the same time axis in the code stream using the ROUTE/DASH/MMTP protocol.
In some optional embodiments, if the target program has no network source, the program content may be obtained only through the broadcast channel for playing, that is, the program resource fusion playing method provided by the embodiment of the present invention may further include:
Receiving broadcast program content of the target program from the program broadcast source through a broadcast path when the program network source is not included in the program content source;
and playing the broadcast program content.
In the embodiment of the invention, the total time of Tuner frequency locking and data filtering is slower than that of acquiring content from a high-speed network, so that the broadcasting program needs 3-4 seconds to start playing, and the network on-demand can be drawn within 2 seconds. The set top box, the TV, the television stick, the TV receiving card and the like supporting processing by using the ATSC3.0 code stream can be applied to the program resource fusion playing method provided by the embodiment of the invention.
As can be seen from the foregoing, in the embodiment of the present invention, based on a program playing request for a target program, target program attribute information corresponding to the target program may be obtained, the target program attribute information may be parsed to obtain program source information of the target program, where the program source information is used to indicate a program content source of the target program, the program content source includes at least a program broadcast source, when the program content source includes a program network source, a network program content of the target program is downloaded from the program network source through a high-speed network, the network program content is played, a broadcast program content of the target program is received from the program broadcast source through a broadcast channel, and when the broadcast program content meets a preset playing switching condition, the network program content is not played, and is played based on the broadcast program content; in the embodiment of the invention, when the program supports downloading from a network source, the program can be downloaded and played from a high-speed network without waiting for receiving data through a broadcasting channel and carrying out frequency locking and filtering on the data, so that the waiting time when the television program is played can be shortened, and the experience when a user watches the television program is improved.
In order to better implement the method, correspondingly, the embodiment of the invention also provides a program resource fusion playing device.
Referring to fig. 4, the apparatus includes:
an attribute information obtaining unit 401, configured to obtain target program attribute information corresponding to a target program based on a program play request for the target program;
a source information obtaining unit 402, configured to parse the target program attribute information to obtain program source information of the target program, where the program source information may be used to indicate a program content source of the target program, and the program content source may include at least a program broadcast source;
a network program downloading unit 403, configured to, when a program network source may be included in the program content source, download, through a high-speed network, network program content of the target program from the program network source, and play the network program content;
a broadcast program receiving unit 404 operable to receive broadcast program content of the target program from the program broadcast source through a broadcast path;
the program playing switching unit 405 may be configured to, when the broadcast program content meets a preset playing switching condition, not play the network program content, and play based on the broadcast program content.
In some alternative embodiments, the network program downloading unit 403 may be configured to download network program data of the target program from the program network source through a high-speed network;
when the network program data meets a playable state, decoding the downloaded network program data to obtain network program content;
and playing the network program content.
In some alternative embodiments, as shown in fig. 5, the program resource fusion playing device provided by the embodiment of the present invention may further include a broadcast program playing unit 406, configured to receive, when the program network source may not be included in the program content source, broadcast program content of the target program from the program broadcast source through a broadcast path;
and playing the broadcast program content.
In some optional embodiments, the attribute information obtaining unit 401 may be configured to determine, in response to a television start instruction, a program displayed by default at the time of starting the television as the target program;
generating a program playing request based on the target program, wherein the program playing request can comprise program identification information of the target program;
And acquiring target program attribute information corresponding to the target program according to the program identification information.
In some optional embodiments, the attribute information obtaining unit 401 may be configured to determine, in response to a program switching instruction, a program corresponding to the program switching instruction as a target program;
generating a program playing request based on the target program, wherein the program playing request can comprise program identification information of the target program;
and acquiring target program attribute information corresponding to the target program according to the program identification information.
In some alternative embodiments, the broadcast program receiving unit 404 may be configured to receive candidate program data through a broadcast channel, where the candidate program data may include broadcast program content of the target program;
and selecting the candidate program data according to the frequency point corresponding to the target program to obtain the broadcast program content of the target program.
In some optional embodiments, the program playing switching unit 405 may be configured to obtain a first time axis corresponding to the network program content and a first playing time corresponding to the played network program content when the broadcast program content meets a preset playing switching condition;
Acquiring a second time axis corresponding to the broadcast program content, and determining a second playing time corresponding to the broadcast program content according to the first playing time and the first time axis;
and not playing the network program content, and playing the broadcast program content based on the second playing time.
As can be seen from the above, by the program resource fusion playing device, the target program attribute information corresponding to the target program can be obtained based on the program playing request for the target program, the program source information of the target program is obtained by analyzing the target program attribute information, the program source information is used for indicating the program content source of the target program, the program content source at least comprises a program broadcasting source, when the program content source comprises a program network source, the network program content of the target program is downloaded from the program network source through a high-speed network, the network program content is played, the broadcast program content of the target program is received from the program broadcasting source through a broadcast channel, and when the broadcast program content meets the preset playing switching condition, the network program content is not played, and the playing is performed based on the broadcast program content; in the embodiment of the invention, when the program supports downloading from a network source, the program can be downloaded and played from a high-speed network without waiting for receiving data through a broadcasting channel and carrying out frequency locking and filtering on the data, so that the waiting time when the television program is played can be shortened, and the experience when a user watches the television program is improved.
In addition, the embodiment of the present invention further provides an electronic device, which may be a terminal or a server, as shown in fig. 6, and shows a schematic structural diagram of the electronic device according to the embodiment of the present invention, specifically:
the electronic device may include Radio Frequency (RF) circuitry 601, memory 602 including one or more computer readable storage media, input unit 603, display unit 604, sensor 605, audio circuitry 606, wireless fidelity (WiFi, wireless Fidelity) module 607, processor 608 including one or more processing cores, and power supply 609. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the downlink information is processed by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. Typically, RF circuitry 601 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 601 may also communicate with networks and other devices through wireless communications. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (GSM, global System of Mobile communication), general packet radio service (GPRS, general Packet Radio Service), code division multiple access (CDMA, code Division Multiple Access), wideband code division multiple access (WCDMA, wideband Code Division Multiple Access), long term evolution (LTE, long Term Evolution), email, short message service (SMS, short Messaging Service), and the like.
The memory 602 may be used to store software programs and modules that are stored in the memory 602 for execution by the processor 608 to perform various functional applications and data processing. The memory 602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device (such as audio data, phonebooks, etc.), and the like. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide access to the memory 602 by the processor 608 and the input unit 603.
The input unit 603 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 603 may include a touch-sensitive surface, as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 608, and can receive commands from the processor 608 and execute them. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. The input unit 603 may comprise other input devices in addition to a touch sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 604 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of the electronic device, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 604 may include a display panel, which may be optionally configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a display panel, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is passed to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel based on the type of touch event. Although in fig. 6 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement the input and output functions.
The electronic device may also include at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile phone is stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the electronic device are not described in detail herein.
Audio circuitry 606, speakers, and a microphone may provide an audio interface between the user and the electronic device. The audio circuit 606 may transmit the received electrical signal after audio data conversion to a speaker, where the electrical signal is converted to a sound signal for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 606 and converted into audio data, which are processed by the audio data output processor 608 for transmission via the RF circuit 601 to, for example, another electronic device, or which are output to the memory 602 for further processing. The audio circuit 606 may also include an ear bud jack to provide communication of the peripheral ear bud with the electronic device.
WiFi belongs to a short-distance wireless transmission technology, and the electronic equipment can help a user to send and receive emails, browse webpages, access streaming media and the like through the WiFi module 607, so that wireless broadband Internet access is provided for the user. Although fig. 6 shows a WiFi module 607, it is understood that it does not belong to the necessary constitution of the electronic device, and can be omitted entirely as needed within the scope of not changing the essence of the invention.
The processor 608 is a control center of the electronic device that utilizes various interfaces and lines to connect the various parts of the overall handset, perform various functions of the electronic device and process data by running or executing software programs and/or modules stored in the memory 602, and invoking data stored in the memory 602. Optionally, the processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The electronic device also includes a power supply 609 (e.g., a battery) for powering the various components, which may be logically connected to the processor 608 via a power management system so as to perform functions such as managing charge, discharge, and power consumption via the power management system. The power supply 609 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the electronic device may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the processor 608 in the electronic device loads executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 608 executes the application programs stored in the memory 602, so as to implement various functions as follows:
acquiring target program attribute information corresponding to a target program based on a program playing request aiming at the target program;
analyzing the target program attribute information to obtain program source information of the target program, wherein the program source information is used for indicating a program content source of the target program, and the program content source at least comprises a program broadcasting source;
Downloading the network program content of the target program from the program network source through a high-speed network when the program content source comprises the program network source, and playing the network program content;
receiving broadcast program content of the target program from the program broadcast source through a broadcast channel;
and when the broadcast program content meets a preset playing switching condition, not playing the network program content, and playing based on the broadcast program content.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present invention provides a computer readable storage medium storing a plurality of instructions capable of being loaded by a processor to perform any of the steps in the program resource fusion playing method provided by the embodiment of the present invention. For example, the instructions may perform the steps of:
acquiring target program attribute information corresponding to a target program based on a program playing request aiming at the target program;
Analyzing the target program attribute information to obtain program source information of the target program, wherein the program source information is used for indicating a program content source of the target program, and the program content source at least comprises a program broadcasting source;
downloading the network program content of the target program from the program network source through a high-speed network when the program content source comprises the program network source, and playing the network program content;
receiving broadcast program content of the target program from the program broadcast source through a broadcast channel;
and when the broadcast program content meets a preset playing switching condition, not playing the network program content, and playing based on the broadcast program content.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps in any program resource fusion playing method provided by the embodiment of the present invention can be executed due to the instructions stored in the computer readable storage medium, so that the beneficial effects that any program resource fusion playing method provided by the embodiment of the present invention can be achieved, which are detailed in the previous embodiments and are not described herein.
According to one aspect of the present application, there is also provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the electronic device to perform the methods provided in the various alternative implementations of the embodiments described above.
The above describes in detail a method, an apparatus, an electronic device and a storage medium for playing a program resource in a fusion manner, and specific examples are applied to describe the principles and embodiments of the present invention, where the description of the above embodiment is only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present invention, the present description should not be construed as limiting the present invention.

Claims (10)

1. The program resource fusion playing method is characterized by comprising the following steps of:
acquiring target program attribute information corresponding to a target program based on a program playing request aiming at the target program;
Analyzing the target program attribute information to obtain program source information of the target program, wherein the program source information is used for indicating a program content source of the target program, and the program content source at least comprises a program broadcasting source;
downloading the network program content of the target program from the program network source through a high-speed network when the program content source comprises the program network source, and playing the network program content;
receiving broadcast program content of the target program from the program broadcast source through a broadcast channel;
and when the broadcast program content meets a preset playing switching condition, not playing the network program content, and playing based on the broadcast program content.
2. The method of claim 1, wherein downloading the network program content of the target program from the program network source via a high-speed network, and playing the network program content, comprises:
downloading network program data of the target program from the program network source through a high-speed network;
when the network program data meets a playable state, decoding the downloaded network program data to obtain network program content;
And playing the network program content.
3. The method for fusion playing of program resources according to claim 1, further comprising:
receiving broadcast program content of the target program from the program broadcast source through a broadcast path when the program network source is not included in the program content source;
and playing the broadcast program content.
4. The method for merging and playing program resources according to claim 1, wherein the obtaining, based on a program playing request for a target program, target program attribute information corresponding to the target program includes:
responding to a television starting instruction, and determining a program displayed by default as a target program when the television is started;
generating a program playing request based on the target program, wherein the program playing request comprises program identification information of the target program;
and acquiring target program attribute information corresponding to the target program according to the program identification information.
5. The method for merging and playing program resources according to claim 1, wherein the obtaining, based on a program playing request for a target program, target program attribute information corresponding to the target program includes:
Responding to a program switching instruction, and determining a program corresponding to the program switching instruction as a target program;
generating a program playing request based on the target program, wherein the program playing request comprises program identification information of the target program;
and acquiring target program attribute information corresponding to the target program according to the program identification information.
6. The program resource fusion playing method according to claim 1, wherein the receiving broadcast program content of the target program from the program broadcast source through a broadcast channel comprises:
receiving candidate program data through a broadcast channel, wherein the candidate program data comprises broadcast program content of the target program;
and selecting the candidate program data according to the frequency point corresponding to the target program to obtain the broadcast program content of the target program.
7. The program resource fusion playing method according to claim 1, wherein when the broadcast program content satisfies a preset playing switching condition, the network program content is not played, and playing is performed based on the broadcast program content, including:
when the broadcast program content meets a preset playing switching condition, a first time axis corresponding to the network program content and a first playing time corresponding to the played network program content are obtained;
Acquiring a second time axis corresponding to the broadcast program content, and determining a second playing time corresponding to the broadcast program content according to the first playing time and the first time axis;
and not playing the network program content, and playing the broadcast program content based on the second playing time.
8. A program resource fusion playing device, characterized by comprising:
an attribute information obtaining unit, configured to obtain target program attribute information corresponding to a target program based on a program play request for the target program;
a source information obtaining unit, configured to parse the target program attribute information to obtain program source information of the target program, where the program source information is used to indicate a program content source of the target program, and the program content source at least includes a program broadcast source;
a network program downloading unit, configured to, when the program content source includes a program network source, download, through a high-speed network, network program content of the target program from the program network source, and play the network program content;
a broadcast program receiving unit for receiving broadcast program content of the target program from the program broadcast source through a broadcast channel;
And the program playing switching unit is used for not playing the network program content and playing the network program content based on the broadcast program content when the broadcast program content meets the preset playing switching condition.
9. An electronic device comprising a memory and a processor; the memory stores an application program, and the processor is configured to run the application program in the memory to perform the steps in the program resource fusion playing method as claimed in any one of claims 1 to 7.
10. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the program asset fusion playing method of any one of claims 1 to 7.
CN202310424552.4A 2023-04-18 2023-04-18 Program resource fusion playing method and device, electronic equipment and storage medium Pending CN117412117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310424552.4A CN117412117A (en) 2023-04-18 2023-04-18 Program resource fusion playing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310424552.4A CN117412117A (en) 2023-04-18 2023-04-18 Program resource fusion playing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117412117A true CN117412117A (en) 2024-01-16

Family

ID=89495078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310424552.4A Pending CN117412117A (en) 2023-04-18 2023-04-18 Program resource fusion playing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117412117A (en)

Similar Documents

Publication Publication Date Title
CN106686396B (en) Method and system for switching live broadcast room
CN106791892B (en) Method, device and system for live broadcasting of wheelhouses
KR101954012B1 (en) Method, terminal, and system for processing data in a video stream
CN103391473B (en) Method and device for providing and acquiring audio and video
CN107360458B (en) Play control method, device, storage medium and terminal
US10701451B2 (en) Program interaction system, method, client, and backend server
CN106792120B (en) Video picture display method and device and terminal
CN104796743B (en) Content item display system, method and device
CN105979312B (en) Information sharing method and device
CN108040091B (en) Data processing method, device and storage medium
CN106254910B (en) Method and device for recording image
CN107333162B (en) Method and device for playing live video
CN108184143B (en) Method and device for acquiring resources
US20150304701A1 (en) Play control method and device
CN108900855B (en) Live content recording method and device, computer readable storage medium and server
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN106791916B (en) Method, device and system for recommending audio data
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN107622234B (en) Method and device for displaying budding face gift
CN106961620B (en) Smart television starting method, smart television and remote controller
CN106303616B (en) Play control method, device and terminal
CN105159655B (en) Behavior event playing method and device
CN106330875B (en) Message display method and device
CN117412117A (en) Program resource fusion playing method and device, electronic equipment and storage medium
CN113836343A (en) Audio recommendation method and device, electronic equipment and 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