Display control method and device, equipment and storage medium

By responding to graph effect switching requests in the intelligent display terminal, graph effect data locking and filtering, and using preset graph effect thread pools for asynchronous graph effect switching, the graph effect switching timing problem in the existing technology is solved, and more efficient and accurate graph effect control is achieved.

CN119937963APending Publication Date: 2025-05-06SHENZHEN TCL DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411999974.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the prior art, the graph-effect switching method has timing problems, resulting in mismatched or omitted switching of graph-effect modes, causing abnormal graph-effect control and affecting the quality of the display screen.

Method used

By responding to the graph effect switching request, obtain graph effect switching data, and lock and filter according to the graph effect enumeration value to determine the target switching graph effect. Then, use the preset graph effect thread pool to perform asynchronous graph effect switching operations to ensure the correctness and efficiency of graph effect switching.

Benefits of technology

It effectively reduces the efficiency of image effect refresh, improves the accuracy of image effect switching, and improves the speed of image effect refresh, thereby optimizing the graph effect usage experience of the intelligent display terminal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937963A_ABST
    Figure CN119937963A_ABST
Patent Text Reader

Abstract

The invention provides a display control method and device, equipment and a storage medium, and the method comprises the steps: obtaining image effect switching data corresponding to an image effect switching request in response to the image effect switching request; performing image effect screening according to the image effect enumeration value in the image effect switching data, and determining a target switching image effect in the image effect switching data; and performing asynchronous graph effect switching operation according to the target switching graph effect and a preset graph effect thread pool to obtain a graph effect switching result. According to the technical scheme, the image effect refreshing efficiency can be effectively reduced, the image effect switching accuracy is improved, the image effect refreshing speed is effectively increased, and the intelligent display terminal image effect use experience of a user is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display control technology, and in particular to a display control method, device, equipment and storage medium. Background Art

[0002] At present, with the rapid development of smart display devices, in order to improve the display effect of specified scenes, multiple graphic effect modes are set in smart display devices. Through different graphic effect modes, various attribute parameters of the corresponding display screen of the smart display device are adjusted and optimized to present the picture style corresponding to different scenes. However, the existing graphic effect switching method includes synchronous refresh based on signal changes or setting corresponding message queues based on signal changes. This switching method will cause the smart display device to switch the graphic effect mode incorrectly or miss the switching of the specified graphic effect mode due to timing problems, resulting in abnormal graphic effect control and then abnormal display of the screen. Summary of the invention

[0003] The embodiments of the present application provide a display control method, apparatus, device and storage medium, which are intended to solve the technical problem in the prior art that abnormal image effect switching leads to abnormal display screen.

[0004] On the one hand, an embodiment of the present application provides a display control method, the display control method comprising the following steps:

[0005] In response to a graphic effect switching request, obtaining graphic effect switching data corresponding to the graphic effect switching request;

[0006] Screening the graphic effects according to the graphic effect enumeration value in the graphic effect switching data to determine the target switching graphic effect in the graphic effect switching data;

[0007] An asynchronous graphic effect switching operation is performed according to the target switching graphic effect and the preset graphic effect thread pool to obtain a graphic effect switching result.

[0008] In a possible implementation of the present application, the performing of image effect screening according to the image effect enumeration value in the image effect switching data to determine the target switching image effect in the image effect switching data includes:

[0009] Obtaining a graphic effect enumeration value in the graphic effect switching data, wherein each of the graphic effect enumeration values ​​corresponds to a candidate switching graphic effect;

[0010] The graphic effect enumeration value is locked by using a preset thread lock to obtain a locked graphic effect enumeration value;

[0011] The image effects are screened according to the currently displayed image effects and the locked image effect enumeration value to determine the target switching image effect to be switched.

[0012] In a possible implementation of the present application, the image effect screening is performed according to the current display image effect and the locked image effect enumeration value to determine the target switching image effect to be switched, including:

[0013] Obtaining the graphic effect priority associated with the locked graphic effect enumeration value and the graphic effect refresh bit associated with the locked graphic effect enumeration value;

[0014] Graphics effects are screened according to the graphic effect priority, the graphic effect refresh position and the currently displayed graphic effect to determine a target switching graphic effect to be switched.

[0015] In a possible implementation of the present application, the target switching graphic effect includes a first target switching graphic effect and a second target switching graphic effect;

[0016] The performing image effect screening according to the image effect priority, the image effect refresh position and the currently displayed image effect to determine a target switching image effect to be switched includes:

[0017] If there is a first image effect refresh bit in the image effect refresh bits, and the first candidate switching image effect corresponding to the first image effect refresh bit is different from the currently displayed image effect, determining the first candidate switching image effect as the first target switching image effect;

[0018] If all of the image effect refresh bits are the second image effect refresh bits, then comparing the image effect priorities to obtain a target image effect priority and a second candidate switching image effect corresponding to the target image effect priority;

[0019] If the second candidate switching graphic effect is different from the currently displayed graphic effect, the second candidate switching graphic effect is determined as the second target switching graphic effect.

[0020] In a possible implementation of the present application, performing an asynchronous graphic effect switching operation according to the target switching graphic effect and the preset graphic effect thread pool to obtain a graphic effect switching result includes:

