CN111031357A - Play resource management system - Google Patents
Play resource management system Download PDFInfo
- Publication number
- CN111031357A CN111031357A CN201911194037.1A CN201911194037A CN111031357A CN 111031357 A CN111031357 A CN 111031357A CN 201911194037 A CN201911194037 A CN 201911194037A CN 111031357 A CN111031357 A CN 111031357A
- Authority
- CN
- China
- Prior art keywords
- resource
- player
- playing
- node
- module
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer And Data Communications (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a playing resource management system, which comprises a scheduling module, a player module and a playing drive module, wherein the scheduling module comprises a resource request node, a resource message node and a resource use recording node, and the playing resource management system comprises the following steps: s1: a player of the player module sends a playing request to a resource request node, the resource request node records the player name and the process number of the player module, and the resource request node transmits the playing request to a resource message node; s2: the resource message node publishes the name and process number of the player requesting to play, the resource message node publishes the resource state of the playing resource management system, the player of the player module inquires the resource state of the playing resource management system, and if the resource state of the playing resource management system is idle, the step S3 is executed; if the resource status of the playing resource management system is busy, go to step S4; the playing resource management system can quickly switch players in the player modules.
Description
Technical Field
The invention relates to the field of television video playing, in particular to a playing resource management system.
Background
In a television system, there are a plurality of playing scenes of U disk video playing, online video playing, DTV video playing, ATV video playing, HDMI video playing and AV channel video playing. The same driving modules, such as a video decoding module, an image display module, an image quality optimization module and a deinterlacer module, are used for the playing scenes. These drive modules typically take a certain amount of time to start or stop operating. When the playing is started, the video decoding module needs 500ms for starting, the image display module needs 200ms for starting, the interlace module needs 200ms for starting, and the whole process needs 1.5 seconds from the starting to the playing of the image, in addition to others; it may also take 1 second for the drive module to exit play.
However, when the player starts and exits, the system cannot stop waiting for the completion of the start and the exit of the player, and in order to ensure the fluency of the system, the user can still switch to other interfaces fluently, even directly switch from the U-disk video playing to the DTV video playing through a shortcut key, or switch from the HDMI video playing to the online video playing. The user presses the remote controller key once in normal operation for only 100ms, and the key operations should be responded by the system.
Therefore, a contradiction occurs, and a user can quickly switch playing scenes, but the driving modules related to each playing cannot be started and exited quickly, and one playing can be started normally, and other players are required to wait for all playing resources (namely the driving modules) to be released, otherwise, a black screen, a flash back and even a dead halt easily occur.
Therefore, a playing resource management system capable of quickly responding and quickly switching players is urgently needed.
Disclosure of Invention
In order to solve the above problems, the present invention provides a playing resource management system capable of fast responding and fast switching players.
The invention is realized by the following technical scheme:
the invention provides a playing resource management system, which comprises a scheduling module, a player module and a playing driving module, wherein the scheduling module comprises a resource request node, a resource message node and a resource use recording node, and the resource use recording node transmits the resource state of the playing resource management system to the resource message node; the playing resource management system comprises the following steps:
s1: a player of the player module sends a playing request to the resource request node, the resource request node records the player name and the process number of the player module, and the resource request node transmits the playing request to the resource message node;
s2: the resource message node publishes a player name and a process number which are requested to be played, the resource message node publishes a resource state of the playing resource management system, a player of the player module inquires the resource state of the playing resource management system, and if the resource state of the playing resource management system is idle, the step S3 is executed; if the resource status of the playing resource management system is busy, executing step S4;
s3: the resource usage recording node records the player name and the process number of the player module, and the player of the player module calls the corresponding driver in the play driving module to play;
s4: the player of the player module waits for the resource status of the playing resource management system to become idle, and then executes step S3.
Further, in steps S1-S4, if another player of the player module issues a play request to the resource request node, indicating that another player of the player module needs to preempt the resource, the following steps are performed:
s5: the resource request node records the name and the process number of another player of the player module, and transmits a playing request to the resource message node;
s6: the resource message node publishes the name and the process number of the player requesting to be played, the player of the player module stops waiting or stopping playing, and the player of the player module exits the playing process;
s7: and the resource usage recording node records the name and the process number of the other player of the player module, and the other player of the player module calls the corresponding driver in the play driver module to play.
Further, the scheduling module further includes a resource registration node, any player of the player module needs to call a corresponding driver in the play driver module to play, and the resource registration node transmits a name of the called driver in the play driver module to the resource usage recording node; when any one of the drivers in the playing driver module is called, the resource state of the playing resource management system is busy, and the resource registration node transmits the resource state of the playing resource management system to the resource usage recording node.
Further, the scheduling module further includes a resource status node, and the resource usage recording node transmits the player name and the process number of the player module being played to the resource status node; the resource registration node transmits the driving use state in the playing driving module to the resource use recording node, and the resource use recording node transmits the driving use state in the playing driving module to the resource state node.
Furthermore, the scheduling module further includes a resource logout node, and any player of the player module needs to stop calling the corresponding driver in the play driver module after stopping playing; and the resource logout node transmits the name of the drive which is stopped to be called in the playing drive module to the resource use recording node, when the drive of the playing drive module is not called, the resource state of the playing resource management system is idle, and the resource logout node transmits the resource state of the playing resource management system to the resource use recording node.
The invention has the beneficial effects that:
the playing resource management system provided by the invention can quickly respond to the instruction of the user for switching the player, and can quickly switch the player in the player module, and the system can not cause the phenomena of screen blacking, flash back and even crash caused by quickly switching the player.
Drawings
FIG. 1 is a block diagram of a broadcast asset management system according to the present invention.
Detailed Description
In order to more clearly and completely explain the technical scheme of the invention, the invention is further explained with reference to the attached drawings.
Referring to fig. 1, the present invention provides a playing resource management system, where the playing resource management system includes a scheduling module 10, a player module 20, and a playing driver module 30, the scheduling module 10 includes a resource request node 11, a resource message node 12, and a resource usage recording node 13, and the resource usage recording node 13 transmits a resource status of the playing resource management system to the resource message node 12; the playing resource management system comprises the following steps:
s1: the player of the player module 20 sends a play request to the resource request node 11, the resource request node 11 records the player name and the process number of the player module 20, and the resource request node 11 transmits the play request to the resource message node 12;
s2: the resource message node 12 publishes the name and the process number of the player requesting playing, the resource message node 12 publishes the resource state of the playing resource management system, the player of the player module 20 inquires the resource state of the playing resource management system, and if the resource state of the playing resource management system is idle, step S3 is executed; if the resource status of the playing resource management system is busy, executing step S4;
s3: the resource usage recording node 13 records the player name and the process number of the player module 20, and the player of the player module 20 calls the corresponding driver in the play driver module 30 to play;
s4: the player of the player module 20 waits for the resource status of the playing resource management system to become idle, and then executes step S3.
In this embodiment, the scheduling module 10 is electrically connected to a player module 20, the scheduling module 10 is electrically connected to the play driving module 30, a plurality of players are disposed in the player module 20, and a plurality of drivers are disposed in the play driving module 30; the resource message node 12 publishes the resource status of the play resource management system; the scheduling module 10 is driven by a resource manager of the kernel, the scheduling module 10 does not depend on communication between the processes such as binder and sokcet, so as to improve system access efficiency and reduce system memory consumption, the scheduling module 10 does not directly control system resources and a player, and the scheduling module 10 does not directly block the player process, so that the playing resource management system can quickly respond to a command of a user for switching the player, and can quickly switch the player in the player module 20, and the system does not have the phenomena of black screen, flash back and even crash of the player in the player module 20 due to quick switching.
Further, in steps S1-S4, if another player of the player module 20 issues a play request to the resource requesting node 11, indicating that another player of the player module 20 needs to preempt the resource, the following steps are performed:
s5: the resource request node 11 records another player name and a process number of the player module 20, and the resource request node 11 transmits a play request to the resource message node 12;
s6: the resource message node 12 publishes the name and the process number of the player requesting to play, the player of the player module 20 stops waiting or stopping playing, and the player of the player module 20 exits the playing process;
s7: the resource usage recording node 13 records another player name and a process number of the player module 20, and another player of the player module 20 calls a corresponding driver in the play driver module 30 to play.
In this embodiment, when a player of the player module 20 needs to preempt resources, the playing resource management system is preferentially matched.
Further, the scheduling module 10 further includes a resource registration node 15, where any player of the player module 20 needs to call a corresponding driver in the play driver module 30 to play, and the resource registration node 15 transmits a name of the called driver in the play driver module 30 to the resource usage recording node 13; when any one of the drivers in the playback driver module 30 is called, the resource status of the playback resource management system is busy, and the resource registration node 15 transmits the resource status of the playback resource management system to the resource usage recording node 13.
In this embodiment, the resource usage recording node 13 stores the player name and the process number of the player module 20 being played; the resource usage recording node 13 saves the usage state of each driver of the playback driver module 30.
Further, the scheduling module 10 further includes a resource status node 14, and the resource usage recording node 13 transmits the player name and the process number of the player module 20 being played to the resource status node 14; the resource registration node 15 transmits the driving use state in the playback driver module 30 to the resource use recording node 13, and the resource use recording node 13 transmits the driving use state in the playback driver module 30 to the resource state node 14.
In this embodiment, the user can clearly know the name and the process number of the playing player module 20 and the driving use state in the playing driving module 30 through the resource state node 14, so that the user can conveniently debug and manage the playing resource management system.
Further, the scheduling module 10 further includes a resource logout node 16, and after the playing of any player of the player module 20 is stopped, the corresponding driver in the playing driver module 30 needs to be stopped to be called; the resource logout node 16 transmits the name of the driver which is stopped to be called in the play driver module 30 to the resource usage recording node 13, when the driver of the play driver module 30 is not called, the resource state of the play resource management system is idle, and the resource logout node 16 transmits the resource state of the play resource management system to the resource usage recording node 13.
In this embodiment, the resource logout node 16 transmits the name of the driver that is stopped to be called in the playback driver module 30 to the resource usage recording node 13, so as to ensure that the resource message node 12 publishes that the resource status of the playback resource management system is correct.
Of course, the present invention may have other embodiments, and based on the embodiments, those skilled in the art can obtain other embodiments without any creative effort, and all of them are within the protection scope of the present invention.
Claims (5)
1. A playing resource management system is characterized by comprising a scheduling module, a player module and a playing driving module, wherein the scheduling module comprises a resource request node, a resource message node and a resource use recording node, and the resource use recording node transmits the resource state of the playing resource management system to the resource message node; the playing resource management system comprises the following steps:
s1: a player of the player module sends a playing request to the resource request node, the resource request node records the player name and the process number of the player module, and the resource request node transmits the playing request to the resource message node;
s2: the resource message node publishes a player name and a process number which are requested to be played, the resource message node publishes a resource state of the playing resource management system, a player of the player module inquires the resource state of the playing resource management system, and if the resource state of the playing resource management system is idle, the step S3 is executed; if the resource status of the playing resource management system is busy, executing step S4;
s3: the resource usage recording node records the player name and the process number of the player module, and the player of the player module calls the corresponding driver in the play driving module to play;
s4: the player of the player module waits for the resource status of the playing resource management system to become idle, and then executes step S3.
2. The playback resource management system of claim 1, wherein in steps S1-S4, if another player of the player module issues a playback request to the resource requesting node, indicating that another player of the player module needs to preempt the resource, then the following steps are performed:
s5: the resource request node records the name and the process number of another player of the player module, and transmits a playing request to the resource message node;
s6: the resource message node publishes the name and the process number of the player requesting to be played, the player of the player module stops waiting or stopping playing, and the player of the player module exits the playing process;
s7: and the resource usage recording node records the name and the process number of the other player of the player module, and the other player of the player module calls the corresponding driver in the play driver module to play.
3. The playback resource management system of claim 1, wherein the scheduling module further includes a resource registration node, any player of the player modules needs to call a corresponding driver in the playback driver module to play back, and the resource registration node transmits a name of the called driver in the playback driver module to the resource usage recording node; when any one of the drivers in the playing driver module is called, the resource state of the playing resource management system is busy, and the resource registration node transmits the resource state of the playing resource management system to the resource usage recording node.
4. The playback resource management system of claim 3, wherein the scheduling module further comprises a resource status node, and the resource usage recording node transmits the player name and the process number of the player module being played to the resource status node; the resource registration node transmits the driving use state in the playing driving module to the resource use recording node, and the resource use recording node transmits the driving use state in the playing driving module to the resource state node.
5. The playback resource management system of claim 1, wherein the scheduling module further includes a resource logout node, and after the playback of any one player of the player modules is stopped, the corresponding driver in the playback driver module needs to be stopped; and the resource logout node transmits the name of the drive which is stopped to be called in the playing drive module to the resource use recording node, when the drive of the playing drive module is not called, the resource state of the playing resource management system is idle, and the resource logout node transmits the resource state of the playing resource management system to the resource use recording node.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911194037.1A CN111031357A (en) | 2019-11-28 | 2019-11-28 | Play resource management system |
PCT/CN2020/115001 WO2021103746A1 (en) | 2019-11-28 | 2020-09-14 | Playback resource management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911194037.1A CN111031357A (en) | 2019-11-28 | 2019-11-28 | Play resource management system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111031357A true CN111031357A (en) | 2020-04-17 |
Family
ID=70207222
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911194037.1A Pending CN111031357A (en) | 2019-11-28 | 2019-11-28 | Play resource management system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111031357A (en) |
WO (1) | WO2021103746A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021103746A1 (en) * | 2019-11-28 | 2021-06-03 | 晶晨半导体(深圳)有限公司 | Playback resource management system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101600011A (en) * | 2008-06-03 | 2009-12-09 | 中兴通讯股份有限公司 | The concurrent playing method and device of mobile multimedia terminal |
US20100211988A1 (en) * | 2009-02-18 | 2010-08-19 | Microsoft Corporation | Managing resources to display media content |
CN103024551A (en) * | 2012-12-17 | 2013-04-03 | 四川长虹电器股份有限公司 | Resource management method of intelligent television system |
CN103945232A (en) * | 2014-03-17 | 2014-07-23 | 深圳创维-Rgb电子有限公司 | Television resource scheduling method and device |
CN104239151A (en) * | 2014-09-18 | 2014-12-24 | 深圳市九洲电器有限公司 | Resource management method and system |
CN106155828A (en) * | 2016-07-13 | 2016-11-23 | 微鲸科技有限公司 | For play-back application resource control method and equipment |
CN109068177A (en) * | 2018-07-23 | 2018-12-21 | 青岛海信电器股份有限公司 | Audio/video player method for managing resource and device, smart television, storage medium |
CN109194986A (en) * | 2018-08-24 | 2019-01-11 | 深圳市酷开网络科技有限公司 | A kind of resource control method, smart television and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8855795B2 (en) * | 2007-01-09 | 2014-10-07 | Mediatek Inc. | Multiple output audio system |
CN101252454B (en) * | 2008-03-10 | 2011-04-20 | 中国电信股份有限公司 | Client end video frequency playing system and method |
CN105282628B (en) * | 2014-06-30 | 2019-10-11 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus of video playing |
CN111031357A (en) * | 2019-11-28 | 2020-04-17 | 晶晨半导体(深圳)有限公司 | Play resource management system |
-
2019
- 2019-11-28 CN CN201911194037.1A patent/CN111031357A/en active Pending
-
2020
- 2020-09-14 WO PCT/CN2020/115001 patent/WO2021103746A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101600011A (en) * | 2008-06-03 | 2009-12-09 | 中兴通讯股份有限公司 | The concurrent playing method and device of mobile multimedia terminal |
US20100211988A1 (en) * | 2009-02-18 | 2010-08-19 | Microsoft Corporation | Managing resources to display media content |
CN103024551A (en) * | 2012-12-17 | 2013-04-03 | 四川长虹电器股份有限公司 | Resource management method of intelligent television system |
CN103945232A (en) * | 2014-03-17 | 2014-07-23 | 深圳创维-Rgb电子有限公司 | Television resource scheduling method and device |
CN104239151A (en) * | 2014-09-18 | 2014-12-24 | 深圳市九洲电器有限公司 | Resource management method and system |
CN106155828A (en) * | 2016-07-13 | 2016-11-23 | 微鲸科技有限公司 | For play-back application resource control method and equipment |
CN109068177A (en) * | 2018-07-23 | 2018-12-21 | 青岛海信电器股份有限公司 | Audio/video player method for managing resource and device, smart television, storage medium |
CN109194986A (en) * | 2018-08-24 | 2019-01-11 | 深圳市酷开网络科技有限公司 | A kind of resource control method, smart television and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021103746A1 (en) * | 2019-11-28 | 2021-06-03 | 晶晨半导体(深圳)有限公司 | Playback resource management system |
Also Published As
Publication number | Publication date |
---|---|
WO2021103746A1 (en) | 2021-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105979375B (en) | A kind of starting method and device of smart television | |
CN103581754A (en) | Data display method and intelligent equipment | |
CN103118299B (en) | IPTV video calling control method and Set Top Box | |
WO2013123732A1 (en) | Multimedia resource management method and device for mobile terminal | |
CN108111520B (en) | Media playing resource processing method, device and terminal | |
CN106897077A (en) | Application control method | |
EP3116221B1 (en) | Method for multi-picture control in video conference, related device, and storage medium | |
CN110333961A (en) | Multisystem audio frequency controller equipment, method and computer readable storage medium | |
CN114296670A (en) | Display equipment and control method for multi-equipment screen projection on same screen display | |
CN103945232A (en) | Television resource scheduling method and device | |
US20040230687A1 (en) | Service management system, and method, communications unit and integrated circuit for use in such system | |
CN111031357A (en) | Play resource management system | |
WO2022095858A1 (en) | Data transmission method, and device and medium | |
CN114025223A (en) | Channel switching method in video recording state and display equipment | |
CN112075074A (en) | Media information display method and media information display device | |
CN114079698A (en) | Method and device for polling intelligent outbound robot and storage medium | |
CN108632657B (en) | Subtitle display method, storage medium and smart television | |
CN107040812B (en) | Video image control method and smart television | |
CN111467797B (en) | Game data processing method and device, computer storage medium and electronic equipment | |
KR100690852B1 (en) | Method and mobile terminal for controlling usage of resource | |
CN112019858B (en) | Video playing method and device, computer equipment and storage medium | |
CN112365905A (en) | Player control method, device, equipment and readable storage medium | |
CN113326075A (en) | Method, device and system for running multiple application foreground | |
WO2023246181A1 (en) | System switching method, and terminal device and storage medium | |
CN113190306B (en) | Display hierarchy switching method, device, 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200417 |
|
RJ01 | Rejection of invention patent application after publication |