CN116246589A - Control method, device, equipment and storage medium - Google Patents

Control method, device, equipment and storage medium Download PDF

Info

Publication number
CN116246589A
CN116246589A CN202310215599.XA CN202310215599A CN116246589A CN 116246589 A CN116246589 A CN 116246589A CN 202310215599 A CN202310215599 A CN 202310215599A CN 116246589 A CN116246589 A CN 116246589A
Authority
CN
China
Prior art keywords
refresh
mode
display interface
refreshing
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310215599.XA
Other languages
Chinese (zh)
Inventor
贲永增
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202310215599.XA priority Critical patent/CN116246589A/en
Publication of CN116246589A publication Critical patent/CN116246589A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3433Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices
    • G09G3/344Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices based on particles moving in a fluid or in a gas, e.g. electrophoretic devices
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0257Reduction of after-image effects
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The disclosure provides a control method, a control device and a storage medium, wherein the control device is used for determining that electronic equipment is in a first refresh mode; determining that the change quantity of the display interface meets a preset condition, and refreshing the display interface of the electronic equipment in a second refreshing mode; the first refreshing mode performs display refreshing by directly updating the pixels at the positions to be refreshed into target pixel values, and the second refreshing mode performs display refreshing by updating all the pixels of the display interface into the first values and then into the target pixel values, so that the best refreshing time can be automatically selected, the situation that the display effect is poor due to the fact that the residual shadow of the ink screen is overweight is avoided, and the experience of a user is improved.

Description