[0021] Obtaining an update refresh flag of the target switching graphic effect, adding the target switching graphic effect and the update refresh flag to a graphic effect class common memory, and obtaining an update graphic effect class common memory;

[0022] Using a preset asynchronous listening thread and the update effect class public memory, the update refresh flag of the target switching effect is added to the update effect switching queue to obtain the update effect switching queue;

[0023] Asynchronous graphic effect switching processing is performed on the target switching graphic effect according to the preset graphic effect thread pool and the updated graphic effect switching queue to obtain a graphic effect switching result.

[0024] In a possible implementation of the present application, the asynchronous graphic effect switching process is performed on the target switching graphic effect according to the preset graphic effect thread pool and the updated graphic effect switching queue to obtain the graphic effect switching result, including:

[0025] Acquire the graphic effect sub-parameter of the target switching graphic effect based on the update refresh flag in the update graphic effect switching queue;

[0026] Asynchronously update the current display graphic effect according to the preset graphic effect thread pool and the graphic effect sub-parameters to obtain a graphic effect switching result.

[0027] In a possible implementation of the present application, the asynchronously updating the current display graphic effect according to the preset graphic effect thread pool and the graphic effect sub-parameter to obtain the graphic effect switching result includes:

[0028] Drive the preset graphic effect thread pool to configure a graphic effect switching thread corresponding to the graphic effect sub-parameter;

[0029] The graphic effect switching threads are used to asynchronously update the graphic effect sub-parameters to obtain a graphic effect switching result.

[0030] On the other hand, the present application provides a display control device, the display control device comprising:

[0031] A request receiving module is configured to respond to a graphic effect switching request and obtain graphic effect switching data corresponding to the graphic effect switching request;

[0032] A graphic effect screening module is configured to screen graphic effects according to the graphic effect enumeration value in the graphic effect switching data, and determine a target switching graphic effect in the graphic effect switching data;

[0033] The graphic effect switching module is configured to perform an asynchronous graphic effect switching operation according to the target switching graphic effect and a preset graphic effect thread pool to obtain a graphic effect switching result.

[0034] On the other hand, the present application also provides a display control device, the display control device comprising:

[0035] one or more processors;

[0036] Memory; and

[0037] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps of the display control method.

[0038] On the other hand, the present application also provides a computer-readable storage medium on which a computer program is stored. The computer program is loaded by a processor to execute the steps in the display control method.

[0039] In the present application, by responding to a graphic effect switching request, the graphic effect switching data corresponding to the graphic effect switching request is obtained; the graphic effect is screened according to the graphic effect enumeration value in the graphic effect switching data to determine the target switching graphic effect in the graphic effect switching data; an asynchronous graphic effect switching operation is performed according to the target switching graphic effect and the preset graphic effect thread pool to obtain the graphic effect switching result. When a graphic effect switching request is received, the graphic effect switching data corresponding to the graphic effect switching request is obtained, and the graphic effect enumeration value in the graphic effect switching data is locked and the locked graphic effect enumeration value is used to screen the graphic effect, so as to determine the target switching graphic effect in the graphic effect switching data that actually needs to perform the switching operation, and the target switching graphic effect and the preset graphic effect thread pool are used to perform asynchronous graphic effect switching, so as to effectively reduce the efficiency of graphic effect refresh, improve the accuracy of graphic effect switching, and effectively improve the graphic effect refresh speed, so as to optimize the user's graphic effect usage experience of the smart display terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 A schematic diagram of a scene showing a control method according to an embodiment of the present application;

[0042] Figure 2 A flow chart of an embodiment of a display control method in an embodiment of the present application;

[0043] Figure 3 A schematic diagram of an implementation process of image effect screening in the display control method provided in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of a flow chart of an embodiment of switching image effects in a display control method provided in an embodiment of the present application;

[0045] Figure 5 A schematic diagram of the structure of an embodiment of a display control device provided in an embodiment of the present application;

[0046] Figure 6 A schematic diagram of the structure of an embodiment of a display control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0048] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0049] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.

[0050] At present, with the rapid development of smart display devices, in order to improve the display effect of specified scenes, multiple graphic effect modes are set in smart display devices. Through different graphic effect modes, various attribute parameters of the corresponding display screen of the smart display device are adjusted and optimized to present the picture style corresponding to different scenes. However, the existing graphic effect switching method includes synchronous refresh based on signal changes or setting corresponding message queues based on signal changes. This switching method will cause the smart display device to switch the graphic effect mode incorrectly or miss the switching of the specified graphic effect mode due to timing problems, resulting in abnormal graphic effect control and then abnormal display of the screen.

[0051] Based on this, the present application proposes a display control method, device, equipment and computer-readable storage medium to solve the technical problem in the prior art that abnormal image effect switching leads to abnormal display screen.

[0052] The display control method in the embodiment of the present invention is applied to a display control device, and the display control device is arranged in the display control device. The display control device is provided with one or more processors, a memory, and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the display control method; wherein the display control device can be an intelligent terminal, such as a mobile phone, a tablet computer, a network device, and a smart computer, etc.; optionally, the display control device can also be a server, or a service cluster composed of multiple servers.

