CN106534935A - Method and device for controlling hardware resource conflict - Google Patents

Method and device for controlling hardware resource conflict Download PDF

Info

Publication number
CN106534935A
CN106534935A CN201611004670.6A CN201611004670A CN106534935A CN 106534935 A CN106534935 A CN 106534935A CN 201611004670 A CN201611004670 A CN 201611004670A CN 106534935 A CN106534935 A CN 106534935A
Authority
CN
China
Prior art keywords
hardware
path
resource
hardware device
medium data
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
CN201611004670.6A
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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201611004670.6A priority Critical patent/CN106534935A/en
Publication of CN106534935A publication Critical patent/CN106534935A/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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42676Internal components of the client ; Characteristics thereof for modulating an analogue carrier signal to encode digital information or demodulating it to decode digital information, e.g. ADSL or cable modem
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4382Demodulation or channel decoding, e.g. QPSK demodulation
    • 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
    • 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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/60Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals
    • H04N5/602Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals for digital sound signals

Abstract

The disclosure provides a method and device for controlling a hardware resource conflict. The control method comprises: when an intelligent device plays first data, a first hardware access is distributed; when the intelligent device plays second data, a second hardware access is distributed; when the intelligent device carries out switching from playing the first data to playing the second data to cause a hardware resource conflict, only competitive hardware equipment is released and non-competitive equipment is kept, wherein the competitive hardware equipment is hardware equipment that is needed in two different application scenes during the switching from playing the first data to playing the second data by the intelligent device and the non-competitive equipment is hardware equipment having no using situation conflict at the two different application scenes during the switching from playing the first data to playing the second data by the intelligent device. Therefore, resource switching and resource replaying can be realized rapidly, thereby reducing the resource competition switching time; and thus an application occupying some resources exclusively can be switched rapidly.

Description

The control method and device of hardware resource conflict
Technical field
The disclosure relates in general to ntelligent television technolog field, in particular to a kind of controlling party of hardware resource conflict Method and device.
Background technology
Intelligent television is equipped with operating system, and user voluntarily can be installed and uninstalled while general television content is appreciated Types of applications software, the new tv product for persistently function being expanded and being upgraded, with web search, Internet Protocol Television, video point Broadcast the various application services such as (VOD), digital music, Internet news, network video telephone and online game.
As the application scenarios of intelligent television are more and more, in current intelligent television industry, there is asking for hardware resource conflict Topic, for the solution that the management of hardware resource conflict is generally provided using scheme business, basic method is exactly a field (for example the online Streaming Media of broadcasting is switched to from broadcasting digital television program) before scape is switched to another scene, if it find that having Exclusive resource is currently in use, then the resource of all distribution before first discharging before application hardware resource.If also needed to again Scene (for example switching back to play digital television program from the online Streaming Media of broadcasting) before switching back to, then need for before The media play of scene applies for all hardware resource again.
Said method Shortcomings, exactly discharge all resources when scene switches and apply for again all resources It is required for taking the long period, so as to cause application scenarios switching time longer, affects Consumer's Experience.
Accordingly, it would be desirable to the control method and device of a kind of new hardware resource conflict.
Disclosed in the background section, above- mentioned information is only used for the understanding for strengthening background of this disclosure, therefore it Can include not constituting the information to prior art known to persons of ordinary skill in the art.
The content of the invention
The purpose of the disclosure is the control method and device for providing a kind of hardware resource conflict, to solve in prior art Scene discharges all resources when switching and applies for that again all resources are required for taking the problem of long period.
Other characteristics of the disclosure and advantage will be apparent from by detailed description below, or partially by the disclosure Practice and acquistion.
According to an aspect of this disclosure, there is provided a kind of control method of hardware resource conflict, for a smart machine, bag Include:
Receive and switch to broadcasting second multi-medium data by the first multi-medium data is played for controlling the smart machine Instruction;
It is to be set up for the second hardware path of second multi-medium data being played with currently playing described to judge Whether the first hardware path of one multi-medium data there is hardware resource conflict, in the event of hardware resource conflict, then only discharge There is the hardware device of resource contention in the first hardware path with the second hardware path, retain first hardware and lead to Described in Lu Zhongyu there is no the hardware device of resource contention in the second hardware path so that release after hardware device can be used for for Second multi-medium data sets up the second hardware path.
It is in a kind of exemplary embodiment of the disclosure, described to judge to be set up for playing the second multimedia number According to the first hardware path of the second hardware path and currently playing first multi-medium data whether there is hardware resource punching It is prominent to include:
If the second hardware path needs one or more hardware devices monopolized in the first hardware path, Then there is hardware resource conflict.
It is in a kind of exemplary embodiment of the disclosure, described only to discharge hard with described second in the first hardware path There is the hardware device of resource contention in part path, money does not occur with the second hardware path in retaining the first hardware path The hardware device of source competition includes:
The first hardware path discharges the second hardware path and needs an exclusive hardware device, and disconnects and being released Link connection relation of the hardware device put in the first hardware path with previous stage or rear stage hardware device;
The hardware device that the first hardware path does not discharge is stilled remain in the first hardware path, and while is protected Hold original link connection relation between the hardware device not discharged.
In a kind of exemplary embodiment of the disclosure, also include:
Receive and be switched to broadcasting described more than first by second multi-medium data is played for controlling the smart machine The instruction of media data;
The exclusive hardware device of the second hardware path release, and the discharged hardware device of recovery is described with what is retained There is no the path between the hardware device of resource contention in first hardware path with the second hardware path.
It is in a kind of exemplary embodiment of the disclosure, described to recover discharged hardware device and described first for retaining The path between the hardware device of resource contention does not occur with the second hardware path in hardware path includes:
Set up the chain between the hardware device and the hardware device not discharged discharged by the first hardware path Road annexation.
According to another aspect of the disclosure, there is provided a kind of control device of hardware resource conflict, for a smart machine, Including:
Multiple hardwares equipment, provides the hardware resource of difference in functionality respectively;
Plurality of devices gateway, is connected with CHINA RFTCOM Co Ltd and internet signal line, for being responsible for beating for corresponding hardware device Switch closes, specifies data-source device and issue action command to corresponding hardware device;And
Controller, for being managed to the hardware device when hardware device is clashed;
The controller includes:
Command reception module, for receiving the instruction of the control smart machine;
Instruction identification module, for recognizing the type of the instruction, when the instruction is by playing the first multi-medium data Switch to judge module is jumped to when playing the instruction of the second multi-medium data;
Judge module, for judging the second hardware path for playing second multi-medium data to be set up and working as Whether front the first hardware path for playing first multi-medium data there is hardware resource conflict, rush in the event of hardware resource It is prominent, then jump to conflict management module;
Conflict management module, only discharges in the first hardware path for control and occurs to provide with the second hardware path , in retaining the first hardware path, there is no the hardware of resource contention with the second hardware path in the hardware device of source competition Equipment, so that the hardware device after release can be used to set up the second hardware path for second multi-medium data.
In a kind of exemplary embodiment of the disclosure, the basis for estimation of the judge module is:If described second is hard When part path needs one or more hardware devices monopolized in the first hardware path, then there is hardware resource conflict.
In a kind of exemplary embodiment of the disclosure, the conflict management module includes:
First submodule, discharges exclusive one of the second hardware path needs for controlling the first hardware path Hardware device, and disconnect discharged hardware device in the first hardware path with previous stage or rear stage hardware device Link connection relation;
Second submodule, stills remain in described first for controlling the hardware device that the first hardware path does not discharge In hardware path, and original link connection relation between the hardware device not discharged described in while keeping.
In a kind of exemplary embodiment of the disclosure, also include:
Recovery management module, when the instruction is to switch to the first multi-medium data of broadcasting by the second multi-medium data of broadcasting Instruction when jump to the recovery management module;
The recovery management module is used to control the exclusive hardware device of the second hardware path release, and recovers to be released The hardware device put and the hardware that resource contention does not occur with the second hardware path in the first hardware path for retaining Path between equipment.
In a kind of exemplary embodiment of the disclosure, the recovery management module is additionally operable to set up first hardware Link connection relation between hardware device that path is discharged and the hardware device not discharged.
Based on above-mentioned technical proposal, the disclosure has the following technical effect that:
The disclosure only needs to discharge the hardware device of competition and retain non-competing when scene switches and hardware resource competition occurs The hardware device striven so that the software of smart machine can be switched fast resource and fast quick-recovery resource, so as to reduce resource The time of competition switching, enabling be switched fast the application of exclusive some hardware resources, improving product competitiveness and user's body Test.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
During accompanying drawing herein is merged in specification and the part of this specification is constituted, show the enforcement for meeting the disclosure Example, and be used for explaining the principle of the disclosure together with specification.It should be evident that drawings in the following description are only the disclosure Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 illustrates the structural representation according to the hardware resource equipment of intelligent television in disclosure related embodiment.
Fig. 2 illustrates flow process the step of according in disclosure related embodiment by taking intelligent television broadcasting digital live broadcast TV as an example Figure.
Fig. 3 is illustrated according to the rigid path schematic diagram in the disclosure related embodiment during broadcasting broadcasting and TV media data.
Fig. 4 is illustrated according to flow chart the step of the technical scheme of resource contention is solved in disclosure related embodiment.
Fig. 5 is illustrated according to the hardware resource equipment set up for playing network streaming media data in disclosure related embodiment The schematic diagram of path.
The step of Fig. 6 illustrates the control method according to a kind of hardware resource conflict provided in one embodiment of disclosure flow process Figure.
The step of Fig. 7 illustrates the control method according to a kind of hardware resource conflict provided in another embodiment of the disclosure is flowed Cheng Tu.
Fig. 8 illustrate according to playbacked by playing network streaming media data exchange in another embodiment of the disclosure put digital live broadcast electricity Depending on and set up hardware resource equipment path schematic diagram.
Fig. 9 is illustrated according to flow chart the step of the technical scheme of resource contention is solved in another embodiment of the disclosure.
A kind of composition schematic diagram of the control device of hardware resource conflict that Figure 10 is provided in illustrating one embodiment of the disclosure.
The composition schematic diagram of the controller that Figure 11 is provided in illustrating one embodiment of the disclosure.
The composition schematic diagram of the controller that Figure 12 is provided in illustrating another embodiment of the disclosure.
Specific embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be with various shapes Formula is implemented, and is not understood as limited to example set forth herein;Conversely, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively convey to those skilled in the art.Accompanying drawing is only the disclosure Schematic illustrations, be not necessarily drawn to scale.In figure, identical reference represents same or similar part, thus Repetition thereof will be omitted.
Additionally, described feature, structure or characteristic can in any suitable manner with reference in one or more enforcements In mode.In the following description, there is provided many details are so as to providing fully understanding for embodiment of this disclosure.So And, it will be appreciated by persons skilled in the art that the technical scheme of the disclosure can be put into practice and one in the specific detail is omitted Or it is more, or can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes Known features, method, device, realization, material or operation are to avoid that a presumptuous guest usurps the role of the host so that each side of the disclosure becomes mould Paste.
Some block diagrams shown in accompanying drawing are functional entitys, not necessarily must be with physically or logically independent entity phase Correspondence.These functional entitys, or the reality in one or more hardware modules or integrated circuit can be realized using software form Existing these functional entitys, or these function realities are realized in heterogeneous networks and/or processor device and/or microcontroller device Body.
The gateway of intelligent television connects CHINA RFTCOM Co Ltd and internet simultaneously, receives the broadcasting and TV media number that CHINA RFTCOM Co Ltd transmission comes Family's mobile terminal (such as intelligent television) is passed it to according to after, after receiving the network flow media data that the Internet transmission is come Family's mobile terminal (such as intelligent television) is passed it to, therefore the gateway of intelligent television had both been supported the Internet media content It is transferred to intelligent television to play out, supports again digital live broadcast content transmission is played out to intelligent television.
Fig. 1 illustrated in one related embodiment of the disclosure by taking intelligent television as an example, wherein can provide hard in the intelligent television The equipment (abbreviation hardware device) of part resource includes:Demodulator device, decoder apparatus, separator device etc., these hardware set Standby to be controlled by each independent device gateway, each gateway is responsible for opening or closing corresponding hardware device, specifies data source to set It is standby and assign other action commands to hardware device.
As shown in figure 1, the wire signal (PN_CABLE) of dissemination system device gateway reception optical fiber transmission, ground signal (PN_TERR), satellite-signal (PN_SAT) and analog signal (PN_ANALOG), and therefrom extract ground signal (Tuner_ C_T), satellite-signal (Tuner_S) is sent to regarding close card apparatus gateway;Ground signal (Tuner_C_T), satellite-signal (Tuner_S) through regarding close card apparatus gateway decryption after, respectively by the ground signal (INT_TS1) of the decryption for obtaining and decrypt Satellite-signal (INT_TS2) is sent to demodulator device gateway;And dissemination system device gateway is extracted from the signal for receiving Analog signal (Tuner_A) is not required to decryption and is transmitted directly to demodulator device gateway;Signal of the demodulator device gateway to reception It is demodulated, and data signal therein is transferred to into separator device net with two passages (D_TUNSER_0 and D_TUNSER_1) Close, the separated device of data signal of this two passage isolate audio signal and vision signal again respectively with two passages (DEMUX_0 and DEMUX_1) it is transferred to decoder apparatus gateway;Analog signal therein is also with two passages (A_TUNSER_0 and A_TUNSER_1) It is transferred directly to decoder gateway;Last DEMUX_0 and DEMUX_1 and A_TUNSER_0 and A_TUNSER_1 signals are through solution Code device equipment decoded after by PLAYER signal transmissions to display/sound device gateway, respectively with main display signal (WIN_ MAIN), sub- display signal (WIN_PIP), main sound signal (SPEAK_MAIN) and earphone signal (SPEAK_HEAD) are sent to Corresponding equipment is played out.
Wherein in the present embodiment can be big card apparatus depending on close card apparatus, in intelligent television, typically have a CI (complete Title is Common Interface) draw-in groove, it is specifically used to insert that kilocalorie watches different sponsored programs (supports various CA cards It is its main application), the inside may be inserted into CA cards, then in insertion all-in-one, realize descrambling (decryption) function of intelligent television. The program of encryption can connect the equipment of television set and outside source by being decrypted depending on close card, and it can be by compression Data signal changes into television content, and shows on a television set.Depending on close card (also known as kilocalorie) and smart card (also known as lesser calorie) Use cooperatively, intelligent television all-in-one of the insertion with CI interfaces makes user directly watch ordered paying without the need for Set Top Box Digital TV contents.
First, when user switches/open on intelligent television to apply, if this application needs to take hardware money Corresponding gateway then can be first found in source, then open corresponding hardware device and connection data-source device by specific gateway, Media data on the horizon is processed so as to set up a hardware resource path.
So that intelligent television plays digital live broadcast TV (being exactly media data) as an example, flow process is as shown in Fig. 2 including following step Suddenly:
As shown in Fig. 2 in step s 11, when user selects to play certain digital channel, application can then issue application money The request in source.
As shown in Fig. 2 in step s 12, after device gateway receives the request of application resource, then dissemination system can be selected to set Standby gateway, kilocalorie device gateway, demodulator device gateway, separator device gateway, decoder apparatus gateway and display device net Close.
As shown in Fig. 2 in step s 13, each device gateway starts corresponding equipment, while specifying the data source of connection Equipment.For example, as shown in figure 1, the data-source device of decoder apparatus is separator, and set in hardware path connection separator It is standby;The data-source device of display device is decoder apparatus etc..
Fig. 3 illustrates rigid path schematic diagram when playing broadcasting and TV media data, based on above-mentioned steps S11~step S13, from And the hardware resource equipment path shown in Fig. 3 is defined, by the path conversion shown in Fig. 3, TV signal shows that signal is showing Plate face is exported.
Secondly, when user is switched to playing network streaming media scene from broadcasting digital live broadcast tv scene, due to playing Streaming Media is also required to the hardware resource of decoder apparatus and display device in exclusive Fig. 1, so as to cause to produce resource contention.Fig. 4 The step of technical scheme of resource contention is solved in illustrating correlation technique flow process, general process following steps:
As shown in figure 4, in the step s 21, before switching playing network streaming media scene, issue a release and play number The request of all hardware resource (the hardware resource equipment path shown in Fig. 3) that word live telecast needs.Discharge all of hardware After resource, now hardware resource returns to the state shown in Fig. 1.
As shown in figure 4, in step S22, being the playing stream media distribution resource such as decoder apparatus and display device, coming real The stream medium data for carrying out automatic network is converted into display data now.
As shown in figure 4, in step S23, when user switches back to the digital channel before live telecast is played again, Need first to discharge the hardware resource of decoder apparatus and display device, now hardware resource state is returned to shown in Fig. 1.
As shown in figure 4, in step s 24, then hardware resource as shown in Figure 3 and weight are distributed for live telecast again Newly set up hardware path to process TV signal.
The schematic diagram of the hardware resource equipment path that Fig. 5 is shown as playing network streaming media data and sets up, wherein demodulating Device equipment, the hardware path depending on close card apparatus and separator device are released, only decoder apparatus and display device weight Hardware path is newly set up, and network flow media data is received in decoder apparatus, and be transferred to display device shown.
It can be seen that, according to the step flow process shown in Fig. 4, when current scene being obtained by the switching of previous scene, need release All of hardware resource is to reset condition (namely state shown in Fig. 1), and to be that hardware device required under current scene is built Vertical new hardware path;And when previous scene is switched back into again by current scene, be equally also required to the current all of hardware of release Resource is to reset condition (namely state shown in Fig. 1), and hardware device that will be again for needed for migrating under scene sets up new Hardware path, thus can take the long period to switch hardware path when scene switches.
Based on above-mentioned, Fig. 6 illustrates a kind of control method of the hardware resource conflict according to disclosure example embodiment Flow chart of steps, the method can be used for a smart machine, and the smart machine can be intelligent television.
As shown in fig. 6, in step S31, receiving and being switched to by the first multi-medium data is played for controlling smart machine Play the instruction of the second multi-medium data.
As shown in fig. 6, in step s 32, judge that the second hardware for playing the second multi-medium data to be set up leads to Whether road there is hardware resource conflict with the first hardware path of currently playing first multi-medium data.
As shown in fig. 6, in step S33, in the event of hardware resource conflict, then only discharge in the first hardware path with the There is the hardware device of resource contention in two hardware paths, resource does not occur with the second hardware path competing in retaining the first hardware path The hardware device striven, so that the hardware device after release can be used to set up the second hardware path wherein for the second multi-medium data The hardware device of the competition being related in the method is that smart machine is switched to broadcasting matchmaker more than second by the first multi-medium data is played It is required to the hardware device for using under two different application scenarios of volume data, non-competing hardware device is smart machine by broadcasting Put the first multi-medium data and be switched to what service condition under broadcasting two different application scenarios of the second multi-medium data did not conflicted Hardware device.
In the present embodiment, hardware device can be provided in smart machine can be included:Depending on close card apparatus, demodulator device, Separator device, decoder apparatus, display device and sound device, and for hardware devices different in smart machine, Controlled by corresponding device gateway respectively.Accordingly, it is corresponding with regarding close card apparatus depending on close card apparatus gateway, dissemination system equipment Gateway and demodulator device gateway are corresponding with demodulator device, and separator device gateway is corresponding with separator device, decoding Device device gateway is corresponding with decoder apparatus, and display/sound device gateway is corresponding with display device and sound device.
In the method by switching to scene before and after involved hardware device be whether that the hardware device of competition carries out area Office is managed, and only discharges competitive hardware device, and retains current scene and there is no hardware resource conflict compared with previous scenario Hardware device, be so easy to be not required to re-establish the hardware device not conflicted originally again when subsequently switching back into previous scenario again Path, be capable of the hardware path of quick-recovery previous scenario soon." hardware resource conflict " wherein in the present embodiment refers to second Hardware path needs one or more hardware devices in exclusive first hardware path, although some hardware devices can be by how hard Part path is used, but if necessary to can be also employed and other hardware by the hardware device that wherein a certain hardware path is monopolized During path, then show to have produced hardware resource conflict.
The step of Fig. 7 also illustrates that the control method according to a kind of hardware resource conflict of another embodiment of disclosure example Flow chart, the method can be used for a smart machine, and the smart machine can be intelligent television.
As shown in fig. 7, in step S31, receiving and being switched to by the first multi-medium data is played for controlling smart machine Play the instruction of the second multi-medium data.
As shown in fig. 7, in step s 32, judge that the second hardware for playing the second multi-medium data to be set up leads to Whether road there is hardware resource conflict with the first hardware path of currently playing first multi-medium data.
As shown in fig. 7, in step S33, in the event of hardware resource conflict, then only discharge in the first hardware path with the There is the hardware device of resource contention in two hardware paths, resource does not occur with the second hardware path competing in retaining the first hardware path The hardware device striven, so that the hardware device after release can be used to set up the second hardware path for the second multi-medium data.
Wherein judge whether that the foundation that hardware resource conflict occurs is if the second hardware path needs exclusive first hardware During one or more hardware devices in path, then there is hardware resource conflict.For example, smart machine is by playing digital multimedia When data exchange is to playing network streaming media data, play stream media data needs exclusive decoder apparatus and display device, from And the hardware device used with broadcasting digital multimedia data is produced into resource contention.
As shown in fig. 7, in step S34, receiving and being switched to by the second multi-medium data is played for controlling smart machine Play the instruction of the first multi-medium data.
As shown in fig. 7, in step s 35, it is hard that the exclusive hardware device of the second hardware path release, and recovery is discharged There is no the path between the hardware device of resource contention in first hardware path of part equipment and reservation with the second hardware path.
How method shown in Fig. 7 solves conflict when not being only included in generation hardware resource conflict and quickly carries out hardware path Switching, be additionally included in when switching back into original path and can quickly set up original hardware path, it is to avoid resource is redistributed The time for being consumed, improve switching efficiency.
Fig. 8 is illustrated and the hardware resource equipment put digital live broadcast TV and set up is playbacked by playing network streaming media data exchange The schematic diagram of path, from Fig. 8 in, wherein temporarily retain non-competing hardware device, that is, demodulator device, regarding close card The hardware path of equipment and separator device is retained, and all will not be released, when switching back into broadcasting digital live broadcast again During tv scene, the hardware path for remaining is reconnected with the hardware path under playing network streaming media data scene Just to constitute original hardware path played under digital live broadcast tv scene.
Based on the hardware path schematic diagram shown in Fig. 8, Fig. 9 solves the technical scheme of resource contention in illustrating the present embodiment Steps flow chart:
As shown in figure 9, in step S41, before switching playing network streaming media scene, only decoder apparatus and aobvious Show device resource conflict, so as to only discharge decoder apparatus and display device resource, and retain other non-competing hardware resources.
As shown in figure 9, in step S42, be the playing stream media distribution hardware resource such as decoder apparatus and display device, To realize the stream medium data for carrying out automatic network to be converted into display data.The non-competing resource for now playing DTV is also temporary transient Retain, do not discharge (as shown in Figure 8) completely.
As shown in figure 9, in step S43, when user switches back to the digital channel before live telecast is played again, Only need to the resource of decoder apparatus and display device in first release steps S42.
As shown in figure 9, in step S44, distribute decoder apparatus and display device resource for live telecast again, and Retain non-competing hardware resource before connection so as to recover hardware path (as shown in Figure 3).
The control method that the present embodiment is provided, based on the mechanism of a hardware device path sectional management, when generation hardware Resource contention is to only need to discharge the hardware resource of conflict and go to retain non-competing hardware resource path.Before needing to recover Hardware resource path, it is only necessary to recover the hardware resource released because of competition, and the hardware resource for retaining before recovers hardware Path.The method can reduce resource when hardware resource is competed and discharge and apply again the resource allocation of resource, greatly improve The efficiency and speed of resource switch under resource contention scene, realizes and applies being switched fast under the conditions of resource contention, strengthens Consumer's Experience.
Figure 10 illustrates a kind of composition schematic diagram of the control device of hardware resource conflict that one embodiment of the disclosure is provided, should Device 100 is used for a smart machine, including:Multiple hardwares equipment 110, plurality of devices gateway and controller 130.It is many of Hardware device 110 provides the hardware resource of difference in functionality respectively;Plurality of devices gateway 120 and CHINA RFTCOM Co Ltd and internet signal line Connection, for being responsible for the either on or off of corresponding hardware device, specifies data-source device and issues to corresponding hardware device Action command;Controller 130 is for being managed to hardware device when hardware device is clashed.
Figure 11 illustrates the composition schematic diagram of the controller that one embodiment of the disclosure is provided, and the controller 130 includes:Instruction Receiver module 131, instruction identification module 132, judge module 133 and conflict management module 134.Command reception module 131 is used for Receive the instruction of control smart machine;Instruction identification module 132 is used for the class of the instruction for recognizing that command reception module more than 131 is received Type, jumps to judge module when instruction is and is switched to and played the instruction of the second multi-medium data by the first multi-medium data of broadcasting 133;Judge module 133 is used for disconnected to be set up for playing the second hardware path of the second multi-medium data with currently playing the Whether the first hardware path of one multi-medium data there is hardware resource conflict, in the event of hardware resource conflict, then jump to Conflict management module 134;Conflict management module 134 is occurred with the second hardware path in being used to control only to discharge the first hardware path The hardware device of resource contention, the hardware device that resource contention does not occur with the second hardware path in retaining the first hardware path, So that the hardware device after release can be used to set up the second hardware path for the second multi-medium data.
The hardware device for wherein competing is if the second hardware path needs or many in exclusive first hardware path Individual hardware device, remaining hardware device are the hardware device that resource contention does not occur.
Wherein the conflict management module 134 can further include:First submodule 1341 and the second submodule 1342, First submodule 1341 is used to control the hardware device that the first hardware path the second hardware path of release needs to monopolize, and breaks Open link connection relation of the discharged hardware device with previous stage or rear stage hardware device in the first hardware path;Second Submodule 1342 is stilled remain in the first hardware path for controlling the hardware device that the first hardware path does not discharge, and while Original link connection relation between the hardware device that holding does not discharge.
In the present embodiment, the hardware device that can be provided in smart machine includes:Depending on close card apparatus, demodulator device, divide From device equipment, decoder apparatus, display device and sound device, accordingly, depending on close card apparatus gateway with regarding close card apparatus phase Correspondence, dissemination system device gateway and demodulator device gateway it is corresponding with demodulator device, separator device gateway with separate Device equipment is corresponding, and decoder apparatus gateway is corresponding with decoder apparatus, display/sound device gateway and display device harmony Sound equipment is corresponding.
The device that the present embodiment is provided by switching to scene before and after involved hardware device be whether competition hardware Equipment makes a distinction process, and only release occurs the hardware device of resource contention, and retains the hardware device that resource contention does not occur, So it is easy to when subsequently switching back into previous scenario again, be not required to the path for re-establishing the hardware device not conflicted originally again, can The hardware path of fast quick-recovery previous scenario.
A kind of composition schematic diagram of the control device of hardware resource conflict, the dress are also provided in another embodiment of the disclosure Putting 100 is used for a smart machine, including:Multiple hardwares equipment 110, plurality of devices gateway and controller 130.It is many of hard Part equipment 110 provides the hardware resource of difference in functionality respectively;Plurality of devices gateway 120 is connected with CHINA RFTCOM Co Ltd and internet signal line Connect, for being responsible for the either on or off of corresponding hardware device, specify data-source device and start under corresponding hardware device Instruct;Controller 130 is for being managed to hardware device when hardware device is clashed.
Figure 12 illustrates the composition schematic diagram of the controller that another embodiment of the disclosure is provided, and the controller 130 includes:Refer to Make receiver module 131, instruction identification module 132, judge module 133, conflict management module 134 and recovery management module 135.Refer to Make receiver module 131 for receive control smart machine instruction;Instruction identification module 132 is used to recognize command reception module The type of the instruction received 131, when instruction is to switch to the second multi-medium data of broadcasting by the first multi-medium data of broadcasting more Judge module 133 is jumped to during instruction;Judge module 133 is used for be set up for playing the second multi-medium data second of breaking Whether hardware path there is hardware resource conflict with the first hardware path of currently playing first multi-medium data, in the event of hard Part resource contention, then jump to conflict management module 134;Conflict management module 134 is used for control and only discharges the first hardware path In with the second hardware path occur resource contention hardware device, retain the first hardware path in do not occur with the second hardware path The hardware device of resource contention so that release after hardware device can be used for for the second multi-medium data set up the second hardware lead to Road;Recovery management is jumped to when instruction is and is switched to and played the instruction of the first multi-medium data by the second multi-medium data of broadcasting Module 135, recovery management module 135 are used to control the exclusive hardware device of the second hardware path release, and recover what is discharged Do not occur with the second hardware path in first hardware path of hardware device and reservation logical between the hardware device of resource contention Road.
In addition, recovery management module 135 is additionally operable to set up hardware device that the first hardware path discharged and does not discharge Hardware device between link connection relation.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
For system embodiment, as which corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.System embodiment described above is only schematic, wherein described as separating component The unit of explanation can be or may not be physically separate, as the part that unit shows can be or can also It is not physical location, you can local to be located at one, or can also be distributed on multiple NEs.Can be according to reality Need the purpose for selecting some or all of module therein to realize the open scheme of wood.Wooden field those of ordinary skill is not paying In the case of going out creative work, you can to understand and implement.
In the present embodiment, the path of each hardware device adopts sectional management mechanism, such that it is able to according to different uses Scene only discharges the hardware path for having conflict, and retains the hardware path for not having to conflict, the hardware resource before needing to recover Path, it is only necessary to recover the hardware resource released because of competition, and the hardware resource for retaining before recovers hardware path.The party Method can reduce resource when hardware resource is competed and discharge and apply again the resource allocation of resource, greatly improve resource contention field The efficiency and speed of resource switch under scape, realizes to apply and is switched fast under the conditions of resource contention, strengthens Consumer's Experience.
The illustrative embodiments of the disclosure are particularly shown and described more than.It should be appreciated that the disclosure is not limited In detailed construction described herein, set-up mode or implementation method;Conversely, the disclosure is intended to cover be included in claims Spirit and scope in various modifications and equivalence setting.