Control method, device, equipment and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a control method, a control device, and a storage medium.
Background
The display principle of the ink screen is different from that of a common display screen, so that the refresh speed of the ink screen is slower. The refresh mode of the ink screen generally includes: clear mode, fluent mode, fast mode, global mode, etc. In different refresh modes, the display effect and refresh speed of the ink screen are different.
In the clear mode, the smooth mode or the fast mode, after a period of use, the screen can leave a ghost image to influence the user experience, and in the prior art, the global mode is used for global refreshing every fixed time to eliminate the ghost image left by the previous mode. However, the refresh mode may cause poor display effect of the ink screen device, and seriously affect the experience of the user.
Disclosure of Invention
The present disclosure provides a control method, apparatus, device, and storage medium, to at least solve the above technical problems in the prior art.
According to a first aspect of the present disclosure, there is provided a control method including:
determining that the electronic device is in a first refresh mode;
determining that the change quantity of the display interface meets a preset condition, and refreshing the display interface of the electronic equipment in a second refreshing mode;
the first refresh mode performs display refresh by directly updating the pixels at the positions to be refreshed to the target pixel values, and the second refresh mode performs display refresh by updating all the pixels of the display interface to the first values and then to the target pixel values.
In an embodiment, the determining that the change amount of the display interface meets the preset condition includes:
And determining the refresh amount of each frame of display interface, and refreshing the display interface of the electronic equipment based on a second refresh mode if the accumulated refresh amount of the multi-frame display interface meets a preset refresh threshold.
In an embodiment, the determining the refresh rate of the display interface per frame includes:
if the refreshing quantity and/or refreshing area of the pixels of a frame of display interface exceeds a first preset threshold, determining that the frame accumulation count is valid, and accumulating the refreshing quantity, otherwise, not accumulating.
In an embodiment, the method further comprises:
if the one-frame display interface is set to be in a dark color mode;
or alternatively, the process may be performed,
and if the current color of the frame of display interface meets the color threshold range, carrying out accumulated counting according to a preset first accumulated weighting mode.
In an embodiment, the method further comprises:
and if the change of the operation interface of the one-frame display interface is detected, performing accumulated counting according to a preset second accumulated weighting mode, wherein the first accumulated weighting mode is different from the second accumulated weighting mode.
In an embodiment, if the accumulated refresh amount of the multi-frame display interface meets the preset refresh threshold, refreshing the display interface of the electronic device based on the second refresh mode, further includes:
Detecting whether a user operation instruction exists;
and when the user operation instruction is not detected, refreshing the display interface of the electronic equipment based on a second refreshing mode.
In an embodiment, the determining that the electronic device is in the first refresh mode includes:
when the electronic equipment is in a first sub-refresh mode and a sliding operation is detected, switching to a second sub-refresh mode; and/or the number of the groups of groups,
when the electronic equipment is in a second sub-refresh mode and the sliding operation stopping is detected, switching to a first sub-refresh mode;
wherein the first sub-refresh mode has a first refresh rate and the second sub-refresh mode has a second refresh rate, the first refresh rate being less than the second refresh rate.
According to a second aspect of the present disclosure, there is provided a control apparatus including:
the first determining module is used for determining that the electronic equipment is in a first refreshing mode;
the second determining module is used for determining that the change quantity of the display interface meets a preset condition and refreshing the display interface of the electronic equipment in a second refreshing mode;
the first refresh mode performs display refresh by directly updating the pixels at the positions to be refreshed to the target pixel values, and the second refresh mode performs display refresh by updating all the pixels of the display interface to the first values and then to the target pixel values.
In an embodiment, the second determining module is specifically configured to:
and determining the refresh amount of each frame of display interface, and refreshing the display interface of the electronic equipment based on a second refresh mode if the accumulated refresh amount of the multi-frame display interface meets a preset refresh threshold.
In an embodiment, the second determining module is specifically configured to:
if the refreshing quantity and/or refreshing area of the pixels of a frame of display interface exceeds a first preset threshold, determining that the frame accumulation count is valid, and accumulating the refreshing quantity, otherwise, not accumulating.
In an embodiment, the second determining module is specifically further configured to:
if the one-frame display interface is set to be in a dark color mode;
or alternatively, the process may be performed,
and if the current color of the frame of display interface meets the color threshold range, carrying out accumulated counting according to a preset first accumulated weighting mode.
In an embodiment, the second determining module is specifically further configured to:
and if the change of the operation interface of the one-frame display interface is detected, performing accumulated counting according to a preset second accumulated weighting mode, wherein the first accumulated weighting mode is different from the second accumulated weighting mode.
In an embodiment, the second determining module is specifically further configured to:
detecting whether a user operation instruction exists;
and when the user operation instruction is not detected, refreshing the display interface of the electronic equipment based on a second refreshing mode.
In an embodiment, the first determining module is specifically further configured to:
when the electronic equipment is in a first sub-refresh mode and a sliding operation is detected, switching to a second sub-refresh mode; and/or the number of the groups of groups,
when the electronic equipment is in a second sub-refresh mode and the sliding operation stopping is detected, switching to a first sub-refresh mode;
wherein the first sub-refresh mode has a first refresh rate and the second sub-refresh mode has a second refresh rate, the first refresh rate being less than the second refresh rate.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods described in the present disclosure.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of the present disclosure.
The control method, the device, the equipment and the storage medium of the present disclosure determine that the electronic equipment is in a first refresh mode; determining that the change quantity of the display interface meets a preset condition, and refreshing the display interface of the electronic equipment in a second refreshing mode; the first refreshing mode performs display refreshing by directly updating the pixels at the positions to be refreshed into target pixel values, and the second refreshing mode performs display refreshing by updating all the pixels of the display interface into the first values and then into the target pixel values, so that the best refreshing time can be automatically selected, the situation that the display effect is poor due to the fact that the residual shadow of the ink screen is overweight is avoided, and the experience of a user is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings, in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Fig. 1A illustrates an implementation flow diagram of a control method provided by an embodiment of the present disclosure;
fig. 1B illustrates a schematic implementation flow diagram of yet another control method provided by an embodiment of the disclosure;
fig. 1C illustrates a schematic implementation flow diagram of yet another control method provided by an embodiment of the present disclosure;
fig. 1D illustrates a schematic implementation flow diagram of yet another control method provided by an embodiment of the present disclosure;
fig. 1E illustrates a schematic implementation flow diagram of yet another control method provided by an embodiment of the present disclosure;
fig. 1F illustrates a schematic implementation flow diagram of yet another control method provided by an embodiment of the present disclosure;
FIG. 2 illustrates a schematic implementation flow diagram of an exemplary control method provided by an embodiment of the present disclosure;
FIG. 3 illustrates a schematic implementation flow diagram of an exemplary control method provided by an embodiment of the present disclosure;
Fig. 4 shows a schematic structural diagram of a control device according to an embodiment of the present disclosure;
fig. 5 shows a schematic diagram of a composition structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present disclosure more comprehensible, the technical solutions in the embodiments of the present disclosure will be clearly described in conjunction with the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person skilled in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
Fig. 1A is a flowchart of a control method provided by an embodiment of the present disclosure, where the method may be performed by a control device provided by an embodiment of the present disclosure, and the device may be implemented in software and/or hardware. The method specifically comprises the following steps:
s110, determining that the electronic device is in a first refresh mode.
The first refresh mode performs display refresh by directly updating the pixel at the position to be refreshed to the target pixel value. The to-be-refreshed position refers to a position where the pixel value needs to be changed when the interface is changed, and specifically, each pixel point where the pixel value needs to be changed. The target pixel value refers to the pixel value of the pixel point of the position to be refreshed that is about to be changed. For example, the display gray scale of the ink screen includes 16 kinds, and thus, the target pixel value may be set to any one of the 16 kinds of gray scales. In one example, the gray scale value of the pixel at the target position (x, y) of the display interface is 12 and updated to 15, and then the pixel value at the position is directly updated to 15, and the pixel values at other positions are not changed.
Exemplary, the first refresh mode includes, but is not limited to, a clear mode GL, a fluent mode DU, and a fast mode A2. The clear mode GL is characterized in that refreshing is slower, for example, 1S refreshing is performed twice, but the display effect is best, and 16 gray scales can be displayed, and the display mode GL uses scenes such as text reading and graphic static display scenes; the fluent mode DU is characterized in that the refreshing speed is slightly faster than that of the clear mode GL, but only black and white two colors can be displayed, and the fluent mode DU is generally used for a use scene of pure characters; the fast mode A2 has the characteristics of fast refreshing speed, for example, 1S refreshing for 8 to 12 times, is suitable for application scenes of sliding operation or continuous operation, and ensures smoother sliding process. The embodiment can automatically select the refreshing mode of the optimal screen according to the specific use scene.
S120, determining that the change amount of the display interface meets the preset condition, and refreshing the display interface of the electronic device in a second refreshing mode, namely refreshing the display interface based on the second refreshing mode.
The second refresh mode performs display refresh by updating all pixels of the display interface to the first value and then to the target pixel value. The first value may be one pixel value or may be a plurality of pixel values, for example, in this embodiment, all pixels of the display interface may be updated to a pixel value a and then updated to a target pixel value; alternatively, the present embodiment may update all pixels of the display interface to the pixel value a, update the pixels to the pixel value B and the pixel value a sequentially, and update the pixels to the target pixel value. Illustratively, the second refresh mode includes, but is not limited to, a global mode GU. In one example, the second refresh mode may update all pixels of the display screen to white pixel values, then to black pixel values, then to white pixel values, and finally to the target pixel values.
The display interface variation can include the variation condition of pixels in the display interface, and the preset condition can be a condition designed according to the attribute characteristics of different types of ink screens, for example, the variation of pixels in the display interface can be set to be 3/4 area of the full screen; for example, the pixel change amount of the display interface may be set to be 1/2 of the full screen area, and the specific conditions are not limited in this embodiment.
Specifically, the embodiment is divided into two types of refresh modes according to the characteristics of the refresh modes, including a first refresh mode and a second refresh mode. The first refresh mode has the common characteristic that when the display interface is refreshed, only pixels which have changes relative to the previous frame picture in the currently refreshed image frame are refreshed. However, since the pixels in the ink screen are charged black and white particles, the pixels will be affected by each other, and an afterimage will be generated, so the second refresh mode will be used to keep the display interface clean. In the second refresh mode, all pixels on the screen are updated in the currently refreshed image frame. Illustratively, consider the global pattern GU, whose color changes to: all pixels of the screen are refreshed to white, then all pixels are refreshed to black, then all pixels are refreshed to white, and then the pixels are refreshed to the corresponding color of the target pixel value, so that the first value is refreshed to show a white-black-white flickering visual effect.
The embodiment adopts the second refreshing mode, so that the residual shadows of the previous display interface can be cleaned off effectively, and the embodiment automatically carries out the second refreshing mode under the condition that the variation of the display interface meets the preset condition by setting the preset condition, so that the optimal refreshing time can be selected flexibly and automatically, and the optimal display effect is ensured to be presented.
In an embodiment, step S120, determining that the display interface variation satisfies the preset condition includes: determining a refresh rate of each frame of display interface, and if the accumulated refresh rate of the multi-frame display interface meets a preset refresh threshold, refreshing the display interface of the electronic device in a second refresh mode, as shown in fig. 1B, where fig. 1B is a flow chart of another control method provided by an embodiment of the disclosure, and specifically includes:
s110, determining that the electronic device is in a first refresh mode.
S120a, determining the refresh rate of each frame of display interface, and refreshing the display interface based on the second refresh mode if the accumulated refresh rate of the multi-frame display interface meets a preset refresh threshold.
The preset refresh threshold may be a threshold designed according to the attribute characteristics of different types of ink screens, for example, the preset refresh threshold may be set to 10 refresh amounts or 5 refresh amounts, and the specific numerical value of the preset refresh threshold is not limited in this embodiment. The refresh amount may refer to the refresh amount by which the display interface performs refresh of all pixel values, or the refresh amount of pixels of the display interface, or the refresh area of the display interface, and so on.
Specifically, because the first refresh mode is characterized in that a mode of directly updating the pixel at the position to be refreshed into the target pixel value retains a part of ghost, and the more the refresh amount is accumulated, the more the ghost is obvious, so that the refresh amount of the multi-frame display interface is accumulated, and when the refresh amount meets the preset refresh threshold, the second refresh mode refresh is automatically performed on the display interface of the electronic device, thereby purifying the display interface.
In one embodiment, determining the refresh rate of the display interface per frame includes: if the refresh quantity and/or refresh area of the pixels of a frame of display interface exceeds a first preset threshold, determining that the frame accumulation count is valid, and accumulating the refresh quantity, otherwise, not accumulating, as shown in fig. 1C. Fig. 1C is a schematic flow chart of another control method according to an embodiment of the disclosure, which specifically includes:
s110, determining that the electronic device is in a first refresh mode.
And S120aa, if the pixel refreshing quantity and/or the refreshing area of a frame of display interface exceed a first preset threshold value, determining that the frame accumulation count is valid, and accumulating the refreshing quantity, otherwise, not accumulating.
And S120ab, refreshing the display interface based on the second refreshing mode if the accumulated refreshing quantity of the multi-frame display interface meets a preset refreshing threshold value.
The pixel refreshing quantity is a consideration reference of the pixel points, and the refreshing area is a consideration reference according to the area where the pixel points are changed. If the consideration is carried out according to the pixel refreshing quantity, the first preset threshold value can be set as a pixel point threshold value; if the consideration is performed according to the refresh area, the first preset threshold value may be set as the refresh area threshold value.
Specifically, if the pixel refreshing quantity of a frame of display interface exceeds a pixel point threshold value, determining that the frame accumulating count is effective, and accumulating the refreshing quantity; or if the refresh area of the display interface of one frame exceeds the refresh area threshold, determining that the frame accumulation count is valid, and accumulating the refresh amount.
Illustratively, the refresh area is illustrated as 3/4 of the full screen area. The embodiment obtains the refreshing area of the screen to be refreshed of the display interface in real time, and particularly can directly obtain the refreshing area through the length and the width of the screen to be refreshed, and accumulates the refreshing area of each screen; when the refresh area of the accumulated screen refresh area reaches 3/4 of the full screen area, the accumulated count is carried out, and after the count, the refresh area of each screen refresh area is accumulated again from the refresh area of the screen refresh area acquired next time. Specifically, for example, if the user uses the electronic device to read text, half of the display interface is a text portion and the other half is a dictionary portion, so that the number of times of refreshing the dictionary portion interface is large. Therefore, in the specific use process, the refreshing area of the dictionary part interface for the first time is 1/2 and is not counted; the second refresh area is 1/2, and the refresh amount is accumulated to be 1 because the accumulated area is larger than 3/4; the third refresh area is accumulated again to be 1/2, the count is not performed, the fourth refresh area is 1/2, and the accumulated area is larger than 3/4, so that the refresh amount is accumulated, the count is 2, and the like, and the repeated description is omitted.
Because the residual shadow when the ink screen is refreshed is related to the refresh amount of each pixel point in the display interface, the embodiment provides a refresh amount accumulating mode, which can directly calculate through the pixel points and also calculate through the refresh area, and can effectively and reasonably accumulate the refresh amount.
In an embodiment, the control method provided in this embodiment further includes: if the setting of a frame of display interface is in a dark color mode; or if the current color of the display interface of one frame meets the color threshold range, performing accumulated counting according to a preset first accumulated weighting mode, as shown in fig. 1D. Fig. 1D is a schematic flow chart of another control method according to an embodiment of the disclosure, which specifically includes:
s110, determining that the electronic device is in a first refresh mode.
And S120aa, if the pixel refreshing quantity and/or the refreshing area of a frame of display interface exceed a first preset threshold value, determining that the frame accumulation count is valid, and accumulating the refreshing quantity, otherwise, not accumulating.
S130, if the display interface of one frame is set to be in a dark color mode; or if the current color of the one-frame display interface meets the color threshold range, performing accumulated counting according to a preset first accumulated weighting mode.
And S140, refreshing the display interface based on the second refreshing mode if the accumulated refreshing quantity of the multi-frame display interface meets a preset refreshing threshold. The dark color mode refers to a display mode that the electronic device can select, for example, during night or in a dark light condition. The color threshold range may be set according to the afterimage condition left after the first refresh mode of the different types of ink screens, for example, a pixel value range from dark gray pixel value to black pixel value may be set. Generally, the darker the color, the heavier the ghost; for the same pixel value, the ink screen with good refreshing effect has light afterimage.
The first cumulative weighting method refers to a method of performing compensation counting based on the original refresh amount counting principle, for example, if the first cumulative weighting method performs 5 times counting according to the original refresh amount counting method of 1, the weighted cumulative count is 5, and it should be noted that the first cumulative weighting method performs 5 times counting is merely an example, and the embodiment is not limited to a specific number thereof.
Specifically, in this embodiment, the thinning is performed according to the specific display condition of each frame of display interface, if the display mode of the current display interface is a dark color mode or the current color meets the color threshold range, it indicates that the ghost after refreshing is serious, so in this embodiment, double cumulative counting is performed according to the preset first cumulative weighting mode.
According to the embodiment, the dark color mode or the use scene meeting the color threshold range is weighted, so that the screen can be refreshed by using the second refreshing mode more timely, the situation that the display effect is poor due to overlong residual shadow and residual time is avoided, and the user experience is improved.
In an embodiment, the control method provided in this embodiment further includes: if it is detected that the operation interface of the frame display interface changes, performing cumulative counting according to a preset second cumulative weighting mode, where the first cumulative weighting mode is different from the second cumulative weighting mode, as shown in fig. 1E.
Fig. 1E is a flow chart of another control method according to an embodiment of the disclosure, which specifically includes:
s110, determining that the electronic device is in a first refresh mode.
And S120aa, if the pixel refreshing quantity and/or the refreshing area of a frame of display interface exceed a first preset threshold value, determining that the frame accumulation count is valid, and accumulating the refreshing quantity, otherwise, not accumulating.
And S120b, if the change of the operation interface of the frame display interface is detected, performing accumulated counting according to a preset second accumulated weighting mode, wherein the first accumulated weighting mode is different from the second accumulated weighting mode.
S130, if the display interface of one frame is set to be in a dark color mode; or if the current color of the one-frame display interface meets the color threshold range, performing accumulated counting according to a preset first accumulated weighting mode.
And S140, refreshing the display interface based on the second refreshing mode if the accumulated refreshing quantity of the multi-frame display interface meets a preset refreshing threshold. The second cumulative weighting method refers to a method of performing compensation counting based on the original refresh amount counting principle, for example, if the second cumulative weighting method is a method of performing additional compensation counting 5 times according to the original refresh amount counting method of 1, the weighted cumulative count is 6, and it should be noted that the second cumulative weighting method performs additional compensation counting 5 times is merely an example, and the specific number of the second cumulative weighting method is not limited in this embodiment.
Specifically, the reason why the weight of the operation interface of the display interface changes, which is higher than that of the normal display interface refresh rate counting mode, is that the interface change caused by the change of the operation interface is larger, and the ghost shadow brought by the change of the operation interface is heavier. The change of the operation interface of the display interface includes but is not limited to switching application software or closing an input method.
For example, the switching application software is taken as an example, for example, when a user operates in the same software interface, the focus of the user is on the operation of the current software, the acceptance degree of the ghost is higher, and after the user switches to the new application software, if the interface is refreshed in the second refresh mode as soon as possible, the ghost of the previous application software is obvious, and the user experience is reduced. Taking the interface of the input method as an example for explanation, the interface refreshing caused by the existing input method closing has a special feature that, because the user can uniformly switch to the fast mode A2 no matter what mode is currently in order to improve the response speed of the input method buttons when the input method is introduced, in the first common refreshing mode, the afterimage of the fast mode A2 is most serious, so that after the user closes the input method and automatically switches back to the previous mode, the user hopes to refresh the interface by adopting the second refreshing mode as soon as possible so as to present a high-quality display effect.
Therefore, the embodiment performs weighting processing on the use scene of the change of the operation interface, so that the screen can be refreshed more timely by using the second refreshing mode, the situation that the display effect is poor due to overlong residual shadow and residual time is avoided, and the user experience is improved.
In an embodiment, if the accumulated refresh amount of the multi-frame display interface meets the preset refresh threshold, the method further includes: detecting whether a user operation instruction exists; and when the user operation instruction is not detected, refreshing the display interface of the electronic equipment in a second refreshing mode.
The user operation instruction refers to an instruction that a user operates the electronic device, for example, the user always slides the display interface, and for example, the user clicks or slides the page to pause, but does not loose hands, and the like. For the above detection of the user operation instruction, the embodiment may not perform the second refresh mode refresh, but perform the second refresh mode refresh on the display interface of the electronic device when the user operation instruction is not detected. For example, when the refresh amount count reaches a certain threshold, if the user is in an operating (the finger or the stylus is not pressed and lifted) state, global mode refresh is not executed and the count is continued, and when the user operation is completed (the finger and the stylus are lifted), global refresh is automatically executed and the count is cleared, and if the user is not operated, the global refresh is normally executed and the count is cleared.
As shown in fig. 1F, fig. 1F is a schematic diagram of an exemplary control method provided by an embodiment of the present disclosure, where the embodiment is illustrated by taking a refresh rate count as an example of a refresh area, and the first preset threshold is 3/4 of the full-screen area, and includes a relatively comprehensive usage scenario. When the display interface is in a dark color mode or a dark color background, the first accumulated weighting mode selects a mode of 5 times counting to count; when the display interface is closed by applying the switching or input method, the first accumulated weighting mode selects the counting +5 mode for counting. It should be noted that, the order of the execution flow shown in fig. 1F in this embodiment is merely an example, and in addition to this, the refresh area statistics and the counting statistics of the refresh amount performed by applying the scene switched off by the switching or input method in this embodiment may also be parallel.
The embodiment designs a set of more comprehensive refresh rate counting mode and related application scenes, so that the optimal second refresh mode can be dynamically and flexibly selected, a cleaner display interface is always kept, and the user experience is improved.
In an embodiment, step S110, determining that the electronic device is in the first refresh mode includes: when the electronic equipment is in a first sub-refresh mode and a sliding operation is detected, switching to a second sub-refresh mode; and/or switching to the first sub-refresh mode when the electronic device is in the second sub-refresh mode and the stopping of the sliding operation is detected; wherein the first sub-refresh mode has a first refresh rate and the second sub-refresh mode has a second refresh rate, the first refresh rate being less than the second refresh rate, as shown in fig. 2. Fig. 2 is a flow chart of another control method according to an embodiment of the disclosure, which specifically includes:
S210, when the electronic device is in a first sub-refresh mode and a sliding operation is detected, switching to a second sub-refresh mode; and/or switching to the first sub-refresh mode when the electronic device is in the second sub-refresh mode and the stop of the sliding operation is detected.
S220, determining that the change amount of the display interface meets the preset condition, and refreshing the display interface of the electronic equipment in a second refreshing mode, namely refreshing the display interface based on the second refreshing mode.
The first sub-refresh mode and the second sub-refresh mode are two refresh modes with different refresh rates, and the first sub-refresh mode may be a clear mode GL or a fluent mode DU and the second sub-refresh mode may be a fast mode A2. Because the pixel updating frequency of the display interface is faster during sliding, the embodiment adopts the refresh mode of the fast mode A2, so that the display of the display interface is smoother and does not get stuck.
Specifically, the embodiment can detect whether the user performs the sliding operation in real time, and switch to the second sub-refresh mode when the electronic device is in the first sub-refresh mode and the sliding operation is detected, so as to adapt to the requirement of rapid change of the display interface. Under the condition that the user stops the sliding operation, the embodiment can automatically switch the second sub-refresh mode with the faster refresh rate to the first sub-refresh mode so as to keep a better display effect. Fig. 3 is a schematic diagram of an exemplary control method according to an embodiment of the disclosure, and as shown in fig. 3, fig. 3 illustrates a first sub-refresh mode as a clear mode GL and a second sub-refresh mode as a fast mode A2.
According to the embodiment, the first sub-refresh mode and the second sub-refresh mode can be automatically switched according to the current use scene to meet the refresh modes of different scene demands, so that a better and proper display effect is provided for a user.
In other embodiments, the present embodiment may also reserve an original manual refresh mode, and if a manual refresh instruction of a user is received, determine a corresponding refresh mode according to the manual refresh instruction to refresh the current display interface, where the refresh mode includes one of: clear mode GL, fast mode A2, smooth mode DU or global mode GU. The embodiment reserves the original manual refreshing mode and can meet the specific requirements of different users.
Fig. 4 is a schematic structural diagram of a control device according to an embodiment of the present disclosure, where the device specifically includes:
a first determining module 410, configured to determine that the electronic device is in a first refresh mode;
a second determining module 420, configured to determine that the change amount of the display interface meets a preset condition, and refresh the display interface of the electronic device in a second refresh mode;
the first refresh mode performs display refresh by directly updating the pixels at the positions to be refreshed to the target pixel values, and the second refresh mode performs display refresh by updating all the pixels of the display interface to the first values and then to the target pixel values.
In an embodiment, the second determining module 420 is specifically configured to: and determining the refresh amount of each frame of display interface, and refreshing the display interface of the electronic equipment based on a second refresh mode if the accumulated refresh amount of the multi-frame display interface meets a preset refresh threshold.
In an embodiment, the second determining module 420 is specifically configured to: if the refreshing quantity and/or refreshing area of the pixels of a frame of display interface exceeds a first preset threshold, determining that the frame accumulation count is valid, and accumulating the refreshing quantity, otherwise, not accumulating.
In an embodiment, the second determining module 420 is specifically further configured to: if the setting of a frame of display interface is in a dark color mode; or if the current color of the one-frame display interface meets the color threshold range, performing accumulated counting according to a preset first accumulated weighting mode.
In an embodiment, the second determining module 420 is specifically further configured to: if the change of the operation interface of the frame display interface is detected, the accumulation counting is carried out according to a preset second accumulation weighting mode, wherein the first accumulation weighting mode is different from the second accumulation weighting mode.
In an embodiment, the second determining module 420 is specifically further configured to: detecting whether a user operation instruction exists; and when the user operation instruction is not detected, refreshing the display interface of the electronic equipment based on a second refreshing mode.
In an embodiment, the first determining module 410 is specifically further configured to: when the electronic equipment is in a first sub-refresh mode and a sliding operation is detected, switching to a second sub-refresh mode; and/or switching to the first sub-refresh mode when the electronic device is in the second sub-refresh mode and the stopping of the sliding operation is detected; the first sub-refresh mode has a first refresh rate, and the second sub-refresh mode has a second refresh rate, the first refresh rate being less than the second refresh rate.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
Fig. 5 shows a schematic block diagram of an example electronic device 400 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 5, the apparatus 500 includes a computing unit 501 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 502 or a computer program loaded from a storage unit 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, ROM 502, and RAM 503 are connected to each other by a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Various components in the device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, etc.; an output unit 507 such as various displays, speakers, and the like; a storage unit 508 such as a magnetic disk, an optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 501 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 performs the respective methods and processes described above, for example, control methods. For example, in some embodiments, the control method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 500 via the ROM 502 and/or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the control method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the control method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems-on-a-chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The foregoing is merely specific embodiments of the disclosure, but the protection scope of the disclosure is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the disclosure, and it is intended to cover the scope of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A control method, characterized in that the method comprises:
determining that the electronic device is in a first refresh mode;
determining that the change quantity of the display interface meets a preset condition, and refreshing the display interface of the electronic equipment in a second refreshing mode;
the first refresh mode performs display refresh by directly updating the pixels at the positions to be refreshed to the target pixel values, and the second refresh mode performs display refresh by updating all the pixels of the display interface to the first values and then to the target pixel values.
2. The method of claim 1, wherein determining that the display interface variation satisfies the preset condition comprises:
and determining the refresh amount of each frame of display interface, and refreshing the display interface of the electronic equipment based on a second refresh mode if the accumulated refresh amount of the multi-frame display interface meets a preset refresh threshold.
3. The method of claim 2, wherein determining the refresh rate of the display interface per frame comprises:
if the refreshing quantity and/or refreshing area of the pixels of a frame of display interface exceeds a first preset threshold, determining that the frame accumulation count is valid, and accumulating the refreshing quantity, otherwise, not accumulating.
4. A method according to claim 3, further comprising:
if the one-frame display interface is set to be in a dark color mode;
or alternatively, the process may be performed,
and if the current color of the frame of display interface meets the color threshold range, carrying out accumulated counting according to a preset first accumulated weighting mode.
5. The method as recited in claim 4, further comprising:
and if the change of the operation interface of the one-frame display interface is detected, performing accumulated counting according to a preset second accumulated weighting mode, wherein the first accumulated weighting mode is different from the second accumulated weighting mode.
6. The method of claim 2, wherein refreshing the display interface of the electronic device based on the second refresh mode if the accumulated refresh amount of the multi-frame display interface meets a preset refresh threshold, further comprising:
detecting whether a user operation instruction exists;
and when the user operation instruction is not detected, refreshing the display interface of the electronic equipment based on a second refreshing mode.
7. The method of claim 1, wherein the determining that the electronic device is in the first refresh mode comprises:
When the electronic equipment is in a first sub-refresh mode and a sliding operation is detected, switching to a second sub-refresh mode; and/or the number of the groups of groups,
when the electronic equipment is in a second sub-refresh mode and the sliding operation stopping is detected, switching to a first sub-refresh mode;
wherein the first sub-refresh mode has a first refresh rate and the second sub-refresh mode has a second refresh rate, the first refresh rate being less than the second refresh rate.
8. A control apparatus, characterized in that the apparatus comprises:
the first determining module is used for determining that the electronic equipment is in a first refreshing mode;
the second determining module is used for determining that the change quantity of the display interface meets a preset condition and refreshing the display interface of the electronic equipment in a second refreshing mode;
the first refresh mode performs display refresh by directly updating the pixels at the positions to be refreshed to the target pixel values, and the second refresh mode performs display refresh by updating all the pixels of the display interface to the first values and then to the target pixel values.
9. An electronic device, comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-7.
CN202310215599.XA 2023-02-28 2023-02-28 Control method, device, equipment and storage medium Pending CN116246589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310215599.XA CN116246589A (en) 2023-02-28 2023-02-28 Control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310215599.XA CN116246589A (en) 2023-02-28 2023-02-28 Control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116246589A true CN116246589A (en) 2023-06-09

