Display control device and method
By detecting and controlling the playback of the boot video, the error operation problem caused by users' repeated playback of the boot video during long waiting for the local service to load, improving the user experience and reducing the risk of equipment damage.
Patent Information
- Application Number
- CN202210762351.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2042-06-30
AI Technical Summary
During the display device boot process, the long-term local service loading phase causes users to be upset by repeatedly playing the boot video, which may lead to incorrect operations and equipment damage.
By determining whether the display device is playing the boot video, and detecting whether there is a shutdown command. If it exists, stop playing the boot video; when the local service loading stage is not completed, use preset animation data to display to avoid the 'black screen' phenomenon; support replacement and update the boot video.
It effectively avoids users' incorrect operations caused by repeatedly playing the boot video, reduces the risk of equipment damage, improves user experience, and reduces waiting time.
Smart Images

Figure CN115190346B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a display control device and method. Background Art
[0002] With the continuous advancement of technology, smart devices such as computers and mobile phones have gradually become an indispensable part of people's lives. During the boot process of the display device, it generally enters three different stages in sequence: the boot stage, the kernel loading stage, and the local service loading stage. During the boot stage, the display device generally displays images such as the brand of the display device based on built-in instructions to inform the manufacturer of the display device used by the current user. Then, when entering the kernel loading stage, the display module and memory in the display device will be initialized to ensure the normal operation of various functions in the display device. Finally, in the local service loading stage, some service functions pre-set by the user and the system will generally be loaded.
[0003] At present, in the process of the local service loading stage, in order to avoid the user waiting for this process to be too boring, a startup video, such as advertisements and other video content, is generally displayed at this stage, so that the user can enjoy the startup video such as advertisements while waiting for the local service loading stage to load various service functions. However, in actual applications, when the display device has many service functions, that is, more service functions need to be loaded in the local service loading stage, it will take a long time. In this process, the conventional display control process will generally play the startup video repeatedly, which will cause the user's waiting process to be disturbed during the repeated playback of the start video. Once the user becomes irritable, anxious, etc. due to the repeated playback of the startup video, he will often restart the display device again or cut off the power to the display device, which is very easy to damage the display device. Therefore, the current display device is very easy to cause the user's wrong operation during the display control process when it is turned on, which will then cause damage to the display device. Summary of the invention
[0004] The embodiments of the present application provide a display control device and method, the main purpose of which is to prevent users from making erroneous operations due to interference from a startup video and to reduce the problem of equipment damage caused by erroneous operations.
[0005] In order to solve the above technical problems, the embodiments of the present application provide the following technical solutions:
[0006] In a first aspect, the present application provides a display control device, the device comprising:
[0007] A first determination unit, configured to determine whether the display device is playing a startup video, wherein the startup video is a video synchronously displayed by the display device during the startup process;
[0008] A first detection unit, configured to detect whether there is a shutdown instruction if it is determined that the display device is playing a startup video, wherein the shutdown instruction is used to instruct to shut down the startup video;
[0009] The first control unit is used to, if a shutdown instruction is detected, shut down the startup video based on the shutdown instruction so as to stop playing the startup video.
[0010] Optionally, the device further comprises:
[0011] A second judgment unit is used to judge whether the display device has completed a local service loading phase, wherein the display device loads a local service for realizing the function of the display device in the local service loading phase, and the local service loading phase is the last phase of the display device in the boot process. When the display device completes the local service loading phase, a main page allowing the user to start the operation is displayed;
[0012] The second control unit is used to obtain preset animation data from a preset path and display based on the preset animation data if the second judgment unit determines that the display device has not completed the local service loading stage until the display device completes the local service loading stage.
[0013] Optionally, the first detection unit is specifically configured to monitor, through a preset thread, whether a target event is triggered, the target event being an event triggered after the user performs an operation on the display device to instruct to turn off the startup video;
[0014] The first control unit is specifically configured to shut down the startup video if the first detection unit detects the existence of the target event.
[0015] Optionally, the device further comprises:
[0016] A setting unit, configured to set a loading path of a startup video in a target area of a storage space of the display device;
[0017] A third judgment unit is used to judge whether the display device has completed the kernel loading stage after the display device is turned on;
[0018] An execution unit is used to obtain the startup video based on the loading path set by the setting unit if the third judgment unit determines that the display device has completed the kernel loading stage, and display based on the startup video when the display device enters the local service loading stage.
[0019] Optionally, a plurality of loading paths are set in the target area, and each loading path corresponds to one startup video;
[0020] The device also includes:
[0021] A fourth determination unit is used to determine whether there is a replacement instruction when the display device is playing the startup video, wherein the replacement instruction includes a target startup video to be replaced by a user and a target loading path corresponding to the target startup video;
[0022] an acquisition unit, configured to acquire the target startup video from the target area based on the target loading path based on the replacement instruction when the replacement instruction exists;
[0023] A third control unit is used to display the target startup video acquired by the acquisition unit and stop playing the startup video.
[0024] Optionally, the device further comprises:
[0025] A second detection unit, used to detect whether there is a video update instruction;
[0026] a determining unit, configured to determine the instruction type of the video update instruction if the second detecting unit detects the existence of the video update instruction, wherein the instruction type includes a network update and a local update;
[0027] A first updating unit, configured to, when the determining unit determines that the instruction type is the network update, obtain a first video corresponding to the video update instruction from the cloud based on a preset interactive channel, and add the first video to the target area or replace the boot video in the target area based on the first video;
[0028] The second update unit is used to retrieve a second video corresponding to the video update instruction in the storage space when the determination unit determines that the instruction type is the local update, and add the second video to the target area or replace the boot video in the target area based on the second video.
[0029] In a second aspect, the present application further provides a display control method, the method comprising:
[0030] Determine whether the display device is playing a startup video, where the startup video is a video synchronously displayed by the display device during the startup process;
[0031] If yes, detecting whether there is a shutdown instruction, wherein the shutdown instruction is used to instruct to shut down the startup video;
[0032] If it exists, the startup video is closed based on the closing instruction to stop playing the startup video.
[0033] Optionally, after the power-on video is turned off based on the turn-off instruction, the method further includes:
[0034] Determine whether the display device has completed a local service loading phase, wherein the display device loads a local service for realizing the function of the display device in the local service loading phase, and the local service loading phase is the last phase of the display device in the boot process. When the display device completes the local service loading phase, a main page allowing the user to start operation is displayed;
[0035] If not, the preset animation data is obtained from the preset path, and displayed based on the preset animation data until the display device completes the local service loading stage.
[0036] Optionally, the detecting whether there is a close instruction includes:
[0037] Monitoring, by a preset thread, whether a target event is triggered, the target event being an event triggered after the user performs an operation on the display device to instruct closing the startup video;
[0038] If a shutdown instruction is detected, the startup video is shut down based on the shutdown instruction so as to stop playing the startup video, including:
[0039] If the target event is detected, the startup video is turned off.
[0040] Optionally, before determining whether the display device is playing a startup video, the method further includes:
[0041] Setting a loading path of a startup video in a target area of a storage space of the display device;
[0042] After the display device is turned on, determining whether the display device has completed the kernel loading phase;
[0043] If so, the startup video is obtained based on the loading path, and displayed based on the startup video when the display device enters the local service loading phase.
[0044] Optionally, a plurality of loading paths are set in the target area, and each loading path corresponds to one startup video;
[0045] After determining whether the display device is playing a startup video, the method further includes:
[0046] When the display device is playing the startup video, determining whether there is a replacement instruction, the replacement instruction including a target startup video to be replaced by a user and a target loading path corresponding to the target startup video;
[0047] When the replacement instruction exists, acquiring the target startup video from the target area based on the target loading path based on the replacement instruction;
[0048] The target startup video is displayed, and the startup video is stopped from playing.
[0049] Optionally, before determining whether the display device is playing a startup video, the method further includes:
[0050] Detect whether there is a video update instruction;
[0051] If so, determining the instruction type of the video update instruction, wherein the instruction type includes network update and local update;
[0052] When it is determined that the instruction type is the network update, a first video corresponding to the video update instruction is obtained from the cloud based on a preset interactive channel, and the first video is added to the target area or the boot video in the target area is replaced based on the first video;
[0053] When it is determined that the instruction type is the local update, the second video corresponding to the video update instruction is retrieved in the storage space, and the second video is added to the target area or the boot video in the target area is replaced based on the second video.
[0054] In a third aspect, the present application further provides a storage medium, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the display control method described in the second aspect.
[0055] In a fourth aspect, the present application also provides a display control device, comprising a storage medium; and one or more processors, wherein the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the display control method described in any one of the second aspects is executed.
[0056] By means of the above technical solution, the technical solution provided by this application has at least the following advantages:
[0057] The present application provides a display control device and method. The present application can determine whether a display device is playing a startup video through a first judgment unit, and the startup video is a video synchronously displayed by the display device during the startup process. Then, if it is determined that the display device is playing the startup video, a first detection unit is used to detect whether there is a shutdown instruction, and the shutdown instruction is used to instruct to shut down the startup video. Finally, if the shutdown instruction is detected, the first control unit is used to shut down the startup video based on the shutdown instruction to stop playing the startup video, thereby realizing the display control function during the startup process. Compared with the prior art, in the display control process of the present application, after determining that the current display device is playing the startup video, it can be determined whether the user needs to close the currently playing startup video by detecting whether there is a shutdown instruction, and the startup video is closed after determining that there is a shutdown instruction, so as to achieve the effect of stopping the playback of the startup video. In this way, the user can control the playback of the startup video based on the user's instructions during the local service loading stage when waiting for the startup, thereby realizing the control of the displayed content during the startup process, avoiding the situation that the startup video affects the user during the startup process, especially when the waiting time in the local service loading stage is long during the startup, avoiding the trouble of repeatedly playing the startup video to the user, thereby solving the problem of damage to the display device caused by the user's wrong operation under the interference of the repeatedly played startup video playback, and improving the user experience. In addition, when the duration of the startup video is much longer than the duration of the local service loading stage, the display control method of the present application can close the startup video midway based on the user's operation instruction, thus avoiding the situation that the user has to wait for the startup video to be played before entering the main page, reducing the time the user waits for the startup as a whole, and further improving the user experience.
[0058] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0060] Figure 1 A block diagram showing a display control device provided by an embodiment of the present application is shown;
[0061] Figure 2A block diagram showing another display control device provided by an embodiment of the present application is shown;
[0062] Figure 3 A flow chart of a display control method provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0063] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0064] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.
[0065] The present application embodiment provides a block diagram of a display control device, such as Figure 1 As shown, the device comprises:
[0066] The first judging unit 11 may be used to judge whether the display device is playing a startup video, wherein the startup video is a video synchronously displayed by the display device during the startup process;
[0067] The first detection unit 12 may be used to detect whether there is a shutdown instruction if it is determined that the display device is playing a startup video, and the shutdown instruction may be used to instruct to shut down the startup video;
[0068] The first control unit 13 can be used to, if a shutdown instruction is detected, shut down the startup video based on the shutdown instruction so as to stop playing the startup video.
[0069] Usually, since the display device has a booting stage, a kernel loading stage, and a local service loading stage during the booting process, the display device will enter these three stages in sequence. In this process, when the display device enters the local service loading stage, some videos will be played through a pre-set loading program, wherein these videos can be understood as videos that prevent the display device from having a black screen when booting, and can also relieve the user from waiting alone for various service functions to be loaded in the local loading stage. In this embodiment, the video that the user sees in the local service loading stage is the boot video described in this embodiment.
[0070] Due to brand considerations or partner requirements of display device manufacturers, the startup video is generally a video of the corresponding brand or partner, such as an advertising video. That is to say, the startup video described in this embodiment may include the advertising video. Since the startup video is not what the user wants to watch in some cases, or the startup video is played repeatedly in some cases, the user may need to control the display of the startup video during this process.
[0071] Specifically, in this embodiment, the first judgment unit 11 can be used to first determine whether the current display device is playing a startup video. Since the startup video is played during the local service loading stage, when the first judgment unit 11 determines that the current display device is playing a startup video, it means that the current display device is already in the local service loading stage. At this time, the first detection unit 12 can be used to detect whether there is a shutdown instruction issued by the user when playing the startup video. When it is determined that the shutdown instruction exists, it means that the user no longer wants to continue watching the startup video. At this time, the first control unit 13 can be used to execute a shutdown operation on the startup video being played based on the shutdown instruction. Since the behavior of closing the startup video occurs during the local service loading stage, the boot stage and the kernel loading stage have been completed in this stage, that is, executing the shutdown operation will not affect the normal startup of the display device.
[0072] Based on this, the present embodiment provides a display control device. Compared with the prior art, in the display control process of the present application, after determining that the current display device is playing a startup video, it can determine whether the user needs to close the startup video currently being played by detecting whether there is a shutdown instruction, and after determining that there is a shutdown instruction, the startup video is closed, thereby achieving the effect of stopping the playback of the startup video. In this way, during the local service loading stage while the user is waiting for startup, the user can control whether the startup video is played based on the user's instructions, thereby achieving the control of the displayed content during the startup process, avoiding the situation where the startup video is displayed during the startup process and affecting the user, especially when the waiting time in the local service loading stage during startup is long, avoiding the trouble of repeatedly playing the startup video to the user, thereby solving the problem of damage to the display device caused by the user's erroneous operation due to the interference of the repeatedly played startup video, and improving the user experience. In addition, when the duration of the startup video far exceeds the duration of the local service loading phase, the display control method of the present application can close the startup video midway based on the user's operating instructions. This avoids the situation where the user has to wait for the startup video to be played to completion before entering the main page. Overall, it reduces the time the user has to wait for startup, further improving the user experience.
[0073] In some embodiments, Figure 2As shown, the device also includes:
[0074] The second judgment unit 14 may be used to judge whether the display device has completed the local service loading phase after the first control unit 13 turns off the startup video, wherein the display device loads the local service for realizing the function of the display device in the local service loading phase, and the local service loading phase is the last phase of the display device in the startup process. When the display device completes the local service loading phase, a main page allowing the user to start the operation is displayed;
[0075] The second control unit 15 can be used to obtain preset animation data from a preset path and display based on the preset animation data if the second judgment unit 14 determines that the display device has not completed the local service loading stage until the display device completes the local service loading stage.
[0076] Based on the description of the foregoing embodiments, it can be known that the startup video is executed during the local service loading phase. Therefore, after closing the startup video, there are two situations. One of the situations is that the local service loading phase has been completed, and you can directly enter the main page where the display device works normally. The other situation is that the local service loading phase has not been completed. If no operation is performed at this time, a "black screen" may be displayed, which will mislead the user that there is an abnormality in the current display device.
[0077] In view of this, in this case, based on the method of this embodiment, when the second judgment unit 14 determines that the current display device has not completed the local service loading stage, the preset animation data can be obtained from the preset path through the second control unit 15, and displayed based on the preset animation data until the local service loading stage is completed. This can achieve that when the user no longer needs to watch startup videos such as advertisements, the preset animation data can be displayed after closing such videos. It not only avoids the "black screen" phenomenon that occurs when the display device has not completed the local service loading stage when the startup video is turned off, but also can provide another display content, that is, preset animation data to the user, so that the user is relieved from being annoyed by the startup video, and can also avoid the problem of misleading the user by the "black screen" during the startup process.
[0078] In some embodiments, Figure 2 As shown, the first detection unit 12 can be specifically used to monitor whether a target event is triggered through a preset thread, and the target event is an event triggered after the user performs an operation on the display device to instruct to turn off the startup video;
[0079] Based on this, the first control unit 13 can be specifically used to turn off the startup video if the first detection unit 12 detects the existence of the target event.
[0080] In this embodiment, in the process of the detection unit detecting whether there is a shutdown instruction issued by the user, it can be specifically performed in a thread-based manner, that is, by setting a dedicated monitoring thread, and using the monitoring thread to detect in real time whether the user has triggered a target event, that is, an event that can represent that the user wants to turn off the startup video. In this way, in the subsequent control process of the first control unit 13, it is necessary to be based on the fact that when the detection unit detects the target event, it means that the user wants to turn off the startup video, so the startup video can be turned off. In this way, the detection unit determines whether the user has issued a shutdown instruction based on whether the target event exists, and the user's shutdown instruction can be detected in a threaded manner. Since the thread has the characteristic of being executed all the time once it is enabled, this achieves the effect of real-time monitoring of the user's operation behavior, avoids the situation where the shutdown instruction issued by the user is not discovered in time, and improves the efficiency of the display control process when the computer is turned on as a whole.
[0081] In addition, it should be noted that in this embodiment, the target event can be triggered by the user actively clicking or outputting a command after the preset interactive interface is displayed to the user, or a button in the display device can be pre-set to be triggered after being tapped during the local service loading phase. The triggering method for the target event can include but is not limited to any of the above methods, and is not limited here.
[0082] In some embodiments, Figure 2 As shown, the device also includes:
[0083] A setting unit 16, which can be used to set a loading path of a startup video in a target area of a storage space of the display device;
[0084] The third judgment unit 17 may be used to judge whether the display device has completed the kernel loading phase after the display device is turned on;
[0085] The execution unit 18 can be used to obtain the boot video based on the loading path set by the setting unit 16 if the third judgment unit 17 determines that the display device has completed the kernel loading stage, and display it based on the boot video when the display device enters the local service loading stage.
[0086] Because in the process of loading the boot video, it is mainly set through the path method, that is to say, after the path is set, when the display device is turned on, the execution program will automatically select and load the boot video according to the path.
[0087] In this embodiment, in order to avoid the situation where the boot video is cleared due to the initialization of the data in the memory during the kernel loading phase, the boot video can be saved in an area in the storage space of the display device through the setting unit 16. In this embodiment, the storage space can be a non-memory storage space such as a hard disk. Since the data in the storage space such as the hard disk will not be affected by the initialization operation during the kernel loading phase, the loading path of the boot video is set in the target area of the storage space through the setting unit 16. This can not only ensure that the boot video will not be cleared by the initialization operation during the kernel loading phase after each startup, but also ensure that the loading path is selected in accordance with the loading path during each boot video playback, thereby improving convenience.
[0088] When the setting unit 16 completes setting the loading path of the startup video, the startup process of the current display device can be analyzed based on the third judgment unit 17 to determine whether the kernel loading stage has been completed. Since the kernel loading stage not only cleans up the memory data, but also initializes the display driver module in the display device, after the third judgment unit 17 determines that the current display device has completed the kernel loading stage, it is determined that the display module in the display device can operate normally after initialization. At this time, the execution unit 18 can load the startup video from the loading path set by the setting unit 16 and play it.
[0089] According to the above process of this embodiment, it can be known that since the startup video is set in the storage space based on the setting unit 16 and is set in the form of a loading path, it is ensured that each time the display device is turned on, it will not be cleared due to the initialization operation of the kernel loading stage, reducing the process of adding the startup video to the display device each time. At the same time, based on the third judgment unit 17, the startup video is played based on the execution unit 18 after the kernel loading stage is completed, which can ensure that when the startup video is played, the display driver module has completed the initialization operation in the kernel loading stage, avoiding the problem of abnormal display effect of the startup video due to the display driver module not being initialized, and avoiding the user's mistaken analysis of the current display device as damaged or abnormal.
[0090] In addition, in this embodiment, the loading path can be understood as the "address" data for determining the start video. Based on the loading path, the startup video required for this startup process can be determined, where the loading path can point to a certain area of the storage space, or it can be specific to a specific video name. There is no limitation here, and it can be selected based on actual needs.
[0091] In some embodiments, Figure 2 As shown, a plurality of loading paths are set in the target area, and each loading path corresponds to a startup video;
[0092] The device also includes:
[0093] The fourth judgment unit 19 may be configured to judge whether there is a replacement instruction when the first judgment unit 11 judges that the display device is playing the startup video, wherein the replacement instruction includes a target startup video to be replaced by the user and a target loading path corresponding to the target startup video;
[0094] The acquisition unit 20 may be configured to acquire the target boot video from the target area based on the target loading path based on the replacement instruction when the fourth determination unit 19 determines that the replacement instruction exists;
[0095] The third control unit 21 can be used to display the target startup video acquired by the acquisition unit 20 and stop playing the startup video.
[0096] In some cases, a display device may have multiple different startup videos pre-stored. In this case, during the startup process, the user can select the required startup video from multiple videos to play as needed. Therefore, in this embodiment, when multiple loading paths are set in the target area, and each loading path corresponds to a startup video, it is possible to determine whether there is a change instruction issued by the user based on the fourth judgment unit 19. When it is determined that there is a change instruction, it means that the user no longer wants to continue watching the currently playing startup video but needs to change to another video to play. Therefore, at this time, the acquisition unit 20 can obtain the corresponding target startup video based on the target loading path contained in the change instruction. At the same time, the third control unit 21 displays the target startup video and stops playing the originally played startup video, thereby achieving the effect of changing the startup video.
[0097] In some embodiments, Figure 2 As shown, the device also includes:
[0098] The second detection unit 22 may be used to detect whether there is a video update instruction;
[0099] The determining unit 23 may be configured to determine the instruction type of the video update instruction if the second detecting unit 22 detects the existence of the video update instruction, wherein the instruction type includes a network update and a local update;
[0100] The first updating unit 24 may be configured to, when the determining unit 23 determines that the instruction type is the network update, obtain a first video corresponding to the video update instruction from the cloud based on a preset interactive channel, and add the first video to the target area or replace the boot video in the target area based on the first video;
[0101] The second update unit 25 can be used to retrieve the second video corresponding to the video update instruction in the storage space when the determination unit 23 determines that the instruction type is the local update, add the second video to the target area or replace the boot video in the target area based on the second video.
[0102] In some cases, the startup video may need to be updated. For example, the manufacturer of the display device may need to update the advertising startup video due to advertising changes, or the user may change the startup video to a personalized video due to personal preference when using the display device. Therefore, during the startup process, the display device can also determine whether there is a startup video update.
[0103] Based on this, in this embodiment, the second detection unit 22 can be used to detect whether there is a video update instruction. When it is determined that there is a video update instruction, the determination unit 23 can be used to determine which method is used to update the current video update, that is, to determine the instruction type of the video update instruction. Since the instruction types correspond to two different update methods, one is to represent the update through the network, that is, the network update, and the other is to represent the update through the local loading form, that is, the local update. Since there are two different update methods, in this embodiment, when the determination unit 23 determines that the instruction type is a network update, the first update unit 24 is required to obtain the first video corresponding to the video update instruction from the cloud based on the preset interactive channel, and add the first video to the target area or replace the boot video in the target area based on the first video. Among them, the preset interactive channel can be any communication method, which can include but is not limited to wifi, Bluetooth and other methods. In addition, when the determination unit 23 determines that the instruction type is a local update, it means that the user may directly transfer the second video he needs to the local space of the display device, including the hard disk or memory. In this case, the second updating unit 25 can retrieve the second video corresponding to the video update instruction in the storage space, add the second video to the target area, or replace the boot video in the target area based on the second video.
[0104] It should be noted that in this embodiment, the first update unit 24 and the second update unit 25 may replace the original boot video with the first video and the second video during the update process, or may not replace the boot video, but also save the first video and the second video in the target area of the storage space. The specific execution method can be selected based on the actual needs of the user. In the case of replacing the original boot video, it can ensure that the storage space occupied by the display device is minimized and the storage space is saved; and on the basis of retaining the original boot video, the first video and the second video are added to the target area, which can ensure that more videos are saved in the display device, thereby ensuring that different boot videos can be provided to the user when the user needs them.
[0105] Furthermore, as a response to the above Figure 1 and Figure 2 In order to realize the device shown in the figure, another embodiment of the present application also provides a display control method. This method embodiment corresponds to the aforementioned method embodiment. For the sake of ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the method in this embodiment can correspond to all the contents of the aforementioned device embodiment. This method is used to avoid users from making erroneous operations due to interference from the startup video, and to reduce the problem of equipment damage caused by erroneous operations. Specifically, Figure 3 As shown, the device comprises:
[0106] 301. Determine whether the display device is playing a startup video.
[0107] Wherein, the startup video is a video synchronously displayed by the display device during the startup process;
[0108] 302. If it is determined that the display device is playing a startup video, detect whether there is a shutdown instruction.
[0109] Wherein, the shutdown instruction is used to instruct to shut down the startup video;
[0110] 303. If a close instruction is detected, the startup video is closed based on the close instruction to stop playing the startup video.
[0111] In the above steps, after the startup video is closed based on the closing instruction in step 303, the method further includes:
[0112] Determine whether the display device has completed a local service loading phase, wherein the display device loads a local service for realizing the function of the display device in the local service loading phase, and the local service loading phase is the last phase of the display device in the boot process. When the display device completes the local service loading phase, a main page allowing the user to start operation is displayed;
[0113] If not, the preset animation data is obtained from the preset path, and displayed based on the preset animation data until the display device completes the local service loading stage.
[0114] In the above steps, the above step 302 detects whether there is a shutdown instruction, which may be specifically performed as follows: monitoring whether a target event is triggered through a preset thread, wherein the target event is an event triggered after the user performs an operation on the display device to instruct to close the startup video;
[0115] In the aforementioned step 303, if a close instruction is detected, the startup video is closed based on the close instruction to stop playing the startup video. During execution, it may be: if the target event is detected, the startup video is closed.
[0116] In the above steps, before the above step 301 determines whether the display device is playing the startup video, the method further includes:
[0117] Setting a loading path of a startup video in a target area of a storage space of the display device;
[0118] After the display device is turned on, determining whether the display device has completed the kernel loading phase;
[0119] If so, the startup video is obtained based on the loading path, and displayed based on the startup video when the display device enters the local service loading phase.
[0120] In the above steps, a plurality of loading paths are set in the target area, and each loading path corresponds to a startup video;
[0121] After determining whether the display device is playing a startup video, the method further includes:
[0122] When the display device is playing the startup video, determining whether there is a replacement instruction, the replacement instruction including a target startup video to be replaced by a user and a target loading path corresponding to the target startup video;
[0123] When the replacement instruction exists, acquiring the target startup video from the target area based on the target loading path based on the replacement instruction;
[0124] The target startup video is displayed, and the startup video is stopped from playing.
[0125] In the above steps, before the above step 301 determines whether the display device is playing the startup video, the method further includes:
[0126] Detect whether there is a video update instruction;
[0127] If so, determining the instruction type of the video update instruction, wherein the instruction type includes network update and local update;
[0128] When it is determined that the instruction type is the network update, a first video corresponding to the video update instruction is obtained from the cloud based on a preset interactive channel, and the first video is added to the target area or the boot video in the target area is replaced based on the first video;
[0129] When it is determined that the instruction type is the local update, the second video corresponding to the video update instruction is retrieved in the storage space, and the second video is added to the target area or the boot video in the target area is replaced based on the second video.
[0130] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an embodiment of the present application further provides a storage medium, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned display control method.
[0131] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an embodiment of the present application also provides a display control device, which includes a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the above-mentioned display control method is executed.
[0132] An embodiment of the present application provides a display control device and method. The present application can determine whether a display device is playing a startup video through a first judgment unit, and the startup video is a video synchronously displayed by the display device during the startup process. Then, if it is determined that the display device is playing the startup video, the first detection unit is used to detect whether there is a shutdown instruction, and the shutdown instruction is used to instruct to shut down the startup video. Finally, if it is detected that there is a shutdown instruction, the first control unit is used to shut down the startup video based on the shutdown instruction to stop playing the startup video, thereby realizing the display control function during the startup process. Compared with the prior art, in the display control process of the present application, after determining that the current display device is playing a startup video, it is possible to determine whether the user needs to close the startup video currently being played by detecting whether there is a shutdown instruction, and after determining that there is a shutdown instruction, the startup video is closed, thereby achieving the effect of stopping the playback of the startup video. In this way, during the local service loading stage while the user is waiting for startup, the user can control whether the startup video is played based on the user's instructions, thereby achieving control of the displayed content during the startup process, avoiding the situation where the startup video is displayed during the startup process and affecting the user, especially when the waiting time in the local service loading stage during startup is long, thereby avoiding the trouble of repeatedly playing the startup video to the user, thereby solving the problem of damage to the display device caused by the user's erroneous operation due to the interference of the repeatedly played startup video, and improving the user experience. In addition, when the duration of the startup video far exceeds the duration of the local service loading phase, the display control method of the present application can close the startup video midway based on the user's operating instructions. This avoids the situation where the user has to wait for the startup video to be played to completion before entering the main page. Overall, it reduces the time the user has to wait for startup, further improving the user experience.
[0133] The display control device includes a processor and a memory. The first judgment unit, the first detection unit, the first control unit, etc. are all stored in the memory as program units. The processor executes the program units stored in the memory to implement corresponding functions.
[0134] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and kernel parameters can be adjusted to prevent users from making erroneous operations due to the interference of the boot video, thereby reducing the problem of device damage caused by erroneous operations.
[0135] An embodiment of the present application provides a display control device, which includes a storage medium; and one or more processors, wherein the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, any of the display control methods described above is executed.
[0136] An embodiment of the present application provides a storage medium, which includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the display control method described above.
[0137] The storage medium may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.
[0138] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: determining whether the display device is playing a startup video, wherein the startup video is a video synchronously displayed by the display device during the startup process; if so, detecting whether there is a shutdown instruction, wherein the shutdown instruction is used to instruct to shut down the startup video; if so, shutting down the startup video based on the shutdown instruction so as to stop playing the startup video.
[0139] Further, after the power-on video is turned off based on the turn-off instruction, the method further includes:
[0140] Determine whether the display device has completed a local service loading phase, wherein the display device loads a local service for realizing the function of the display device in the local service loading phase, and the local service loading phase is the last phase of the display device in the boot process. When the display device completes the local service loading phase, a main page allowing the user to start operation is displayed;
[0141] If not, the preset animation data is obtained from the preset path, and displayed based on the preset animation data until the display device completes the local service loading stage.
[0142] Further, the detecting whether there is a close instruction includes:
[0143] Monitoring, by a preset thread, whether a target event is triggered, the target event being an event triggered after the user performs an operation on the display device to instruct closing the startup video;
[0144] If a shutdown instruction is detected, the startup video is shut down based on the shutdown instruction so as to stop playing the startup video, including:
[0145] If the target event is detected, the startup video is turned off.
[0146] Furthermore, before determining whether the display device is playing a startup video, the method further includes:
[0147] Setting a loading path of a startup video in a target area of a storage space of the display device;
[0148] After the display device is turned on, determining whether the display device has completed the kernel loading phase;
[0149] If so, the startup video is obtained based on the loading path, and displayed based on the startup video when the display device enters the local service loading phase.
[0150] Furthermore, a plurality of loading paths are set in the target area, and each loading path corresponds to one startup video;
[0151] After determining whether the display device is playing a startup video, the method further includes:
[0152] When the display device is playing the startup video, determining whether there is a replacement instruction, the replacement instruction including a target startup video to be replaced by a user and a target loading path corresponding to the target startup video;
[0153] When the replacement instruction exists, acquiring the target startup video from the target area based on the target loading path based on the replacement instruction;
[0154] The target startup video is displayed, and the startup video is stopped from playing.
[0155] Furthermore, before determining whether the display device is playing a startup video, the method further includes:
[0156] Detect whether there is a video update instruction;
[0157] If so, determining the instruction type of the video update instruction, wherein the instruction type includes network update and local update;
[0158] When it is determined that the instruction type is the network update, a first video corresponding to the video update instruction is obtained from the cloud based on a preset interactive channel, and the first video is added to the target area or the boot video in the target area is replaced based on the first video;
[0159] When it is determined that the instruction type is the local update, the second video corresponding to the video update instruction is retrieved in the storage space, and the second video is added to the target area or the boot video in the target area is replaced based on the second video.
[0160] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program code that initializes the following method steps: determining whether a display device is playing a startup video, wherein the startup video is a video synchronously displayed by the display device during the startup process; if so, detecting whether there is a shutdown instruction, wherein the shutdown instruction is used to instruct to shut down the startup video; if so, shutting down the startup video based on the shutdown instruction so as to stop playing the startup video.
[0161] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0162] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0163] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0164] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0165] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0166] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0167] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0168] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0169] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0170] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A display control device, characterized in that: The device comprises: A first determination unit, configured to determine whether the display device is playing a startup video, wherein the startup video is a video synchronously displayed by the display device during the startup process; A first detection unit, configured to detect whether there is a shutdown instruction if it is determined that the display device is playing a startup video, wherein the shutdown instruction is used to instruct to shut down the startup video; A first control unit is configured to, if a shutdown instruction is detected, shut down the startup video based on the shutdown instruction so as to stop playing the startup video; The device also includes: A second judgment unit is used to judge whether the display device has completed a local service loading phase, wherein the display device loads a local service for realizing the function of the display device in the local service loading phase, and the local service loading phase is the last phase of the display device in the boot process. When the display device completes the local service loading phase, a main page allowing the user to start the operation is displayed; The second control unit is used to obtain preset animation data from a preset path and display based on the preset animation data if the second judgment unit determines that the display device has not completed the local service loading stage until the display device completes the local service loading stage.
2. The device according to claim 1, characterized in that The first detection unit is specifically configured to monitor, through a preset thread, whether a target event is triggered, wherein the target event is an event triggered after a user performs an operation on the display device to instruct to close the startup video; The first control unit is specifically configured to shut down the startup video if the first detection unit detects the existence of the target event.
3. The device according to claim 1, characterized in that The device also includes: A setting unit, configured to set a loading path of a startup video in a target area of a storage space of the display device; A third judgment unit is used to judge whether the display device has completed the kernel loading stage after the display device is turned on; An execution unit is used to obtain the startup video based on the loading path set by the setting unit if the third judgment unit determines that the display device has completed the kernel loading stage, and display based on the startup video when the display device enters the local service loading stage.
4. The device according to claim 3, characterized in that A plurality of loading paths are arranged in the target area, and each loading path corresponds to one startup video; The device also includes: A fourth determination unit is used to determine whether there is a replacement instruction when the display device is playing the startup video, wherein the replacement instruction includes a target startup video to be replaced by a user and a target loading path corresponding to the target startup video; an acquisition unit, configured to acquire the target startup video from the target area based on the target loading path based on the replacement instruction when the replacement instruction exists; A third control unit is used to display the target startup video acquired by the acquisition unit and stop playing the startup video.
5. The device according to claim 3 or 4, characterized in that The device also includes: A second detection unit, used to detect whether there is a video update instruction; a determining unit, configured to determine the instruction type of the video update instruction if the second detecting unit detects the existence of the video update instruction, wherein the instruction type includes a network update and a local update; A first updating unit, configured to, when the determining unit determines that the instruction type is the network update, obtain a first video corresponding to the video update instruction from the cloud based on a preset interactive channel, and add the first video to the target area or replace the boot video in the target area based on the first video; The second update unit is used to retrieve a second video corresponding to the video update instruction in the storage space when the determination unit determines that the instruction type is the local update, and add the second video to the target area or replace the boot video in the target area based on the second video.
6. A display control method, characterized in that: The method comprises: Determine whether the display device is playing a startup video, where the startup video is a video synchronously displayed by the display device during the startup process; If yes, detecting whether there is a shutdown instruction, wherein the shutdown instruction is used to instruct to shut down the startup video; If so, closing the startup video based on the closing instruction so as to stop playing the startup video; After the power-on video is turned off based on the turn-off instruction, the method further includes: Determine whether the display device has completed a local service loading phase, wherein the display device loads a local service for realizing the function of the display device in the local service loading phase, and the local service loading phase is the last phase of the display device in the boot process. When the display device completes the local service loading phase, a main page allowing the user to start operation is displayed; If not, the preset animation data is obtained from the preset path, and displayed based on the preset animation data until the display device completes the local service loading stage.
7. The method according to claim 6, characterized in that The detecting whether there is a closing instruction comprises: Monitoring, by a preset thread, whether a target event is triggered, wherein the target event is an event triggered after a user performs an operation on the display device to instruct closing the startup video; If the startup video exists, the startup video is closed based on the closing instruction so as to stop playing the startup video, including: If the target event is detected, the startup video is turned off.
8. The method according to claim 6, characterized in that Before determining whether the display device is playing a startup video, the method further includes: Setting a loading path of a startup video in a target area of a storage space of the display device; After the display device is turned on, determining whether the display device has completed the kernel loading phase; If so, the startup video is obtained based on the loading path, and displayed based on the startup video when the display device enters the local service loading phase.
9. The method according to claim 8, characterized in that A plurality of loading paths are arranged in the target area, and each loading path corresponds to one startup video; After determining whether the display device is playing a startup video, the method further includes: When the display device is playing the startup video, determining whether there is a replacement instruction, the replacement instruction including a target startup video to be replaced by a user and a target loading path corresponding to the target startup video; When the replacement instruction exists, acquiring the target startup video from the target area based on the target loading path based on the replacement instruction; The target startup video is displayed, and the startup video is stopped from playing.
10. The method according to claim 8 or 9, characterized in that: Before determining whether the display device is playing a startup video, the method further includes: Detect whether there is a video update instruction; If so, determining the instruction type of the video update instruction, wherein the instruction type includes network update and local update; When it is determined that the instruction type is the network update, a first video corresponding to the video update instruction is obtained from the cloud based on a preset interactive channel, and the first video is added to the target area or the boot video in the target area is replaced based on the first video; When it is determined that the instruction type is the local update, the second video corresponding to the video update instruction is retrieved in the storage space, and the second video is added to the target area or the boot video in the target area is replaced based on the second video.
11. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the display control method according to any one of claims 6 to 10.
12. A display control device, characterized in that: The device includes a storage medium; and one or more processors, wherein the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the display control method described in any one of claims 6-10 is executed.