[0053] like Figure 1 As shown, Figure 1 This is a scene diagram of the display control method of an embodiment of the present application. The display control scene in the embodiment of the present invention includes a display control device 100 (a display control device is integrated in the display control device 100), and a computer-readable storage medium corresponding to the display control method runs in the display control device 100 to execute the steps of the display control method.

[0054] Understandably, Figure 1 The display control device in the display control method scenario shown, or the apparatus included in the display control device, does not constitute a limitation on the embodiments of the present invention, that is, the number of devices and types of devices of the display control device included in the display control method scenario, or the number of apparatuses and types of apparatuses included in each device, do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be regarded as equivalent replacements or derivatives of the technical solution claimed to be protected in the embodiments of the present invention.

[0055] The display control device 100 in the embodiment of the present invention is mainly used to: respond to a graphic effect switching request and obtain graphic effect switching data corresponding to the graphic effect switching request;

[0056] Screening the graphic effects according to the graphic effect enumeration value in the graphic effect switching data to determine the target switching graphic effect in the graphic effect switching data;

[0057] An asynchronous graphic effect switching operation is performed according to the target switching graphic effect and the preset graphic effect thread pool to obtain a graphic effect switching result.

[0058] The display control device 100 in the embodiment of the present invention can be an independent display control device, such as a smart terminal such as a mobile phone, a tablet computer, a network device, a smart TV, a smart display and a smart computer, or it can be a display control network or display control cluster composed of multiple display control devices.

[0059] The embodiments of the present application provide a display control method, apparatus, device, and computer-readable storage medium, which are described in detail below.

[0060] It can be understood by those skilled in the art that Figure 1 The application environment shown in is only one of the application scenarios related to the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer display control devices, or display control network connection relationships, are shown, for example Figure 1 Only one display control device is shown. It can be understood that the scenario of the display control method can also include one or more display control devices, which are not specifically limited here. The display control device 100 can also include a memory for storing graphic effect data and other data.

[0061] It should be noted that Figure 1 The scene diagram of the display control method shown is only an example. The scene of the display control method described in the embodiment of the present invention is to more clearly illustrate the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention.

[0062] Based on the scenario of the above display control method, various embodiments of the display control method disclosed in the present invention are proposed.

[0063] like Figure 2 As shown, Figure 2 This is a flow chart of an embodiment of a display control method in an embodiment of the present application. The display control method includes the following steps 201 to 203:

[0064] 201. Respond to a graphic effect switching request and obtain graphic effect switching data corresponding to the graphic effect switching request;

[0065] The display control method in this embodiment is applied to a display control device, and the type and quantity of the display control device are not specifically limited. That is, the display control device can be one or more smart terminals with multiple display effects preset. In a specific embodiment, the display control device is a smart TV.

[0066] Among them, the display effect is an effect mode that can adjust the attribute parameters of the display screen of the display control device. Among them, the attribute parameters adjusted by the display effect are the effect sub-parameters of the display effect. Optionally, the effect sub-parameters may include screen adjustment parameters of the display control device such as brightness, contrast, color, clarity and motion processing. In a specific embodiment, the display effect may include display effect modes such as standard effect, bright effect, movie effect and game effect.

[0067] Specifically, during operation, the display control device can trigger a graphics effect switching request corresponding to a specified display graphics effect in a variety of ways, wherein the graphics effect switching request is an graphics effect switching instruction that drives the display control device to switch the current display graphics effect to the specified display graphics effect.

[0068] Optionally, the triggering method of the graphic effect switching request can be a graphic effect switching instruction triggered by a change in the signal source (such as DTV, HDMI, VOD), a graphic effect switching instruction triggered by a change in the signal source signal, a graphic effect switching instruction triggered by a special signal, a graphic effect switching instruction during the boot process, etc. For example, in a specific embodiment, the display control device can detect changes in the dynamic_range signal; for example, a graphic effect switching instruction triggered by an SDR signal->HDR signal->HLG signal. For another example, the display control device can also detect a graphic effect switching instruction triggered by switching of an automatic low latency signal (ALLM) or a variable refresh rate signal (VRR). In addition, the graphic effect switching instruction can also be triggered by the user selecting the corresponding switching graphic effect on the graphic effect setting page.

[0069] Specifically, after obtaining the image effect switching request, the display control device also parses the image effect switching request and obtains the image effect switching data corresponding to the image effect switching request, wherein the image effect switching data is an image effect enumeration value, an image effect filtering attribute, and an image effect sub-parameter corresponding to the display image effect to be switched. The image effect enumeration value is an enumeration value that uniquely represents the display image effect. The image effect filtering attribute is an attribute parameter that represents the image effect priority, refresh bit type, and image effect type of the display image effect. Among them, each display image effect contains a corresponding image effect priority, wherein the image effect priority represents the switching priority of switching the display image effect during the image effect switching process. The refresh bit type includes a first image effect refresh bit and a second image effect refresh bit. Among them, the first image effect refresh bit is an image effect refresh bit that represents that the image effect refresh type of the display image effect is a forced refresh type. The second image effect refresh bit is an image effect refresh bit that represents that the image effect refresh type of the display image effect is a non-forced refresh type corresponding to a normal refresh type.

[0070] 202. Screening graphic effects according to the graphic effect enumeration value in the graphic effect switching data to determine a target switching graphic effect in the graphic effect switching data;

[0071] Specifically, after obtaining the graphic effect switching request and parsing the graphic effect switching request, the display control device obtains the graphic effect switching data in the graphic effect switching request, and determines the display graphic effect corresponding to the graphic effect switching data as the candidate switching graphic effect to be switched. After obtaining the graphic effect switching data, the display control device uses the graphic effect enumeration value in the graphic effect switching data to perform graphic effect screening, thereby determining the target switching graphic effect among the candidate switching graphic effects corresponding to the graphic effect switching data. Among them, the target switching graphic effect is the target display graphic effect for updating the current display graphic effect.

[0072] Specifically, after obtaining the image effect switching data, the display control device inputs the image effect switching data into the image effect filtering thread in the image effect filtering class for image effect filtering to determine the target switching image effect in the image effect switching data. In a specific embodiment, the image effect filtering class may be a PictureModeMgr class. The image effect filtering class includes an image effect filtering thread and an image effect switching thread. The image effect filtering thread is an asynchronous thread.

[0073] Specifically, after inputting the graphic effect switching data into the graphic effect filtering thread of the graphic effect filtering class, the display control device uses the graphic effect filtering thread to obtain the graphic effect enumeration value in the graphic effect switching data, wherein each graphic effect enumeration value corresponds to a candidate switching graphic effect.

[0074] After obtaining the graphic effect enumeration value, the display control device also locks each graphic effect enumeration value to prevent data competition from causing abnormal graphic effect screening results. That is, the display control device uses a preset thread lock to lock the graphic effect enumeration value to obtain a locked graphic effect enumeration value, thereby ensuring that the data of each graphic effect enumeration value is correct. Optionally, in a specific embodiment, the preset thread lock can be a synchronization mechanism lock.

[0075] Specifically, after obtaining the locked graphic effect enumeration value, the display control device also performs graphic effect screening according to the current display graphic effect and the locked graphic effect enumeration value, so as to determine the target switching graphic effect to be switched.

[0076] Specifically, after the display control device locks the graphic effect enumeration value and obtains the locked graphic effect enumeration value, it also obtains the graphic effect priority associated with the locked graphic effect enumeration value and the graphic effect refresh bit corresponding to the locked graphic effect enumeration value, and performs asynchronous graphic effect screening according to the graphic effect priority, the graphic effect refresh bit and the currently displayed graphic effect, thereby determining the target switching graphic effect to be switched.

[0077] Specifically, after obtaining the effect priority associated with each locked effect enumeration value and the effect refresh bit corresponding to the locked effect enumeration value, the display control device uses the effect screening thread to asynchronously identify the effect refresh bit type, compare the priority levels of each effect, and determine whether the candidate switching effect corresponding to the effect enumeration value is the same as the current effect, thereby determining the target switching effect to be switched.

[0078] 203. Perform an asynchronous graphic effect switching operation according to the target switching graphic effect and a preset graphic effect thread pool to obtain a graphic effect switching result.

[0079] Specifically, after the display control device determines the target switching graphic effect to be switched in the graphic effect screening thread, it also performs multi-threaded asynchronous switching on the target switching graphic effect through a preset graphic effect thread pool to generate a graphic effect switching result.

[0080] Specifically, after obtaining the target switching graphic effect to be switched in the graphic effect switching request, the display control device also obtains the update refresh flag of the target switching graphic effect, and adds the target switching graphic effect and the update refresh flag to the graphic effect class common memory to obtain the updated graphic effect class common memory. That is, the display control device updates the target switching graphic effect to the graphic effect class common memory, and generates a corresponding update refresh flag for the target switching graphic effect as a mark to obtain the updated graphic effect class common memory.

[0081] Specifically, the display control device also pre-creates an asynchronous listening thread for monitoring the graphics switching thread. The asynchronous listening thread can periodically judge the refresh flag of the graphics class public memory or the updated graphics class public memory, call the refresh graphics function, and unify the data confusion that may be caused by the multi-threaded graphics switching process, or the jamming of queuing for resources.

[0082] Specifically, after generating the common memory of the graphic effect class, the display control device also uses the asynchronous listening thread and the update graphic effect class function memory to add the update refresh flag of the target switching graphic effect to the update graphic effect switching queue. The update graphic effect switching queue is a graphic effect queue configured to sort the target switching graphic effects for the display control device to switch the graphic effect.

[0083] Specifically, after adding the update flag to the update effect switching queue, the display control device also performs asynchronous effect switching processing on the target switching effect according to the preset effect thread pool and the update effect queue to obtain the effect switching result. That is, the display control device obtains the current target switching effect to be switched based on the update refresh flag in the update effect switching queue, as well as the effect sub-parameters corresponding to the target switching effect, and uses the preset effect thread pool and the effect sub-parameters to perform asynchronous effect updates on the current display effect, that is, the display control device allocates a corresponding thread to each effect sub-parameter through the preset effect thread pool, uses the thread to load the effect sub-parameter to implement asynchronous effect updates, and obtains the effect switching result, thereby effectively improving the speed of refreshing the effect and avoiding affecting the user's viewing experience due to slow changes in the picture.