Family

ID=86623935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310215599.XA Pending CN116246589A (en) 2023-02-28 2023-02-28 Control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116246589A (en)

Similar Documents

Publication Publication Date Title
CN111933065B (en) Burn-in screen protection method, device, equipment and storage medium
CN109243376B (en) Method and equipment for refreshing image on ink screen
CN107038011B (en) Method and device for adjusting display fluency, and mobile terminal
CN112148160B (en) Floating window display method and device, electronic equipment and computer readable storage medium
CN111432261A (en) Video window picture display method and device
CN112394806A (en) User interface display method and device, electronic equipment and storage medium
CN108989872B (en) Android television background fast switching method, framework, server and storage medium
CN108021416B (en) Media resource loading method and terminal
CN114610295A (en) Layout method, device, equipment and medium for page container
CN113096592B (en) Method and device for eliminating ghost shadow of display screen and display device
CN112581589A (en) View list layout method, device, equipment and storage medium
CN116246589A (en) Control method, device, equipment and storage medium
CN112433666B (en) Method for drawing curve by touch based on browser kernel
CN111796827A (en) Bullet screen drawing method, device, equipment and storage medium
CN116052605A (en) Ink screen refreshing method and device, ink screen equipment and storage medium
CN113628311B (en) Image rendering method, image rendering device, electronic device, and storage medium
CN108605158B (en) Interface refreshing method and terminal
CN112948034A (en) Interface display method and device and electronic equipment
CN114416005A (en) Interface display method and device and computer readable storage medium
CN109933537B (en) Stuck detection method, related device, equipment and computer readable medium
CN116504189B (en) Electronic ink screen driving method, device, equipment and readable storage medium
CN111367406B (en) Method, device, equipment and medium for refreshing pull-down of applet window
CN116071459B (en) Ink screen-based hand drawing control method, system and readable storage medium
CN115686714A (en) Page display method, device, equipment and storage medium
CN115148161A (en) Automatic backlight adjusting method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination