Mode control methods, devices, electronic equipment, and computer-readable storage media

By switching to a target reading mode that only displays reading apps on the terminal device, and sorting and optimizing the display based on app popularity, the problem of user distraction during reading is solved, improving user focus and reading experience.

CN122489165APending Publication Date: 2026-07-31TCL COMM TECH (CHENGDU) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-04-09
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

When users read on mobile phones, tablets, and other terminal devices, they are easily distracted by a large amount of information and notifications, making it difficult to maintain focus.

Method used

A mode control method is provided, which displays only reading applications after switching to the target reading mode, sorts and controls the display based on the popularity of the applications, and optimizes the display effect through paper texture, color adjustment and other means.

Benefits of technology

It reduces distractions during reading, enhances user focus and reading experience, and improves application search efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122489165A_ABST
    Figure CN122489165A_ABST
Patent Text Reader

Abstract

This application discloses a mode control method, apparatus, electronic device, and computer-readable storage medium, relating to the field of display control technology. The method includes: if a switch from a current regular mode to a target reading mode is detected, switching from the current desktop to a target desktop matching the target reading mode, wherein the target desktop contains only target reading applications; determining the popularity information of the target applications; and controlling the display of the target applications on the target desktop based on the popularity information to obtain a mode control result. By providing a target reading mode that only contains reading applications, it helps users maintain a focused reading state after switching to the target reading mode, reducing interference with the user's reading state and improving the user experience. By classifying and controlling the display of applications according to their popularity in the reading mode, it helps improve the efficiency of users finding the applications they want to use, further enhancing the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display control technology, specifically to a mode control method, device, electronic device, and computer-readable storage medium. Background Technology

[0002] Mobile phones, tablets, and other display devices have permeated every aspect of people's lives. Reading on mobile phones and tablets is also a primary usage scenario for users today.

[0003] However, with the diversification of applications and the variety of applications on terminal devices, users are often attracted and distracted by a large amount of information and notifications when reading on their mobile phones and tablets, making it difficult for them to maintain focus on reading.

[0004] Therefore, a design is needed that allows users to focus on reading and reduces distractions. Summary of the Invention

[0005] This application provides a mode control method, apparatus, electronic device, and computer-readable storage medium, which can provide a reading mode focused on reading, reduce interference with the user's reading state, and improve the user experience.

[0006] In a first aspect, embodiments of this application provide a mode control method, the method comprising: If a switch from the current normal mode to the target reading mode is detected, the current desktop is switched to the target desktop that matches the target reading mode. The target desktop contains only the target reading application. Determine the popularity information of the target application; The display of the target application on the target desktop is controlled based on the heat information to obtain the mode control result.

[0007] Secondly, embodiments of this application also provide a mode control device, the device comprising: The switching module is used to switch from the current desktop to the target desktop that matches the target reading mode if a switch from the current normal mode to the target reading mode is detected. The target desktop contains only the target application of the reading class. A determination module is used to determine the popularity information of the target application; The control module is used to control the display of the target application on the target desktop based on the heat information, and obtain the mode control result.

[0008] Optionally, in some embodiments of this application, when installing an application in the target reading mode, the application type of the application is identified. If the application type is not a reading application, a first installation prompt is generated, indicating that the application cannot be installed in the target reading mode. If the application type is a reading application, a second installation prompt is generated, indicating that the application can be installed in either the target reading mode or the current normal mode.

[0009] Optionally, in some embodiments of this application, before determining the popularity information of the target application, the apparatus further includes: If the target application is launched, the popularity of the target application is increased by a preset coefficient to obtain the popularity information; If the target application is exited and the target desktop is returned, the target application is cooled down to obtain the heat information. The cooling process includes reducing the heat of the target application according to a cooling coefficient and a time difference calculation coefficient to obtain the heat information. The time difference calculation coefficient is a coefficient calculated based on a first time difference between the current time and the installation time, or the time difference calculation coefficient is a coefficient calculated based on a second time difference between the current time and the previous start-up time.

[0010] Optionally, in some embodiments of this application, the apparatus further includes: When switching to the target reading mode, a paper-like first wallpaper is displayed; If the target application is launched in the target reading mode, the texture of the first wallpaper is extracted to obtain the first paper texture; The second wallpaper of the target application is textured to obtain a second paper texture; The first paper texture and the second paper texture are fused according to the first scaling factor and the second scaling factor to obtain a mixed paper texture; The content display of the target application is controlled based on the hybrid paper texture.

[0011] Optionally, in some embodiments of this application, the apparatus further includes: When displaying based on the first wallpaper, the content display in the target reading mode is controlled according to the target saturation, color adjustment coefficient, and color temperature adjustment coefficient.

[0012] Optionally, in some embodiments of this application, controlling the content display in the target reading mode according to the target saturation, color adjustment coefficient, and color temperature adjustment coefficient includes: Calculate the first color matrix based on the target saturation and color adjustment components; The second color matrix is ​​calculated based on the color temperature adjustment coefficient, the preset maximum color temperature adjustment matrix, and the identity matrix. The target color matrix is ​​calculated using the first color matrix and the second color matrix; The target color matrix controls the content display in the target reading mode.

[0013] Optionally, in some embodiments of this application, the apparatus further includes: In the target reading mode, the target icon is obtained by overlaying the icon of the target application with the border bitmap, and the icon display result is obtained by displaying the target icon. The device further includes: The graphic of the component in the target reading mode is reduced to the target scale, and a target shadow is generated based on the reduced graphic. The graphic and the target shadow are then displayed in staggered positions to obtain the component display result. The device further includes: In the target reading mode, non-system processes, non-target applications, or processes not on the whitelist are detected and killed or have their network access restricted to obtain process control results.

[0014] Thirdly, embodiments of this application also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the above-described mode control method.

[0015] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the above-described mode control method.

[0016] Fifthly, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in embodiments of this application.

[0017] In summary, if the embodiment of this application detects a switch from the current normal mode to the target reading mode, it switches from the current desktop to the target desktop that matches the target reading mode. The target desktop contains only target reading applications. The popularity information of the target application is determined, and the display of the target application on the target desktop is controlled according to the popularity information to obtain the mode control result.

[0018] In this application embodiment, by providing a target reading mode that only includes reading applications, users can maintain a focused reading state after switching to the target reading mode, reduce interference with the user's reading state, and improve the user experience.

[0019] Furthermore, by categorizing and displaying applications according to their popularity in reading mode, it helps improve the efficiency of users finding the applications they want to use, thus enhancing the user experience. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in this application, the accompanying drawings used 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 effort.

[0021] Figure 1 This is a schematic diagram of a scenario in which a terminal device, according to an embodiment of this application, executes the mode control method; Figure 2 This is a schematic flowchart of the mode control method provided in the embodiments of this application; Figure 3 This is a schematic diagram of the mode control device provided in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application.

[0022] Explanation of icon numbers: 101-Terminal device; 301-Switching module; 302-Determining module; 303-Control module; 401-Processor; 402-Memory; 403-Power supply; 404-Input unit. Detailed Implementation

[0023] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0024] In the description of the embodiments of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. Furthermore, the terms "first," "second," "third," and "fourth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first," "second," "third," and "fourth" may explicitly or implicitly include one or more features. In the description of the present invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0025] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0026] This application provides a mode control method, apparatus, electronic device, and computer-readable storage medium. Specifically, this application provides a mode control apparatus suitable for electronic devices, including terminal devices such as mobile phones, desktop computers, laptops, or tablet computers.

[0027] For example, please see Figure 1 , Figure 1 This is a schematic diagram illustrating a scenario where a terminal device, according to an embodiment of this application, executes the mode control method. Specifically, the execution process of the mode control method by the terminal device is as follows: If the terminal device 101 detects a switch from the current regular mode to the target reading mode, it switches from the current desktop to the target desktop that matches the target reading mode. The target desktop contains only the target reading application. The popularity information of the target application is determined, and the display of the target application on the target desktop is controlled according to the popularity information to obtain the mode control result.

[0028] For example, when a user switches from the current normal mode to reading mode by clicking the mode switching control, the target desktop corresponding to that reading mode is displayed. This target desktop only contains reading applications and excludes non-reading applications. Furthermore, within this target desktop, applications are sorted and displayed according to their popularity.

[0029] In summary, by providing a target reading mode that includes only reading applications, the embodiments of this application help users maintain a focused reading state after switching to the target reading mode, reduce interference with the user's reading state, and improve the user experience.

[0030] Furthermore, by categorizing and displaying applications according to their popularity in reading mode, it helps improve the efficiency of users finding the applications they want to use, thus enhancing the user experience.

[0031] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.

[0032] Please see Figure 2 , Figure 2 This is a flowchart illustrating the mode control method provided in an embodiment of this application. Although the flowchart shows a logical order, in some cases, the steps shown or described can be executed in a different order than that shown in the flowchart. Specifically, the specific flow of this mode control method is as follows: S201. If a switch from the current normal mode to the target reading mode is detected, the current desktop is switched to the target desktop that matches the target reading mode. The target desktop contains only target applications of the reading class.

[0033] The standard mode is the default display mode for electronic devices (such as mobile phones, monitors, e-book readers, etc.). It is usually characterized by vibrant colors, high brightness, and wide dynamic range, aiming to provide the best general visual experience and is suitable for multiple scenarios such as browsing web pages, watching videos, and playing games.

[0034] The reading mode is a display mode optimized for text reading. For example, by reducing blue light, adjusting color temperature and contrast, it simulates the visual effect of a paper book and reduces eye fatigue caused by prolonged reading. It is a special mode specifically designed for reading.

[0035] In this embodiment, "desktop" refers to the launcher, also known as the desktop launcher, which is a user interface component in an operating system (such as Android, Windows, macOS, etc.) used to manage applications and shortcuts. It is the main entry point for user interaction with the device and usually exists in the form of a desktop, home screen, or dock. The current desktop refers to a launcher designed for normal mode, and the target desktop refers to a launcher designed for reading mode.

[0036] Reading applications refer to software specifically designed for browsing, managing, and reading text or graphic content such as eBooks, documents, news, and comics. They support multiple file formats and include eBook readers, multi-functional readers, comic book readers, news aggregators, or related academic document tools.

[0037] Understandably, designing a target desktop that only includes reading apps ensures that once the target reading mode is entered, only reading apps are displayed or usable. This avoids distractions from non-reading information or notifications, helping users immerse themselves in reading and enhancing the reading experience.

[0038] S202. Determine the popularity information of the target application.

[0039] Popularity information refers to a comprehensive metric that measures an application's attention, usage, or reach within a specific timeframe. Its core function is to reflect an application's popularity through quantified data and user behavior. An application's popularity is influenced by factors such as user needs, habits, technological advancements, content ecosystem, and regional differences.

[0040] S203. Control the display of the target application on the target desktop based on the heat information to obtain the mode control result.

[0041] For example, sort the display of each target application on the target desktop according to its popularity information. For example, set frequently used areas and infrequently used areas according to the location of the target desktop (i.e., screen), and sort the target applications according to the frequently used areas and infrequently used areas.

[0042] In summary, by providing a target reading mode that includes only reading applications, the embodiments of this application help users maintain a focused reading state after switching to the target reading mode, reduce interference with the user's reading state, and improve the user experience.

[0043] Furthermore, by categorizing and displaying applications according to their popularity in reading mode, it helps improve the efficiency of users finding the applications they want to use, thus enhancing the user experience.

[0044] It is understood that the target desktop only contains reading applications, meaning that the reading mode only provides the ability to use reading-related applications, and users can only perform reading-related operations in the reading mode. Therefore, when installing an application in the reading mode, it is determined whether the application to be installed is a reading application, and the installation is controlled according to the determination result. That is, optionally, in some embodiments of this application, when installing an application in the target reading mode, the application type of the application is identified. If the application type is not a reading application, a first installation prompt message is generated, indicating that the application cannot be installed in the target reading mode; if the application type is a reading application, a second installation prompt message is generated, indicating that the application can be installed in either the target reading mode or the current normal mode.

[0045] For example, when installing an application in reading mode, if it's a reading app, prompt the user whether the app should only be installed and displayed on the reading launcher, or also on the default launcher. If it's not a reading app, prompt the user whether to install it on a regular launcher, but also indicate that they need to exit the current launcher to use the application.

[0046] It is understandable that popularity increases with the use of an application. Therefore, in this embodiment of the application, the popularity of the target application is obtained as follows: If the target application is launched, the popularity of the target application is increased by a preset coefficient to obtain the popularity information; If the target application is exited and the target desktop is returned, the target application is cooled down to obtain the heat information. The cooling process includes reducing the heat of the target application according to a cooling coefficient and a time difference calculation coefficient to obtain the heat information. The time difference calculation coefficient is a coefficient calculated based on a first time difference between the current time and the installation time, or the time difference calculation coefficient is a coefficient calculated based on a second time difference between the current time and the previous start-up time.

[0047] For example, each time an application is opened, the application's popularity (h) increases, where h = h + b, and b is a set increase coefficient, i.e., a preset increase coefficient. The larger b is, the faster the application's popularity increases each time it is opened.

[0048] Each time you exit the application and return to the launcher, you need to cool down the popularity of all applications based on the current time. For example, for a newly installed application, use the default popularity h0 and record the installation time T0. When you return to the launcher, calculate the popularity of the application as: h = h0 * a * f(T – T0), where a is the cooling coefficient, which is usually less than and close to 1, such as a value of 0.999. f(T-T0) is a coefficient calculated based on the difference between the current time T and the installation time T0. The larger T-T0 is, the lower the coefficient value and the faster the cooling.

[0049] In this embodiment of the application, when the application is not installed for the first time, the coefficient can also be calculated based on the time difference between the application's last startup time and the current time. For example, f(T-T0) in the formula for calculating popularity h can be replaced with f(T-T1), where T1 represents the application's last startup time.

[0050] Understandably, when an app has not been used for an extended period, it is added to a recommended deletion list, suggesting that the user delete the app.

[0051] In this embodiment, for a better reading experience, a paper-like wallpaper is displayed when switching to reading mode. For example, when switching to immersive reading mode, a paper-like wallpaper is displayed by default. Multiple different paper-like wallpapers are prepared in advance. In this reading mode, users are only allowed to select wallpapers from the provided options and are not allowed to switch to other wallpapers unrelated to reading. When the user switches to normal mode, the wallpaper used in normal mode is displayed.

[0052] Furthermore, when a user launches an application, the application typically displays a background. At this time, a paper-like wallpaper can be blended with the application's background texture to enhance the application's display effect and improve the visual reading experience after launch. Specifically, in this embodiment, if the target application is launched in the target reading mode, the texture of the first wallpaper is extracted to obtain a first paper texture; the texture of the second wallpaper of the target application is extracted to obtain a second paper texture; the first paper texture and the second paper texture are fused according to a first scaling factor and a second scaling factor to obtain a mixed paper texture; and the content display of the target application is controlled based on the mixed paper texture.

[0053] For example, after the background graphics buffer of the application is drawn, a paper texture composite process is performed on this buffer. Taking OpenGL as an example, the specific process is as follows: First, convert the first wallpaper into an OpenGL texture (paper texture). After the application finishes drawing a graphics buffer for the application interface, generate an OpenGL texture (application texture) for this buffer as well. Then, use an OpenGL program to blend the two textures. The outColor of the blended paper texture is represented as follows: outColor = Applied texture color x scaling factor 1 + Paper texture color x scaling factor 2.

[0054] The application texture color is an OpenGL texture extracted from the application's graphics buffer, while the paper texture color is an OpenGL texture extracted from the first wallpaper. The scaling factor 1 can fluctuate between 0 and 1, with the best effect being close to 1 or directly equal to 1, resulting in almost no loss of quality for the application content. The scaling factor 2 controls the paper texture and can be controlled between 0.2 and 0.1, ensuring a clear texture effect without affecting the application's overall appearance.

[0055] Finally, the synthesized graphic data (outColor of mixed paper texture) is sent to the system as the application's data for final display processing, that is, the application's interface content is displayed according to the mixed paper texture.

[0056] In this embodiment of the application, the content display in the target mode can also be controlled according to color saturation, color adjustment coefficient and color temperature adjustment coefficient, that is, when displaying based on the first wallpaper, the content display in the target reading mode is controlled according to the target saturation, color adjustment coefficient and color temperature adjustment coefficient.

[0057] Specifically, a color matrix based on target saturation, color adjustment coefficient, and color temperature adjustment coefficient can be calculated, and the content display in reading mode can be controlled using this color matrix. Optionally, in some embodiments of this application, the step "controlling the content display in the target reading mode according to the target saturation, color adjustment coefficient, and color temperature adjustment coefficient" includes: Calculate the first color matrix based on the target saturation and color adjustment components; The second color matrix is ​​calculated based on the color temperature adjustment coefficient, the preset maximum color temperature adjustment matrix, and the identity matrix. The target color matrix is ​​calculated using the first color matrix and the second color matrix; The target color matrix controls the content display in the target reading mode.

[0058] For example, when switching to immersive reading mode, the color saturation of the display system is updated, reducing it to 30% or below. Multiple saturation levels can be set, such as one at 30% (similar to the colors in a color newspaper) and another at 0% (for black and white display). Users can choose which color set to use in the settings and then appropriately adjust the proportion of the RGB components of the colors.

[0059] Then, a 4x4 first color matrix A is calculated based on the selected target saturation and the adjusted RGB components. This first color matrix A is represented as follows: .

[0060] The display color temperature is controlled, ranging from 1000 to 3000, and can be adjusted by the user. A progress bar is added to the special settings interface displayed on the launcher screen in reading mode, allowing the user to obtain the desired adjustment value 'b', ranging from (0, 1). A maximum color temperature adjustment matrix 'B' is pre-set, represented as: .

[0061] Based on the adjustment value b selected by the user, the final target color matrix C can be calculated, which is represented as follows: C = (B * b + I * (1-b)) * A. Where I is the identity matrix, as shown below: .

[0062] Furthermore, this matrix C is applied to the display's driving parameters to achieve a display that meets the requirements for saturation and color temperature. It is understandable that adjusting saturation and color temperature helps improve the display effect in reading mode, for example, by enhancing the contrast between icons and background, and the contrast between text and background.

[0063] In this embodiment of the application, in order to further enhance the difference between the charts, components and the background, a border or shadow can be added to create a distinction. That is, optionally, in this embodiment of the application, for the icon, in the target reading mode, the icon of the target application is superimposed with the border bitmap to obtain the target icon, and the icon display result is obtained according to the target icon.

[0064] For each component, the graphic of the component in the target reading mode is scaled down to the target ratio, and a target shadow is generated based on the scaled-down graphic. The graphic and the target shadow are then displayed in staggered positions to obtain the component display result. For example, for quick operation components such as widgets on the launcher, shadows are added to highlight the difference between the component display and the background.

[0065] In this embodiment of the application, after switching to the target reading mode, non-system processes, non-target applications, or non-whitelisted processes can also be detected and killed or have their network access restricted to obtain process control results.

[0066] For example, after switching to immersive reading mode, non-system processes are managed: if a process is not a system process and is not a program that can be displayed on this special launcher, the system first kills the process and will not activate it again while this reading mode is in effect, until exiting this reading mode.

[0067] Alternatively, after switching to immersive reading mode, for programs that are not system processes and cannot be displayed on this reading launcher, and which cannot be killed directly, it is necessary to control their network access and prevent them from accessing the network until exiting this reading mode.

[0068] In summary, by providing a target reading mode that includes only reading applications, the embodiments of this application help users maintain a focused reading state after switching to the target reading mode, reduce interference with the user's reading state, and improve the user experience.

[0069] Furthermore, by categorizing and displaying applications according to their popularity in reading mode, it helps improve the efficiency of users finding the applications they want to use, thus enhancing the user experience.

[0070] By providing paper-style wallpapers and adjusting display effects according to saturation, color temperature, etc., the visual experience of reading mode can be enhanced.

[0071] To facilitate better implementation of the mode control method of this application, this application also provides a mode control device based on the above-described mode control method. The meanings of the terms used are the same as in the mode control method described above, and specific implementation details can be found in the descriptions of the method embodiments.

