CN115802109A - Startup video playing method and device, display equipment and storage medium - Google Patents

Startup video playing method and device, display equipment and storage medium Download PDF

Info

Publication number
CN115802109A
CN115802109A CN202211410940.9A CN202211410940A CN115802109A CN 115802109 A CN115802109 A CN 115802109A CN 202211410940 A CN202211410940 A CN 202211410940A CN 115802109 A CN115802109 A CN 115802109A
Authority
CN
China
Prior art keywords
video
starting
file
boot
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211410940.9A
Other languages
Chinese (zh)
Inventor
付华东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202211410940.9A priority Critical patent/CN115802109A/en
Publication of CN115802109A publication Critical patent/CN115802109A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention belongs to the technical field of display equipment, and discloses a startup video playing method and device, display equipment and a storage medium. The method comprises the following steps: when the equipment is started, acquiring natural process information; when a starting video file is detected, determining a target natural process according to the natural process information; and playing the starting-up video through the target natural process. By the method, whether the starting video file exists or not is determined based on the natural process information when the equipment is started, and the configured target natural process is directly called when the starting video file is detected, so that the starting video can be directly played in the target natural process, the bottom function is directly called, the starting video is played more quickly, and the black screen time is reduced.

Description

Startup video playing method and device, display equipment and storage medium
Technical Field
The invention relates to the technical field of display equipment, in particular to a startup video playing method and device, display equipment and a storage medium.
Background
At present, terminal devices such as smart televisions are increasingly popularized and enter the ordinary public life, and with the help of emerging internet technology, various large companies and enterprises rely on the terminal devices such as the smart televisions as carriers to push startup video advertisement services to terminal users according to operation strategies of the terminal devices. At present, a set top box supports playing of a startup video, a function of playing the startup video is realized in a booting animation (booting), and in the booting animation, a playing function is realized by calling an interface of a media server (MediaServer). Calling MediaServer in subscription requires binding this service first. The MediaServer is a heavyweight media service process of the Android system, and the process needs a certain time to start. The time for binding the MediaServer by boosting is long, and about 3-5 seconds are needed. Therefore, the black screen time 3-5 seconds before the start of the startup video is displayed can occur, the user experience is influenced, and the prior art needs to be improved.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a startup video playing method, a startup video playing device, display equipment and a storage medium, and aims to solve the technical problem that the user experience is influenced by the black screen time when the startup video is played in the prior art.
In order to achieve the above object, the present invention provides a startup video playing method, which comprises the following steps:
when the equipment is started, acquiring natural process information;
when a starting-up video file is detected, determining a target natural process according to the natural process information;
and playing the starting-up video through the target natural process.
Optionally, when the device is powered on, before acquiring the natural process information, the method further includes:
acquiring existing process information;
establishing an independent natural process according to the existing process information;
and configuring the independent natural process as a starting video playing process.
Optionally, the establishing an independent natural process according to the existing process information includes:
detecting a starting video playing function process according to the existing process information;
and stripping the starting-up video playing function process from the starting-up animation process, and establishing an independent natural process according to the starting-up video playing function process.
Optionally, configuring the independent native process as a boot video playing process, including:
acquiring a startup video file;
configuring the independent natural process into a guide animation process, configuring the independent natural process into an initialization process, and starting to obtain a process to be configured;
and obtaining a starting video playing process according to the starting video file and the process to be configured.
Optionally, the obtaining a boot video playing process according to the boot video file and the process to be configured includes:
acquiring file configuration information;
storing the starting-up video file to a specified path according to the file configuration information to obtain a target video file;
and configuring the process to be configured to call and play the target video file from the specified path to obtain a starting-up video playing process.
Optionally, the storing the boot video file to a specified path according to the file configuration information to obtain a target video file includes:
determining a designated path and a designated file name according to the file configuration information;
modifying the file name of the starting video file according to the specified file name to obtain a file to be stored;
and storing the file to be stored to the specified path to obtain a target video file.
Optionally, when the device is powered on, after the natural process information is acquired, the method further includes:
when the starting-up video file is not detected, determining a starting-up animation process according to the natural process information;
and playing preset boot animation according to the boot animation process.
In addition, to achieve the above object, the present invention further provides a startup video playing device, including:
the information acquisition module is used for acquiring natural process information when the equipment is started;
the process determining module is used for determining a target natural process according to the natural process information when the starting-up video file is detected;
and the video playing module is used for playing the starting-up video through the target natural process.
In addition, to achieve the above object, the present invention further provides a startup video playing device, including: the starting-up video playing method comprises a memory, a processor and a starting-up video playing program which is stored on the memory and can run on the processor, wherein the starting-up video playing program is configured to realize the steps of the starting-up video playing method.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where a boot video playing program is stored on the storage medium, and the boot video playing program, when executed by a processor, implements the steps of the boot video playing method described above.
According to the method, when the equipment is started, natural process information is obtained; when a starting video file is detected, determining a target natural process according to the natural process information; and playing the starting-up video through the target natural process. By the method, whether the starting video file exists or not is determined based on the natural process information when the equipment is started, and the configured target natural process is directly called when the starting video file is detected, so that the starting video can be directly played in the target natural process, the bottom function is directly called, the starting video is played more quickly, and the black screen time is reduced.
Drawings
Fig. 1 is a schematic structural diagram of a boot-up video playback device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for playing a boot video according to the present invention;
FIG. 3 is a schematic diagram of a boot process in an embodiment of the boot video playing method of the present invention;
FIG. 4 is a flowchart illustrating a boot-up video playing method according to a second embodiment of the present invention;
fig. 5 is a block diagram of a first embodiment of a boot-up video playback device according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a boot video playing device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the boot-up video playback device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of a powered-on video playback device and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a power-on video playing program.
In the boot-up video playback device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the startup video playing device of the present invention may be disposed in the startup video playing device, and the startup video playing device invokes the startup video playing program stored in the memory 1005 through the processor 1001 and executes the startup video playing method provided by the embodiment of the present invention.
An embodiment of the present invention provides a startup video playing method, and referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a startup video playing method according to the present invention.
In this embodiment, the boot video playing method includes the following steps:
step S10: and when the equipment is started, acquiring natural process information.
It should be noted that the execution subject of the present embodiment is a display device, including but not limited to a television, an intelligent display screen, and other devices. Specifically, the execution subject may be specifically an information processing apparatus on the display device, for example: main chip, processor, computer, etc. Or other devices that can implement this function, which is not limited in this embodiment.
It should be understood that, at present, the playing of the boot video is automatically played based on the function of calling the media server, but the starting of the media server needs a long time, which causes that several seconds of black screen time exist between the starting of the display device and the playing of the boot video, and affects the use experience of the user.
In a specific implementation, the natural process information refers to natural process information configured in advance in the display device, that is, information about a native process and related information about each native process that have been configured in the display device.
Further, when the user does not configure the boot-up video, in order to automatically play the boot animation of the device, after step S10, the method further includes: when the starting-up video file is not detected, determining a starting-up animation process according to the natural process information; and playing preset boot animation according to the boot animation process.
It should be noted that, after the display device is started and the natural process information is acquired, it is detected in real time whether the startup video file is stored in the storage, and when the startup video file is not detected, the startup process corresponding to the startup animation is determined according to the natural process information, that is, the startup animation process.
It should be understood that, after the boot animation process is determined, the boot animation process is directly invoked, so that the preset boot animation can be directly played. The preset startup animation refers to the preset animation content which needs to be played when the equipment is started. The boot video refers to a video file which is configured by a manufacturer or a user and needs to be played, and the boot animation refers to boot guiding animation carried by the device, and is used for transitioning the time from the boot of the device to the start of the system, that is, the system automatically plays the preset boot animation under the condition that the user does not configure the boot video file or the television end background operation does not push the boot video file.
By the method, the preset startup animation of the equipment is automatically determined and played when a user does not configure the startup video or the background operation of the television end does not push the startup video file, so that long-time black screen time can be avoided under the condition of no startup video.
Step S20: and when the starting video file is detected, determining a target natural process according to the natural process information.
It should be noted that, when the startup video file is detected, the target natural process that needs to be called and started is determined according to the natural process information. The target natural process refers to a natural process including the playing of the startup video and the automatic playing of the startup video.
In a specific implementation, when a startup video playing process exists, the target natural process is the startup video playing process, and when the startup video playing process does not exist, the target natural process is the startup animation process.
It should be understood that if a corresponding boot video file is detected, it will automatically play. In order to avoid the conflict between the boot animation and the boot video, a corresponding judgment is made in the place where the boot animation is started in the layer drawing system service process (surfeflinger):
void SurfaceFlinger:startBootAnim(){
property_set(“service.bootanim.exit”,“0”);
char path[255];
property_get(“ro.third.bootvideo.path”,path,“1”);
if(access(path,R_OK)!=0)
{
property_set(“ctl.start”,“bootanim”);
}else
{
//do nothing
}
}
automatic detection of the presence of a boot video may be implemented by the code as described above.
In specific implementation, if a startup video file is detected, the service process of the surfaceflinger layer drawing system skips boot animation and directly starts the startup video, so that the effect of displaying the startup video is achieved. The boot video file name identified by the system is set in property, ro. The method comprises the steps of firstly, adding a video file with a file name of bootvideo.ts into a data/local folder to enable a system to start up and display the video.
Step S30: and playing the starting-up video through the target natural process.
It should be noted that, after the target natural process is determined, the target natural process is directly called, so as to realize automatic playing of the startup video.
It should be understood that, in the system boot process of this embodiment, as shown in fig. 3, after the device boots, it is first detected whether there is a boot video process, if so, the process is called to play the boot video, and if not, the default preset boot animation is directly played, so that the boot animation and the boot video do not conflict with each other, that is, the boot video is preferentially played when the boot video exists, and the boot animation is automatically played when the boot video does not exist.
In the embodiment, when the device is started, the natural process information is acquired; when a starting-up video file is detected, determining a target natural process according to the natural process information; and playing the starting-up video through the target natural process. In this way, whether the starting video file exists or not is determined based on the natural process information when the equipment is started, and the configured target natural process is directly called when the starting video file is detected, so that the starting video can be directly played in the target natural process, the underlying function is directly called, the starting video is played more quickly, and the black screen time is reduced.
Referring to fig. 4, fig. 4 is a flowchart illustrating a boot video playing method according to a second embodiment of the present invention.
Based on the first embodiment, the method for playing the boot-up video in this embodiment includes, in the step S10:
step S101: and acquiring the existing process information.
It should be noted that the existing process information refers to information of all natural processes that have been configured and stored in the system.
Step S102: and establishing an independent natural process according to the existing process information.
It should be understood that establishing an independent natural process according to the existing process information refers to configuring an independent process including a startup video playing function based on the startup video playing function process in the existing process information.
Further, in order to completely configure an independent natural process for playing the boot video, step S102 includes: detecting a starting video playing function process according to the existing process information; and stripping the starting video playing function process from the starting animation process, and establishing an independent natural process according to the starting video playing function process.
In a specific implementation, detecting a boot video playing function process according to the existing process information means: and detecting the position and specific information of the sub-process corresponding to the starting-up video function according to the existing process information.
It should be noted that, a general boot video playing function process is included in the boot animation process, so that after the boot video playing function process is determined, the boot video playing function process is stripped from the boot animation process, and then an independently running natural process is established according to the boot video playing function process.
By the method, the starting-up video playing process is determined based on the existing process information, and then the starting-up video playing process is stripped from the starting-up animation process and an independent natural process is established, so that the playing of the starting-up video is independent of other natural processes, and the black screen time from starting up to playing of the starting-up video is reduced.
Step S103: and configuring the independent natural process as a starting video playing process.
It should be understood that, after the independent natural process is determined, the startup video file is configured into the independent natural process based on the startup video file, so as to form the startup video playing process.
Further, in order to accurately construct the boot video playing process, step S103 includes: acquiring a startup video file; configuring the independent natural process into a guide animation process, configuring the independent natural process into an initialization process, and starting to obtain a process to be configured; and obtaining a starting-up video playing process according to the starting-up video file and the process to be configured.
In specific implementation, the startup video file refers to a video file that is configured in advance by a user and used for playing, and may be a video file with any content and any format, specifically, any video format such as MP4, AVI, WMV, and the like.
It should be noted that configuring the independent natural process as a boot animation process refers to: the independent natural process which is established before is firstly configured into a bootvideo process, namely a guide animation process, namely, the process type of the independent natural process is configured into the guide animation process, so that the independent natural process and the guide animation process are the same type and can only run alternatively.
It should be understood that, configuring the independent natural process to the initialization process for starting, and obtaining the process to be configured means: after the independent natural process is configured as a guide animation process, an interface of the independent natural process initializes a process, namely an init process, to a street, and the finally obtained process is the process to be configured.
In a specific implementation, after the process to be configured is obtained, the startup video file is configured into the process to be configured according to the startup video file and the tape configuration process, so that a process capable of directly playing the startup video during startup, namely a startup video playing process, is obtained.
By the method, the independent natural process is configured, the starting-up video playing process capable of directly playing the video in the underlying function is obtained, and the starting-up video playing process is separated from the starting-up animation independently and is not coupled with other services, so that the starting-up video playing function is started more quickly.
Further, in order to integrate the startup video file into the process to be configured to obtain a startup video playing process, the step of obtaining the startup video playing process according to the startup video file and the process to be configured includes: acquiring file configuration information; storing the starting-up video file to a specified path according to the file configuration information to obtain a target video file; and configuring the process to be configured to call and play the target video file from the specified path to obtain a starting-up video playing process.
It should be noted that the file configuration information refers to configuration-related information of a preset startup video, and specifically includes stored path and file name-related information.
It should be understood that, storing the boot video file to a specified path according to the file configuration information, and obtaining a target video file refers to: and modifying the file name of the starting video file according to the file configuration information and storing the file name to the specified path so as to obtain the target video file.
In a specific implementation, configuring the process to be configured to call and play the target video file from the specified path to obtain a startup video playing process refers to: and setting the path of calling the starting-up video by the process to be configured as the path corresponding to the target video file, thereby obtaining the starting-up video playing process capable of automatically calling and playing the starting-up video.
By the method, the process to be configured is specifically configured, the starting video is stored in the appointed path to obtain the target video file, and therefore the process to be configured can directly call the memorable startup video of the target video file to be played.
Further, in order to accurately obtain a target video file, the step of storing the startup video file to a specified path according to the file configuration information to obtain the target video file comprises: determining a designated path and a designated file name according to the file configuration information; modifying the file name of the starting video file according to the specified file name to obtain a file to be stored; and storing the file to be stored to the specified path to obtain a target video file.
It should be noted that, determining the specified path and the specified file name according to the file configuration information means: and determining a storage path and a file naming format of the startup video preset by the user according to the file configuration information. Specifically, the specified path may be in/data/local/folder or a path set by other users, which is not limited in this embodiment. The specified file name may be: ts, may also be a file format and a name that can be recognized and called by other processes to be configured, which is not limited in this embodiment.
It should be understood that, modifying the file name of the startup video file according to the specified file name to obtain the file to be stored refers to: firstly, the name of the starting video file is modified into the specified file name according to the specified file name, and the finally obtained modified named file is the file to be stored. Specifically, the modification of the specified file name is set in property: ro. Since the naming of the user when setting and storing the startup video file may not coincide with the calling rule of the process to be configured, and the startup video cannot be automatically called and played, the naming of the startup video file needs to be uniformly modified in advance.
In a specific implementation, storing the file to be stored to the designated path to obtain the target video file refers to: and after the file to be stored is obtained, storing the file to be stored to a specified path, so that the starting video playing process can actively call the target video file.
By the method, the startup video file can be accurately configured and modified, so that the process to be configured can accurately call the startup video file to play.
The embodiment obtains the existing process information; establishing an independent natural process according to the existing process information; and configuring the independent natural process as a starting video playing process. By the method, the independent natural process is established based on the existing process information, and then the starting video is configured to the independent natural process to obtain the starting video playing process, so that the starting video can be directly played from the bottom function, and the black screen time is reduced.
In addition, an embodiment of the present invention further provides a storage medium, where a startup video playing program is stored on the storage medium, and the startup video playing program is executed by a processor to implement the steps of the startup video playing method described above.
Since the storage medium adopts all technical solutions of all the embodiments described above, at least all the beneficial effects brought by the technical solutions of the embodiments described above are achieved, and are not described in detail herein.
Referring to fig. 5, fig. 5 is a block diagram illustrating a first embodiment of a startup video playing apparatus according to the present invention.
As shown in fig. 5, the startup video playing apparatus according to the embodiment of the present invention includes:
the information obtaining module 10 is configured to obtain natural process information when the device is powered on.
It should be noted that the main execution body of the present embodiment is a display device, including but not limited to a television, an intelligent display screen, and other devices. Specifically, the execution subject may be specifically an information processing apparatus on the display device, for example: main chip, processor, computer, etc. Or other devices that can implement this function, which is not limited in this embodiment.
It should be understood that, at present, the playing of the boot video is based on the function of calling the media server to realize automatic playing, but the media server needs a long time for starting, which results in that several seconds of black screen time exist between the start of the display device and the playing of the boot video, and the use experience of the user is affected.
In a specific implementation, the natural process information refers to natural process information configured in advance in the display device, that is, information about a native process and related information about each native process that have been configured in the display device.
Further, when the user does not configure the boot-up video, in order to automatically play the boot animation of the device, after step S10, the method further includes: when the starting-up video file is not detected, determining a starting-up animation process according to the natural process information; and playing preset boot animation according to the boot animation process.
It should be noted that, after the display device is started and the natural process information is acquired, it is detected in real time whether the startup video file is stored in the storage, and when the startup video file is not detected, the startup process corresponding to the startup animation is determined according to the natural process information, that is, the startup animation process.
It should be understood that, after the boot animation process is determined, the boot animation process is directly invoked, so that the preset boot animation can be directly played. The preset startup animation refers to the preset animation content which needs to be played when the equipment is started. The boot video refers to a video file which is configured by a manufacturer or a user and needs to be played, and the boot animation refers to boot guiding animation carried by the device, and is used for transitioning the time from the boot of the device to the start of the system, that is, the system automatically plays the preset boot animation under the condition that the user does not configure the boot video file or the television end background operation does not push the boot video file.
By the method, the long-time black screen time can be avoided under the condition that the startup video is not available when the startup video is not configured by a user or the startup video file is not pushed in the background operation of the television terminal.
And the process determining module 20 is configured to determine a target natural process according to the natural process information when the startup video file is detected.
It should be noted that, when the startup video file is detected, the target natural process that needs to be called and started is determined according to the natural process information. The target natural process refers to a natural process including the playing of the startup video and the automatic playing of the startup video.
In a specific implementation, when a startup video playing process exists, the target natural process is the startup video playing process, and when the startup video playing process does not exist, the target natural process is a startup animation process.
It should be understood that if a corresponding boot video file is detected, it will automatically play. In order to avoid the conflict between the boot animation and the boot video, a corresponding judgment is made in the place where the boot animation is started in the layer drawing system service process (surfeflinger):
void SurfaceFlinger:startBootAnim(){
property_set(“service.bootanim.exit”,“0”);
char path[255];
property_get(“ro.third.bootvideo.path”,path,“1”);
if(access(path,R_OK)!=0)
{
property_set(“ctl.start”,“bootanim”);
}else
{
//do nothing
}
}
automatic detection of the presence of a boot video may be implemented by the code as described above.
In a specific implementation, if a startup video file is detected, the surfefinger layer drawing system service process skips boot animation and directly starts a startup video, so that the effect of displaying the startup video is achieved. The boot video file name recognized by the system is set in property, ro, thread, boot video, path, and the default values are as follows: the method comprises the steps of firstly, adding a video file with a file name of bootvideo.ts into a data/local folder to enable a system to start up and display the video.
And the video playing module 30 is used for playing the startup video through the target natural process.
It should be noted that, after the target natural process is determined, the target natural process is directly called, so as to automatically play the startup video.
It should be understood that, in the system boot process of this embodiment, as shown in fig. 3, after the device boots, it is first detected whether there is a boot video process, if so, the process is called to play the boot video, and if not, the default preset boot animation is directly played, so that the boot animation and the boot video do not conflict with each other, that is, the boot video is preferentially played when the boot video exists, and the boot animation is automatically played when the boot video does not exist.
In the embodiment, when the device is started, the natural process information is acquired; when a starting-up video file is detected, determining a target natural process according to the natural process information; and playing the starting-up video through the target natural process. By the method, whether the starting video file exists or not is determined based on the natural process information when the equipment is started, and the configured target natural process is directly called when the starting video file is detected, so that the starting video can be directly played in the target natural process, the bottom function is directly called, the starting video is played more quickly, and the black screen time is reduced.
In an embodiment, the information obtaining module 10 is further configured to obtain existing process information; establishing an independent natural process according to the existing process information; and configuring the independent natural process as a starting video playing process.
It should be noted that the existing process information refers to information of all natural processes that have been configured and stored in the system.
It should be understood that establishing an independent natural process according to the existing process information refers to configuring an independent process including a startup video playing function based on the startup video playing function process in the existing process information.
It should be understood that, after the independent natural process is determined, the startup video file is configured into the independent natural process based on the startup video file, so as to form the startup video playing process.
In an embodiment, the information obtaining module 10 is further configured to detect a boot video playing function process according to the existing process information; and stripping the starting video playing function process from the starting animation process, and establishing an independent natural process according to the starting video playing function process.
In a specific implementation, detecting a boot video playing function process according to the existing process information means: and detecting the position and specific information of the sub-process corresponding to the starting-up video function according to the existing process information.
It should be noted that, a general boot video playing function process is included in the boot animation process, so that after the boot video playing function process is determined, the boot video playing function process is stripped from the boot animation process, and then an independently running natural process is established according to the boot video playing function process.
By the method, the starting-up video playing process is determined based on the existing process information, and then the starting-up video playing process is stripped from the starting-up animation process and an independent natural process is established, so that the playing of the starting-up video is independent of other natural processes, and the black screen time from starting up to playing of the starting-up video is reduced.
In an embodiment, the information obtaining module 10 is further configured to obtain a boot video file; configuring the independent natural process into a guide animation process, configuring the independent natural process into an initialization process, and starting to obtain a process to be configured; and obtaining a starting-up video playing process according to the starting-up video file and the process to be configured.
In specific implementation, the startup video file refers to a video file that is configured in advance by a user and used for playing, and may be a video file with any content and any format, specifically, any video format such as MP4, AVI, WMV, and the like.
It should be noted that configuring the independent natural process as a boot animation process refers to: the independent natural process which is established before is firstly configured into a bootvideo process, namely a guide animation process, namely, the process type of the independent natural process is configured into the guide animation process, so that the independent natural process and the guide animation process are the same type and can only run alternatively.
It should be understood that, configuring the independent natural process to the initialization process for starting, and obtaining the process to be configured means: after the independent natural process is configured as a guide animation process, an interface of the independent natural process initializes a process, namely an init process, to a street, and the finally obtained process is the process to be configured.
In a specific implementation, after the process to be configured is obtained, the startup video file is configured into the process to be configured according to the startup video file and the tape configuration process, so that a process capable of directly playing the startup video during startup, namely a startup video playing process, is obtained.
By the method, the independent natural process is configured, the starting-up video playing process capable of playing the video in the underlying function directly is obtained, and the starting-up video playing process is separated from the starting-up animation independently and is not coupled with other services, so that the starting-up video playing function is started more quickly.
In an embodiment, the information obtaining module 10 is further configured to obtain file configuration information; storing the starting video file to a specified path according to the file configuration information to obtain a target video file; and configuring the process to be configured to call and play the target video file from the specified path to obtain a starting-up video playing process.
It should be noted that the file configuration information refers to configuration-related information of a preset startup video, and specifically includes stored path and file name-related information.
It should be understood that, storing the boot video file to a specified path according to the file configuration information, and obtaining a target video file refers to: and modifying the file name of the starting video file according to the file configuration information and storing the file name to the specified path so as to obtain the target video file.
In specific implementation, configuring the process to be configured to call and play the target video file from the specified path to obtain a startup video playing process means: and setting the path of calling the starting-up video by the process to be configured as the path corresponding to the target video file, thereby obtaining the starting-up video playing process capable of automatically calling and playing the starting-up video.
By the method, the specific configuration of the process to be configured is realized, and the starting video is stored in the appointed path to obtain the target video file, so that the memorability starting video of the target video file can be directly called to play through the process to be configured.
In an embodiment, the information obtaining module 10 is further configured to determine a specified path and a specified filename according to the file configuration information; modifying the file name of the starting video file according to the specified file name to obtain a file to be stored; and storing the file to be stored to the specified path to obtain a target video file.
It should be noted that, determining the specified path and the specified file name according to the file configuration information means: and determining a storage path and a file naming format of the startup video preset by the user according to the file configuration information. Specifically, the specified path may be in/data/local/folder or a path set by other users, which is not limited in this embodiment. The specified filename may be: ts, may also be a file format and a name that can be recognized and called by other processes to be configured, which is not limited in this embodiment.
It should be understood that, modifying the file name of the startup video file according to the specified file name to obtain a file to be stored refers to: firstly, the name of the starting video file is modified into the specified file name according to the specified file name, and the finally obtained file with the modified name is the file to be stored. Specifically, the modification of the specified file name is set in property: ro. Since the naming of the user when setting and storing the startup video file may not match the calling rule of the process to be configured, and the startup video cannot be automatically called and played, the naming of the startup video file needs to be uniformly modified in advance.
In a specific implementation, storing the file to be stored to the designated path to obtain the target video file refers to: and after the file to be stored is obtained, storing the file to be stored to a specified path, so that the starting video playing process can actively call the target video file.
By the method, the startup video file can be accurately configured and modified, so that the startup video file can be accurately called to be played in the process to be configured.
In an embodiment, the information obtaining module 10 is further configured to determine a boot animation process according to the natural process information when the boot video file is not detected; and playing preset boot animation according to the boot animation process.
It should be noted that, after the display device is started and the natural process information is acquired, it is detected in real time whether the startup video file is stored in the storage, and when the startup video file is not detected, the startup process corresponding to the startup animation is determined according to the natural process information, that is, the startup animation process.
It should be understood that, after the boot animation process is determined, the boot animation process is directly invoked, so that the preset boot animation can be directly played. The preset starting-up animation refers to animation content which is configured in advance and needs to be played when the equipment is started. The boot animation refers to boot guiding animation provided by the equipment, and is used for transitioning the time from the equipment boot to the system boot, namely the system automatically plays the preset boot animation under the condition that the user does not configure and update the boot video file.
By the method, the preset startup animation of the equipment is automatically determined and played when the user does not configure the startup video, so that long-time black screen time can not occur under the condition of no startup video.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the startup video playing method provided in any embodiment of the present invention, and are not described herein again.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. a Read Only Memory (ROM)/RAM, a magnetic disk, and an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A startup video playing method is characterized by comprising the following steps:
when the equipment is started, acquiring natural process information;
when a starting-up video file is detected, determining a target natural process according to the natural process information;
and playing the starting-up video through the target natural process.
2. The method of claim 1, wherein before obtaining the native process information when the device is powered on, further comprising:
acquiring existing process information;
establishing an independent natural process according to the existing process information;
and configuring the independent natural process as a starting video playing process.
3. The method of claim 2, wherein the establishing an independent natural process based on the existing process information comprises:
detecting a starting video playing function process according to the existing process information;
and stripping the starting video playing function process from the starting animation process, and establishing an independent natural process according to the starting video playing function process.
4. The method of claim 2, wherein configuring the independent native process as a power-on video playback process comprises:
acquiring a startup video file;
configuring the independent natural process into a guide animation process, configuring the independent natural process into an initialization process, and starting to obtain a process to be configured;
and obtaining a starting-up video playing process according to the starting-up video file and the process to be configured.
5. The method of claim 4, wherein obtaining a boot video playing process according to the boot video file and the process to be configured comprises:
acquiring file configuration information;
storing the starting-up video file to a specified path according to the file configuration information to obtain a target video file;
and configuring the process to be configured to call and play the target video file from the specified path to obtain a starting-up video playing process.
6. The method of claim 5, wherein the storing the boot-up video file to a specified path according to the file configuration information to obtain a target video file comprises:
determining a designated path and a designated file name according to the file configuration information;
modifying the file name of the starting video file according to the specified file name to obtain a file to be stored;
and storing the file to be stored to the specified path to obtain a target video file.
7. The method according to any one of claims 1 to 6, wherein after acquiring the natural process information at power-on of the device, further comprising:
when the starting-up video file is not detected, determining a starting-up animation process according to the natural process information;
and playing preset boot animation according to the boot animation process.
8. A boot-up video playback apparatus, comprising:
the information acquisition module is used for acquiring natural process information when the equipment is started;
the process determining module is used for determining a target natural process according to the natural process information when the starting-up video file is detected;
and the video playing module is used for playing the starting-up video through the target natural process.
9. A display device, characterized in that the display device comprises: a memory, a processor and a boot video playback program stored on the memory and executable on the processor, the boot video playback program being configured to implement the boot video playback method according to any one of claims 1 to 7.
10. A storage medium, wherein a boot video playing program is stored on the storage medium, and when executed by a processor, the boot video playing program implements the boot video playing method according to any one of claims 1 to 7.
CN202211410940.9A 2022-11-11 2022-11-11 Startup video playing method and device, display equipment and storage medium Pending CN115802109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211410940.9A CN115802109A (en) 2022-11-11 2022-11-11 Startup video playing method and device, display equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211410940.9A CN115802109A (en) 2022-11-11 2022-11-11 Startup video playing method and device, display equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115802109A true CN115802109A (en) 2023-03-14