Claims (10)

1. a kind of control method of hardware resource conflict, for a smart machine, it is characterised in that include:
Receive and switch to the finger of playing second multi-medium data by the first multi-medium data is played for controlling the smart machine Order;
Judge the second hardware path for playing second multi-medium data to be set up more than currently playing described first Whether the first hardware path of media data there is hardware resource conflict, in the event of hardware resource conflict, then only discharge described There is the hardware device of resource contention in first hardware path with the second hardware path, retain in the first hardware path There is no the hardware device of resource contention with the second hardware path, so that the hardware device after release can be used for as described Second multi-medium data sets up the second hardware path.
2. control method according to claim 1, it is characterised in that described to judge to be set up for playing described second Whether the second hardware path of multi-medium data is occurred with the first hardware path of currently playing first multi-medium data firmly Part resource contention includes:
If the second hardware path needs one or more hardware devices monopolized in the first hardware path, send out Raw hardware resource conflict.
3. control method according to claim 2, it is characterised in that it is described only discharge in the first hardware path with institute The hardware device that the second hardware path occurs resource contention is stated, with the second hardware path in reservation the first hardware path The hardware device that resource contention does not occur includes:
The first hardware path discharges the second hardware path and needs an exclusive hardware device, and disconnects what is discharged Link connection relation of the hardware device in the first hardware path with previous stage or rear stage hardware device;
The hardware device that the first hardware path does not discharge is stilled remain in the first hardware path, and while keeps institute State original link connection relation between the hardware device not discharged.
4. control method according to claim 1, it is characterised in that also include:
Receive and be switched to broadcasting first multimedia by second multi-medium data is played for controlling the smart machine The instruction of data;
The exclusive hardware device of the second hardware path release, and recover discharged hardware device and described first for retaining There is no the path between the hardware device of resource contention in hardware path with the second hardware path.
5. control method according to claim 4, it is characterised in that the hardware device discharged by the recovery with retain The path between the hardware device of resource contention does not occur with the second hardware path in the first hardware path includes:
The link set up between the hardware device and the hardware device not discharged discharged by the first hardware path connects Connect relation.
6. a kind of control device of hardware resource conflict, for a smart machine, it is characterised in that include:
Multiple hardwares equipment, provides the hardware resource of difference in functionality respectively;
Plurality of devices gateway, is connected with CHINA RFTCOM Co Ltd and internet signal line, and the opening for being responsible for corresponding hardware device is closed Close, specify data-source device and action command is issued to corresponding hardware device;And
Controller, for being managed to the hardware device when hardware device is clashed;
The controller includes:
Command reception module, for receiving the instruction of the control smart machine;
Instruction identification module, for recognizing the type of the instruction, when the instruction is by broadcasting the first multi-medium data switching Judge module is jumped to during to play the instruction of the second multi-medium data;
Judge module, it is to be set up for playing the second hardware path of second multi-medium data and currently broadcasting for judging Whether the first hardware path for putting first multi-medium data there is hardware resource conflict, in the event of hardware resource conflict, Conflict management module is jumped to then;
Conflict management module, only discharges competing with the second hardware path generation resource in the first hardware path for control The hardware device striven, the hardware that resource contention does not occur with the second hardware path in retaining the first hardware path set It is standby, so that the hardware device after release can be used to set up the second hardware path for second multi-medium data.
7. control device according to claim 6, it is characterised in that the basis for estimation of the judge module is:If institute When stating one or more hardware devices during the second hardware path needs the exclusive first hardware path, then there is hardware resource Conflict.
8. control device according to claim 7, it is characterised in that the conflict management module includes:
First submodule, discharges an exclusive hardware of the second hardware path needs for controlling the first hardware path Equipment, and disconnect discharged hardware device in the first hardware path with previous stage or the link of rear stage hardware device Annexation;
Second submodule, stills remain in first hardware for controlling the hardware device that the first hardware path does not discharge In path, and original link connection relation between the hardware device not discharged described in while keeping.
9. control device according to claim 8, it is characterised in that also include:
Recovery management module, when it is described instruction be by play the second multi-medium data switch to play the first multi-medium data finger The recovery management module is jumped to when making;
The recovery management module is used to control the exclusive hardware device of the second hardware path release, and recovers what is discharged There is no the hardware device of resource contention in the first hardware path of hardware device and reservation with the second hardware path Between path.
10. control device according to claim 9, it is characterised in that the recovery management module is additionally operable to set up institute State the link connection relation between the hardware device and the hardware device not discharged discharged by the first hardware path.
CN201611004670.6A 2016-11-15 2016-11-15 Method and device for controlling hardware resource conflict Pending CN106534935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611004670.6A CN106534935A (en) 2016-11-15 2016-11-15 Method and device for controlling hardware resource conflict

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611004670.6A CN106534935A (en) 2016-11-15 2016-11-15 Method and device for controlling hardware resource conflict

Publications (1)

Publication Number Publication Date
CN106534935A true CN106534935A (en) 2017-03-22

Family

ID=58351795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611004670.6A Pending CN106534935A (en) 2016-11-15 2016-11-15 Method and device for controlling hardware resource conflict

Country Status (1)

Country Link
CN (1) CN106534935A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111520A (en) * 2017-12-28 2018-06-01 青岛海信电器股份有限公司 Media playing resources processing method, device and terminal
CN108491272A (en) * 2018-03-29 2018-09-04 青岛海信传媒网络技术有限公司 resource control method, device and terminal device
CN110297705A (en) * 2019-06-27 2019-10-01 百度在线网络技术(北京)有限公司 Function switch processing method, device, equipment and storage medium
CN112188279A (en) * 2020-09-30 2021-01-05 青岛海信传媒网络技术有限公司 Channel switching method and display equipment
CN112270497A (en) * 2020-11-16 2021-01-26 深圳创维-Rgb电子有限公司 Resource allocation method and device and audio-video playing terminal
CN112399224A (en) * 2020-11-16 2021-02-23 深圳创维-Rgb电子有限公司 Multi-resource management system, smart television and readable storage medium
WO2022099856A1 (en) * 2020-11-16 2022-05-19 深圳创维-Rgb电子有限公司 Resource configuration method and apparatus, and audio and video playing terminal
WO2023015427A1 (en) * 2021-08-10 2023-02-16 深圳Tcl新技术有限公司 Method for switching standards, apparatus, computer device, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532688A (en) * 2003-03-20 2004-09-29 华为技术有限公司 Host software reset method
CN101788926A (en) * 2009-12-28 2010-07-28 中兴通讯股份有限公司 Resource allocation method and device for switching J2ME (Java 2 Micro Edition) application platform
CN103257700A (en) * 2012-02-20 2013-08-21 联想(北京)有限公司 Energy saving method and energy saving device for Android system
CN103631661A (en) * 2013-11-27 2014-03-12 青岛海信电器股份有限公司 Internal storage management method and device
US20150220365A1 (en) * 2010-12-16 2015-08-06 International Business Machines Corporation Remediating gaps between usage allocation of hardware resource and capacity allocation of hardware resource
CN105554537A (en) * 2015-12-08 2016-05-04 青岛海信电器股份有限公司 Control method and control device
CN105721921A (en) * 2016-01-29 2016-06-29 四川长虹电器股份有限公司 Self-adaptive selection method for multi-window video decoder

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532688A (en) * 2003-03-20 2004-09-29 华为技术有限公司 Host software reset method
CN101788926A (en) * 2009-12-28 2010-07-28 中兴通讯股份有限公司 Resource allocation method and device for switching J2ME (Java 2 Micro Edition) application platform
US20150220365A1 (en) * 2010-12-16 2015-08-06 International Business Machines Corporation Remediating gaps between usage allocation of hardware resource and capacity allocation of hardware resource
CN103257700A (en) * 2012-02-20 2013-08-21 联想(北京)有限公司 Energy saving method and energy saving device for Android system
CN103631661A (en) * 2013-11-27 2014-03-12 青岛海信电器股份有限公司 Internal storage management method and device
CN105554537A (en) * 2015-12-08 2016-05-04 青岛海信电器股份有限公司 Control method and control device
CN105721921A (en) * 2016-01-29 2016-06-29 四川长虹电器股份有限公司 Self-adaptive selection method for multi-window video decoder

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111520A (en) * 2017-12-28 2018-06-01 青岛海信电器股份有限公司 Media playing resources processing method, device and terminal
CN108111520B (en) * 2017-12-28 2021-02-26 海信视像科技股份有限公司 Media playing resource processing method, device and terminal
CN108491272A (en) * 2018-03-29 2018-09-04 青岛海信传媒网络技术有限公司 resource control method, device and terminal device
CN110297705A (en) * 2019-06-27 2019-10-01 百度在线网络技术(北京)有限公司 Function switch processing method, device, equipment and storage medium
CN112188279A (en) * 2020-09-30 2021-01-05 青岛海信传媒网络技术有限公司 Channel switching method and display equipment
CN112270497A (en) * 2020-11-16 2021-01-26 深圳创维-Rgb电子有限公司 Resource allocation method and device and audio-video playing terminal
CN112399224A (en) * 2020-11-16 2021-02-23 深圳创维-Rgb电子有限公司 Multi-resource management system, smart television and readable storage medium
WO2022099856A1 (en) * 2020-11-16 2022-05-19 深圳创维-Rgb电子有限公司 Resource configuration method and apparatus, and audio and video playing terminal
WO2023015427A1 (en) * 2021-08-10 2023-02-16 深圳Tcl新技术有限公司 Method for switching standards, apparatus, computer device, and storage medium