[0072] Please see Figure 3 , Figure 3 This is a schematic diagram of the mode control device provided in the embodiments of this application, wherein the mode control device may specifically be as follows: The switching module 301 is used to switch from the current desktop to a target desktop that matches the target reading mode if a switch from the current normal mode to the target reading mode is detected. The target desktop contains only target applications of the reading class. The determining module 302 is used to determine the popularity information of the target application; The control module 303 is used to control the display of the target application on the target desktop according to the heat information, and obtain the mode control result.

[0073] Optionally, in some embodiments of this application, when installing an application in the target reading mode, the application type of the application is identified. If the application type is not a reading application, a first installation prompt is generated, indicating that the application cannot be installed in the target reading mode. If the application type is a reading application, a second installation prompt is generated, indicating that the application can be installed in either the target reading mode or the current normal mode.

[0074] Optionally, in some embodiments of this application, before determining the popularity information of the target application, the apparatus further includes: If the target application is launched, the popularity of the target application is increased by a preset coefficient to obtain the popularity information; If the target application is exited and the target desktop is returned, the target application is cooled down to obtain the heat information. The cooling process includes reducing the heat of the target application according to a cooling coefficient and a time difference calculation coefficient to obtain the heat information. The time difference calculation coefficient is a coefficient calculated based on a first time difference between the current time and the installation time, or the time difference calculation coefficient is a coefficient calculated based on a second time difference between the current time and the previous start-up time.

[0075] Optionally, in some embodiments of this application, the apparatus further includes: When switching to the target reading mode, a paper-like first wallpaper is displayed; If the target application is launched in the target reading mode, the texture of the first wallpaper is extracted to obtain the first paper texture; The second wallpaper of the target application is textured to obtain a second paper texture; The first paper texture and the second paper texture are fused according to the first scaling factor and the second scaling factor to obtain a mixed paper texture; The content display of the target application is controlled based on the hybrid paper texture.

[0076] Optionally, in some embodiments of this application, the apparatus further includes: When displaying based on the first wallpaper, the content display in the target reading mode is controlled according to the target saturation, color adjustment coefficient, and color temperature adjustment coefficient.

[0077] Optionally, in some embodiments of this application, controlling the content display in the target reading mode according to the target saturation, color adjustment coefficient, and color temperature adjustment coefficient includes: Calculate the first color matrix based on the target saturation and color adjustment components; The second color matrix is ​​calculated based on the color temperature adjustment coefficient, the preset maximum color temperature adjustment matrix, and the identity matrix. The target color matrix is ​​calculated using the first color matrix and the second color matrix; The target color matrix controls the content display in the target reading mode.

[0078] Optionally, in some embodiments of this application, the apparatus further includes: In the target reading mode, the target icon is obtained by overlaying the icon of the target application with the border bitmap, and the icon display result is obtained by displaying the target icon. The device further includes: The graphic of the component in the target reading mode is reduced to the target scale, and a target shadow is generated based on the reduced graphic. The graphic and the target shadow are then displayed in staggered positions to obtain the component display result. The device further includes: In the target reading mode, non-system processes, non-target applications, or processes not on the whitelist are detected and killed or have their network access restricted to obtain process control results.

[0079] In this embodiment, if the switching module 301 detects a switch from the current normal mode to the target reading mode, it switches from the current desktop to the target desktop that matches the target reading mode. The target desktop contains only target reading applications. The determining module 302 determines the popularity information of the target application, and the control module 303 controls the display of the target application on the target desktop based on the popularity information to obtain the mode control result.

[0080] In this application embodiment, by providing a target reading mode that only includes reading applications, users can maintain a focused reading state after switching to the target reading mode, reduce interference with the user's reading state, and improve the user experience.

[0081] Furthermore, by categorizing and displaying applications according to their popularity in reading mode, it helps improve the efficiency of users finding the applications they want to use, thus enhancing the user experience.

[0082] In addition, this application also provides an electronic device, such as Figure 4 As shown, it illustrates a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Specifically: The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 4The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 401 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.

[0083] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0084] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power equipment debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0085] The electronic device may also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0086] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402, thereby implementing the steps in any of the mode control methods provided in the embodiments of this application.

[0087] In this embodiment of the application, if a switch from the current normal mode to the target reading mode is detected, the current desktop is switched to the target desktop that matches the target reading mode. The target desktop contains only target reading applications. The popularity information of the target application is determined, and the display of the target application on the target desktop is controlled according to the popularity information to obtain the mode control result.