Family

ID=85436905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211410940.9A Pending CN115802109A (en) 2022-11-11 2022-11-11 Startup video playing method and device, display equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115802109A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430445A (en) * 2015-11-24 2016-03-23 深圳创维-Rgb电子有限公司 Smart television power-on method and device
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
CN106131646A (en) * 2016-07-19 2016-11-16 Tcl集团股份有限公司 A kind of start method for processing video frequency based on android system and system
CN107333179A (en) * 2017-06-27 2017-11-07 青岛海信电器股份有限公司 A kind of player method and device of video of starting shooting

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430445A (en) * 2015-11-24 2016-03-23 深圳创维-Rgb电子有限公司 Smart television power-on method and device
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
CN106131646A (en) * 2016-07-19 2016-11-16 Tcl集团股份有限公司 A kind of start method for processing video frequency based on android system and system
CN107333179A (en) * 2017-06-27 2017-11-07 青岛海信电器股份有限公司 A kind of player method and device of video of starting shooting

Similar Documents

Publication Publication Date Title
CN108153551B (en) Method and device for displaying business process page
CN101583941B (en) Dynamic pre-operating system billboard service
US7441020B2 (en) Media plug-in registration and dynamic loading
CN110324696B (en) Live broadcast service diversion method and device, computer equipment and storage medium
EP1890231A2 (en) Playback of audio-video content and an associated java application from an optical disc
US10324731B2 (en) Multimode startup method for intelligent device and the system thereof
CN105791948A (en) Method and system for realizing starting video of smart television
CN106254948B (en) Control method and device for playing startup video by terminal equipment
CN110610701B (en) Voice interaction method, voice interaction prompting method, device and equipment
CN113784220A (en) Method for playing media resource, display equipment and mobile equipment
CN103037257A (en) Startup method
CN109254709A (en) Screenshotss processing method, device, equipment and machine readable media
US20100125646A1 (en) System For Enabling Host-Independent Software Portability Of A Self-Contained Device
CN108268261B (en) UI (user interface) customization method of intelligent terminal, storage medium and intelligent terminal
US9781198B2 (en) Information processing method and electronic device
US10007529B2 (en) Data terminal running mode switching method, device, and data terminal
CN115802109A (en) Startup video playing method and device, display equipment and storage medium
CN102769793B (en) display device and content promotion method
KR101859977B1 (en) The method for returning home screen in portable terminal with multi-software platform and device thereof
CN110597581A (en) External interaction method and device of dynamic UI system, electronic equipment and storage medium
CN114025220B (en) Control system and method for multi-version IPTV
CN108694207B (en) Method and system for displaying file icons
CN112019781A (en) Television function display method, storage medium and television terminal
WO2023093846A1 (en) Control method and system for electronic apparatus, and storage medium
CN111260397A (en) Application advertisement management method and system

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