[0084] In this embodiment, the display control device obtains the image effect switching data corresponding to the image effect switching request by responding to the image effect switching request; performs image effect screening according to the image effect enumeration value in the image effect switching data to determine the target switching image effect in the image effect switching data; performs asynchronous image effect switching operation according to the target switching image effect and the preset image effect thread pool to obtain the image effect switching result. When receiving the image effect switching request, the image effect switching data corresponding to the image effect switching request is obtained, and the image effect enumeration value in the image effect switching data is locked and the locked image effect enumeration value is used to screen the image effect, so as to determine the target switching image effect in the image effect switching data that actually needs to perform the switching operation, and the target switching image effect and the preset image effect thread pool are used to perform asynchronous image effect switching, thereby effectively reducing the image effect refresh efficiency, improving the image effect switching accuracy, and effectively improving the image effect refresh speed, so as to optimize the user's intelligent display terminal image effect usage experience.

[0085] like Figure 3 As shown, Figure 3This is a flow chart of an embodiment of performing image effect screening in the display control method provided in the embodiment of the present application. Specifically, in this embodiment, the display control method further includes steps 301 to 303:

[0086] 301. If a first image effect refresh bit exists in the image effect refresh bits, and a first candidate switching image effect corresponding to the first image effect refresh bit is different from the currently displayed image effect, determining the first candidate switching image effect as a first target switching image effect;

[0087] 302. If all the graphic effect refresh bits are the second graphic effect refresh bits, compare the graphic effect priorities to obtain a target graphic effect priority and a second candidate switching graphic effect corresponding to the target graphic effect priority;

[0088] 303. If the second candidate switching graphic effect is different from the currently displayed graphic effect, determine the second candidate switching graphic effect as the second target switching graphic effect.

[0089] Based on the above embodiments, in this embodiment, after the display control device obtains the graphic effect priority associated with each locked graphic effect enumeration value and the graphic effect refresh bit corresponding to the locked graphic effect enumeration value, the display control device uses the graphic effect screening thread to asynchronously identify the graphic effect refresh bit type, and compares the priorities of each graphic effect, and determines whether the candidate switching graphic effect corresponding to the graphic effect enumeration value is the same as the current graphic effect, thereby determining the target switching graphic effect to be switched.

[0090] Specifically, the display control device identifies each graphic effect refresh bit, and determines whether the graphic effect refresh bit corresponding to the candidate switching graphic effect is the first graphic effect refresh bit. Among them, the first graphic effect refresh bit is a refresh bit parameter that characterizes that the graphic effect refresh bit of the candidate switching graphic effect is a forced refresh bit. After the display control device determines that there is a first candidate switching graphic effect whose graphic effect refresh bit is the first graphic effect refresh bit among the candidate switching graphic effects, the first candidate switching graphic effect is compared with the currently displayed graphic effect. If the first candidate switching graphic effect is different from the currently displayed graphic effect, the first candidate switching graphic effect is determined as the first target switching graphic effect.

[0091] Optionally, in other embodiments, if the number of the first candidate switching effect is multiple, that is, there are multiple first candidate switching effects whose effect refresh bits are the first effect refresh bits, and the first candidate switching effect is different from the currently displayed effect, then the display control device sorts the first candidate switching effects according to their effect priority, and sets the first candidate switching effects as the first target switching effect in order of priority.

[0092] Optionally, if the display control device determines that the image effect refresh bit of each candidate switching image effect is the second image effect refresh bit, then the image effect refresh type of each candidate switching image effect is determined to be a common image effect refresh type, and the display control device compares the image effect priorities of each candidate switching image effect, sets the image effect with the highest priority as the target image effect priority, and obtains the second candidate switching image effect corresponding to the target image effect priority. The second candidate switching image effect is a candidate switching image effect whose image effect refresh type is a common image effect refresh type and has the highest image effect priority in this image effect attribute process.

[0093] Specifically, after obtaining the second candidate switching effect, the display control device compares the second candidate switching effect with the current display effect. When it is determined that the second candidate switching effect is different from the current display effect, the second candidate switching effect is determined as the second target switching effect to be switched.

[0094] In this embodiment, the display control device determines the first candidate switching effect as the first target switching effect by confirming that there is a first graphic effect refresh bit in the graphic effect refresh bit, and the first candidate switching graphic effect corresponding to the first graphic effect refresh bit is different from the currently displayed graphic effect; if each of the graphic effect refresh bits is a second graphic effect refresh bit, then the graphic effect priorities are compared to obtain the target graphic effect priority and the second candidate switching graphic effect corresponding to the target graphic effect priority; if the second candidate switching graphic effect is different from the currently displayed graphic effect, then the second candidate switching graphic effect is determined as the second target switching graphic effect. The graphic effect screening is implemented for the candidate switching graphic effects corresponding to the graphic effect switching request, thereby reducing the number of graphic effect refreshes and avoiding abnormal graphic effect switching timing.