[0088] In this application embodiment, by providing a target reading mode that only includes reading applications, users can maintain a focused reading state after switching to the target reading mode, reduce interference with the user's reading state, and improve the user experience.

[0089] Furthermore, by categorizing and displaying applications according to their popularity in reading mode, it helps improve the efficiency of users finding the applications they want to use, thus enhancing the user experience.

[0090] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0091] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0092] To this end, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to execute the steps in any of the mode control methods provided in this application.

[0093] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0094] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0095] Since the instructions stored in the computer-readable storage medium can execute the steps of any of the mode control methods provided in this application, the beneficial effects that any of the mode control methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0096] The above provides a detailed description of a mode control method, apparatus, electronic device, and computer-readable storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A mode control method, characterized in that, The method includes: If a switch from the current normal mode to the target reading mode is detected, the current desktop is switched to the target desktop that matches the target reading mode. The target desktop contains only the target reading application. Determine the popularity information of the target application; The display of the target application on the target desktop is controlled based on the heat information to obtain the mode control result.

2. The mode control method according to claim 1, characterized in that, When installing an application in the target reading mode, the application type is identified. If the application type is not a reading application, a first installation prompt is generated, indicating that the application cannot be installed in the target reading mode. If the application type is a reading application, a second installation prompt is generated, indicating that the application can be installed in either the target reading mode or the current normal mode.

3. The mode control method according to claim 1, characterized in that, Before determining the popularity information of the target application, the method further includes: If the target application is launched, the popularity of the target application is increased by a preset increase coefficient to obtain the popularity information; If the target application is exited and the target desktop is returned, the target application is cooled down to obtain the heat information. The cooling process includes reducing the heat of the target application according to a cooling coefficient and a time difference calculation coefficient to obtain the heat information. The time difference calculation coefficient is a coefficient calculated based on a first time difference between the current time and the installation time, or the time difference calculation coefficient is a coefficient calculated based on a second time difference between the current time and the previous start-up time.

4. The mode control method according to claim 1, characterized in that, The method further includes: When switching to the target reading mode, a paper-like first wallpaper is displayed; If the target application is launched in the target reading mode, the texture of the first wallpaper is extracted to obtain the first paper texture; The second wallpaper of the target application is textured to obtain a second paper texture; The first paper texture and the second paper texture are fused according to the first scaling factor and the second scaling factor to obtain a mixed paper texture; The content display of the target application is controlled based on the hybrid paper texture.

5. The mode control method according to claim 4, characterized in that, The method further includes: When displaying based on the first wallpaper, the content display in the target reading mode is controlled according to the target saturation, color adjustment coefficient, and color temperature adjustment coefficient.

6. The mode control method according to claim 5, characterized in that, The control of content display in the target reading mode according to target saturation, color adjustment coefficient, and color temperature adjustment coefficient includes: Calculate the first color matrix based on the target saturation and color adjustment components; The second color matrix is ​​calculated based on the color temperature adjustment coefficient, the preset maximum color temperature adjustment matrix, and the identity matrix. The target color matrix is ​​calculated using the first color matrix and the second color matrix; The target color matrix controls the content display in the target reading mode.

7. The mode control method according to claim 1, characterized in that, The method further includes: In the target reading mode, the target icon is obtained by overlaying the icon of the target application with the border bitmap, and the icon display result is obtained by displaying the target icon. The method further includes: The graphic of the component in the target reading mode is reduced to the target scale, and a target shadow is generated based on the reduced graphic. The graphic and the target shadow are then displayed in staggered positions to obtain the component display result. The method further includes: In the target reading mode, non-system processes, non-target applications, or processes not on the whitelist are detected and killed or have their network access restricted to obtain process control results.

8. A mode control device, characterized in that, The device includes: The switching module is used to switch from the current desktop to the target desktop that matches the target reading mode if a switch from the current normal mode to the target reading mode is detected. The target desktop contains only the target application of the reading class. A determination module is used to determine the popularity information of the target application; The control module is used to control the display of the target application on the target desktop based on the heat information, and obtain the mode control result.

9. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the mode control method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the mode control method as described in any one of claims 1-7.