CN107197367A - A kind of player method, device and the terminal device of startup advertisement sound - Google Patents
A kind of player method, device and the terminal device of startup advertisement sound Download PDFInfo
- Publication number
- CN107197367A CN107197367A CN201710523560.9A CN201710523560A CN107197367A CN 107197367 A CN107197367 A CN 107197367A CN 201710523560 A CN201710523560 A CN 201710523560A CN 107197367 A CN107197367 A CN 107197367A
- Authority
- CN
- China
- Prior art keywords
- loudspeaker
- sound
- equipment
- playback equipment
- external
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/439—Processing of audio elementary streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4424—Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/44—Receiver circuitry for the reception of television signals according to analogue transmission standards
- H04N5/60—Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals
- H04N5/602—Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals for digital sound signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the present invention provides a kind of player method of startup advertisement sound, and methods described includes:Based on television startup instruction, after after kernel kernel process initiations, sound is played into the loudspeaker that path is configured to TV itself, to carry out sound output to startup advertisement by the loudspeaker;During the loudspeaker play startup advertisement, if receiving after the instruction message playable for characterizing external playback equipment, whether the audio output device for judging terminal configuration during last time shutdown is the external playback equipment;If so, sound then is played into path switches to the external playback equipment from the loudspeaker, to cause the external playback equipment to replace the loudspeaker to play the startup advertisement;To avoid causing the startup advertisement front half section voiceless sound second half section to have the problem of even whole playing process of sound does not all have sound because external playback equipment can not rapidly enter broadcast state.
Description
Technical field
The present embodiments relate to audio play-back technology field, more particularly to a kind of player method of startup advertisement sound,
Device and terminal device.
Background technology
With the development of science and technology, people have more demands to TV, somebody pursues more preferable tonequality, sound of television
Broadcasting can use external power amplifying device;Somebody is for some special requirements, and television audio output is using bluetooth equipment etc.
Deng.The audio output device of TV has been not limited solely to the loudspeakers such as the loudspeaker that TV is carried in itself, as TV can be with
External audio output apparatus is on the increase, and power amplifier, bluetooth equipment, usb sound equipments etc. also increasingly favored by user, because
And the audio output device of the main flow of TV mainly includes loudspeaker, external ARC power amplifiers, bluetooth equipment, the USB sound equipments of itself at present
Etc..
Current intelligent television is typically all carrying Android system, can play one section of startup advertisement first in start, wait out
Machine advertisement is finished, and just commences play out program.And the Booting sequence of startup advertisement is as follows, television reception to start-up command, its
Built-in Android system starts to start after the power-up, and after kernel kernel starts, the power amplifier module of TV can be initialized,
After power amplifier initialization is completed, it is that the loudspeaker of itself are already prepared to equivalent to the audio output device of TV in itself, treats
When BootAnimation guide service startup advertisements file is played, the output of voice parts can be carried out by loudspeaker.
And for external audio output device in intelligent television start process, different types of external sound device is opened
The dynamic time is comparatively all slow, for example, for external ARC power amplifying devices, after television startup, being opened in kernel kernel processes
After dynamic, can first determine whether external ARC equipment access whether, after ARC equipment insert state is detected, TV needs and ARC
Equipment is interacted, and sends corresponding order and ARC equipment is completed to initialize, but TV compares consumption with interacting for ARC equipment
When, cause that the initialization of ARC equipment is very slow, bluetooth equipment is also similar, and TV can be loaded further after kernel process initiations
Corresponding bluetooth driving and service, after AndroidBluetoothManagerService services are ready to, then with external indigo plant
Tooth equipment is attached, namely essentially all of external audio output device can all have the initialization procedure of long period.
Therefore, because the initialization procedure of external audio output device is time-consuming longer, and based on some operations and open
The factor startup advertisements such as machine speed lifting require the increasingly faster of startup on the contrary, show user to watch as early as possible, therefore external sound
Sound output equipment is difficult the broadcasting demand for adapting to startup advertisement, if for example, user selects acquiescence broadcasting to set when shutting down last time
Standby is a certain external audio output device, and now intelligent television start, which is played during advertisement, first half occurs in maximum probability very much
Duan Wusheng, the problem of second half section is sound, or even whole startup advertisement playing process are always all without sound, and this has had a strong impact on use
Experience at family.
The content of the invention
The embodiment of the present invention provides a kind of player method, device and the terminal device of startup advertisement sound, to avoid because
External playback equipment, which can not rapidly enter broadcast state, causes the startup advertisement front half section voiceless sound second half section to have sound even whole
Not the problem of playing process does not all have sound.
First aspect of the embodiment of the present invention provides a kind of player method of startup advertisement sound, and methods described includes:
Based on television startup instruction, after after kernel kernel process initiations, sound is played into the loudspeaker that path is configured to TV itself
, to carry out sound output to startup advertisement by the loudspeaker;
During the loudspeaker play startup advertisement, disappear if receiving external playback equipment for characterizing playable instruction
After breath, whether the audio output device for judging terminal configuration during last time shutdown is the external playback equipment;
If so, sound then is played into path switches to the external playback equipment from the loudspeaker, to cause the external broadcasting
Equipment replaces the loudspeaker to play the startup advertisement.
Second aspect of the embodiment of the present invention provides a kind of player method of startup advertisement sound, and methods described includes:
Based on television startup instruction, after after kernel kernel process initiations, if the sound that terminal is configured when detecting last time shutdown
Output equipment is external playback equipment, then sound is played into the loudspeaker that path is configured to TV itself, to cause by the loudspeaker
To startup advertisement carry out sound output;
It is waiting to receive external playback equipment for characterizing after playable instruction message, judge whether the startup advertisement plays
Finish;
If so, sound then is played into path switches to the external playback equipment from the loudspeaker;If it is not, then continuing to keep sound
Broadcasting path is loudspeaker, until the startup advertisement is finished.
Third aspect present invention provides a kind of player method of startup advertisement sound, and methods described includes:
Based on television startup instruction, after after kernel kernel process initiations, if the sound that terminal is configured when detecting last time shutdown
Output equipment is external playback equipment, then sound is played into the loudspeaker that path is configured to TV itself, to cause by the loudspeaker
To startup advertisement carry out sound output;
It is waiting to receive external playback equipment for characterizing after playable instruction message, sound broadcasting path is cut from the loudspeaker
The external playback equipment is changed to, to cause the external playback equipment to replace the loudspeaker to play the startup advertisement.
Fourth aspect present invention provides a kind of playing device of startup advertisement sound, and described device includes:
Initial play equipment configuration module, for being instructed based on television startup, after after kernel kernel process initiations, sound is broadcast
The loudspeaker that path is configured to TV itself are put, to carry out sound output to startup advertisement by the loudspeaker;
Judge module, during playing startup advertisement in loudspeaker, if receiving external playback equipment is used to characterize and can broadcast
After the instruction message put, whether the audio output device for judging terminal configuration during last time shutdown is the external playback equipment;
Handover module, the audio output device for the terminal configuration when judging last time shutdown is the external playback equipment
When, then sound is played into path and switch to the external playback equipment from the loudspeaker, to cause the external playback equipment generation
The startup advertisement is played for the loudspeaker.
Fifth aspect present invention also provides a kind of playing device of startup advertisement sound, and described device includes:
Initial play equipment configuration module, for being instructed based on television startup, after after kernel kernel process initiations, if detecting
The audio output device of terminal configuration is external playback equipment when last time shuts down, then sound broadcasting path is configured into TV itself
Loudspeaker, with cause by the loudspeaker to startup advertisement carry out sound output;
Judge module, receives external playback equipment for characterizing after playable instruction message for waiting, judges the start
Whether advertisement finishes;
Handover module, for if so, sound then is played into path switches to the external playback equipment from the loudspeaker;If it is not,
It is loudspeaker then to continue to keep sound to play path, until the startup advertisement is finished.
Sixth aspect present invention also provides a kind of playing device of startup advertisement sound, and described device includes:
Initial play equipment configuration module, for being instructed based on television startup, after after kernel kernel process initiations, if detecting
The audio output device of terminal configuration is external playback equipment when last time shuts down, then sound broadcasting path is configured into TV itself
Loudspeaker, with cause by the loudspeaker to startup advertisement carry out sound output;
Handover module, receives external playback equipment for characterizing after playable instruction message for waiting, sound is played into logical
Road switches to the external playback equipment from the loudspeaker, to cause the external playback equipment replaces the loudspeaker to play described
Startup advertisement.
Seventh aspect present invention mainly also provides a kind of terminal device, including memory, processor and is stored in described deposit
On reservoir and the computer program that can run on the processor, following walk is realized during the computing device said procedure
Suddenly, the step includes:
Based on television startup instruction, after after kernel kernel process initiations, sound is played into the loudspeaker that path is configured to TV itself
, to carry out sound output to startup advertisement by the loudspeaker;
During loudspeaker play startup advertisement, if receiving external playback equipment is used to characterize playable instruction message
Afterwards, whether the audio output device for judging terminal configuration during last time shutdown is the external playback equipment;
If so, sound then is played into path switches to the external playback equipment from the loudspeaker, to cause the external broadcasting
Equipment replaces the loudspeaker to play the startup advertisement.
The embodiment of the present invention, based on television startup instruction, after after kernel kernel process initiations, plays logical by sound first
Road is configured to the loudspeaker of TV itself, therefore, it can carry out sound output to startup advertisement by loudspeaker, plays and start shooting in loudspeaker
During advertisement, if receiving external playback equipment is used to characterize after playable instruction message, when judging last time shutdown
Whether the audio output device of terminal configuration is the external playback equipment, if so, sound then is played into path from the loudspeaker
The external playback equipment is switched to, to cause external playback equipment to replace the loudspeaker to play the startup advertisement, compared to
Prior art, because can just be initialized after kernel processes to the power amplifying device of TV itself, therefore, the loudspeaker of TV can
Go to call startup advertisement with the bootanimation service processes in servicing earlier than Android system so that startup advertisement can be with base
Sound output is carried out in loudspeaker, if in loudspeaker playing process, external playback equipment, which is sent, characterizes playable instruction message, then
Show that external equipment is already prepared in Android Booting sequence, sound output can be carried out, if whole when now last time shuts down
The audio output device of end configuration is external playback equipment, then just switch to external broadcasting to set from loudspeaker in sound broadcasting path
Standby so that in the playing process of startup advertisement, front half section can send sound by loudspeaker, treat that external playback equipment is ready to
Afterwards, follow-up startup advertisement is played instead of loudspeaker, so, the startup advertisement whole process of TV has sound output, will not go out
The problem of existing front half section noiseless second half section is sound or even whole playing process does not all have sound, improves Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the player method of startup advertisement sound provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the player method of another startup advertisement sound provided in an embodiment of the present invention;
Fig. 3 provides the flow chart figure of the player method of another startup advertisement sound for the embodiment of the present invention;
Fig. 4 is a kind of structural representation of the playing device of startup advertisement sound provided in an embodiment of the present invention;
Fig. 5 is the structural representation of the embodiment of the application environment of terminal one of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
The term " comprising " and " having " of description and claims of this specification and their any deformation, it is intended that
It is that covering is non-exclusive to include, for example, the device for the process or structure for containing series of steps is not necessarily limited to clearly arrange
It is that those structures or step for going out but may include are not listed clearly or for these processes or the intrinsic other steps of device
Rapid or structure.
First aspect of the embodiment of the present invention provides a kind of player method of startup advertisement sound, as shown in figure 1, methods described
Including:
Step S101, based on television startup instruction, after after kernel kernel process initiations, TV is configured to by sound broadcasting path
The loudspeaker of itself, to carry out sound output to startup advertisement by the loudspeaker;
For being mounted with the TV of Android intelligence system after powering, as a rule, Android start-up course can be divided into two
Individual stage, the first stage is Linux startup, and second stage is only Android startup,
In Linux startup stages, Bootloader can be started, Kernel, Driver etc, run rank in kernel kernel
Section, can be to that will initialize typically in kernel to the power amplifier chips of TV itself;The wherein initialization of power amplifier chips
Mainly preset power amplifier initialization data is written in power amplifier chips., can be by sound after power amplifier initialization is completed
Output equipment is set to the machine loudspeaker, and the path for also playing sound is configured to loudspeaker;
To second stage, in Android system service startup stage, surfaceFlinger services can call bootanimation to take
Business process, can further call the advertisement played file prestored, play startup advertisement.
Due to loudspeaker initialization carry out it is more early, so by loudspeaker can be as early as possible to startup advertisement carry out sound it is defeated
Go out, it is typically not in that startup advertisement does not have sound phenomena in prior art when being not connected to external playback equipment that this, which is also,
Reason.
So that external playback equipment is external ARC power amplifying devices as an example, kernel kernel process initiations are treated in step S101
Also include afterwards:
Step S1011, judges whether HDMI passages have external ARC equipment to insert;
Step S1012, if so, then being completed by with the external ARC equipment of the insertion communicate after initialization, returning is used for
Characterize the playable instruction message of the external ARC equipment.
ARC full name be Audio Return Channel, that is, audio return passage.ARC function is exactly to transmit
Voice signal, is specifically referred in the HDMI for supporting ARC, and audio signal can be passed through HDMI by TV by ARC agreements
Line passes back to external power amplifier or other possess the audio frequency apparatus of HDMI ARC functions up.HDMI is used as a digitized video
The reception standard of audio, can be with simultaneous transmission video and audio.
Specifically, for step S1011, it is described to judge whether HDMI passages have external ARC equipment to insert, including:
Step S10111, if the level for detecting the hot plug pin of the HDMI passages changes, has determined the HDMI passages
It is connected with external equipment;
Step S10112, CEC orders are sent to the external equipment, obtain the type of the external equipment;
Step S10113, judges whether HDMI passages are connected with external ARC equipment based on the type.
Determine whether that ARC equipment is accessed, the condition of judgement is the hotplug of corresponding HDMI channel interfaces(Hot plug
Pin)Whether change, and CEC orders determine ARC equipment can Ping lead to, the two all meets, and is determined with ARC equipment
It is successfully accessed, after the hot plug pin level for detecting HDMI passages changes, it may be determined that be connected with external equipment, now
Can not between determine be the external power amplifiers of ARC, when detect external equipment insertion after, TV can be handed over the equipment equipment
Mutually, corresponding order is sent(Give Device Vendor ID, Give Physical Address, Initiate ARC
Deng), the purpose of these orders is in order to obtain the type of external equipment, based on the return parameters and external equipment defined
The relation of type, it is determined that being external ARC equipment, so as to complete the initialization to external ARC equipment.
Specifically, after the change of hot plug pin level, it is determined that being connected with external playback equipment, sending CEC first before
Ping orders, see whether ping leads to, if it is possible to which ping leads to, and illustrates to have accessed the equipment for supporting CEC agreements.Then proceed to send
Other CEC orders, so as to get external equipment type, and then are realized to external equipment progress initialization operation.
But external ARC equipment initialization times are by many uncontrollable factors, because television needs and external power amplifier
Equipment carries out CEC communications, and communication can just speak after normally completing.CEC communications in itself can not possibly be absolutely successful, and failure is once
It is accomplished by retransmitting once, and repeating transmission is also required to the time.And some some power amplifier self reasons, television sets to external ARC
Preparation is lost one's life after order, and time-consuming for external ARC equipment time of return.Several reasons result in the time-consuming ratio of ARC equipment initialization above
It is longer.
Come again, so that external playback equipment is external Bluetooth equipment as an example, in step S101, treat kernel kernel process initiations
Also include afterwards:
Step S1013, loading bluetooth driving, triggering starts bluetooth management service process;
Step S1014, determines whether that bluetooth equipment is returned by the bluetooth management service process and is linked to be work(;
Step S1015, if so, then returning to the instruction message playable for characterizing the bluetooth equipment.
After the intelligent television start of Android system, first start loading bluetooth driving first, based on bluetooth driving, can touch
Hair starts BluetoothManagerService, that is, bluetooth management service process, whether judges lower bluetooth driving layer segment
It is ready, once being ready to complete, open the bluetooth of TV.Treat that bluetooth equipment is interacted with TV, that is, perform external indigo plant
The company's of returning process of the bluetooth module of tooth equipment and TV, is linked to be work(if returned, returns to what be can play for characterizing bluetooth equipment
Prompting message.
Likewise, because the bluetooth module of television itself needs to interact initialization with external Bluetooth equipment, and
The bluetooth module of TV needs to wait after android BluetoothManagerService startups, could be carried out after opening bluetooth
The connection of external Bluetooth equipment, so needing the longer time could sounding.
Similarly, also numerous other types of external equipment, not exclusively ARC power amplifiers and bluetooth equipment such as Bluetooth audio device
The problem of this programme background technology runs into occurs, under the Booting sequence framework based on Android system, due to external equipment very
Hardly possible starts earlier than startup advertisement, and the problem of startup advertisement does not have sound all unavoidably occurs.
Step S102, during the loudspeaker play startup advertisement, if receiving for characterizing external playback equipment
After playable instruction message, whether the audio output device for judging terminal configuration during last time shutdown is that the external broadcasting is set
It is standby;
In actual start-up course, the time of the initialization procedure needs of external playback equipment is simultaneously unstable, it is possible to can be early,
May be more late, go to monitor whether external playback equipment is ready in real time so needing to open up a watcher thread, Ye Jijie
Receive after the instruction message playable for characterizing external playback equipment, the instruction message can be external playback equipment such as ARC
The message or external Bluetooth audio device that power amplifying device initialization is completed, which have been returned, even successfully indicates message, that is, determines outer
Playback equipment is connect to have can be used for playing sound.Now need to determine whether the sound output of terminal configuration during last time shutdown
Whether equipment is the external playback equipment.
As a rule, in the setting menu of TV, including the option list for indication TV audio output device, use
Family can be based on actual demand, be selected in option list, if user have selected external ARC equipment and be set as sound broadcasting
Standby, voice data to be played will be output in external ARC equipment and play out by that drive part, and switching on and shutting down process is not
The selection of user can be cancelled, the configuration data can be recorded in the database of TV always.
Step S103, if so, sound then is played into path switches to the external playback equipment from the loudspeaker, to cause
The external playback equipment replaces the loudspeaker to play the startup advertisement.
If it is determined that result be to determine that user have selected external playback equipment as audio output device, that is in order to meet
The sound output demand of user, sound broadcasting path can be switched over, be switched to external playback equipment from loudspeaker so that outer
Connect playback equipment and play startup advertisement instead of loudspeaker.
The embodiment of the present invention, based on television startup instruction, after after kernel kernel process initiations, plays logical by sound first
Road is configured to the loudspeaker of TV itself, therefore, it can carry out sound output to startup advertisement by loudspeaker, plays and start shooting in loudspeaker
During advertisement, if receiving external playback equipment is used to characterize after playable instruction message, when judging last time shutdown
Whether the audio output device of terminal configuration is the external playback equipment, if so, sound then is played into path from the loudspeaker
The external playback equipment is switched to, to cause external playback equipment to replace the loudspeaker to play the startup advertisement, compared to
Prior art, because can just be initialized after kernel processes to the power amplifying device of TV itself, therefore, the loudspeaker of TV can
Go to call startup advertisement with the bootanimation service processes in servicing earlier than Android system so that startup advertisement can be with base
Sound output is carried out in loudspeaker, if in loudspeaker playing process, external playback equipment, which is sent, characterizes playable instruction message, then
Show that external equipment is already prepared in Android Booting sequence, sound output can be carried out, if whole when now last time shuts down
The audio output device of end configuration is external playback equipment, then just switch to external broadcasting to set from loudspeaker in sound broadcasting path
Standby so that in the playing process of startup advertisement, front half section can send sound by loudspeaker, treat that external playback equipment is ready to
Afterwards, follow-up startup advertisement is played instead of loudspeaker, so, the startup advertisement whole process of TV has sound output, will not go out
The problem of existing front half section noiseless second half section is sound or even whole playing process does not all have sound, improves Consumer's Experience.
Based on identical inventive concept, second aspect of the embodiment of the present invention provides a kind of broadcasting side of startup advertisement sound
Method, as shown in Fig. 2 methods described includes:
Step S201, based on television startup instruction, after after kernel kernel process initiations, if terminal is matched somebody with somebody when detecting last time shutdown
The audio output device put is external playback equipment, then sound is played into the loudspeaker that path is configured to TV itself, to lead to
Cross the loudspeaker and sound output is carried out to startup advertisement;
Step S202, it is waiting to receive after the instruction message playable for characterizing the external playback equipment, judge the start
Whether advertisement finishes;
Step S203, if so, sound then is played into path switches to the external playback equipment from the loudspeaker;If it is not, then after
It is loudspeaker that continuation of insurance, which holds sound and plays passage, until the startup advertisement is finished.
As further optimization, in practice, possible startup advertisement first half is exported by the loudspeaker of TV, later half
Part can be because tonequality be different by the output of external playback equipment, and result of broadcast is variant, in order to solve the problem, in kernel
After kernel process initiations, first detect whether the audio output device configured during last time shutdown is external playback equipment, if so, then
Sound broadcasting path is set to loudspeaker first, disappeared if then received for characterizing the playable instruction of external playback equipment
Breath, then will judge whether startup advertisement has finished, if finished, and sound broadcasting path is cut from the loudspeaker
It is changed to the external playback equipment;If it is not, it is loudspeaker then to continue to keep sound to play passage, until the startup advertisement is played
Finish, in this manner it is ensured that the startup advertisement stage carries out sound output by loudspeaker all the time, after advertisement terminates, sound can be played
Path is switched on external playback equipment, and other follow-up voice datas to be played can give external playback equipment and carry out sound
Output.
Based on identical inventive concept, the application third aspect provides a kind of player method of startup advertisement sound, such as Fig. 3
Shown, methods described includes:
Step S301, based on television startup instruction, after after kernel kernel process initiations, if terminal is matched somebody with somebody when detecting last time shutdown
The audio output device put is external playback equipment, then sound is played into the loudspeaker that path is configured to TV itself, to lead to
Cross the loudspeaker and sound output is carried out to startup advertisement;
Step S302, it is waiting to receive external playback equipment and be used to characterize after playable instruction message, by sound play path from
The loudspeaker switch to the external playback equipment, to cause the external playback equipment to replace the loudspeaker to play the start
Advertisement.
As further optimization, in practice, in order to avoid startup advertisement front half section is noiseless, the second half section is sound to ask
Topic, whether after kernel kernel process initiations, it is that external broadcasting is set first to detect the audio output device configured during last time shutdown
It is standby, if so, sound broadcasting path is then set into loudspeaker first, it be can play if then received for characterizing external playback equipment
Instruction message, sound is played into path and from the loudspeaker switches to the external playback equipment;So that external playback equipment generation
Startup advertisement is played for loudspeaker, in this manner it is ensured that the startup advertisement stage carries out sound output by loudspeaker all the time, if start is wide
Accuse during playing, external playback equipment is already prepared to play, then sound broadcasting path can be switched to outer
Connect on playback equipment, the follow-up voice data to be played of startup advertisement can give external playback equipment and carry out sound output.
Based on identical inventive concept, fourth aspect present invention provides a kind of playing device of startup advertisement sound, such as Fig. 4
Shown, described device includes:
Initial play equipment configuration module 401, for being instructed based on television startup, treats that kernel kernel processes are complete to power amplifying device
Into after initialization, sound is played into the loudspeaker that path is configured to TV itself, to enter startup advertisement by the loudspeaker
Row sound is exported;
Judge module 402, can for characterizing external playback equipment if receiving during playing startup advertisement in loudspeaker
After the instruction message of broadcasting, whether the audio output device for judging terminal configuration during last time shutdown is the external playback equipment;
Handover module 403, the audio output device for the terminal configuration when judging last time shutdown sets for the external broadcasting
When standby, then sound played into path and switch to the external playback equipment from the loudspeaker, to cause the external playback equipment
The startup advertisement is played instead of the loudspeaker.
Based on identical inventive concept, fifth aspect present invention also provides a kind of playing device of startup advertisement sound, institute
Stating device includes:
Initial play equipment configuration module, for being instructed based on television startup, after after kernel kernel process initiations, if detecting
The audio output device of terminal configuration is external playback equipment when last time shuts down, then sound broadcasting path is configured into TV itself
Loudspeaker, with cause by the loudspeaker to startup advertisement carry out sound output;
Judge module, receives external playback equipment for characterizing after playable instruction message for waiting, judges the start
Whether advertisement finishes;
Handover module, for if so, sound then is played into path switches to the external playback equipment from the loudspeaker;If it is not,
It is loudspeaker then to continue to keep sound to play passage, until the startup advertisement is finished.
Based on identical inventive concept, sixth aspect present invention also provides a kind of playing device of startup advertisement sound, institute
Stating device includes:
Initial play equipment configuration module, for being instructed based on television startup, after after kernel kernel process initiations, if detecting
The audio output device of terminal configuration is external playback equipment when last time shuts down, then sound broadcasting path is configured into TV itself
Loudspeaker, with cause by the loudspeaker to startup advertisement carry out sound output;
Handover module, receives external playback equipment for characterizing after playable instruction message for waiting, sound is played into logical
Road switches to the external playback equipment from the loudspeaker, to cause the external playback equipment replaces the loudspeaker to play described
Startup advertisement.
Based on identical inventive concept, as shown in figure 5, the present invention mainly also provides a kind of terminal device, using television set as
Example, including memory 602, processor 601 and be stored on the memory 602 and can be run on the processor 601
Computer program, following steps are realized during the computing device said procedure, and the step includes:
Based on television startup instruction, after kernel kernel processes complete initialization to power amplifying device, sound broadcasting path is matched somebody with somebody
The loudspeaker of TV itself are set to, to carry out sound output to startup advertisement by the loudspeaker;
During loudspeaker play startup advertisement, if receiving external playback equipment is used to characterize playable instruction message
Afterwards, whether the audio output device for judging terminal configuration during last time shutdown is the external playback equipment;
If so, sound then is played into path switches to the external playback equipment from the loudspeaker, to cause the external broadcasting
Equipment replaces the loudspeaker to play the startup advertisement.
Fig. 5 is the structural representation of the embodiment of the application environment of terminal one of the present invention.As shown in figure 5, the present embodiment is with end
Hold exemplified by television set, to include:Processor 601, memory 602 and communication interface 603;
It is stored with the computer program that can run on the processor in the memory 602, the computing device is above-mentioned
Following steps are realized during program, the step includes:
Based on television startup instruction, after kernel kernel processes complete initialization to power amplifying device, sound broadcasting path is matched somebody with somebody
The loudspeaker of TV itself are set to, to carry out sound output to startup advertisement by the loudspeaker;
During loudspeaker play startup advertisement, if receiving external playback equipment is used to characterize playable instruction message
Afterwards, whether the audio output device for judging terminal configuration during last time shutdown is the external playback equipment;
If so, sound then is played into path switches to the external playback equipment from the loudspeaker, to cause the external broadcasting
Equipment replaces the loudspeaker to play the startup advertisement
Wherein, memory 602, the program played for storage running startup advertisement sound;Specifically, program can include program
Code, described program code includes computer-managed instruction.Memory 502 may include random access memory(random
Access memory, abbreviation RAM), it is also possible to also including nonvolatile memory(non-volatile memory), for example extremely
A few magnetic disk storage.
Communication interface 603, for receiving input signal or instruction;
Processor 601, it is real for performing the inventive method for performing the program that memory 602 is stored according to signal or instruction
The technical scheme that example is provided is applied, its implementing principle and technical effect is similar, refers to the embodiment of the method shown in Fig. 1, herein
Repeat no more.
Processor can be made up of integrated circuit (Integrated Circuit, abbreviation IC), for example can be by single envelope
The IC of dress is constituted, and can also be made up of the encapsulation IC of many identical functions of connection or difference in functionality.For example, processor
Can be central processing unit (Central Processing Unit, abbreviation CPU) or digital signal processor
(Digital Signal Processor, abbreviation DSP), application specific integrated circuit(ASIC), field programmable gate array(FPGA)
Or other PLDs, discrete gate or transistor logic, discrete hardware components.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
1. a kind of player method of startup advertisement sound, it is characterised in that methods described includes:
Based on television startup instruction, after after kernel kernel process initiations, sound is played into the loudspeaker that path is configured to TV itself
, to carry out sound output to startup advertisement by the loudspeaker;
During the loudspeaker play startup advertisement, disappear if receiving for characterizing the playable instruction of external playback equipment
After breath, whether the audio output device for judging terminal configuration during last time shutdown is the external playback equipment;
If so, sound then is played into path switches to the external playback equipment from the loudspeaker, to cause the external broadcasting
Equipment replaces the loudspeaker to play the startup advertisement.
2. according to the method described in claim 1, it is characterised in that also include after after kernel kernel process initiations:
Judge whether HDMI passages have external ARC equipment to insert;
If so, then being completed by with the external ARC equipment of the insertion communicate after initialization, return described outer for characterizing
Connect the playable instruction message of ARC equipment.
3. according to the method described in claim 1, it is characterised in that also include after after kernel kernel process initiations:
Bluetooth driving is loaded, triggering starts bluetooth management service process;
Determine whether that bluetooth equipment is returned by the bluetooth management service process and be linked to be work(;
If so, then returning to the instruction message playable for characterizing the bluetooth equipment.
4. method according to claim 2, it is characterised in that described to judge whether HDMI passages have external ARC equipment to insert
Enter, including:
If the level for detecting the hot plug pin of the HDMI passages changes, determine that the HDMI passages have been connected with external set
It is standby;
CEC orders are sent to the external equipment, the type of the external equipment is obtained;
Judge whether HDMI passages are connected with external ARC equipment based on the type.
5. a kind of player method of startup advertisement sound, it is characterised in that methods described includes:
Based on television startup instruction, after after kernel kernel process initiations, if the sound that terminal is configured when detecting last time shutdown
Output equipment is external playback equipment, then sound is played into the loudspeaker that path is configured to TV itself, to cause by the loudspeaker
To startup advertisement carry out sound output;
It is waiting to receive after the instruction message playable for characterizing the external playback equipment, judge whether the startup advertisement is broadcast
Discharge complete;
If so, sound then is played into path switches to the external playback equipment from the loudspeaker;If it is not, then continuing to keep sound
Broadcasting path is loudspeaker, until the startup advertisement is finished.
6. a kind of player method of startup advertisement sound, it is characterised in that methods described includes:
Based on television startup instruction, after after kernel kernel process initiations, if the sound that terminal is configured when detecting last time shutdown
Output equipment is external playback equipment, then sound is played into the loudspeaker that path is configured to TV itself, to cause by the loudspeaker
To startup advertisement carry out sound output;
It is waiting to receive after the instruction message playable for characterizing external playback equipment, sound broadcasting path is cut from the loudspeaker
The external playback equipment is changed to, to cause the external playback equipment to replace the loudspeaker to play the startup advertisement.
7. a kind of playing device of startup advertisement sound, it is characterised in that described device includes:
Initial play equipment configuration module, for being instructed based on television startup, after after kernel kernel process initiations, sound is broadcast
The loudspeaker that path is configured to TV itself are put, to carry out sound output to startup advertisement by the loudspeaker;
Judge module, during playing startup advertisement in the loudspeaker, if receiving for characterizing external playback equipment
After playable instruction message, whether the audio output device for judging terminal configuration during last time shutdown is that the external broadcasting is set
It is standby;
Handover module, the audio output device for the terminal configuration when judging last time shutdown is the external playback equipment
When, then sound is played into path and switch to the external playback equipment from the loudspeaker, to cause the external playback equipment generation
The startup advertisement is played for the loudspeaker.
8. a kind of playing device of startup advertisement sound, it is characterised in that described device includes:
Initial play equipment configuration module, for being instructed based on television startup, after after kernel kernel process initiations, if detecting
The audio output device of terminal configuration is external playback equipment when last time shuts down, then sound broadcasting path is configured into TV itself
Loudspeaker, with cause by the loudspeaker to startup advertisement carry out sound output;
Judge module, receives external playback equipment for characterizing after playable instruction message for waiting, judges the start
Whether advertisement finishes;
Handover module, for if so, sound then is played into path switches to the external playback equipment from the loudspeaker;If it is not,
It is loudspeaker then to continue to keep sound to play path, until the startup advertisement is finished.
9. a kind of playing device of startup advertisement sound, it is characterised in that described device includes:
Initial play equipment configuration module, for being instructed based on television startup, after after kernel kernel process initiations, if detecting
The audio output device of terminal configuration is external playback equipment when last time shuts down, then sound broadcasting path is configured into TV itself
Loudspeaker, with cause by the loudspeaker to startup advertisement carry out sound output;
Handover module, receives external playback equipment for characterizing after playable instruction message for waiting, sound is played into logical
Road switches to the external playback equipment from the loudspeaker, to cause the external playback equipment replaces the loudspeaker to play described
Startup advertisement.
10. a kind of terminal device, including memory, processor and it is stored on the memory and can transports on the processor
Capable computer program, it is characterised in that realize following steps during the computing device said procedure, the step includes:
Based on television startup instruction, after after kernel kernel process initiations, sound is played into the loudspeaker that path is configured to TV itself
, to carry out sound output to startup advertisement by the loudspeaker;
During the loudspeaker play startup advertisement, disappear if receiving external playback equipment for characterizing playable instruction
After breath, whether the audio output device for judging terminal configuration during last time shutdown is the external playback equipment;
If so, sound then is played into path switches to the external playback equipment from the loudspeaker, to cause the external broadcasting
Equipment replaces the loudspeaker to play the startup advertisement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710523560.9A CN107197367A (en) | 2017-06-30 | 2017-06-30 | A kind of player method, device and the terminal device of startup advertisement sound |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710523560.9A CN107197367A (en) | 2017-06-30 | 2017-06-30 | A kind of player method, device and the terminal device of startup advertisement sound |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107197367A true CN107197367A (en) | 2017-09-22 |
Family
ID=59880217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710523560.9A Pending CN107197367A (en) | 2017-06-30 | 2017-06-30 | A kind of player method, device and the terminal device of startup advertisement sound |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107197367A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110290406A (en) * | 2019-07-02 | 2019-09-27 | 四川长虹电器股份有限公司 | The method of ARC power amplifier is quickly connected in LCD TV start process |
CN111726681A (en) * | 2020-06-19 | 2020-09-29 | 海信视像科技股份有限公司 | Audio output device selection method and display device |
WO2023010993A1 (en) * | 2021-08-05 | 2023-02-09 | 海信视像科技股份有限公司 | Display device and sound mode setting method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102131062A (en) * | 2010-01-20 | 2011-07-20 | 日立民用电子株式会社 | Information processing device and method for processing signal of information processing device |
JP5448779B2 (en) * | 2009-12-17 | 2014-03-19 | キヤノン株式会社 | Playback apparatus and system |
CN103747328A (en) * | 2013-12-23 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Television system, boot advertising audio frequency playback device and method |
CN106210577A (en) * | 2016-07-01 | 2016-12-07 | 广州长嘉电子有限公司 | A kind of television audio output control method and TV |
CN106713978A (en) * | 2017-01-04 | 2017-05-24 | 青岛海信电器股份有限公司 | Method and device for selecting audio output channel and terminal equipment |
-
2017
- 2017-06-30 CN CN201710523560.9A patent/CN107197367A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5448779B2 (en) * | 2009-12-17 | 2014-03-19 | キヤノン株式会社 | Playback apparatus and system |
CN102131062A (en) * | 2010-01-20 | 2011-07-20 | 日立民用电子株式会社 | Information processing device and method for processing signal of information processing device |
CN103747328A (en) * | 2013-12-23 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Television system, boot advertising audio frequency playback device and method |
CN106210577A (en) * | 2016-07-01 | 2016-12-07 | 广州长嘉电子有限公司 | A kind of television audio output control method and TV |
CN106713978A (en) * | 2017-01-04 | 2017-05-24 | 青岛海信电器股份有限公司 | Method and device for selecting audio output channel and terminal equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110290406A (en) * | 2019-07-02 | 2019-09-27 | 四川长虹电器股份有限公司 | The method of ARC power amplifier is quickly connected in LCD TV start process |
CN111726681A (en) * | 2020-06-19 | 2020-09-29 | 海信视像科技股份有限公司 | Audio output device selection method and display device |
US11954401B2 (en) | 2020-06-19 | 2024-04-09 | Hisense Visual Technology Co., Ltd. | Method for selecting audio output device, and display apparatus |
WO2023010993A1 (en) * | 2021-08-05 | 2023-02-09 | 海信视像科技股份有限公司 | Display device and sound mode setting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107197367A (en) | A kind of player method, device and the terminal device of startup advertisement sound | |
US20180264361A1 (en) | Web page running method and apparatus, terminal, and storage medium | |
CN107333179A (en) | A kind of player method and device of video of starting shooting | |
CN103841268A (en) | Information processing method and information processing device | |
CN108111520B (en) | Media playing resource processing method, device and terminal | |
US20150163610A1 (en) | Audio keyword based control of media output | |
CN108108174A (en) | Optical module and its method of firmware upgrade | |
CN107015828A (en) | Audio software upgrade method, application program updating method, apparatus and system | |
CN106782493A (en) | A kind of children private tutor's machine personalized speech control and VOD system | |
CN109545211A (en) | Voice interactive method and system | |
CN105786441A (en) | Audio processing method, server, user equipment and system | |
CN103840963B (en) | Method and device for updating server data | |
US20060236081A1 (en) | Computer System and Related Method of Playing Audio Files when Booting | |
CN108038010A (en) | Android system startup stage broadcast transmission method, apparatus and terminal | |
JP2007323629A (en) | Computer and power saving method thereof | |
CN108235756A (en) | A kind of audio competition playing device and its method, mobile terminal | |
CN109451499B (en) | Method and equipment for connecting wireless access point | |
CN112698907B (en) | Application display control method and electronic equipment | |
WO2016165234A1 (en) | Terminal language setting method and apparatus, and terminal | |
CN103607649A (en) | Advertisement insertion method and player | |
US20070101340A1 (en) | Method and mobile terminal for performing multiple tasks without conflict | |
CN1992943B (en) | High-speed data transfer and multitasking method for portable terminal having mass storage secondary memory | |
CN107018557A (en) | A kind of terminal control method and terminal | |
CN104007969A (en) | Booting sound playing method and device | |
CN111615030A (en) | Upgrading method, device and medium for novel TWS earphone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170922 |
|
RJ01 | Rejection of invention patent application after publication |