[0095] like Figure 4 As shown, Figure 4 This is a flow chart of an embodiment of switching image effects in the display control method provided in the embodiment of the present application. Specifically, in this embodiment, the display control method further includes steps 401 to 402:

[0096] 401. Drive the preset graphic effect thread pool to configure a graphic effect switching thread corresponding to the graphic effect sub-parameter;

[0097] 402. Utilize each of the graphic effect switching threads to asynchronously update the graphic effect sub-parameters to obtain a graphic effect switching result.

[0098] Based on the above embodiments, in this embodiment, after the display control device adds the update flag to the update effect switching queue, it also performs asynchronous effect switching processing on the target switching effect according to the preset effect thread pool and the update effect queue to obtain the effect switching result. That is, the display control device obtains the current target switching effect to be switched based on the update refresh flag in the update effect switching queue, as well as the effect sub-parameters corresponding to the target switching effect, and uses the preset effect thread pool and the effect sub-parameters to perform asynchronous effect updates on the current display effect, that is, the display control device allocates corresponding threads to each effect sub-parameter through the preset effect thread pool, uses the thread to load the effect sub-parameter to implement asynchronous effect updates, and obtains the effect switching result, thereby effectively improving the speed of refreshing the effect and avoiding the slow changes in the picture affecting the user's viewing experience.

[0099] Specifically, after obtaining the graphic effect sub-parameters of the target switching graphic effect, the display control device also configures the corresponding graphic effect switching thread for the graphic effect sub-parameters according to the preset graphic effect thread pool, that is, the display control device obtains the idle graphic effect thread in the preset graphic effect thread pool, and configures the idle graphic effect thread according to the graphic effect sub-parameters, to obtain each graphic effect switching thread that executes asynchronous update of the graphic effect parameters for the graphic effect sub-thread.

[0100] Specifically, after obtaining the graphic effect switching thread, the display control device uses each graphic effect switching thread to asynchronously update the graphic effect sub-parameters, that is, uses each graphic effect switching thread to asynchronously switch the graphic effect sub-parameters of the currently displayed graphic effect to the graphic effect sub-parameters corresponding to the target switching graphic effect, and obtains the graphic effect switching result, thereby improving the refresh speed of the graphic effect and avoiding affecting the user's viewing experience due to slow changes in the picture.

[0101] Specifically, after obtaining the successful graphic effect switching result, the display control device restores the graphic effect switching thread to an idle graphic effect thread, and puts the idle graphic effect thread back into the preset graphic effect thread pool to improve the utilization rate of the graphic effect thread.

[0102] In this embodiment, the display control device drives the preset graphic effect thread pool to configure the corresponding graphic effect switching thread for the graphic effect sub-parameter; and uses each of the graphic effect switching threads to asynchronously update the graphic effect sub-parameter to obtain a graphic effect switching result. This realizes asynchronous parallel configuration of multiple graphic effect sub-parameters, improves the speed of refreshing graphic effects, and avoids affecting the user's viewing experience due to slow changes in the picture.

[0103] In order to better implement the display control method in the embodiment of the present application, based on the display control method, a display control device is also provided in the embodiment of the present application, such as Figure 5 As shown, Figure 5This is a schematic diagram of the structure of an embodiment of a display control device provided in an embodiment of the present application. Specifically, the display control device 500 includes:

[0104] The request receiving module 501 is configured to respond to a graphic effect switching request and obtain graphic effect switching data corresponding to the graphic effect switching request;

[0105] The graphic effect screening module 502 is configured to screen graphic effects according to the graphic effect enumeration value in the graphic effect switching data, and determine the target switching graphic effect in the graphic effect switching data;

[0106] The graphic effect switching module 503 is configured to perform an asynchronous graphic effect switching operation according to the target switching graphic effect and a preset graphic effect thread pool to obtain a graphic effect switching result.

[0107] In a possible implementation of this embodiment, the display control device performs image effect screening according to the image effect enumeration value in the image effect switching data to determine the target switching image effect in the image effect switching data, including:

[0108] Obtaining a graphic effect enumeration value in the graphic effect switching data, wherein each of the graphic effect enumeration values ​​corresponds to a candidate switching graphic effect;

[0109] The graphic effect enumeration value is locked by using a preset thread lock to obtain a locked graphic effect enumeration value;

[0110] The image effects are screened according to the currently displayed image effects and the locked image effect enumeration value to determine the target switching image effect to be switched.

[0111] In a possible implementation of this embodiment, the display control device performs image effect screening according to the current display image effect and the locked image effect enumeration value to determine the target switching image effect to be switched, including:

[0112] Obtaining the graphic effect priority associated with the locked graphic effect enumeration value and the graphic effect refresh bit associated with the locked graphic effect enumeration value;

[0113] Graphics effects are screened according to the graphic effect priority, the graphic effect refresh position and the currently displayed graphic effect to determine a target switching graphic effect to be switched.

[0114] In a possible implementation of this embodiment, the target switching graphic effect in the display control device includes a first switching graphic effect and a second switching graphic effect;

