[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108833960A - A kind of method and device of audiovisual applications switching - Google Patents

A kind of method and device of audiovisual applications switching Download PDF

Info

Publication number
CN108833960A
CN108833960A CN201810613865.3A CN201810613865A CN108833960A CN 108833960 A CN108833960 A CN 108833960A CN 201810613865 A CN201810613865 A CN 201810613865A CN 108833960 A CN108833960 A CN 108833960A
Authority
CN
China
Prior art keywords
audio
audiovisual applications
video
memory
decoder
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.)
Withdrawn
Application number
CN201810613865.3A
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 Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201810613865.3A priority Critical patent/CN108833960A/en
Publication of CN108833960A publication Critical patent/CN108833960A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4435Memory management
    • 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/42646Internal components of the client ; Characteristics thereof for reading from or writing on a non-volatile solid state storage medium, e.g. DVD, CD-ROM
    • 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/42661Internal components of the client ; Characteristics thereof for reading from or writing on a magnetic storage medium, e.g. hard disk drive
    • 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/42692Internal components of the client ; Characteristics thereof for reading from or writing on a volatile storage medium, e.g. Random Access Memory [RAM]

Landscapes

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

Abstract

This application discloses a kind of method and devices of audiovisual applications switching.This method include when receive switch to the instruction of the second audiovisual applications by the first audiovisual applications when, be that the second audiovisual applications distribute the second memory and are used to store the frame data of the second audiovisual applications while audio and video resources management module stops decoding the first audiovisual applications;Furthermore audio and video resources management module is released to the first memory of the first audiovisual applications distribution.The time that the second audiovisual applications are switched to by the first audiovisual applications is shortened, to reduce the blank screen time even avoided in handoff procedure, the user experience is improved.

Description

A kind of method and device of audiovisual applications switching
Technical field
This application involves the method and devices that digital TV technology more particularly to a kind of audiovisual applications switch.
Background technique
There are a variety of audiovisual applications, such as signal source DTV, HDMI and third-party application on smart television at present Youtube, Netflix, Amazon etc., user generally require to switch between different audiovisual applications.Since sound regards Frequency, which is applied, needs exclusive audio decoder and Video Decoder in playing audio-video signal, switches from an audiovisual applications When to another audiovisual applications, previous audiovisual applications is needed first to discharge audio decoder and Video Decoder, it is next Audiovisual applications can just go to open audio decoder and Video Decoder.Can not generally it know particularly with TV software middleware When third-party application discharges audio/video decoder, so channel must just can be carried out after third-party application exits completely The movement of switching, so as to be switched to the signal sources time-consuming such as DTV, HDMI long for third-party application.
The switching that smart television carries out between signal source at present needs time of 2.5s or so, and third-party application with It is switched between the signal sources such as DTV, HDMI, needs 4s or so, TV is in black state during switching, influences User experience.Therefore urgently a solution is used to solve the problems, such as this.
Summary of the invention
The embodiment of the present invention provides a kind of method of audiovisual applications switching, including:
Receive the instruction that the second audiovisual applications are switched to by the first audiovisual applications;
It is answered while audio and video resources management module stops the decoding to first audiovisual applications for second audio-video With distributing the second memory;Second memory is used to store the frame data of second audiovisual applications;The audio and video resources Management module is used to manage the resource of audio decoder and Video Decoder;
The audio and video resources management module is released to the first memory of the first audiovisual applications distribution;First memory For storing the frame data of first audiovisual applications.
In a kind of possible embodiment, the reception switches to the second audiovisual applications by the first audiovisual applications After instruction, including:
Second audiovisual applications send the request of resource bid to the audio and video resources management module.
In a kind of possible embodiment, the audio and video resources management module is second audiovisual applications distribution Include after second memory:
The audio and video resources management module sends the information of second memory to second audiovisual applications, to carry out institute State the broadcasting of the audio-video of the second audiovisual applications, wherein the information of second memory include second memory title or Address.
In a kind of possible embodiment, the broadcasting of the audio-video for carrying out second audiovisual applications, including:
Second audiovisual applications determine the solution of the audio decoder and/or Video Decoder according to the coded format of code stream Code format, and it is sent to that the audio and video resources management module carries out the audio decoder and/or Video Decoder is solved Code format setting;
After codec format is arranged successfully, second audiovisual applications input frame data to second memory, and by the sound Frequency decoder and/or Video Decoder are decoded.
In a kind of possible embodiment, the reception switches to the second audiovisual applications by the first audiovisual applications Before instruction, including:
The audio and video resources management module keeps the open state of audio decoder and Video Decoder.
The embodiment of the present invention provides a kind of device of audiovisual applications switching, including:
Receiving module, for receiving the instruction for switching to the second audiovisual applications by the first audiovisual applications;
Audio and video resources management module regards while for stopping the decoding to first audiovisual applications for second sound Frequency application the second memory of distribution;And the first memory for being released to the first audiovisual applications distribution;Wherein described second Memory is used to store the frame data of second audiovisual applications, and the audio and video resources management module is for managing audio decoder The resource of device and Video Decoder, first memory are used to store the frame data of first audiovisual applications.
In a kind of possible embodiment, the second audiovisual applications are provided for sending to audio and video resources management module The request of source application.
In a kind of possible embodiment, the audio and video resources management module is also used to:
The information of the second memory is sent to the second audiovisual applications, to carry out the broadcasting of the audio-video of the second audiovisual applications, In the second memory information include the second memory title or address.
In a kind of possible embodiment, the audio and video resources management module is used for:
Receive the decoding of audio decoder and/or Video Decoder that the second audiovisual applications are determined according to the coded format of code stream Format, and carry out the setting of audio decoder and/or Video Decoder codec format.
Correspondingly, second audiovisual applications, for being arranged in audio decoder and/or Video Decoder coded format After success, frame data are inputted to be decoded for audio decoder and/or Video Decoder to the second memory.
In a kind of possible embodiment, the audio and video resources management module, for receiving by the first audio-video Before application switching to the instruction of the second audiovisual applications, the open state of audio decoder and Video Decoder is kept.
The embodiment of the invention also provides a kind of computer readable storage mediums, which is characterized in that described computer-readable Storage medium is stored with computer instruction, when the computer instruction is run on computers, so that computer execution is above-mentioned Method.
In the method and device of audio-video switching provided in an embodiment of the present invention, answered by working as to receive by the first audio-video When with the instruction for switching to the second audiovisual applications, audio and video resources management module stops decoded to the first audiovisual applications same When be that the second audiovisual applications distribute the second memory and are used to store the frame data of the second audiovisual applications;Furthermore audio and video resources pipe Reason module is released to the first memory of the first audiovisual applications distribution.It shortens and switches to second by the first audiovisual applications The time of audiovisual applications, to reduce the blank screen time even avoided in handoff procedure, the user experience is improved.
Detailed description of the invention
Fig. 1 is the player structure schematic diagram of existing audio and video playing provided by the embodiments of the present application;
Fig. 2 is the method flow schematic diagram of audiovisual applications provided by the embodiments of the present application switching;
Fig. 3 A is occupancy schematic diagram of the application provided by the embodiments of the present application to decoder resources;
Fig. 3 B is the prior art provided by the embodiments of the present application using the occupancy schematic diagram to decoder resources;
Fig. 4 is the interaction diagrams of AppPlayer provided by the embodiments of the present application and AVPlayer;
Fig. 5 is the interaction diagrams of DTVPlayer provided by the embodiments of the present application and AVPlayer;
Fig. 6 is the structural schematic diagram provided by the embodiments of the present application that DTV is switched to by APP;
Fig. 7 is the schematic device of audiovisual applications provided by the embodiments of the present application switching;
Fig. 8 is the structural schematic diagram of smart television provided by the embodiments of the present application.
Specific embodiment
As shown in Figure 1, being the player structure schematic diagram of prior art audio and video playing, for intelligent television system Speech, each signal source, third-party application can create a player player in playing audio-video, in audio and video playing When each player require exclusive audio decoder audio decoder and Video Decoder video decoder, so There can only be a player in synchronization.When being such as withdrawn into DTV from third-party application, need first to destroy AppPlayer again Create DtvPlayer.The regular hour is needed due to exiting player, will lead to TV in handoff procedure in blank screen State influences user experience.
In view of the above-mentioned problems, the embodiment of the invention provides a kind of method and devices of audiovisual applications switching.The present invention In embodiment, by be arranged audio and video resources management module audio decoder and Video Decoder resource are managed, when by When first audiovisual applications are switched to the second audiovisual applications, do not need equal first audiovisual applications and discharge audio/video decoding completely Device resource carries out the starting of the second audiovisual applications player again, but is stopping regarding the first sound by audio and video resources manager The second memory is distributed to carry out frame data for the second audiovisual applications while frequency application decoder for the second audiovisual applications Write-in, so as to shorten the time for switching to the second audiovisual applications by the first audiovisual applications, the user experience is improved.
Wherein, " audiovisual applications " involved in the embodiment of the present invention, it is realized under signals source module including DTV, HDMI etc. The program or component and third party's audiovisual applications of audio and video playing, comprising realizing sound view in third party's audiovisual applications The program or component that frequency plays.
The embodiment of the present invention is illustrated with reference to the accompanying drawing, it should be understood that embodiment described herein is only used In the description and interpretation present invention, it is not intended to limit the present invention.
It referring to fig. 2, is the method flow schematic diagram of audiovisual applications provided in an embodiment of the present invention switching.The process is by end Audio and video resources management module device in end is realized.As shown in Fig. 2, the process may include:
S201:Receive the instruction that the second audiovisual applications are switched to by the first audiovisual applications.
In a kind of possible embodiment, certain third party can be switched to by certain signal source such as DTV, HDMI and answered With;
In alternatively possible embodiment, certain signal source can be switched to by certain third-party application;
In alternatively possible embodiment, another signal source can be switched to by certain signal source;
In alternatively possible embodiment, another third-party application can be switched to by certain third-party application.
It additionally, there may be some special application scenarios, switch to live signal when recording such as PVR;When playing local media From media center playing audio-video media;CEC function enables to open periphery CEC equipment in situation.
Selectable, after terminal device booting, audio and video resources management module keeps audio decoder and/or video solution The open state of code device
S202:Audio and video resources management module stops dividing while the decoding to the first audiovisual applications for the second audiovisual applications With the second memory.
Wherein, audio and video resources management module is used to manage the resource of audio decoder and Video Decoder;Second memory For storing the frame data of the second audiovisual applications, frame data include audio data and video data.
After receiving and switching to the instruction of the second audiovisual applications by the first audiovisual applications, the second audiovisual applications to Audio and video resources management module sends the request of resource bid, and audio and video resources management module distributes the second memory, the step for it The stopping of rapid and audio and video resources management module carries out the decoding of the first audiovisual applications parallel.
Audio and video resources management module is that the second audiovisual applications are distributed after the second memory, by the information of the second memory (Such as title or address)The second audiovisual applications are sent to, to carry out the broadcasting of the audio-video of the second audiovisual applications.Specifically, Second audiovisual applications determine the codec format of audio decoder and/or Video Decoder according to the coded format of code stream, concurrently It send to the audio and video resources management module progress audio decoder and/or Video Decoder and is decoded format setting;Work as solution After code format is arranged successfully, the audio and video resources management module that the second audiovisual applications are received to basis is the second of its distribution The information of memory inputs frame data to the second memory, to be decoded for audio decoder and/or Video Decoder.
S203:Audio and video resources management module is released to the first memory of the first audiovisual applications distribution.
Wherein, the first memory is used to store the frame data of the first audiovisual applications, and frame data include audio data and video Data.
The time for discharging the first memory needs to be determined by the process that the first audiovisual applications exit.When audio and video resources management When module receives the request of the first audiovisual applications the first memory of release, the first memory can be just discharged.Illustratively, when by When DTV switches to youtube, the process for exiting DTV includes:Video, the audio for stopping playing, stopping in code stream are flowed, are closed Demux, decoder is closed, until audio and video resources management module can just be released to the DTV distribution when closing this step of decoder The first memory;When switching to DTV by youtube, since youtobe is the application based on browser, exit process with Browser is related, such as needs to clear up some resources of browser, after closing decoder after having executed these steps, audio-video Resource management module can just be released to the first memory of youtube distribution.
Referring to Fig. 3 A, to apply the occupancy schematic diagram to decoder resources in the present invention, in conjunction with Fig. 3 to technology of the invention Effect is illustrated.As shown in figure 3, decoder is only occupied by audio and video resources management module.Apply the meeting in playing audio-video Application occupies decoder, and audio and video resources management module can distribute a Buffer for it at this time, and the Buffer is tied to On the occupied decoder of audio and video resources management module(Here binding, which refers to, send the frame data in application write-in Buffer It is decoded to decoder), so applying the only corresponding Buffer occupied at " occupying decoder ".So " accounting in the following figure It can be existed simultaneously with 1 " and " occupying 2 ";And " binding 1 " and " binding 2 " in the following figure cannot exist simultaneously.And the prior art In, referring to Fig. 3 B, application can only monopolize decoder, and the occupancy for discharging previous application completely is needed in application switching just can be carried out The broadcasting of next application.Therefore compared with prior art, technical solution of the present invention can shorten the time of application switching.
Below for switching to DTV from some third-party application, to the method flow of audiovisual applications of the present invention switching It is described in detail.The process is realized by the relevant apparatus of the audiovisual applications switching in terminal.Wherein third-party application is broadcast Putting device is AppPlayer, and audio and video resources manager is AVPlayer, and the player of DTV is DTVPlayer.
Referring to fig. 4 to receive after APP is switched to the instruction of DTV, the interaction diagrams of Applayer and AVPlayer, such as Shown in Fig. 4, which may include:
S401:AppPlayer receives the instruction for exiting APP application.
Specifically, receiving the instruction for exiting APP application when receiving the instruction for switching to DTV by App.
S402:AppPlayer sends the notice for being released to the memory that it is distributed to AVPlayer.
S403:AVPlayer is released to the memory of APP distribution.
S404:AVPlayer is informed to Decoders stops decoding.
S405:Decoders stops the decoding to the frame data of APPPlayer.
While AVPlayer executes step S403-S405 in Fig. 4, AVPlayer executes step as described in Figure 5, and two Person carries out parallel.
Referring to the interaction diagrams that Fig. 5 is after DTVPlayer starts to work with AVPlayer, as shown in figure 5, the process can Including:
S501:DTVPlayer is to AVPlayer application resource.
S502:AVPlayer is DTVPlayer storage allocation.
S503:AVPlayer informs title or the address of distributed memory to DTVPlayer.
S504:DTVPlayer confirms codec format according to code stream, and is sent to AVPlayer.
S505:AVPlayer is decoded format setting to decoder.
S506:Decoder feeds back setting successful result to AVPlayer.
S507:Codec format setting success status is fed back to DTVPlayer by AVPlayer.
S508:DTVPlayer inputs frame data to AVPlayer.
S509:Frame data are sent to decoder and are decoded by AVPlayer.
Fig. 6 is the structural schematic diagram that DTV is switched to by APP.As shown in fig. 6, DTV and APP to Audio Decoder and/ Or the calling of Video Decoder is all by the management of AVPlayer, wherein AVPlayer be responsible for Audio Decoder and The resource management of Video Decoder, DTVplayer are responsible for making that it operates normally except Audio Decoder and Video The management of other resources except the resource of Decoder;AppPlayer is responsible for making that it operates normally except Audio Decoder With the management of other resources except the resource of Video Decoder.By by Audio Decoder and Video Decoder It is unified to be managed by audio and video resources management module, so as to realize after APP switches to DTV, in APP to audio-video The resource of decoder can distribute write-in of the resource memory to carry out data under the premise of not discharging completely for DTV, in audio-video The operation of DTV is carried out while resource management module discharges APP resource, so as to shorten the time of DTV starting, is mitigated very To the blank screen phenomenon for avoiding handoff procedure.
For a further understanding of this method embodiment, the design of specific AVPlayer is described in detail, corresponding puppet generation Code is as follows:
class AvPlayer {
public:
AvPlayer();
~AvPlayer();
void onRequestDecoder(const string& name);
void onReleaseDeocder(const string& name);
void setCodec(const string&name, Codec codec);
void onFrameData(const string& name);
private:
string currentName_;
Map<string, Buffer> buffers_;
};
Assuming that switching to audiovisual applications A by audiovisual applications B.
Audiovisual applications A requests resource to audio/video decoder, and onRequestDecoder can be called, and name is set as The title A of the audiovisual applications.If current audio/video decoder is in decoding effort in the function, AVPlayer can first stop Fall the decoding effort of audio/video decoder, then creates a buffer for A, be put into buffer_, and answered currently valid It is set to A with currentName_, and notifies audiovisual applications A.Audiovisual applications A passes through setCodec method setting decoding lattice Formula, AVPlayer are notified that audiovisual applications A starts to process data after being arranged successfully.When audiovisual applications A writes into buffer When a complete frame data, onFrameDate can be called, the function confirm its parameter name it is consistent with currentName_ when, Frame data are taken out from buffer and pass to audio/video decoder, notify audiovisual applications A to carry out the processing of next frame later. When audiovisual applications B exits release audio/video decoder, the onReleaseDecoder of AVPlayer can be called, AVPlayer can remove the corresponding buffer of audiovisual applications B from buffer_.It should be noted that OnRequestDecoder and onReleaseDecoder is carried out parallel.
The method of audiovisual applications switching provided in an embodiment of the present invention, by setting audio and video resources management module to sound Frequency decoder and Video Decoder resource are managed, when being switched to the second audiovisual applications by the first audiovisual applications, no Equal first audiovisual applications are needed to discharge the starting that audio/video decoder resource carries out the second audiovisual applications player again completely, But it is distributed while carrying out the first audiovisual applications and stopping decoding to the second audiovisual applications by audio and video resources manager Second memory is alleviated with the write-in for carrying out frame data for the second audiovisual applications so as to shorten the time of application switching Blank screen phenomenon, the user experience is improved.
It is a kind of schematic device of audiovisual applications switching provided in an embodiment of the present invention referring to Fig. 7, as described in Figure 7, Described device includes receiving module 701 and audio and video resources management module 702, wherein:
Receiving module 701, for receiving the instruction for switching to the second audiovisual applications by the first audiovisual applications.
Audio and video resources management module 702 is described while for stopping the decoding to first audiovisual applications Second audiovisual applications distribute the second memory;And the first memory for being released to the first audiovisual applications distribution;Wherein Second memory is used to store the frame data of second audiovisual applications, and the audio and video resources management module is for managing The resource of audio decoder and Video Decoder, first memory are used to store the frame data of first audiovisual applications.
In a kind of possible embodiment, receiving module 701, which is received, switches to the second sound by the first audiovisual applications Before the instruction of Video Applications, audio and video resources management module 702 remains the unlatching of audio decoder and Video Decoder State.
In a kind of possible embodiment, is received in receiving module 701 and switch to second by the first audiovisual applications After the instruction of audiovisual applications, the second audiovisual applications send the request of resource bid to audio and video resources management module 702.
In a kind of possible embodiment, audio and video resources management module 702 is the second audiovisual applications distribution second After memory, the information of second memory is sent to the second audiovisual applications, with the audio-video of the second audiovisual applications of progress It plays, wherein the information of the second memory includes title or the address of the second memory.
In a kind of possible embodiment, audiovisual applications management module is also used to:
Receive the decoding of audio decoder and/or Video Decoder that the second audiovisual applications are determined according to the coded format of code stream Format, and carry out the setting of audio decoder and/or Video Decoder codec format;
Correspondingly, the second audiovisual applications, for being arranged successfully in the audio decoder and/or Video Decoder coded format Afterwards, frame data are inputted to be decoded for the audio decoder and/or Video Decoder to second memory.
The device of audiovisual applications switching provided in an embodiment of the present invention, by audio and video resources management module to audio solution Code device and Video Decoder resource are managed, and when being switched to the second audiovisual applications by the first audiovisual applications, are not needed The starting that audio/video decoder resource carries out the second audiovisual applications player again is discharged completely Deng the first audiovisual applications, but By audio and video resources manager to the second audiovisual applications distribution second while carrying out the first audiovisual applications and stopping decoding Memory alleviates blank screen phenomenon with the write-in for carrying out frame data so as to shorten the time of application switching, improves user's body It tests.
The device of the audiovisual applications switching of the embodiment of the present application specifically refers to audio-video provided by the above embodiment and answers With the method for switching, details are not described herein.
It should be noted that being schematical, only a kind of logic function to the division of unit in the embodiment of the present application It divides, there may be another division manner in actual implementation.Each functional unit in the embodiment of the present application can integrate one In a processing unit, it is also possible to each unit and physically exists alone, one can also be integrated in two or more units In unit.Above-mentioned integrated unit both can take the form of hardware realization, can also be real in the form of software functional units It is existing.
Fig. 8 illustrates a kind of structural schematic diagram of smart television provided by the embodiments of the present application.Based on phase isomorphism Think, the embodiment of the present application provides a kind of smart television for 800, for executing any one scheme in the above method.Such as Fig. 8 institute Show, smart television 800 includes processor 801, transceiver 802, memory 803 and communication interface 804;Wherein, processor 801, Transceiver 802, memory 803 and communication interface 804 are connected with each other by bus 805.
Bus 805 can be Peripheral Component Interconnect standard(Peripheral component interconnect, PCI) Bus or expanding the industrial standard structure(Extended industry standard architecture, EISA)Bus etc..Always Line can be divided into address bus, data/address bus, control bus etc..Only to be indicated with a thick line in Fig. 7, but simultaneously convenient for indicating Only a bus or a type of bus are not indicated.
Memory 803 may include volatile memory(volatile memory), such as random access memory (Random-access memory, RAM);Memory also may include nonvolatile memory(non-volatile memory), such as flash memory(flash memory), hard disk(Hard disk drive, HDD)Or solid state hard disk (Solid-state drive, SSD);Memory 803 can also include the combination of the memory of mentioned kind.
Communication interface 804 can be wire communication access port, wireless communication interface or combinations thereof, wherein wire communication connects Mouth for example can be Ethernet interface.Ethernet interface can be optical interface, electrical interface or combinations thereof.Wireless communication interface can be with For WLAN interface.
Processor 801 can be central processing unit(Central processing unit, CPU), network processing unit (Network processor, NP)Or the combination of CPU and NP.Processor 801 can further include hardware chip.On Stating hardware chip can be specific integrated circuit(Application-specific integrated circuit, ASIC), can Programmed logic device(Programmable logic device, PLD)Or combinations thereof.Above-mentioned PLD can be complex programmable and patrol Collect device(Complex programmable logic device, CPLD), field programmable gate array(field- Programmable gate array, FPGA), Universal Array Logic(generic array logic, GAL)Or it is any Combination.
Optionally, memory 803 can be also used for storage program instruction, and processor 801 calls to be stored in the memory 803 Program instruction, one or more steps in embodiment shown in above scheme or in which optional embodiment party can be executed Formula, so that terminal device 800 realizes the function of terminal device in the above method.
Processor 801 is used for the instruction stored according to memory is executed, and controls transceiver 802 and carry out signal reception and letter It number sends, when processor 801 executes the instruction of memory storage, terminal device 800 by the first audiovisual applications for cutting When changing to the second audiovisual applications, do not need equal first audiovisual applications and discharge audio/video decoder resource completely to carry out second again The starting of audiovisual applications player, but be while stopping the decoding of the first audiovisual applications by audio and video resources manager Second audiovisual applications distribute the second memory to carry out the write-in of frame data for the second audiovisual applications.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real Now, it when being realized using software program, can entirely or partly realize in the form of a computer program product.Computer program Product includes one or more instructions.When loading on computers and executing computer program instructions, entirely or partly generate According to the process or function of the embodiment of the present application.Computer can be general purpose computer, special purpose computer, computer network or Other programmable devices of person.Instruction can store in computer storage medium, or from a computer storage medium to another One computer storage medium transmission, for example, instruction can be logical from a web-site, computer, server or data center It crosses wired(Such as coaxial cable, optical fiber, Digital Subscriber Line(DSL))Or it is wireless(Such as infrared, wireless, microwave etc.)Mode is to another One web-site, computer, server or data center are transmitted.Computer storage medium can be computer and can deposit Any usable medium taken either includes that the data storages such as one or more usable mediums integrated server, data center are set It is standby.Usable medium can be magnetic medium,(For example, floppy disk, hard disk, tape, magneto-optic disk(MO)Deng), optical medium(For example, CD, DVD, BD, HVD etc.)Or semiconductor medium(Such as ROM, EPROM, EEPROM, nonvolatile memory(NAND FLASH), Solid state hard disk(Solid State Disk, SSD))Deng.
It should be understood by those skilled in the art that, the embodiment of the present application can provide as the production of method, system or computer program Product.Therefore, in terms of the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, it wherein includes computer available programs generation that the embodiment of the present application, which can be used in one or more, The computer-usable storage medium of code(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The meter of upper implementation The form of calculation machine program product.
The embodiment of the present application is referring to method, the equipment according to the embodiment of the present application(System)And computer program product Flowchart and/or the block diagram describe.It should be understood that can be by each process in instruction implementation flow chart and/or block diagram And/or the combination of the process and/or box in box and flowchart and/or the block diagram.These instructions be can provide to general meter Calculation machine, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate a machine, make It obtains and is generated by the instruction that computer or the processor of other programmable data processing devices execute for realizing in flow chart one The device for the function of being specified in a process or multiple processes and/or one or more blocks of the block diagram.
These instructions, which may also be stored in, is able to guide computer or other programmable data processing devices work in a specific way Computer-readable memory in so that it is stored in the computer readable memory instruction generate include command device system Product are made, which realizes in one or more flows of the flowchart and/or one or more blocks of the block diagram Specified function.
These instructions also can be loaded onto a computer or other programmable data processing device so that computer or other Series of operation steps are executed on programmable device to generate computer implemented processing, thus in computer or other are programmable The instruction that executes in equipment is provided for realizing in one box of one or more flows of the flowchart and/or block diagram or more The step of function of being specified in a box.
Obviously, those skilled in the art can carry out various modification and variations without departing from this Shen to the embodiment of the present application Spirit and scope please.In this way, if these modifications and variations of the embodiment of the present application belong to the claim of this application and its wait Within the scope of technology, then the application is also intended to include these modifications and variations.

Claims (12)

1. a kind of method of audiovisual applications switching, which is characterized in that the method includes:
Receive the instruction that the second audiovisual applications are switched to by the first audiovisual applications;
It is answered while audio and video resources management module stops the decoding to first audiovisual applications for second audio-video With distributing the second memory;Second memory is used to store the frame data of second audiovisual applications, the audio and video resources Management module is used to manage the resource of audio decoder and Video Decoder;
The audio and video resources management module is released to the first memory of the first audiovisual applications distribution;First memory For storing the frame data of first audiovisual applications.
2. method according to claim 1, which is characterized in that described receive switches to the second sound view by the first audiovisual applications After the instruction of frequency application, including:
Second audiovisual applications send the request of resource bid to the audio and video resources management module.
3. method according to claim 1, which is characterized in that the audio and video resources management module is second audio-video Include later using the second memory of distribution:
The audio and video resources management module sends the information of second memory to second audiovisual applications, to carry out institute State the broadcasting of the audio-video of the second audiovisual applications, wherein the information of second memory include second memory title or Address.
4. method according to claim 3, which is characterized in that the audio-video for carrying out second audiovisual applications is broadcast It puts, including:
Second audiovisual applications determine the solution of the audio decoder and/or Video Decoder according to the coded format of code stream Code format, and it is sent to that the audio and video resources management module carries out the audio decoder and/or Video Decoder is solved Code format setting;
After codec format is arranged successfully, second audiovisual applications input frame data to second memory, are used for the sound Frequency decoder and/or Video Decoder are decoded.
5. method according to claim 1, which is characterized in that described receive switches to the second sound view by the first audiovisual applications Before the instruction of frequency application, including:
The audio and video resources management module keeps the open state of audio decoder and Video Decoder.
6. a kind of device of audiovisual applications switching, which is characterized in that including:
Receiving module, for receiving the instruction for switching to the second audiovisual applications by the first audiovisual applications;
Audio and video resources management module regards while for stopping the decoding to first audiovisual applications for second sound Frequency application the second memory of distribution;And the first memory for being released to the first audiovisual applications distribution;Wherein described second Memory is used to store the frame data of second audiovisual applications, and the audio and video resources management module is for managing audio decoder The resource of device and Video Decoder, first memory are used to store the frame data of first audiovisual applications.
7. device according to claim 6, which is characterized in that
Second audiovisual applications, for sending the request of resource bid to the audio and video resources management module.
8. device according to claim 6, which is characterized in that the audio and video resources management module is also used to:
The information of second memory is sent, to second audiovisual applications to carry out the sound view of second audiovisual applications The broadcasting of frequency, wherein the information of second memory includes title or the address of second memory.
9. device according to claim 7, which is characterized in that the audio and video resources management module is also used to:
Second audiovisual applications are received to be decoded according to the determining audio decoder of the coded format of code stream and/or video The codec format of device, and carry out the setting of the audio decoder and/or Video Decoder codec format.
10. device according to claim 9, which is characterized in that
Second audiovisual applications are also used to be arranged successfully in the audio decoder and/or Video Decoder coded format Afterwards, frame data are inputted to be decoded for the audio decoder and/or Video Decoder to second memory.
11. device according to claim 6, which is characterized in that
The audio and video resources management module, for receiving the finger for switching to the second audiovisual applications by the first audiovisual applications Before order, the open state of the audio decoder and Video Decoder is kept.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to It enables, when the computer instruction is run on computers, so that computer perform claim requires side described in any one of 1-5 Method.
CN201810613865.3A 2018-06-14 2018-06-14 A kind of method and device of audiovisual applications switching Withdrawn CN108833960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810613865.3A CN108833960A (en) 2018-06-14 2018-06-14 A kind of method and device of audiovisual applications switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810613865.3A CN108833960A (en) 2018-06-14 2018-06-14 A kind of method and device of audiovisual applications switching

Publications (1)

Publication Number Publication Date
CN108833960A true CN108833960A (en) 2018-11-16

Family

ID=64141801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810613865.3A Withdrawn CN108833960A (en) 2018-06-14 2018-06-14 A kind of method and device of audiovisual applications switching

Country Status (1)

Country Link
CN (1) CN108833960A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597046A (en) * 2020-05-15 2020-08-28 深圳市道通科技股份有限公司 Endoscope memory management method and endoscope
CN112188279A (en) * 2020-09-30 2021-01-05 青岛海信传媒网络技术有限公司 Channel switching method and display equipment
CN112532905A (en) * 2020-12-09 2021-03-19 杭州鸿泉物联网技术股份有限公司 Vehicle-mounted audio and video frame data processing method and device
CN113382196A (en) * 2020-02-25 2021-09-10 杭州海康消防科技有限公司 Scene switching method, system and device and video comprehensive processing platform
CN114025170A (en) * 2021-11-30 2022-02-08 深圳Tcl新技术有限公司 Video playing method and device, computer equipment and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399844A (en) * 2007-09-26 2009-04-01 中兴通讯股份有限公司 Method for fast switching content in mobile stream media service
CN101606128A (en) * 2007-02-06 2009-12-16 微软公司 In media device, support a plurality of operating systems
US8010983B1 (en) * 2008-07-02 2011-08-30 Digital Keystone, Inc. Method and apparatus for enabling switched video service on a host media server
CN102984582A (en) * 2012-11-12 2013-03-20 北京奇虎科技有限公司 Intelligent television system management method and device carrying operating system
CN104202675A (en) * 2014-09-03 2014-12-10 乐视致新电子科技(天津)有限公司 Intelligent terminal and quick channel switching method and device thereof
CN104239151A (en) * 2014-09-18 2014-12-24 深圳市九洲电器有限公司 Resource management method and system
CN104994432A (en) * 2015-06-25 2015-10-21 海信集团有限公司 Method for switching audio and video applications and television
CN105872768A (en) * 2016-04-20 2016-08-17 深圳Tcl数字技术有限公司 Display terminal information source switching method and device
CN108111520A (en) * 2017-12-28 2018-06-01 青岛海信电器股份有限公司 Media playing resources processing method, device and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101606128A (en) * 2007-02-06 2009-12-16 微软公司 In media device, support a plurality of operating systems
CN101399844A (en) * 2007-09-26 2009-04-01 中兴通讯股份有限公司 Method for fast switching content in mobile stream media service
US8010983B1 (en) * 2008-07-02 2011-08-30 Digital Keystone, Inc. Method and apparatus for enabling switched video service on a host media server
CN102984582A (en) * 2012-11-12 2013-03-20 北京奇虎科技有限公司 Intelligent television system management method and device carrying operating system
CN104202675A (en) * 2014-09-03 2014-12-10 乐视致新电子科技(天津)有限公司 Intelligent terminal and quick channel switching method and device thereof
CN104239151A (en) * 2014-09-18 2014-12-24 深圳市九洲电器有限公司 Resource management method and system
CN104994432A (en) * 2015-06-25 2015-10-21 海信集团有限公司 Method for switching audio and video applications and television
CN105872768A (en) * 2016-04-20 2016-08-17 深圳Tcl数字技术有限公司 Display terminal information source switching method and device
CN108111520A (en) * 2017-12-28 2018-06-01 青岛海信电器股份有限公司 Media playing resources processing method, device and terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113382196A (en) * 2020-02-25 2021-09-10 杭州海康消防科技有限公司 Scene switching method, system and device and video comprehensive processing platform
CN113382196B (en) * 2020-02-25 2022-06-03 杭州海康消防科技有限公司 Scene switching method, system and device and video comprehensive processing platform
CN111597046A (en) * 2020-05-15 2020-08-28 深圳市道通科技股份有限公司 Endoscope memory management method and endoscope
CN111597046B (en) * 2020-05-15 2023-12-22 深圳市道通科技股份有限公司 Endoscope memory management method and endoscope
CN112188279A (en) * 2020-09-30 2021-01-05 青岛海信传媒网络技术有限公司 Channel switching method and display equipment
CN112532905A (en) * 2020-12-09 2021-03-19 杭州鸿泉物联网技术股份有限公司 Vehicle-mounted audio and video frame data processing method and device
CN112532905B (en) * 2020-12-09 2022-09-23 杭州鸿泉物联网技术股份有限公司 Vehicle-mounted audio and video frame data processing method and device
CN114025170A (en) * 2021-11-30 2022-02-08 深圳Tcl新技术有限公司 Video playing method and device, computer equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108833960A (en) A kind of method and device of audiovisual applications switching
US11336953B2 (en) Video processing method, electronic device, and computer-readable medium
US11930197B2 (en) Video decoding method and apparatus, computer device, and storage medium
CN109327728A (en) One kind is one-to-many to shield together methods, devices and systems, with screen equipment and storage medium
WO2016034130A1 (en) Intelligent terminal and fast channel switching method and apparatus therefor
US20090265723A1 (en) Electronic device and control method of the same
TW202102024A (en) Communication method, apparatus, computer-readable medium, and electronic device
CN104837057B (en) Video file broadcasting method, device and system
US9906981B2 (en) Method and system for dynamic regulation and control of Wi-Fi scans
CN106231343A (en) Video playback processing method, device and TV
CN109862475A (en) Audio-frequence player device and method, storage medium, communication terminal
CN105786441A (en) Audio processing method, server, user equipment and system
WO2017080175A1 (en) Multi-camera used video player, playing system and playing method
WO2019179260A1 (en) Method and device for selecting resources in carrier wave
WO2018192183A1 (en) Method and apparatus for processing video file during wireless screen delivery
CN104506920A (en) Method and device for playing omnimedia data information
CN110933221A (en) Audio channel management method, device, terminal and storage medium
CN109495776A (en) The method and intelligent terminal that a kind of audio sends, plays
CN103369400A (en) System, method and device for sharing digital television program
CN109379607B (en) Channel playing method, device and medium
CN111158629A (en) Method and system for seamlessly switching media asset players
CN109982399A (en) Improve the method and router of router 5G frequency range utilization rate
CN105681913B (en) Multi-screen interaction method and device
CN115119042A (en) Transmission system and transmission method
CN103685302A (en) Method and system for processing connection content delivery network

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20181116