CN105867965A - Method and system for playing startup video on basis of android system - Google Patents
Method and system for playing startup video on basis of android system Download PDFInfo
- Publication number
- CN105867965A CN105867965A CN201510960812.5A CN201510960812A CN105867965A CN 105867965 A CN105867965 A CN 105867965A CN 201510960812 A CN201510960812 A CN 201510960812A CN 105867965 A CN105867965 A CN 105867965A
- Authority
- CN
- China
- Prior art keywords
- player program
- init
- video
- starting
- media server
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Embodiments of the invention provide a method and system for playing a startup video on the basis of an android system. The method comprises the following steps: starting a player program; playing the startup video by using the player program and closing the player program after the playing is ended; starting a Media Server. In such a way, a media player is started to play the startup video before the Media Server is loaded, so that the playing starting time of the startup video is advanced; meanwhile, the normal starting and initialization of the system are not influenced when the media player is started and the video is played, so that the influence on the total startup time length is small.
Description
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of broadcasting based on android system and open
The method and system of machine video.
Background technology
Equipment based on android system is the most universal, including mobile phone, flat board, TV box,
Can only TV etc., each producer is also to utilize Android device to produce by fair means or foul the most attached
Add value.The characteristic that android system is increased income due to it, boot animation/video is replaceable in addition, therefore
It all can be revised as the boot animation/video with oneself characteristic by a lot of manufacturers.Boot animation is fixing
Unalterable, if revising can only every time overall upgrade-system time replace, and video of starting shooting is permissible
Dynamic replacement, therefore amendment start video is more easily to select.
For a user, the start duration of equipment is the shortest, therefore the requirement first of start video is
Rising and broadcast speed and want fast, second is that the length of video can not be oversize.But for manufacturer, shorten video
Length can affect representing of content, it is clear that is not preferred scheme.And to improve rising of start video and broadcast
Speed is the most difficult, utilizes Media Server to play start video because existing method is substantially
File, but this scheme rises between sowing time later, usually starts shooting latter about 15 seconds.
Summary of the invention
The technical problem to be solved in the present invention is that shortening Android device start video rose between sowing time.
To this end, embodiments provide a kind of broadcasting start video based on android system
Method, comprises the following steps:
Start player program;
Use described player program to play start video, and close described player after playback ends
Program;
Start Media Server.
Preferably, before starting described player program, also include:
Start init process;
Load init.rc and as described in the script startup of init.rc player program, while normally open
Dynamic other service in addition to Media Server.
Preferably, described player program as described in the script startup of init.rc includes:
Judge whether in assigned catalogue, there is start video file, have, start described player program,
Otherwise point out error message.
The embodiment of the present invention additionally provides a kind of system playing start video based on android system,
Including:
First starts module, is used for starting player program;
Play control module, be used for using described player program to play start video, and playing knot
Described player program is closed after bundle;
Second starts module, is used for starting Media Server.
Preferably, described first startup module is further used for:
Start init process;
Load init.rc and as described in the script startup of init.rc player program, while normally open
Dynamic other service in addition to Media Server.
Preferably, described player program as described in the script startup of init.rc includes:
Judge whether in assigned catalogue, there is start video file, have, start described player program,
Otherwise point out error message.
The embodiment of the present invention regards by starting media renderer plays start before Media Server loads
Frequently, thus it is advanced by between a sowing time of start video, meanwhile, is starting this media player and broadcasting
During video, normally the starting and initialize unaffected of system, thus the impact on total duration of starting shooting
The least.
Accompanying drawing explanation
In order to be illustrated more clearly that the specific embodiment of the invention or technical scheme of the prior art, under
The accompanying drawing used required in detailed description of the invention or description of the prior art will be briefly described by face,
It should be evident that the accompanying drawing in describing below is some embodiments of the present invention, general for this area
From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to obtain according to these accompanying drawings
Obtain other accompanying drawing.
Fig. 1 is the stream of the method for the broadcasting start video based on android system of the embodiment of the present invention
Cheng Tu;
Fig. 2 is the knot of the system of the broadcasting start video based on android system of the embodiment of the present invention
Structure block diagram.
Detailed description of the invention
Below in conjunction with accompanying drawing, technical scheme is clearly and completely described, it is clear that
Described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on this
Embodiment in bright, those of ordinary skill in the art are obtained under not making creative work premise
Every other embodiment, broadly fall into the scope of protection of the invention.
With specific embodiment, technical scheme is described in detail below in conjunction with the accompanying drawings.
The video as it is shown in figure 1, the broadcasting based on android system in this preferred embodiment is started shooting
Method, comprises the following steps:
Step S1: start player program.
Concrete, this player program is any program that can play start video file.
Step S2: use this player program to play start video, and close this after playback ends and broadcast
Put device program.
Step S3: start Media Server.
The present embodiment is by starting a player before Media Server and play start and regard starting
Frequently, rising between sowing time of start video it is advanced by.
Preferably, before starting player program, also include:
Start init process;
Loading init.rc and press the script startup player program of init.rc, the most normal startup removes
Other service outside Media Server.
Thus, by normal load and initialization while starting player program except Media Server
Other outer service, varying less of total duration of therefore starting shooting.
Preferably, include by the script startup player program of init.rc:
Judge whether in assigned catalogue, there is start video file, have, start player program, no
Then point out error message.
A linux script realizing above-mentioned functions exemplified below, wherein player program is named as
" player_alsa ":
#!/system/bin/sh
if[-f${AD_FILE}];Then // judge whether to exist in assigned catalogue to open
Machine video file
/ system/bin/kplayer_alsa $ { AD_FILE} // operation player_alsa
else
Echo " no ad file " // and as there is no video file, point out error message
fi
Preferably, this Linux script is put in Android environment with kplayer_alsa together with compile
It is translated into an image.
On this Linux Script Basics, starting up's flow process that enumerates is as follows:
Bootloader-> Kernel loading-> init process initiation-> loading init.rc also presses
The script startup Android system service-> system loads of init.rc completes, and shows launcher.
Wherein, load init.rc and startup service include:
1) the Linux script in load document system (being easy to 2) finds start video file);
2) this Linux script is run, to start kplayer_alsa broadcasting start video;
3) in this script runs, normal other service starting init.rc of continuation, but all and Media
Startup item relevant for Server could will load after having run video;
4) after all services have loaded, sending out BOOT_COMPLETE message, init.rc runs complete.
The video as in figure 2 it is shown, the broadcasting based on android system in this preferred embodiment is started shooting
System 1 includes:
First starts module 2, is used for starting player program;
Play control module 3, be used for using described player program to play start video, and playing knot
Described player program is closed after bundle;
Second starts module 4, is used for starting Media Server.
Thus, by starting media renderer plays start video before Media Server loads, from
And be advanced by between a sowing time of start video,
Preferably, described first startup module is further used for:
Start init process;
Load init.rc and as described in the script startup of init.rc player program, while normally open
Dynamic other service in addition to Media Server.
Thus, by normal load and initialization while starting player program except Media Server
Other outer service, varying less of total duration of therefore starting shooting.
Preferably, described player program as described in the script startup of init.rc includes:
Judge whether in assigned catalogue, there is start video file, have, start described player program,
Otherwise point out error message.
Obviously, above-described embodiment is only for clearly demonstrating example, and not to embodiment party
The restriction of formula.For those of ordinary skill in the field, the most also may be used
To make other changes in different forms.Here without also all of embodiment being given
With exhaustive.And the obvious change thus extended out or variation are still in the guarantor of the invention
Protect among scope.
Claims (6)
1. the method playing start video based on android system, it is characterised in that include
Following steps:
Start player program;
Use described player program to play start video, and close described player after playback ends
Program;
Start Media Server.
2. the method for claim 1, it is characterised in that start described player program it
Before, also include:
Start init process;
Load init.rc and as described in the script startup of init.rc player program, while normally open
Dynamic other service in addition to Media Server.
3. method as claimed in claim 2, it is characterised in that described open by the script of init.rc
Dynamic described player program includes:
Judge whether in assigned catalogue, there is start video file, have, start described player program,
Otherwise point out error message.
4. the system playing start video based on android system, it is characterised in that including:
First starts module, is used for starting player program;
Play control module, be used for using described player program to play start video, and playing knot
Described player program is closed after bundle;
Second starts module, is used for starting Media Server.
5. system as claimed in claim 4, it is characterised in that described first startup module is further
For:
Start init process;
Load init.rc and as described in the script startup of init.rc player program, while normally open
Dynamic other service in addition to Media Server.
6. system as claimed in claim 5, it is characterised in that described open by the script of init.rc
Dynamic described player program includes:
Judge whether in assigned catalogue, there is start video file, have, start described player program,
Otherwise point out error message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510960812.5A CN105867965A (en) | 2015-12-18 | 2015-12-18 | Method and system for playing startup video on basis of android system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510960812.5A CN105867965A (en) | 2015-12-18 | 2015-12-18 | Method and system for playing startup video on basis of android system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105867965A true CN105867965A (en) | 2016-08-17 |
Family
ID=56623811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510960812.5A Pending CN105867965A (en) | 2015-12-18 | 2015-12-18 | Method and system for playing startup video on basis of android system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105867965A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107333179A (en) * | 2017-06-27 | 2017-11-07 | 青岛海信电器股份有限公司 | A kind of player method and device of video of starting shooting |
CN107391126A (en) * | 2017-07-05 | 2017-11-24 | 努比亚技术有限公司 | A kind of method, terminal and computer-readable recording medium for lifting starting up speed |
CN107743218A (en) * | 2017-09-25 | 2018-02-27 | 广景视睿科技(深圳)有限公司 | Projector's Atomatic focusing method, device and electronic equipment |
CN108595215A (en) * | 2018-05-10 | 2018-09-28 | 日立楼宇技术(广州)有限公司 | Playback method, device, equipment and the storage medium of the boot animation of car-mounted terminal |
CN112637660A (en) * | 2020-12-21 | 2021-04-09 | 四川长虹电器股份有限公司 | Image stabilization method for starting up android television video application |
CN115802109A (en) * | 2022-11-11 | 2023-03-14 | 深圳创维-Rgb电子有限公司 | Startup video playing method and device, display equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2105834A1 (en) * | 2008-03-28 | 2009-09-30 | ASUSTeK Computer Inc. | Method for booting computer device |
CN101980522A (en) * | 2010-10-13 | 2011-02-23 | 福建新大陆通信科技股份有限公司 | Method for realizing video advertisement based on digital set top box boot |
CN101989206A (en) * | 2009-08-05 | 2011-03-23 | 中国长城计算机深圳股份有限公司 | Computer startup processing method and system |
CN103297850A (en) * | 2012-08-24 | 2013-09-11 | 乐视致新电子科技(天津)有限公司 | Method for playing network video at starting of Android system |
CN103686368A (en) * | 2013-12-23 | 2014-03-26 | Tcl集团股份有限公司 | Method and device for turning on television to play cartoons and television |
CN103699398A (en) * | 2012-09-27 | 2014-04-02 | 联想(北京)有限公司 | Terminal equipment and starting control method thereof |
CN103731734A (en) * | 2013-12-18 | 2014-04-16 | 乐视致新电子科技(天津)有限公司 | Video playing method and device |
-
2015
- 2015-12-18 CN CN201510960812.5A patent/CN105867965A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2105834A1 (en) * | 2008-03-28 | 2009-09-30 | ASUSTeK Computer Inc. | Method for booting computer device |
CN101989206A (en) * | 2009-08-05 | 2011-03-23 | 中国长城计算机深圳股份有限公司 | Computer startup processing method and system |
CN101980522A (en) * | 2010-10-13 | 2011-02-23 | 福建新大陆通信科技股份有限公司 | Method for realizing video advertisement based on digital set top box boot |
CN103297850A (en) * | 2012-08-24 | 2013-09-11 | 乐视致新电子科技(天津)有限公司 | Method for playing network video at starting of Android system |
CN103699398A (en) * | 2012-09-27 | 2014-04-02 | 联想(北京)有限公司 | Terminal equipment and starting control method thereof |
CN103731734A (en) * | 2013-12-18 | 2014-04-16 | 乐视致新电子科技(天津)有限公司 | Video playing method and device |
CN103686368A (en) * | 2013-12-23 | 2014-03-26 | Tcl集团股份有限公司 | Method and device for turning on television to play cartoons and television |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107333179A (en) * | 2017-06-27 | 2017-11-07 | 青岛海信电器股份有限公司 | A kind of player method and device of video of starting shooting |
CN107391126A (en) * | 2017-07-05 | 2017-11-24 | 努比亚技术有限公司 | A kind of method, terminal and computer-readable recording medium for lifting starting up speed |
CN107743218A (en) * | 2017-09-25 | 2018-02-27 | 广景视睿科技(深圳)有限公司 | Projector's Atomatic focusing method, device and electronic equipment |
CN108595215A (en) * | 2018-05-10 | 2018-09-28 | 日立楼宇技术(广州)有限公司 | Playback method, device, equipment and the storage medium of the boot animation of car-mounted terminal |
CN112637660A (en) * | 2020-12-21 | 2021-04-09 | 四川长虹电器股份有限公司 | Image stabilization method for starting up android television video application |
CN115802109A (en) * | 2022-11-11 | 2023-03-14 | 深圳创维-Rgb电子有限公司 | Startup video playing method and device, display equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105867965A (en) | Method and system for playing startup video on basis of android system | |
US20220086531A1 (en) | Methods and apparatus to present supplemental media on a second screen | |
US10666894B2 (en) | Receiver and method for reporting the usage of advanced television services | |
CN104424022B (en) | Screen recording method and device | |
CN105791948A (en) | Method and system for realizing starting video of smart television | |
CN106131646A (en) | A kind of start method for processing video frequency based on android system and system | |
JP4777351B2 (en) | Apparatus and method for diagnosing and processing conditions related to cable card in open cable system, open cable host apparatus, and open cable receiving apparatus | |
CN103699483A (en) | Method and device for testing compatibility of playing state of flash player and browser | |
CN106331846B (en) | The method and device of audio transparent transmission | |
CN110381384A (en) | A kind of method and device that interactive audiovisual plays | |
CN105812854B (en) | A kind of control method and device that advertisement plays | |
CN106331862A (en) | Set-top box software upgrading method and set-top box | |
KR20120014567A (en) | Method and host device for enforcing a rule associated with a media file | |
CN108228477A (en) | It is a kind of that the method and system of operation data are obtained based on memory capacity | |
JP2009165679A (en) | Game system | |
CN103607649A (en) | Advertisement insertion method and player | |
CN103631872B (en) | A kind of method for broadcasting multimedia file and electric terminal | |
CN107087231A (en) | Video data player method and device | |
CN108132771B (en) | Two-channel audio implementation method for double-screen different display of Android system | |
CN110278480A (en) | TV channel pre-setting method, device, computer equipment and readable storage medium storing program for executing | |
CN104159147A (en) | Method and device for switching to external audio input-output equipment | |
CN115297371A (en) | Adaptive player generation method and adaptive player equipment | |
CN115022718A (en) | Data importing method and data transmitting method | |
KR100935170B1 (en) | Movable Multimedia Set-Top Box And Multimedia Play Device | |
CN107729357A (en) | A kind of intelligent sound order method, electronic equipment, storage medium and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160817 |