[0115] The display control device performs image effect screening according to the image effect priority, the image effect refresh position and the current display image effect to determine a target switching image effect to be switched, including:

[0116] If there is a first image effect refresh bit in the image effect refresh bits, and the first candidate switching image effect corresponding to the first image effect refresh bit is different from the currently displayed image effect, determining the first candidate switching image effect as the first target switching image effect;

[0117] If all of the image effect refresh bits are the second image effect refresh bits, then comparing the image effect priorities to obtain a target image effect priority and a second candidate switching image effect corresponding to the target image effect priority;

[0118] If the second candidate switching graphic effect is different from the currently displayed graphic effect, the second candidate switching graphic effect is determined as the second target switching graphic effect.

[0119] In a possible implementation of this embodiment, the display control device performs an asynchronous graphic effect switching operation according to the target switching graphic effect and the preset graphic effect thread pool to obtain a graphic effect switching result, including:

[0120] Obtaining an update refresh flag of the target switching graphic effect, adding the target switching graphic effect and the update refresh flag to a graphic effect class common memory, and obtaining an update graphic effect class common memory;

[0121] Using a preset asynchronous listening thread and the update effect class public memory, the update refresh flag of the target switching effect is added to the update effect switching queue to obtain the update effect switching queue;

[0122] Asynchronous graphic effect switching processing is performed on the target switching graphic effect according to the preset graphic effect thread pool and the updated graphic effect switching queue to obtain a graphic effect switching result.

[0123] In a possible implementation of this embodiment, the display control device performs asynchronous image effect switching processing on the target switching image effect according to the preset image effect thread pool and the update image effect switching queue to obtain an image effect switching result, including:

[0124] Acquire the graphic effect sub-parameter of the target switching graphic effect based on the update refresh flag in the update graphic effect switching queue;

[0125] Asynchronously update the current display graphic effect according to the preset graphic effect thread pool and the graphic effect sub-parameters to obtain a graphic effect switching result.

[0126] In a possible implementation of this embodiment, the display control device asynchronously updates the current display graphic effect according to the preset graphic effect thread pool and the graphic effect sub-parameter to obtain a graphic effect switching result, including:

[0127] Drive the preset graphic effect thread pool to configure a graphic effect switching thread corresponding to the graphic effect sub-parameter;

[0128] The graphic effect switching threads are used to asynchronously update the graphic effect sub-parameters to obtain a graphic effect switching result.

[0129] In this embodiment, the display control device obtains the image effect switching data corresponding to the image effect switching request by responding to the image effect switching request; performs image effect screening according to the image effect enumeration value in the image effect switching data to determine the target switching image effect in the image effect switching data; performs asynchronous image effect switching operation according to the target switching image effect and the preset image effect thread pool to obtain the image effect switching result. When receiving the image effect switching request, the image effect switching data corresponding to the image effect switching request is obtained, and the image effect enumeration value in the image effect switching data is locked and the locked image effect enumeration value is used to screen the image effect, so as to determine the target switching image effect in the image effect switching data that actually needs to perform the switching operation, and the target switching image effect and the preset image effect thread pool are used to perform asynchronous image effect switching, thereby effectively reducing the image effect refresh efficiency, improving the image effect switching accuracy, and effectively improving the image effect refresh speed, so as to optimize the user's intelligent display terminal image effect usage experience.

[0130] The embodiment of the present invention also provides a display control device, such as Figure 6 As shown, Figure 6 A schematic diagram of the structure of an embodiment of a display control device provided in an embodiment of the present application.

[0131] The display control device integrates any one of the display control devices provided in the embodiments of the present invention, and the display control device includes:

[0132] one or more processors;

[0133] Memory; and

[0134] One or more applications, wherein the one or more applications are stored in the memory and are configured so that the processor executes the steps of the display control method described in any of the above display control method embodiments.

[0135] Specifically, the display control device may include one or more processing core processors 601, one or more computer-readable storage media memories 602, a power supply 603, an input unit 604, and other components. Those skilled in the art will appreciate that Figure 6 The display control device structure shown in the figure does not constitute a limitation on the display control device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0136] The processor 601 is the control center of the display control device. It uses various interfaces and lines to connect the various parts of the entire display control device. By running or executing software programs and / or modules stored in the memory 602, and calling the data stored in the memory 602, it executes various functions of the display control device and processes data, thereby monitoring the display control device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

[0137] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the display control device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0138] The display control device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 603 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0139] The display control device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0140] Although not shown, the display control device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 601 in the display control device will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the application programs stored in the memory 602, thereby realizing various functions, as follows:

[0141] In response to a graphic effect switching request, obtaining graphic effect switching data corresponding to the graphic effect switching request;

[0142] Screening the graphic effects according to the graphic effect enumeration value in the graphic effect switching data to determine the target switching graphic effect in the graphic effect switching data;

[0143] An asynchronous graphic effect switching operation is performed according to the target switching graphic effect and the preset graphic effect thread pool to obtain a graphic effect switching result.

[0144] To this end, an embodiment of the present invention provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any display control method provided in an embodiment of the present invention. For example, the computer program can be loaded by a processor to execute the following steps:

[0145] In response to a graphic effect switching request, obtaining graphic effect switching data corresponding to the graphic effect switching request;

[0146] Screening the graphic effects according to the graphic effect enumeration value in the graphic effect switching data to determine the target switching graphic effect in the graphic effect switching data;

[0147] An asynchronous graphic effect switching operation is performed according to the target switching graphic effect and the preset graphic effect thread pool to obtain a graphic effect switching result.

[0148] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

[0149] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.

[0150] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0151] The above is a detailed introduction to a display control method provided in an embodiment of the present application. Specific embodiments are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A display control method, characterized in that: The display control method comprises: In response to a graphic effect switching request, obtaining graphic effect switching data corresponding to the graphic effect switching request; Screening the graphic effects according to the graphic effect enumeration value in the graphic effect switching data to determine the target switching graphic effect in the graphic effect switching data; An asynchronous graphic effect switching operation is performed according to the target switching graphic effect and the preset graphic effect thread pool to obtain a graphic effect switching result.

2. The display control method according to claim 1, characterized in that: The step of screening the graphic effects according to the graphic effect enumeration value in the graphic effect switching data to determine the target switching graphic effect in the graphic effect switching data includes: Obtaining a graphic effect enumeration value in the graphic effect switching data, wherein each of the graphic effect enumeration values ​​corresponds to a candidate switching graphic effect; The graphic effect enumeration value is locked by using a preset thread lock to obtain a locked graphic effect enumeration value; The image effects are screened according to the currently displayed image effects and the locked image effect enumeration value to determine the target switching image effect to be switched.

3. The display control method according to claim 2, characterized in that: The image effect screening is performed according to the current display image effect and the locked image effect enumeration value to determine the target switching image effect to be switched, including: Obtaining the graphic effect priority associated with the locked graphic effect enumeration value and the graphic effect refresh bit associated with the locked graphic effect enumeration value; Graphics effects are screened according to the graphic effect priority, the graphic effect refresh position and the currently displayed graphic effect to determine a target switching graphic effect to be switched.

4. The display control method according to claim 3, characterized in that: The target switching graphic effect includes a first target switching graphic effect and a second target switching graphic effect; The performing image effect screening according to the image effect priority, the image effect refresh position and the currently displayed image effect to determine a target switching image effect to be switched includes: If there is a first image effect refresh bit in the image effect refresh bits, and the first candidate switching image effect corresponding to the first image effect refresh bit is different from the currently displayed image effect, determining the first candidate switching image effect as the first target switching image effect; If all of the image effect refresh bits are the second image effect refresh bits, then comparing the image effect priorities to obtain a target image effect priority and a second candidate switching image effect corresponding to the target image effect priority; If the second candidate switching graphic effect is different from the currently displayed graphic effect, the second candidate switching graphic effect is determined as the second target switching graphic effect.

5. The display control method according to any one of claims 1 to 4, characterized in that: The step of performing an asynchronous image effect switching operation according to the target switching image effect and the preset image effect thread pool to obtain an image effect switching result includes: Obtaining an update refresh flag of the target switching graphic effect, adding the target switching graphic effect and the update refresh flag to a graphic effect class common memory, and obtaining an update graphic effect class common memory; Using a preset asynchronous listening thread and the update effect class public memory, the update refresh flag of the target switching effect is added to the update effect switching queue to obtain the update effect switching queue; Asynchronous graphic effect switching processing is performed on the target switching graphic effect according to the preset graphic effect thread pool and the updated graphic effect switching queue to obtain a graphic effect switching result.

6. The display control method according to claim 5, characterized in that: The asynchronously switching the target switching graphic effect according to the preset graphic effect thread pool and the updated graphic effect switching queue to obtain the graphic effect switching result includes: Acquire the graphic effect sub-parameter of the target switching graphic effect based on the update refresh flag in the update graphic effect switching queue; Asynchronously update the current display graphic effect according to the preset graphic effect thread pool and the graphic effect sub-parameters to obtain a graphic effect switching result.

7. The display control method according to claim 6, characterized in that: The asynchronously updating the current display graphic effect according to the preset graphic effect thread pool and the graphic effect sub-parameter to obtain the graphic effect switching result includes: Drive the preset graphic effect thread pool to configure a graphic effect switching thread corresponding to the graphic effect sub-parameter; The graphic effect switching threads are used to asynchronously update the graphic effect sub-parameters to obtain a graphic effect switching result.

8. A display control device, characterized in that: The display control device comprises: A request receiving module is configured to respond to a graphic effect switching request and obtain graphic effect switching data corresponding to the graphic effect switching request; A graphic effect screening module is configured to screen graphic effects according to the graphic effect enumeration value in the graphic effect switching data, and determine a target switching graphic effect in the graphic effect switching data; The graphic effect switching module is configured to perform an asynchronous graphic effect switching operation according to the target switching graphic effect and a preset graphic effect thread pool to obtain a graphic effect switching result.

9. A display control device, characterized in that: The display control device comprises: one or more processors; Memory; and One or more application programs, wherein the one or more application programs are stored in the memory and are configured to be executed by the processor to implement the steps of the display control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps of the display control method according to any one of claims 1 to 7.