CN103731734A - Video playing method and device - Google Patents
Video playing method and device Download PDFInfo
- Publication number
- CN103731734A CN103731734A CN201310724350.8A CN201310724350A CN103731734A CN 103731734 A CN103731734 A CN 103731734A CN 201310724350 A CN201310724350 A CN 201310724350A CN 103731734 A CN103731734 A CN 103731734A
- Authority
- CN
- China
- Prior art keywords
- video file
- player
- electronic equipment
- global property
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention provides a video playing method and device, and relates to the field of electronic technologies. The use ratio of display resources of electronic equipment can be improved in the start-up process of the electronic equipment, so that the display effect of the electronic equipment is diversified. The method includes the steps that when a system service is started, a video file to be played is obtained; a player is started according to preset configuration information of the player; the player is indicated to play the video file; whether the video file playing through the player is finished or not is determined; if it is determined that the video file playing is finished, a desktop program is started.
Description
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of video broadcasting method and device.
Background technology
Along with the development of electronic technology, various electronic equipments arise at the historic moment, and especially the use of intelligent electronic device is more and more extensive.
In prior art, because intelligent electronic device has operating system, and the time of intelligent electronic device startup system service is longer, therefore cause the available machine time of intelligent electronic device generally all long, take Android(Android) system is example, the start process of intelligent electronic device comprises Bootloader, loads kernel program, starts Android system service (system program of Android operating system) and starts desktop programs four-stage, wherein, the time of intelligent electronic device startup Android system service is longer.Generally, the first stage of intelligent electronic device in start process, while being Bootloader, just start to show start logo(icon), and until after starting desktop programs, be that intelligent electronic device is started shooting completely, intelligent electronic device just stops showing start logo, and starts to show desktop icons.
But, because the front three phases of intelligent electronic device in start process all only shows start logo always, therefore, cause intelligent electronic device in start process, the utilance of the demonstration resource of intelligent electronic device is lower, and the display effect of intelligent electronic device is more single.
Summary of the invention
Embodiments of the invention provide a kind of video broadcasting method and device, can, in electronic equipment start process, improve the demonstration resource utilization of electronic equipment, and make the display effect diversification of electronic equipment.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, embodiments of the invention provide a kind of video broadcasting method, comprising:
When starting system service, obtain video file to be played;
According to the configuration information of default player, open described player;
Indicate video file described in described player plays;
Determine whether described player finishes playing described video file;
If determine, described player finishes playing described video file, starts desktop programs.
In the possible implementation of the first of first aspect, the described method of determining whether described player finishes playing described video file comprises:
Obtain the global property of described player, whether the global property of described player is used for characterizing described player and described video file is finished playing;
According to the global property of described player, determine whether described player finishes playing described video file.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, described according to the global property of described player, determine whether described player finishes playing described video file specifically to comprise:
Whether the global property of determining described player is identical with the first default sign;
If the global property of described player is identical with described the first sign, determine that described player finishes playing described video file, or,
If the global property of described player is different from described the first sign, determine that described player does not finish playing described video file.
In conjunction with the possible implementation of the first of aforesaid first aspect or first aspect to any implementation in the possible implementation of the second, in the third possible implementation, described in obtain video file to be played method comprise:
Obtain default configuration file, described configuration file comprises the storage address of described video file;
From described configuration file, obtain the storage address of described video file;
According to the storage address of described video file, obtain described video file.
In conjunction with the possible implementation of the first of aforesaid first aspect or first aspect to any implementation in the possible implementation of the second, in the 4th kind of possible implementation, described in obtain video file to be played method comprise:
From default software code, obtain the storage address of described video file;
According to the storage address of described video file, obtain described video file.
Second aspect, embodiments of the invention provide a kind of electronic equipment, comprising:
Acquiring unit, for when starting system service, obtains video file to be played;
Open unit, for according to the configuration information of default player, open described player;
Indicating member, is used to indicate the described video file that obtains of acquiring unit described in the described player plays of opening described unlatching unit;
Determining unit, for determining whether described player finishes playing described video file;
Described unlatching unit, if also determine that for described determining unit described player finishes playing described video file, starts desktop programs.
In the possible implementation of the first of second aspect,
Described acquiring unit, also for obtaining the global property of described player, whether the global property of described player is used for characterizing described player and described video file is finished playing;
Described determining unit, specifically for the global property of the described player that obtains according to described acquiring unit, determines whether described player finishes playing described video file.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second,
Described determining unit, whether the global property of the described player obtaining specifically for definite described acquiring unit is identical with the first default sign, if and the global property of described player is identical with described the first sign, determine that described player finishes playing described video file, or, if the global property of described player is different from described the first sign, determine that described player does not finish playing described video file.
In conjunction with the possible implementation of the first of aforesaid second aspect or second aspect to any implementation in the possible implementation of the second, in the third possible implementation,
Described acquiring unit, specifically for obtaining default configuration file, and from described configuration file, obtain the storage address of described video file, and according to the storage address of described video file, obtain described video file, described configuration file comprises the storage address of described video file.
In conjunction with the possible implementation of the first of aforesaid second aspect or second aspect to any implementation in the possible implementation of the second, in the 4th kind of possible implementation,
Described acquiring unit, specifically for obtain the storage address of described video file from default software code, and according to the storage address of described video file, obtains described video file.
The embodiment of the present invention provides a kind of video broadcasting method and device, by when starting system service, obtain video file to be played, and according to the configuration information of default player, open this player, and indicate this video file of this player plays, and determine whether this player finishes playing this video file, if determine, this player finishes playing this video file, starts desktop programs.By this scheme, can be when electronic equipment starts system service, by the configuration information of default player, open this player, and the video file that uses this player plays to specify, thereby can solve the front three phases of prior art electronic equipment in start process, all only show the problem of start logo always, and then can be in electronic equipment start process, improve the demonstration resource utilization of electronic equipment, and make the display effect diversification of electronic equipment.
Accompanying drawing explanation
The flow chart one of a kind of video broadcasting method that Fig. 1 provides for the embodiment of the present invention;
The flowchart 2 of a kind of video broadcasting method that Fig. 2 provides for the embodiment of the present invention;
The flow chart 3 of a kind of video broadcasting method that Fig. 3 provides for the embodiment of the present invention;
The flow chart four of a kind of video broadcasting method that Fig. 4 provides for the embodiment of the present invention;
The flow chart five of a kind of video broadcasting method that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the electronic equipment that Fig. 6 provides for the embodiment of the present invention.
Embodiment
The video broadcasting method and the device that the embodiment of the present invention are provided below in conjunction with accompanying drawing are described in detail.
The electronic equipment that the embodiment of the present invention provides can be the equipment that intelligent television, intelligent terminal etc. can carry out video playback.
Embodiment mono-
The embodiment of the present invention provides a kind of video broadcasting method, and as shown in Figure 1, the method can comprise:
S101, when electronic equipment starts during system service, electronic equipment obtains video file to be played.
In the embodiment of the present invention, electronic equipment is intelligent electronic device, and electronic equipment is the electronic equipment with operating system.The start process of this electronic equipment generally can comprise four-stage: Bootloader, loading kernel program, startup system service and startup desktop programs.Take Android system as example, the start process with the electronic equipment of Android system can comprise four-stage: Bootloader, loading kernel program, startup Android system service (system program of Android operating system) and startup desktop programs.Generally, the time that starts system service due to electronic equipment is long, therefore causes the whole available machine time of electronic equipment long.
Further, the start process of the electronic equipment of non-desktop operating system can not comprise startup this stage of desktop programs.
In prior art, the front three phases of electronic equipment in start process, be that electronic equipment is all showing start logo in the process of Bootloader, loading kernel program and startup system service always, make like this demonstration resource of electronic equipment in long-time start process be effectively utilized, the display effect of electronic equipment is also more single simultaneously, and in the video broadcasting method that the embodiment of the present invention provides, the three phases of electronic equipment in start process, be that electronic equipment is in the process of startup system service, the video file that electronic equipment can be specified by the player plays of specifying, can effectively and reasonably utilize like this demonstration resource of electronic equipment in long-time start process, and make the display effect of electronic equipment can diversification, wherein, in the video broadcasting method that the embodiment of the present invention provides, the first two stage of electronic equipment in start process, be that electronic equipment still can normally show start logo in the process of Bootloader and loading kernel program.
In the embodiment of the present invention, electronic equipment is at Bootloader with after loading kernel program, and when electronic equipment starts system service, electronic equipment can obtain video file to be played.Wherein, the system program that system service is operating system, as take Android operating system as example, this system service can be the system program of Android operating system, i.e. Android system service; Video file to be played is the video file of preset in advance.
Especially, the video file that the embodiment of the present invention provides can be a video segment, also can, for the video file being comprised of multiple video segments, specifically can design according to actual user demand, and the present invention is not restricted.
S102, electronic equipment, according to the configuration information of default player, are opened this player.
Electronic equipment is when starting system service, and electronic equipment can, according to the configuration information of default player, be opened this player.Wherein, the configuration information of player can comprise opening player and use the configuration parameter of player, the form of the video file of supporting as the playback rate of the driving of the title of player, player, player and player etc.
Concrete, above-mentioned player can be realized in the system platform of an appointment, and opens this player and can not affect the normal startup of the system of electronic equipment.
It should be noted that, the present invention does not limit the execution sequence of S101 and S102, i.e. the present invention carries out S102 after can first carrying out S101; Also after S102 can first being carried out, carry out S101; Can also carry out S101 and S102 simultaneously.
S103, electronic equipment are indicated this video file of this player plays.
After electronic equipment obtains video file and opening player, electronic equipment can be indicated this video file of this player plays.
S104, electronic equipment determine whether this player finishes playing this video file.
After electronic equipment is indicated this video file of this player plays, electronic equipment can determine whether this player finishes playing this video file.
Concrete, in a kind of implementation, electronic equipment can initiatively go to determine whether this player finishes playing this video file with a fixed cycle; In another kind of implementation, electronic equipment can be waited for the indication information that receives this player transmission, and determines according to this indication information whether this player finishes playing this video file, and wherein, this indication information can be the global property of player.
It should be noted that, in programming language, most of attributes are applicable to specific language element, as class or method etc.; But some attribute is overall, they go for whole procedure set or module.For example, AVA(Assembly Version Attribute, assembled version attribute) can be used for embedding version information in procedure set.In the embodiment of the present invention, the global property of player is the attribute that can be applied in the whole procedure set of player.
If S105 electronic equipment determines this player this video file is finished playing, electronic equipment starts desktop programs.
If electronic equipment determines this player this video file is finished playing, electronic equipment starts desktop programs.
So far, the start process of electronic equipment finishes, and electronic equipment normally starts, and in open state.
The video broadcasting method that the embodiment of the present invention provides, by play the video file of specifying in the process of electronic equipment startup system service, can improve the demonstration resource utilization of electronic equipment, make the display effect diversification of electronic equipment, enrich the start-up picture of electronic equipment, and provide superior advertising platform for advertiser.
The embodiment of the present invention provides a kind of video broadcasting method, by when starting system service, obtain video file to be played, and according to the configuration information of default player, open this player, and indicate this video file of this player plays, and determine whether this player finishes playing this video file, if determine, this player finishes playing this video file, starts desktop programs.By this scheme, can be when electronic equipment starts system service, by the configuration information of default player, open this player, and the video file that uses this player plays to specify, thereby can solve the front three phases of prior art electronic equipment in start process, all only show the problem of start logo always, and then can be in electronic equipment start process, improve the demonstration resource utilization of electronic equipment, and make the display effect diversification of electronic equipment.
Embodiment bis-
The embodiment of the present invention provides a kind of video broadcasting method, and as shown in Figure 2, the method can comprise:
S201, electronic equipment receive the start-up command that remote controller sends, and this start-up command is that user triggers while triggering key.
In the embodiment of the present invention, electronic equipment is intelligent electronic device, and electronic equipment is the electronic equipment with operating system.The start process of this electronic equipment generally can comprise four-stage: Bootloader, loading kernel program, startup system service and startup desktop programs.Take Android system as example, the start process with the electronic equipment of Android system can comprise four-stage: Bootloader, loading kernel program, startup Android system service (system service of Android operating system) and startup desktop programs.Generally, the time that starts Android system service due to electronic equipment is long, therefore causes the whole available machine time of electronic equipment long.
Further, the start process of the electronic equipment of non-desktop operating system can not comprise startup this stage of desktop programs.
In prior art, the front three phases of electronic equipment in start process, be that electronic equipment is all showing start logo in the process of Bootloader, loading kernel program and the service of startup Android system always, make like this demonstration resource of electronic equipment in long-time start process be effectively utilized, the display effect of electronic equipment is also more single simultaneously, and in the video broadcasting method that the embodiment of the present invention provides, the three phases of electronic equipment in start process, be that electronic equipment is in the process of startup system service, the video file that electronic equipment can be specified by the player plays of specifying, can effectively and reasonably utilize like this demonstration resource of electronic equipment in long-time start process, and make the display effect of electronic equipment can diversification, wherein, in the video broadcasting method that the embodiment of the present invention provides, the first two stage of electronic equipment in start process, be that electronic equipment still can normally show start logo in the process of Bootloader and loading kernel program.
When user need to use electronic equipment, user can start this electronic equipment by the key triggering on remote controller, and electronic equipment receives the start-up command that remote controller sends.
Wherein, remote controller can comprise Infrared remote controller, intelligent remote controller or microwave remote-control etc., and other meet the remote controller of user demand, and the present invention is not restricted.
S202, electronic equipment are according to this start-up command Bootloader.
After electronic equipment receives start-up command, electronic equipment can be according to this start-up command Bootloader.Wherein, the first paragraph software code moving after the system power-up that boot is electronic equipment.
S203, electronic equipment load kernel program.
After electronic equipment Bootloader, electronic equipment can continue to load kernel program.
Wherein, kernel program is the kernel program of an operating system, is the expansion of hardware based ground floor software program.Kernel program can provide the most basic function of operating system, is the basis of operating system work, and it is in charge of process, internal memory, device driver, file and the network system of system, certainly performance and the stability of fixing system.
S204, when electronic equipment starts during system service, electronic equipment obtains video file to be played.
After electronic equipment loads kernel program, electronic equipment can continue to start system service, and when electronic equipment starts system service, electronic equipment can obtain video file to be played.Wherein, the system program that system service is operating system, as take Android operating system as example, this system service is the system program of Android operating system, i.e. Android system service.
Especially, the video file that the embodiment of the present invention provides can be a video segment, also can, for the video file being comprised of multiple video segments, specifically can design according to actual user demand, and the present invention is not restricted.
In the embodiment of the present invention, the method that electronic equipment obtains video file to be played can be following one, and specifically adopting any method to obtain video file to be played can design according to actual user demand, and the present invention is not restricted.
As shown in Figure 3, in the embodiment of the present invention, the first method that electronic equipment obtains video file to be played can comprise:
S301, electronic equipment obtain default configuration file, and wherein, this configuration file comprises the storage address of this video file.
S302, electronic equipment obtain the storage address of this video file from this configuration file.
S303, electronic equipment, according to the storage address of this video file, obtain this video file.
As shown in Figure 4, in the embodiment of the present invention, the second method that electronic equipment obtains video file to be played can comprise:
S401, electronic equipment obtain the storage address of this video file from default software code.
S402, electronic equipment, according to the storage address of this video file, obtain this video file.
Be understandable that, if the storage address of this video file is arranged in configuration file, electronic equipment can obtain this video file according to above-mentioned first method; If the storage address of this video file is arranged in software code, electronic equipment can obtain this video file according to above-mentioned second method.
It should be noted that, the method that electronic equipment provided by the invention obtains this video file includes but not limited to above-mentioned two kinds of methods, and above-mentioned two kinds of methods that embodiment of the present invention provides are only exemplary explanations.In actual use procedure, the present invention can also provide other methods that meet design requirement to obtain this video file.
S205, electronic equipment, according to the configuration information of default player, are opened this player.
Electronic equipment is when starting system service, and electronic equipment can, according to the configuration information of default player, be opened this player.Wherein, the configuration information of player can comprise opening player and use the configuration parameter of player, the form of the video file of supporting as the playback rate of the driving of the title of player, player, player and player etc.
Concrete, above-mentioned player can be realized in the system platform of an appointment, and opens this player and can not affect the normal startup of the system of electronic equipment.
It should be noted that, the present invention does not limit the execution sequence of S204 and S205, i.e. the present invention carries out S205 after can first carrying out S204; Also after S205 can first being carried out, carry out S204; Can also carry out S204 and S205 simultaneously.
S206, electronic equipment are indicated this video file of this player plays.
After electronic equipment obtains video file and opening player, electronic equipment can be indicated this video file of this player plays.
S207, electronic equipment obtain the global property of this player, and wherein, whether the global property of this player is used for characterizing this player and this video file is finished playing.
After electronic equipment is indicated this video file of this player plays, electronic equipment can obtain the global property of this player, and wherein, whether the global property of this player can be used for characterizing this player and this video file is finished playing.
It should be noted that, in programming language, most of attributes are applicable to specific language element, as class or method etc.; But some attribute is overall, they go for whole procedure set or module.For example, AVA can be used for embedding version information in procedure set.In the embodiment of the present invention, the global property of player is the attribute that can be applied in the whole procedure set of player.
S208, electronic equipment, according to the global property of this player, determine whether this player finishes playing this video file.
After electronic equipment obtains the global property of this player, electronic equipment can be according to the global property of this player, determines whether this player finishes playing this video file.
It should be noted that, above-mentioned electronic equipment is determined in the method whether this player finish playing this video file: a kind of implementation, electronic equipment is after this video file of this player plays of indication, electronic equipment can initiatively go to obtain the global property of this player with a fixed cycle, and determines according to the global property of this player whether this player finishes playing this video file; Another kind of implementation, electronic equipment is after this video file of this player plays of indication, electronic equipment can be waited for the global property of this player that receives this player transmission, be the passive global property of obtaining this player of electronic equipment, and determine according to the global property of this player whether this player finishes playing this video file.
Concrete, as shown in Figure 5, above-mentioned S208, electronic equipment, according to the global property of this player, determines that the method whether this player finishes playing this video file can comprise:
S501, electronic equipment determine whether the global property of this player is identical with the first default sign.
If the global property of this player of S502 is identical with the first default sign, electronic equipment determines that this player finishes playing this video file.
If the global property of this player of S503 is different from the first default sign, electronic equipment determines that this player does not finish playing this video file.
In the video broadcasting method that the embodiment of the present invention provides, at S206, be after electronic equipment is indicated this video file of this player plays, this player is when starting to play this video file, the sign that global property that can this player is set to preset, to represent that this player does not finish playing this video file; And after player finishes playing this video file, another sign that the global property that this player can this player is set to preset, to represent that this player finishes playing this video file.Thereby when the global property of this player getting when electronic equipment is identical with default this sign, electronic equipment can determine that this player does not finish playing this video file; The global property of this player getting when electronic equipment and default this another sign, the first sign is when identical, and electronic equipment can determine that this player finishes playing this video file.Whether wherein, this sign is designated different signs from first, like this so that clearly distinguish this player and this video file is finished playing.
If S209 electronic equipment determines this player this video file is finished playing, electronic equipment starts desktop programs.
If electronic equipment determines this player this video file is finished playing, electronic equipment starts desktop programs.
S210, electronic equipment start process complete.
Electronic equipment starts after desktop programs, and the start process of electronic equipment finishes, and electronic equipment normally starts, and in open state.
The video broadcasting method that the embodiment of the present invention provides, by play the video file of specifying in the process of electronic equipment startup system service, can improve the demonstration resource utilization of electronic equipment, make the display effect diversification of electronic equipment, enrich the start-up picture of electronic equipment, and provide superior advertising platform for advertiser.
The embodiment of the present invention provides a kind of video broadcasting method, by when starting system service, obtain video file to be played, and according to the configuration information of default player, open this player, and indicate this video file of this player plays, and determine whether this player finishes playing this video file, if determine, this player finishes playing this video file, starts desktop programs.By this scheme, can be when electronic equipment starts system service, by the configuration information of default player, open this player, and the video file that uses this player plays to specify, thereby can solve the front three phases of prior art in electronic equipment start process, all only show the problem of start logo always, and then can be in electronic equipment start process, improve the demonstration resource utilization of electronic equipment, and make the display effect diversification of electronic equipment.
Embodiment tri-
As shown in Figure 6, the embodiment of the present invention provides a kind of electronic equipment 1, and this electronic equipment 1 can comprise:
Acquiring unit 10, for when starting system service, obtains video file to be played.
Open unit 11, for according to the configuration information of default player, open described player.
Indicating member 12, is used to indicate the described video file that acquiring unit 10 obtains described in the described player plays of opening described unlatching unit 11.
Determining unit 13, for determining whether described player finishes playing described video file.
Described unlatching unit 11, if also determine that for described determining unit 13 described player finishes playing described video file, starts desktop programs.
Optionally, described acquiring unit 10, also for obtaining the global property of described player, whether the global property of described player is used for characterizing described player and described video file is finished playing, and described determining unit 13, specifically for the global property of the described player that obtains according to described acquiring unit 10, determine whether described player finishes playing described video file.
Optionally, described determining unit 13, whether the global property of the described player obtaining specifically for definite described acquiring unit 10 is identical with the first default sign, if and the global property of described player is identical with described the first sign, determine that described player finishes playing described video file, or, if the global property of described player is different from described the first sign, determine that described player does not finish playing described video file.
Further, described acquiring unit 10, specifically for obtaining default configuration file, and from described configuration file, obtain the storage address of described video file, and according to the storage address of described video file, obtain described video file, described configuration file comprises the storage address of described video file.
Optionally, described acquiring unit 10, specifically for obtain the storage address of described video file from default software code, and according to the storage address of described video file, obtains described video file.
It should be noted that, the electronic equipment 1 that the embodiment of the present invention provides can be the equipment that intelligent television, intelligent terminal etc. can carry out video playback.
The embodiment of the present invention provides a kind of electronic equipment, when this electronic equipment starts system service, this electronic equipment obtains video file to be played, and according to the configuration information of default player, open this player, and this electronic equipment indicates this video file of this player plays, and this electronic equipment determines whether this player finishes playing this video file, if this electronic equipment determines this player this video file is finished playing, this electronic equipment starts desktop programs.By this scheme, can be when electronic equipment starts system service, by the configuration information of default player, open this player, and the video file that uses this player plays to specify, thereby can solve the front three phases of prior art in electronic equipment start process, all only show the problem of start logo always, and then can be in electronic equipment start process, improve the demonstration resource utilization of electronic equipment, and make the display effect diversification of electronic equipment.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only with the division of above-mentioned each functional module, be illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to device is divided into different functional modules, to complete all or part of function described above.The specific works process of the device of foregoing description, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed apparatus and method can realize by another way.For example, device embodiment described above is only schematic.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be a physical location or multiple physical location, can be positioned at a place, or also can be distributed to multiple different local.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized and during as production marketing independently or use, can be stored in a read/write memory medium using the form of SFU software functional unit.Based on such understanding, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprise that some instructions are in order to make an equipment (can be single-chip microcomputer, chip etc.) or processor carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory, magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.
Claims (10)
1. a video broadcasting method, is characterized in that, comprising:
When starting system service, obtain video file to be played;
According to the configuration information of default player, open described player;
Indicate video file described in described player plays;
Determine whether described player finishes playing described video file;
If determine, described player finishes playing described video file, starts desktop programs.
2. video broadcasting method according to claim 1, is characterized in that, the described method of determining whether described player finishes playing described video file comprises:
Obtain the global property of described player, whether the global property of described player is used for characterizing described player and described video file is finished playing;
According to the global property of described player, determine whether described player finishes playing described video file.
3. video broadcasting method according to claim 2, is characterized in that, described according to the global property of described player, determines whether described player finishes playing described video file specifically to comprise:
Whether the global property of determining described player is identical with the first default sign;
If the global property of described player is identical with described the first sign, determine that described player finishes playing described video file, or,
If the global property of described player is different from described the first sign, determine that described player does not finish playing described video file.
4. according to the video broadcasting method described in claim 1-3 any one, it is characterized in that, described in obtain video file to be played method comprise:
Obtain default configuration file, described configuration file comprises the storage address of described video file;
From described configuration file, obtain the storage address of described video file;
According to the storage address of described video file, obtain described video file.
5. according to the video broadcasting method described in claim 1-3 any one, it is characterized in that, described in obtain video file to be played method comprise:
From default software code, obtain the storage address of described video file;
According to the storage address of described video file, obtain described video file.
6. an electronic equipment, is characterized in that, comprising:
Acquiring unit, for when starting system service, obtains video file to be played;
Open unit, for according to the configuration information of default player, open described player;
Indicating member, is used to indicate the described video file that obtains of acquiring unit described in the described player plays of opening described unlatching unit;
Determining unit, for determining whether described player finishes playing described video file;
Described unlatching unit, if also determine that for described determining unit described player finishes playing described video file, starts desktop programs.
7. electronic equipment according to claim 6, is characterized in that,
Described acquiring unit, also for obtaining the global property of described player, whether the global property of described player is used for characterizing described player and described video file is finished playing;
Described determining unit, specifically for the global property of the described player that obtains according to described acquiring unit, determines whether described player finishes playing described video file.
8. electronic equipment according to claim 7, is characterized in that,
Described determining unit, whether the global property of the described player obtaining specifically for definite described acquiring unit is identical with the first default sign, if and the global property of described player is identical with described the first sign, determine that described player finishes playing described video file, or, if the global property of described player is different from described the first sign, determine that described player does not finish playing described video file.
9. according to the electronic equipment described in claim 6-8 any one, it is characterized in that,
Described acquiring unit, specifically for obtaining default configuration file, and from described configuration file, obtain the storage address of described video file, and according to the storage address of described video file, obtain described video file, described configuration file comprises the storage address of described video file.
10. according to the electronic equipment described in claim 6-8 any one, it is characterized in that,
Described acquiring unit, specifically for obtain the storage address of described video file from default software code, and according to the storage address of described video file, obtains described video file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310724350.8A CN103731734A (en) | 2013-12-18 | 2013-12-18 | Video playing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310724350.8A CN103731734A (en) | 2013-12-18 | 2013-12-18 | Video playing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103731734A true CN103731734A (en) | 2014-04-16 |
Family
ID=50455631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310724350.8A Pending CN103731734A (en) | 2013-12-18 | 2013-12-18 | Video playing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103731734A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105867965A (en) * | 2015-12-18 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Method and system for playing startup video on basis of android system |
CN105979340A (en) * | 2016-06-07 | 2016-09-28 | Tcl集团股份有限公司 | Boot video playing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102111663A (en) * | 2009-12-25 | 2011-06-29 | 康佳集团股份有限公司 | Method, device and electronic equipment for playing startup pictures |
CN102364956A (en) * | 2011-11-29 | 2012-02-29 | 乐视网信息技术(北京)股份有限公司 | Method for realizing advertising in starting of Internet protocol television (IPTV) system |
EP2469880A1 (en) * | 2010-12-27 | 2012-06-27 | Sony Corporation | Information processing apparatus and display changeover method |
-
2013
- 2013-12-18 CN CN201310724350.8A patent/CN103731734A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102111663A (en) * | 2009-12-25 | 2011-06-29 | 康佳集团股份有限公司 | Method, device and electronic equipment for playing startup pictures |
EP2469880A1 (en) * | 2010-12-27 | 2012-06-27 | Sony Corporation | Information processing apparatus and display changeover method |
CN102364956A (en) * | 2011-11-29 | 2012-02-29 | 乐视网信息技术(北京)股份有限公司 | Method for realizing advertising in starting of Internet protocol television (IPTV) system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105867965A (en) * | 2015-12-18 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Method and system for playing startup video on basis of android system |
CN105979340A (en) * | 2016-06-07 | 2016-09-28 | Tcl集团股份有限公司 | Boot video playing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107870769B (en) | Installation method and device of operating system | |
US20120198133A1 (en) | Electronic device with expandable memory capacity and an expansion method thereof | |
CN106445500B (en) | Method, system and terminal equipment for providing user interface | |
US20150242201A1 (en) | Method for updating firmware and electronic device thereof | |
CN103686368A (en) | Method and device for turning on television to play cartoons and television | |
CN105791948A (en) | Method and system for realizing starting video of smart television | |
CN102135893A (en) | Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server | |
CN104679540A (en) | Computer system and computer system starting method | |
CN105740010A (en) | Power-on method and terminal equipment | |
JP2007035010A (en) | Method for initializing instance and executing computer program by loading operation system core program from high-speed data access memory | |
CN103744708A (en) | Method of fixing disk device names in Linux operating system | |
US20090319723A1 (en) | Method and device for binding a non-volatile storage device with a consumer product | |
CN105893065A (en) | Computer system starting method | |
US20150324209A1 (en) | Operating System Switching Method and Dual-Operating System Electronic Device Using the Same | |
CN102111677A (en) | Method and system for playing specification and electronic equipment terminal | |
CN103731734A (en) | Video playing method and device | |
US20060080402A1 (en) | Apparatus and method for socket communication between applications in operating system that does not support a process | |
CN103546817A (en) | Data loading method based on full video and electronic device | |
JP2013511761A (en) | Rendering web pages with plug-in content | |
CN103763575A (en) | Program scheduling method and device | |
CN104811795A (en) | Online video playing method and online video playing device | |
JP2007087363A (en) | Method for express execution of computer function option by loading program video file | |
CN108363582B (en) | Method and device for upgrading homepage of intelligent terminal | |
US20150212866A1 (en) | Management system for service of multiple operating environments, and methods thereof | |
CN101470616B (en) | Pre-installation method and method for forming image pre-installation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140416 |
|
RJ01 | Rejection of invention patent application after publication |