Similar Documents

Publication Publication Date Title
CN106534935A (en) Method and device for controlling hardware resource conflict
CN102823238B (en) Media facility
CN105916002B (en) A kind of player windows display system and method for realizing soft or hard decoding switching
CN100429901C (en) Method and structure for realizing live channel switching in Internet protocol audio-video broadcast network
CN108737845A (en) Processing method, device, equipment and storage medium is broadcast live
CN101335586B (en) Method and mobile terminal for playing mobile phone television service on multimedia playing equipment
CN101588488B (en) Multiple-position streaming media broadcasting method and system
CN103888832B (en) A kind of playback terminal accesses the treating method and apparatus of data source switching
CN103596040B (en) Television receiving system in double modes of digital television terrestrial multimedia broadcasting and internet
CN102833582B (en) Method for searching audio and video resources via voice
JPH11346166A (en) Portable viewing system
CN103841453A (en) Method for achieving OTT playing through IPTV non-intelligent set top box
CN102006511A (en) Method and device for looking back live program and terminal
CN102238427B (en) Digital television capable of searching network sources
CN102088631B (en) Live and demand broadcast method of digital television (TV) programs as well as related device and system
JP4339322B2 (en) Transport stream receiving apparatus for providing multiple screens and control method thereof
CN1182679C (en) Digital broadcast receiving system and device
CN101600088A (en) A kind of IPTV recovers method, system and the terminal of cannel broadcast
CN101022548B (en) Method for processing data in a terminal with digital broadcasting receiver
CN104270667A (en) Program switchover method and device and terminal
CN105516774B (en) A kind of digital gateway and control system of televising
CN102572421A (en) Rapid double-line decoding switching method based on song preview application
CN101938641B (en) Mobile multimedia broadcast television playing system and implementation method thereof
CN107580264A (en) Multimedia resource play handling method and device
CN102148806A (en) Time shift processing method and system, network equipment and terminal for network television

Legal Events

Date Code Title Description
C06 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170322