Display device and memory integration method
By calculating the backlight similarity between the two frames of the display device, judging the picture changes, and performing memory integration when the picture is static, the problem of low memory integration efficiency and affecting the operation of the application is solved, and efficient memory integration is achieved.
Patent Information
- Application Number
- CN202411833724.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-12-12
AI Technical Summary
The display device is inefficient when performing memory integration, and memory integration will affect the operation of the current application, resulting in lag problems.
By obtaining the backlight brightness difference between the two frames of the front and rear, the backlight similarity is calculated. When the backlight similarity duration reaches the threshold, the first task process is used to integrate memory into the memory fragments.
Effective memory integration in non-standby mode, reducing the impact on application operation and improving the efficiency of memory integration.
Smart Images

Figure CN119883157A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of display devices, and in particular to a display device and a memory integration method. Background Art
[0002] There are many applications installed on the display device. When the display device runs an application, the system of the display device allocates the memory required for the application to run. When the system runs for a long time, the repeated allocation and release of memory by the system will form a large amount of memory fragments. The memory size of the memory fragments is small and discontinuous, resulting in the inability to respond to tasks requesting larger memory.
[0003] The display device periodically consolidates memory fragments to consolidate the memory fragments into continuous memory that can respond to large memory requests. However, memory consolidation affects the operation of current applications, causing problems such as application operation lag.
[0004] In order to reduce the jamming, the display device can perform memory consolidation on the memory fragments after entering the standby mode. However, this memory consolidation method needs to wait for the display device to enter the standby mode, which has a lag. If the display device is always in the running mode, the memory consolidation cannot be performed, which affects the efficiency of the memory consolidation. Summary of the invention
[0005] The present application provides a display device and a memory integration method to solve the problem of low efficiency of memory integration performed by the display device.
[0006] In a first aspect, some embodiments of the present application provide a display device, including a display configured to display a user interface; and a controller configured to:
[0007] In the process of displaying pictures by the display device, obtaining a first backlight brightness of a first picture and a second backlight brightness of a second picture, where the second picture is a picture displayed after the first picture;
[0008] Add a mark to a display area where the brightness difference between the first backlight brightness and the second backlight brightness is less than or equal to a difference threshold, to obtain a target area;
[0009] Calculating the backlight similarity between the first backlight brightness and the second backlight brightness according to the area ratio of the target area to the display area corresponding to the second backlight brightness;
[0010] If the backlight similarity is greater than or equal to the similarity threshold, record the duration of the backlight similarity;
[0011] When the duration is greater than or equal to the duration threshold, the first task process performs memory integration on the memory fragments to obtain a memory block with a continuous address.
[0012] The above technical solution has the following beneficial effects or advantages: by comparing the backlight brightness between the previous and next two frames, it is determined whether the picture has changed. When the backlight similarity is greater than or equal to the similarity threshold, it means that the display device displays a static picture and the user has not operated the display device. At this time, the display device performs memory consolidation on the memory fragments without affecting the normal display of the application, thereby performing memory consolidation on the memory fragments in non-standby mode to improve memory consolidation efficiency.
[0013] In some embodiments, the controller performs the step of adding a mark to a display area where the brightness difference between the first backlight brightness and the second backlight brightness is less than or equal to a difference threshold, and is specifically configured as follows:
[0014] Acquire the number of partitions according to the device configuration information of the display device, so as to divide the display area of the display device into at least one sub-area based on the number of partitions;
[0015] Calculating a subarea brightness difference between a first backlight brightness and a second backlight brightness corresponding to at least one subarea;
[0016] The sub-region whose partition brightness difference is less than or equal to the difference threshold is marked as the target region.
[0017] The above technical solution has the following beneficial effects or advantages: the display area of the display device is divided into at least one sub-area based on the number of partitions, and the sub-area whose partition brightness difference is less than or equal to the difference threshold in the second picture is determined through the partition brightness difference between the first backlight brightness and the second backlight brightness corresponding to the sub-area, thereby obtaining the target area.
[0018] In some embodiments, the controller calculates the backlight similarity between the first backlight brightness and the second backlight brightness according to the area ratio of the target area to the display area corresponding to the second backlight brightness, and is specifically configured as follows:
[0019] Obtaining the number of the target areas to obtain the number of target partitions;
[0020] The backlight similarity is obtained by calculating a ratio of the number of the target partitions to the number of partitions of the second picture.
[0021] The above technical solution has the following beneficial effects or advantages: the target area represents a partition with the same brightness value in the first partition area and the second partition area, and by calculating the ratio of the number of target partitions of the target area to the number of partitions of the second partition area, the partition area whose backlight brightness does not change during the change of the picture is determined, thereby calculating the backlight similarity.
[0022] In some embodiments, after executing the step of acquiring the number of partitions according to the device configuration information of the display device, the controller is further configured to:
[0023] If the number of partitions is less than or equal to a first partition number threshold, setting the first threshold as the similarity threshold;
[0024] If the number of partitions is greater than the first partition number threshold and less than or equal to the second partition number threshold, the second threshold is set as the similarity threshold, and the second threshold is less than the first threshold;
[0025] If the number of partitions is greater than the second partition number threshold, a third threshold is set as the similarity threshold, and the third threshold is less than the second threshold.
[0026] The above technical solution has the following beneficial effects or advantages: the display device can set different similarity thresholds according to different numbers of partitions, so as to set more reasonable similarity thresholds according to display devices with different configuration specifications, thereby improving the accuracy of judging backlight similarity.
[0027] In some embodiments, the controller performs the step of performing memory consolidation on the memory fragments through the first task process, which is specifically configured as follows:
[0028] Retrieving a preset process file for creating a first task process in a local configuration file;
[0029] Writing a trigger value into the preset process file to create the first task process;
[0030] Through the first task process, memory integration is performed on the memory fragments collected in the system memory to obtain memory blocks with continuous addresses.
[0031] The above technical solution has the following beneficial effects or advantages: by writing a trigger value to a preset process file, the first task process is automatically created, thereby integrating memory fragments according to the memory of the first task process, and automatically obtaining memory blocks with continuous addresses, thereby improving the efficiency of integrating memory fragments.
[0032] In some embodiments, if the backlight similarity is greater than or equal to a similarity threshold, the controller is further configured to:
[0033] Updating the second backlight brightness to the first backlight brightness;
[0034] Marking the backlight brightness of the next frame of the second frame as the second backlight brightness;
[0035] The target area is updated according to the updated first backlight brightness and the current second backlight brightness.
[0036] The above technical solution has the following beneficial effects or advantages: when the backlight similarity is greater than or equal to the similarity threshold, the target area between the next frame and the second frame can be judged. To this end, the second backlight brightness can be updated to the first backlight brightness, and the second backlight brightness of the next frame of the second frame can be obtained, so as to update the target area according to the updated first backlight brightness and the current second backlight brightness, so as to update the target area in a scenario where the picture is in dynamic playback.
[0037] In some embodiments, the controller performs the step of recording the duration of the backlight similarity, and is further configured to:
[0038] If the target area is updated, updating the backlight similarity according to the updated target area;
[0039] If the updated backlight similarity is less than the similarity threshold, the duration is reset.
[0040] The above technical scheme has the following beneficial effects or advantages: when the target area changes, the backlight similarity also changes accordingly. In order to improve the accuracy of the backlight similarity judgment, the backlight similarity is updated according to the changed target area. When the updated backlight similarity is less than the similarity threshold, the backlight similarity changes and the duration is interrupted. Therefore, the duration can be reset according to the updated backlight similarity, thereby improving the accuracy of recording the duration of the backlight similarity.
[0041] In some embodiments, the controller performs the step of performing memory consolidation on the memory fragments through the first task process, which is specifically configured as follows:
[0042] Traversing the application processes currently running on the display device to obtain the application load;
[0043] Calculating a first load of the display device according to the application load;
[0044] If the first load is greater than a load threshold, memory consolidation is performed on the memory fragments through a first task process.
[0045] The above technical solution has the following beneficial effects or advantages: when the load usage is less than the load threshold, the display device performs memory consolidation on the memory fragments, which will increase the load usage and cause the application to freeze. Therefore, when the load usage is less than the load threshold, the display device does not perform memory consolidation on the memory fragments. When the load usage is less than the load threshold, the memory fragments are consolidated through the first task process, thereby improving the smoothness of the display device operation.
[0046] In some embodiments, if the first load is less than or equal to a load threshold, the controller is further configured to:
[0047] Get the running time of each application process running in the background;
[0048] The application process whose running time is greater than or equal to the running time threshold is closed to release the application load of the application process.
[0049] The above technical solution has the following beneficial effects or advantages: when the load usage is greater than the load threshold, the display device shuts down the application processes whose running time is greater than or equal to the running time threshold to release the load usage corresponding to these application processes, thereby providing load space for memory consolidation of memory fragments, reducing the lag when the application process is running, and improving the smoothness of the display device operation.
[0050] In a second aspect, some embodiments of the present application provide a memory integration method, which is applied to the display device described in the first aspect, wherein the display device includes a display configured to display a user interface; and a controller; the method includes:
[0051] In the process of displaying pictures by the display device, obtaining a first backlight brightness of a first picture and a second backlight brightness of a second picture, where the second picture is a picture displayed after the first picture;
[0052] Add a mark to a display area where the brightness difference between the first backlight brightness and the second backlight brightness is less than or equal to a difference threshold, to obtain a target area;
[0053] Calculating the backlight similarity between the first backlight brightness and the second backlight brightness according to the area ratio of the target area to the display area corresponding to the second backlight brightness;
[0054] If the backlight similarity is greater than or equal to the similarity threshold, record the duration of the backlight similarity;
[0055] When the duration is greater than or equal to the duration threshold, the first task process performs memory integration on the memory fragments to obtain a memory block with a continuous address.
[0056] It can be seen from the above technical solutions that the present application provides a display device and a memory integration method, wherein the method obtains the first backlight brightness of the first picture and the second backlight brightness of the second picture in response to a control instruction for memory integration, adds a mark to the display area where the brightness difference between the first backlight brightness and the second backlight brightness is less than or equal to the difference threshold, obtains the target area, and calculates the backlight similarity between the first backlight brightness and the second backlight brightness according to the area ratio of the target area to the display area corresponding to the second backlight brightness. If the backlight similarity is greater than or equal to the similarity threshold, the duration of the backlight similarity is recorded, and when the duration is greater than or equal to the duration threshold, memory integration is performed on the memory fragments through the first task process. The present application calculates the backlight similarity between pictures, thereby judging the picture changes according to the duration of the backlight similarity, and performs memory integration when the picture content changes slightly, thereby reducing the jamming effect of memory integration on the picture. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0058] Figure 1 A schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application;
[0059] Figure 2 A schematic diagram of the hardware configuration of a display device provided in some embodiments of the present application;
[0060] Figure 3 A schematic diagram of software configuration of a display device provided in some embodiments of the present application;
[0061] Figure 4 A flowchart of memory integration performed by a display device provided in some embodiments of the present application;
[0062] Figure 5 A timing diagram of memory integration performed by a display device provided in some embodiments of the present application;
[0063] Figure 6 A flow chart of a display device obtaining a first backlight brightness according to a first picture provided in some embodiments of the present application;
[0064] Figure 7 A flow chart of determining a target area for a display device provided in some embodiments of the present application;
[0065] Figure 8A screen diagram of a display device provided in some embodiments of the present application dividing a display area into sub-areas;
[0066] Fig. 9 A flow chart of a display device determining brightness difference according to partition data provided in some embodiments of the present application;
[0067] Fig.10 A flowchart of setting a similarity threshold according to the number of partitions for a display device provided in some embodiments of the present application;
[0068] Fig.11 A flowchart of resetting the duration after a display device updates a target area provided in some embodiments of the present application;
[0069] Fig.12 A flowchart of a display device provided in some embodiments of the present application determining to perform memory integration according to a load threshold. DETAILED DESCRIPTION
[0070] The following embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following embodiments do not represent all implementations consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application as detailed in the claims.
[0071] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0072] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0073] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0074] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0075] In the embodiment of the present application, the display device 200 generally refers to a device with image display and data processing capabilities. For example, the display device 200 includes but is not limited to a smart TV, a mobile terminal, a computer, a monitor, an advertising screen, a wearable device, a virtual reality device, an augmented reality device, etc.
[0076] Figure 1 This is a schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application. Figure 1 As shown in FIG. 1 , a user can operate the display device 200 through touch operation, the mobile terminal 300 and the control device 100. The control device 100 is used to receive operation instructions input by the user and convert the operation instructions into control instructions that can be recognized and responded to by the display device 200. For example, the control device 100 can be a remote controller, a stylus pen, a handle, etc.
[0077] The mobile terminal 300 can be used as a control device for performing human-computer interaction between the user and the display device 200. The mobile terminal 300 can also be used as a communication device for establishing a communication connection with the display device 200 and performing data interaction. In some embodiments, the mobile terminal 300 can install software applications with the display device 200, and achieve connection and communication through a network communication protocol to achieve the purpose of one-to-one control operation and data communication. The audio and video content displayed on the mobile terminal 300 can also be transmitted to the display device 200 to achieve a synchronous display function.
[0078] In some embodiments, the mobile terminal 300 or other electronic devices may also simulate the functions of the control device 100 by running an application program for controlling the display device 200 .
[0079] like Figure 1 As also shown in FIG. 4 , the display device 200 also communicates data with the server 400 through various communication methods. The display device 200 may be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks.
[0080] The display device 200 may provide a broadcast receiving television function, and may also additionally provide an intelligent network television function with a computer support function, including but not limited to network television, smart television, Internet Protocol television (IPTV), and the like.
[0081] Figure 2 Some embodiments of the present application provide Figure 1 2 is a block diagram of the hardware configuration of the display device 200.
[0082] In some embodiments, the display device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface.
[0083] In some embodiments, the detector 230 is used to collect signals of the external environment or external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0084] In some embodiments, the display 260 includes a display function component for presenting a picture, and a driving component for driving an image display. The display 260 is used to receive an image signal output from the controller 250 for display. For example, the display 260 can be used to display video content, image content, and components of a menu control interface and a user control UI interface.
[0085] In some embodiments, the communication device 220 is a component for communicating with an external device or server 400 according to various communication protocol types. The display device 200 may be provided with a plurality of communication devices 220 according to different supported communication modes. For example, when the display device 200 supports wireless network communication, the display device 200 may be provided with a communication device 220 including a WiFi function. When the display device 200 supports Bluetooth connection communication, the display device 200 needs to be provided with a communication device 220 including a Bluetooth function.
[0086] The communication device 220 can enable the display device 200 to communicate with the external device or server 400 by wireless or wired connection. Among them, the wired connection can connect the display device 200 with the external device through components such as data cables and interfaces. The wireless connection can connect the display device 200 with the external device through wireless signals or wireless networks. The display device 200 can establish a connection relationship with the external device directly, or indirectly establish a connection relationship through a gateway, a router, a connection device, etc.
[0087] In some embodiments, the controller 250 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and a first interface to an nth interface for input / output. The controller 250 controls the operation of the display device and responds to the user's operation through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200.
[0088] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0089] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display 260 , and the user input interface receives the user input command through the graphical user interface (GUI).
[0090] In some embodiments, the audio output device 270 may be a local speaker of the display device 200, or may be an external audio output device of the display device 200. In particular, for the external audio output device of the display device 200, the display device 200 may also be provided with an external audio output terminal, and the audio output device may be connected to the display device 200 through the external audio output terminal to output the sound of the display device 200.
[0091] In some embodiments, the user input interface 280 may be used to receive instructions from a user.
[0092] In order to perform user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program for managing and controlling hardware resources and software resources in the display device 200. The operating system can control the display device to provide a user interface, for example, the operating system can directly control the display device to provide a user interface, or can provide a user interface by running an application program. The operating system also allows the user to interact with the display device 200.
[0093] It should be noted that the operating system may be a native operating system based on a specific operating platform, or a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for the display device.
[0094] The operating system can be divided into different modules or layers according to the functions implemented, such as Figure 3 As shown, in some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the system library layer and the kernel layer.
[0095] In some embodiments, the application layer is used to provide services and interfaces for applications so that the display device 200 can run applications and interact with users based on the applications. At least one application can be run in the application layer, and these applications can be window programs, system settings programs, clock programs, etc. that come with the operating system; they can also be applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.
[0096] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Through the API interface, applications can access system resources and obtain system services during execution.
[0097] like Figure 3 As shown, in the embodiment of the present application, the application framework layer includes a view system, managers, content providers, etc., wherein the view system can design and implement the interface and interaction of the application, and the view system includes lists, grids, text boxes, buttons, etc. The manager includes at least one of the following modules: an activity manager for interacting with all activities running in the system; a location manager for providing system services or applications with access to system location services; a package manager for retrieving various information related to the application package currently installed on the device; a notification manager for controlling the display and clearing of notification messages; and a window manager for managing icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.
[0098] In some embodiments, the activity manager is used to manage the life cycle of each application and the usual navigation back function, such as controlling the exit, opening, and back of the application. The window manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, capturing the screen, and controlling the display window changes, for example, reducing the display window, shaking the display, distorting the display, etc.
[0099] In some embodiments, the system runtime layer can provide support for the framework layer. When the framework layer is used, the operating system will run the instruction library contained in the system runtime layer, such as the C / C++ instruction library, to implement the functions to be implemented by the framework layer.
[0100] In some embodiments, the kernel layer is a functional layer between the hardware and software of the display device 200. The kernel layer can implement functions such as hardware abstraction, multitasking, and memory management. Figure 3 As shown, the kernel layer may be configured with hardware drivers, and the drivers included in the kernel layer may be at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0101] It should be noted that the above example is only a simple division of the operating system functions and does not constitute a limitation on the specific operating system form of the display device 200 in the embodiment of the present application. Depending on factors such as the function of the display device and the type of operating system, the number of levels and specific level types contained in the operating system may be expressed in other forms.
[0102] In some embodiments, after being powered on, the display device 200 can display a user interface, which may include application controls corresponding to multiple applications to provide the user with application functions that the display device 200 can execute, such as playing songs, querying information, playing videos, etc.
[0103] When the display device 200 runs an application, it needs to allocate memory for the application so that the application can run normally through the allocated memory. Different applications require different memory sizes. Therefore, the display device 200 can allocate different sizes of memory to different applications through the system of the display device 200.
[0104] It should be noted that, in order to ensure the normal operation of the application, the display device 200 needs to allocate continuous memory to the application, that is, allocate the memory as a whole.
[0105] When the memory size allocated by the display device 200 does not match the memory size required to run the application, memory fragmentation will occur. For example, the memory required to run the application is 90MB, and the display device 200 allocates 100MB of memory to the application. At this time, the application will divide 90MB of continuous memory from the 100MB memory to support the operation of the application, and the remaining 10MB will be divided into memory fragments of 10MB memory size. Therefore, in the above memory allocation process, although the total memory size does not change, the allocated 100MB of continuous memory is divided into 90MB of continuous memory and 10MB of memory fragments, which results in 90MB of continuous memory in the total 100MB memory, which can no longer support the operation of the application with a memory requirement of 100MB.
[0106] When the memory released by the display device 200 does not match the memory required to be released when closing the application, memory fragmentation will also occur. For example, the memory required to run the application is 90MB, and when the application is closed, the display device 200 should release 90MB of memory to free up memory space. When the memory that should be released is not balanced with the memory actually released, the unreleased part will also be classified as memory fragmentation.
[0107] When the system runs for a long time, it will repeatedly allocate and release memory according to the running and closing of each application. This will result in a large amount of memory fragments being formed during the repeated allocation and release of memory. The memory fragments cannot be allocated by the application in a cumulative stacking manner, resulting in low memory utilization.
[0108] To improve memory usage, the display device 200 regularly integrates memory fragments. For example, it integrates five memory fragments of 10MB in size to obtain a continuous memory of 50MB in size to allocate memory to applications that meet the memory size requirements.
[0109] Memory consolidation requires the load of the display device 200. When the load of the display device 200 is large, it will affect the operation of the application and cause the running application to freeze. In order to reduce freezes, the display device 200 can perform memory consolidation on memory fragments after entering the standby mode. However, this memory consolidation method requires waiting for the display device 200 to enter the standby mode, which has a lag. If the display device 200 is always in the running mode, memory consolidation cannot be performed, which affects the efficiency of memory consolidation.
[0110] In order to solve the problem of low efficiency in executing memory integration, some embodiments of the present application provide a display device 200, including a display 260, which is configured to display a user interface; a controller 250 is configured to execute a memory integration method to solve the problem of low efficiency in executing memory integration. In order to facilitate the execution of the above method, the controller 250 may include a backlight brightness module, a data comparison module and a memory integration module, wherein the backlight brightness module is configured to obtain the backlight brightness of the picture of the display device 200, the data comparison module is configured to compare the difference data between the backlight brightness of two frames of the picture, and the memory integration module is configured to perform memory integration on memory fragments. Figure 4 A flowchart of memory integration performed by a display device provided in some embodiments of the present application. Figure 5 The timing diagram of memory integration performed by the display device provided in some embodiments of the present application. The display device 200 performs memory integration according to the following steps: Figure 5 The timing relationships shown in Figure 1 perform memory consolidation. Figure 4 and Figure 5 , the method comprises the following contents:
[0111] S100: When a display device displays pictures, a first backlight brightness of a first picture and a second backlight brightness of a second picture are obtained.
[0112] When the display device 200 displays a picture, the controller 250 can automatically enter the running state of integrating memory fragments to obtain the first backlight brightness of the first picture and the second backlight brightness of the second picture. The first picture is the picture currently being displayed by the display device 200.
[0113] In some embodiments, the user may also actively send a control instruction for memory integration to the display device 200 through the control device 100. After receiving the control instruction, the controller 250 may respond to the control instruction and switch the display device 200 to an operating state of integrating memory fragments.
[0114] The first backlight brightness is the backlight brightness of the first picture. When the display device 200 displays the picture, the backlight can be emitted to the screen to improve the picture display effect of the display device 200. Therefore, the display device 200 may also include a backlight assembly, which may be arranged inside the screen of the display 260, and is used to emit backlight to the screen when the display device 200 displays the picture, so as to improve the display effect of the display device 200. When the backlight assembly emits backlight, a backlight brightness is generated, and the backlight brightness is used to indicate the backlight brightness emitted by the backlight assembly at the corresponding screen position. The picture displayed by the display device 200 may include a plurality of regions with different colors. Therefore, the backlight brightness needs to be adjusted according to the color difference, so as to correspond to different color regions, and emit backlights of different brightness to the corresponding color regions of the screen, so as to keep the same display effect for the whole picture. Therefore, the data values of the backlight brightness in different color areas are different, and the depth of the color is positively correlated with the backlight brightness, that is, the darker the color, the harder it is to see the picture in the corresponding area, and the higher the required backlight brightness, so that the display device 200 can clearly display the picture content in the dark color area. Similarly, the lighter the color, the easier it is to see the picture in the corresponding area, and the display device 200 can reduce the backlight brightness in the light color area.
[0115] It should be noted that in the above embodiment, the dark color area and the light color area are relative color display areas. In actual applications, the display device 200 can determine the data value of the backlight brightness data through the color values of different display areas, thereby emitting backlight with different data values in the corresponding display areas through the backlight component to maintain the display effects of different display areas in the same screen.
[0116] The first backlight brightness is the backlight brightness data corresponding to the backlight emitted by the backlight assembly to the screen when the display device 200 displays the first picture. Based on the picture content of the first picture, the first picture may include different color display areas. Therefore, the first backlight brightness may include the backlight brightness of different display areas, such as Figure 6 As shown, the first picture includes two display areas of different colors, wherein for the display area of the shadow part, the backlight assembly can emit backlight of the first brightness, thereby generating backlight brightness 1, and for the display area of the blank part, the backlight assembly can emit backlight of the second brightness, thereby generating backlight brightness 2. The display device 200 can combine the regional backlight according to the backlight brightness 1 and the backlight brightness 2 to obtain the first backlight brightness.
[0117] The second picture is a picture displayed after the first picture. For example, the second picture may be the next frame of the first picture, or the next second of the first picture. The second backlight brightness is the backlight brightness of the second picture. The display device 200 may obtain the second picture when the first picture is being displayed or is about to be displayed. For example, when the display device 200 plays video data, it may pre-cache the content to be played through the network. Therefore, the display device 200 may determine the second picture through the cached content.
[0118] After determining the second picture, the display device 200 can traverse the color values corresponding to each display area in the second picture, and calculate the backlight brightness of the display area in the second picture according to the corresponding color values to obtain the backlight brightness of the area, and summarize the backlight brightness of each area into the second backlight brightness of the entire second picture.
[0119] S200: adding a mark to a display area where the brightness difference between the first backlight brightness and the second backlight brightness is less than or equal to a difference threshold, to obtain a target area.
[0120] After obtaining the first backlight brightness and the second backlight brightness, the display device 200 can obtain the display area where there is a backlight brightness difference between the first picture and the second picture, that is, the target area, through the data comparison module. Figure 7 As shown, the display device 200 can compare the first backlight brightness and the second backlight brightness to calculate the brightness difference between the first backlight brightness and the second backlight brightness, and add a mark to the display area where the brightness difference is less than or equal to the difference threshold to obtain the target area. When performing the comparison, the display device 200 needs to perform the comparison based on the backlight brightness of the same area to improve the accuracy of calculating the brightness difference.
[0121] When the backlight brightness of the first backlight brightness and the second backlight brightness in the same display area changes greatly, it means that the picture content of the first picture and the second picture has changed, and the display device 200 is in a dynamic playback state. At this time, if memory integration is performed on the memory fragments, the playback of the display device 200 will be jammed, affecting the user's viewing experience. When the backlight brightness of the first backlight brightness and the second backlight brightness in the same display area changes little, it means that the picture content of the first picture and the second picture changes little, or the display device 200 is in a static display state. At this time, even if memory integration is performed on the memory fragments to cause jamming, it will not affect the current static display picture content.
[0122] Therefore, the display device 200 can set a difference threshold to determine the change between the first backlight brightness and the second backlight brightness. The display device 200 can compare the brightness difference with the difference threshold, and mark the display area where the brightness difference is less than or equal to the difference threshold in the first backlight brightness and the second backlight brightness as the target area. For ease of comparison, the display device 200 can add a mark to the display area where the brightness difference is less than or equal to the difference threshold in the second picture to obtain the target area. It should be understood that the target area can be a local area in the first backlight brightness and the second backlight brightness where the picture content changes. If the picture in the entire screen changes, the target area can also be the entire second picture. The target area can include multiple local areas or an overall area.
[0123] In some embodiments, the display device 200 may also obtain the target area in units of partitions, that is, the display device 200 calculates the partition brightness difference between the first backlight brightness and the second backlight brightness in the partition based on the same partition. Figure 8 As shown, the display device 200 may include multiple partitions, and the number of partitions may be determined according to the device configuration information of the display device 200. For example, the larger the screen size of the display device 200, the more corresponding partitions there are, and the smaller the screen size of the display device 200, the smaller the corresponding partitions there are. Fig. 9 As shown, the display device 200 can obtain the number of partitions according to the device configuration information, so as to divide the display area of the display device 200 into multiple sub-areas based on the number of partitions.
[0124] Corresponding to the first picture and the second picture, the display device 200 can divide the display area corresponding to the first backlight brightness into a plurality of first sub-areas according to the distribution positions of the sub-areas in the display area, and divide the display area corresponding to the second backlight into a plurality of second sub-areas according to the distribution positions of the sub-areas in the screen. The number of first sub-areas and the number of second sub-areas are the same as the number of sub-areas. The first sub-area brightness is the first backlight brightness in the corresponding sub-area, and the second sub-area brightness is the second backlight brightness in the corresponding sub-area. After the sub-areas are divided, the display device 200 needs to calculate the sub-area brightness difference between the first backlight brightness and the second backlight brightness corresponding to the sub-area, that is, the brightness difference between the first sub-area brightness and the second sub-area brightness of the same sub-area.
[0125] When the partition brightness difference is less than or equal to the difference threshold, the display device 200 may mark the corresponding sub-region as the target region. Since the second picture is displayed after the first picture, and the first backlight brightness and the second backlight brightness need to be compared, in this embodiment, the display device 200 may mark the target region in the sub-region corresponding to the display area of the second picture for comparison. After calculating the partition brightness difference of each sub-region and comparing it with the difference threshold, all marked sub-regions form the final target region.
[0126] It should be noted that, since the brightness difference is the difference in backlight brightness between two frames, the comparison of the backlight brightness of the overall area and the comparison of the backlight brightness of the partitioned area can use the same difference threshold as the judgment threshold.
[0127] In this embodiment, the display area corresponding to the first backlight brightness and the display area corresponding to the second backlight brightness are divided into a plurality of sub-areas by using the partition as the unit, and the brightness difference of each sub-area is calculated by using the sub-area as the unit to improve the accuracy of acquiring the target area.
[0128] In the process of calculating the brightness difference, the display device 200 may set a sub-region calculation order to calculate the brightness difference of the sub-regions in sequence according to the sub-region calculation order. For example, the sub-region calculation order may be the first sub-region in the upper right corner as the first sub-region for calculating the brightness difference, and the brightness difference may be calculated in sequence in the horizontal direction, or in sequence in the vertical direction. The present application does not limit the specific order of setting the sub-region calculation order.
[0129] To this end, based on the multiple sub-areas, the first backlight brightness and the second backlight brightness can also be expressed in the form of a set, where the first backlight brightness is L 1 = {l 11 , l 12 , l 13 ,...l 1n}, the second backlight brightness is L 2 = {l 21 , l 22 , l 23 ,...l 2n}, when determining the target area, if the brightness difference between the first partition brightness of the first partition area and the second partition brightness of the second partition area at the corresponding partition position is less than or equal to the difference threshold, the corresponding partition area can be added with a first mark, for example, 1; if the brightness difference is greater than the difference threshold, the corresponding partition area can be added with a second mark, for example, 0; therefore, the partition area after calculating the brightness difference can be expressed as ΔL = {1, 0, 1, ... 1}. Among them, the partition area with the first mark added is the target area.
[0130] S300: Calculating backlight similarity between the first backlight brightness and the second backlight brightness according to an area ratio of the target area to a display area corresponding to the second backlight brightness.
[0131] The target area may represent a display area where the backlight brightness changes less when the display device 200 switches from the first screen to the second screen. Therefore, the display device 200 may calculate the backlight similarity between the first backlight brightness and the second backlight brightness based on the area ratio of the target area to the display area corresponding to the second backlight brightness.
[0132] In some embodiments, the display device 200 may also calculate the backlight similarity by the number of partitions. The backlight similarity is a ratio result. For example, the display device 200 divides the display area of the display device 200 into 100 sub-areas based on the number of partitions, that is, the display area corresponding to the first backlight brightness and the display area corresponding to the second backlight brightness include 100 sub-areas respectively. Among the 100 sub-areas, only one sub-area has a sub-area brightness difference greater than the difference threshold, and the sub-area brightness differences of the remaining sub-areas are less than or equal to the difference threshold. Then, the backlight similarity between the first backlight brightness and the second backlight brightness is 99%.
[0133] Therefore, in the process of calculating the backlight similarity, the display device 200 can obtain the number of target areas and obtain the target partition number. After obtaining the target partition number, the ratio of the target partition number to the partition number of the second partition area is calculated to obtain the backlight similarity.
[0134] S400: If the backlight similarity is greater than or equal to the similarity threshold, record the duration of the backlight similarity.
[0135] If the backlight similarity is greater than or equal to the similarity threshold, it means that the first picture and the second picture can be judged to be the same. At this time, it means that the display device 200 is in a static display mode, and memory integration can be performed on the memory fragments. If the display device 200 responds to the pause command input by the user and briefly pauses the media being played by the display device 200, after the short pause, the user continues to input the play command to resume the media playback. At this time, due to the resumption of the media playback, the picture content of the current frame and the next frame changes, and the backlight similarity decreases. If the memory integration of the memory fragments is performed, it will still cause jamming.
[0136] To this end, when the backlight similarity is greater than or equal to the similarity threshold, the display device 200 starts a timing program to record the duration of the backlight similarity, thereby determining the duration that the display device 200 is in the static display mode.
[0137] S500: When the duration is greater than or equal to the duration threshold, the first task process performs memory integration on the memory fragments to obtain a memory block with a continuous address.
[0138] When the duration of the backlight similarity is greater than or equal to the duration threshold, it indicates that the display device 200 is in a state of no picture change for a long time and is not affected by problems such as freezing. At this time, the display device 200 can perform memory integration on the memory fragments through the first task process to obtain a memory block with a continuous address.
[0139] It should be noted that when recording the duration of backlight similarity, the display device 200 will continue to calculate the backlight similarity based on the picture to be displayed. At this time, the display device 200 can update the first picture according to the currently displayed picture, and can update the second picture according to the next frame of the currently displayed picture, and calculate the backlight similarity based on the first backlight brightness of the updated first picture and the second backlight brightness of the updated second picture.
[0140] If the backlight similarity changes, it indicates that the backlight similarity is interrupted, and the timing is terminated to obtain the current duration of the backlight similarity. If the current duration is less than the duration threshold, the first task process performs memory integration on the memory fragments.
[0141] The memory integration method provided in the above embodiment determines whether the displayed picture changes by calculating the similarity between the first backlight brightness of the first picture and the second backlight brightness of the second picture. When the backlight similarity is greater than or equal to the similarity threshold, the duration of the backlight similarity is recorded. When the duration is greater than or equal to the duration threshold, memory integration is performed on the memory fragments through the first task process, so that when the display device 200 is in the running state, memory integration of the memory fragments can be performed, thereby improving the efficiency of memory integration.
[0142] In some embodiments, for display devices 200 with different configurations, different numbers of partitions may be included, and different similarity thresholds may be set for different numbers of partitions. The larger the screen size of the display device 200, the more partitions are included in the same picture area. Therefore, when the picture changes, the number of corresponding partitions will increase. Fig.10 As shown, the display device 200 can determine the similarity threshold according to the number of partitions. If the number of partitions X is less than or equal to the first partition number threshold X1, the display device 200 can set the first threshold as the similarity threshold. When the number of partitions X is greater than the first partition number threshold X1 and less than or equal to the second partition number threshold X2, the display device 200 can set the second threshold less than the first threshold as the similarity threshold. If the number of partitions X is greater than the second partition number threshold X2, a third threshold less than the second threshold is set as the similarity threshold.
[0143] The above embodiment is described in detail below by way of example. For example, the first partition number threshold may be 100, the second partition number threshold may be 500, the first threshold is 100%, the second threshold is 90%, and the third threshold is 80%. When the number of partitions is less than or equal to 100, the similarity threshold is the first threshold, i.e., 100%; when the number of partitions is greater than 100 and less than or equal to 500, the similarity threshold is the second threshold, i.e., 90%; when the number of partitions is greater than 500, the similarity threshold is the third threshold, i.e., 80%.
[0144] The above technical features set different similarity thresholds by displaying different device configuration information of the device 200 to improve the accuracy of determining the backlight similarity between the first backlight brightness and the second backlight brightness.
[0145] In some embodiments, if the backlight similarity is less than the similarity threshold, it means that the image content of the first image and the second image has changed significantly. Therefore, it is not appropriate to perform memory integration on the memory fragments to reduce the image freeze caused by memory integration on the display device 200.
[0146] In some embodiments, the process of the display device 200 recording the duration of the backlight similarity is a dynamic process, that is, the backlight similarity is continuously calculated based on the backlight brightness of the current frame (first frame) and the backlight brightness of the next frame (second frame). In this dynamic process, the display device 200 can update the second picture to the current first picture and the third picture located in the next frame of the second picture to the current second picture during the picture switching process. Corresponding to the backlight brightness, the display device 200 can update the second backlight brightness to the current first backlight brightness, and mark the backlight brightness of the next frame of the second picture, that is, the third picture, as the second backlight brightness, thereby re-executing the process of calculating the brightness difference based on the updated first backlight brightness and the current second backlight brightness to update the target area.
[0147] The display device 200 records the duration of the backlight similarity. If the display device 200 switches to a dynamic playback state at this time, that is, the picture content of the current first picture and the current second picture changes, correspondingly, the first backlight brightness and the second backlight brightness also change, and the target area between the first picture and the second picture is updated.
[0148] As the target area is updated, such as Fig.11 As shown, the display device 200 needs to update the backlight similarity according to the updated target area. If the updated backlight similarity is greater than or equal to the similarity threshold, it means that although the picture content has changed, the magnitude of the change is very small, and the changed backlight similarity is still greater than or equal to the similarity threshold, and the duration can continue to be recorded.
[0149] When the updated backlight similarity is less than the similarity threshold, it means that the picture content changes greatly, and the display device 200 switches from a static display state to a dynamic playback state. At this time, the display device 200 is not suitable for performing a memory integration process on the memory fragments. Therefore, the display device 200 can reset the duration.
[0150] In some embodiments, Fig.12 As shown, before the display device 200 performs the memory consolidation process on the memory fragments through the first task process, it can also traverse the application processes currently running on the display device 200 to obtain the application load. The application load is the sum of the loads occupied by the application processes currently running on the display device 200. Based on the application load, the display device 200 can calculate the currently available first load, that is, calculate the difference between the total load and the application load to obtain the first load.
[0151] In order to facilitate the normal operation of the display device 200, the display device 200 usually reserves part of the load. The display device 200 can set a load threshold according to the reserved load. If the first load is less than or equal to the load threshold, it means that the display device 200 is already in a state of heavy load. At this time, performing memory integration on the memory fragments will increase the load of the display device 200, causing the display device 200 to freeze. Therefore, when a load is less than or equal to the load threshold, memory integration is not performed on the memory fragments. When the first load is greater than the load threshold, memory integration is performed on the memory fragments through the first task process.
[0152] In some embodiments, when the first load is less than or equal to the load threshold, the display device 200 can release some application processes to provide available load resources for the first task process. To this end, the display device 200 can obtain the running time of each application process running in the background. If the application runs for a long time in the background, it means that the application process may not be frequently used by the user. Therefore, the application load of the application process can be released to release load resources.
[0153] In order to accurately determine the application processes that are not frequently used by the user, the display device 200 can set a running time threshold. If the running time of the application running in the background is greater than or equal to the running time threshold, the application will be closed to release the application load of the application and provide load resources for the first task process.
[0154] The first task process is a task process for performing memory consolidation on memory fragments. The display device 200 can call a preset process file for creating the first task process in a local configuration file. For example, the / proc / sys / vm / compact_memory file can be a preset process file. The display device 200 can write a trigger value in the preset process file. For example, in the / proc / sys / vm / compact_memory file, write a trigger value of "1", that is, trigger the task node for creating the first task process and start creating the first task process. After creating the first task process, the display device 200 can detect memory fragments in the system memory through the first task process, and perform memory consolidation on the memory fragments. For example, 10 1G memory fragments are subjected to memory consolidation to obtain 1 10G continuous memory, thereby completing the memory integration and obtaining the memory result.
[0155] In some embodiments, the detection of the application load of the display device 200 can also be performed before obtaining the first backlight brightness and the second backlight brightness. The embodiment of the present application can executablely adjust the detection process of the application load, as well as calculate the backlight similarity between the first backlight brightness and the second backlight brightness, and record the execution order of the process of the duration of the backlight similarity.
[0156] Some embodiments of the present application also provide a memory integration method, which is applied to a display device 200. To facilitate the execution of the above method, the display device 200 should at least include a display 260 configured to display a user interface and a controller 250. The method includes:
[0157] S100: During the process of displaying pictures by the display device, a first backlight brightness of a first picture and a second backlight brightness of a second picture are obtained.
[0158] The second picture is a picture displayed after the first picture.
[0159] S200: adding a mark to a display area where the brightness difference between the first backlight brightness and the second backlight brightness is less than or equal to a difference threshold, to obtain a target area.
[0160] S300: Calculating backlight similarity between the first backlight brightness and the second backlight brightness according to an area ratio of the target area to a display area corresponding to the second backlight brightness.
[0161] S400: If the backlight similarity is greater than or equal to the similarity threshold, record the duration of the backlight similarity.
[0162] S500: When the duration is greater than or equal to the duration threshold, the first task process performs memory integration on the memory fragments to obtain a memory block with a continuous address.
[0163] It can be seen from the above technical solutions that the present application provides a display device and a memory integration method, wherein the method obtains the first backlight brightness of the first picture and the second backlight brightness of the second picture in response to a control instruction for memory integration, adds a mark to the display area where the brightness difference between the first backlight brightness and the second backlight brightness is less than or equal to the difference threshold, obtains the target area, and calculates the backlight similarity between the first backlight brightness and the second backlight brightness according to the area ratio of the target area to the display area corresponding to the second backlight brightness. If the backlight similarity is greater than or equal to the similarity threshold, the duration of the backlight similarity is recorded, and when the duration is greater than or equal to the duration threshold, memory integration is performed on the memory fragments through the first task process. The present application calculates the backlight similarity between pictures, thereby judging the picture changes according to the duration of the backlight similarity, and performs memory integration when the picture content changes slightly, thereby reducing the jamming effect of memory integration on the picture.
[0164] The same and similar parts between the various embodiments in this specification can be referenced to each other and will not be described again here.
[0165] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention or certain parts of the embodiments.
[0166] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0167] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that: include: a display configured to display a user interface; The controller is configured as: In the process of displaying pictures by the display device, obtaining a first backlight brightness of a first picture and a second backlight brightness of a second picture, where the second picture is a picture displayed after the first picture; Add a mark to a display area where the brightness difference between the first backlight brightness and the second backlight brightness is less than or equal to a difference threshold, to obtain a target area; Calculating the backlight similarity between the first backlight brightness and the second backlight brightness according to the area ratio of the target area to the display area corresponding to the second backlight brightness; If the backlight similarity is greater than or equal to the similarity threshold, record the duration of the backlight similarity; When the duration is greater than or equal to the duration threshold, the first task process performs memory integration on the memory fragments to obtain a memory block with a continuous address.
2. The display device according to claim 1, characterized in that The controller performs the step of adding a mark to a display area where the brightness difference between the first backlight brightness and the second backlight brightness is less than or equal to a difference threshold, and is specifically configured as follows: Acquire the number of partitions according to the device configuration information of the display device, so as to divide the display area of the display device into at least one sub-area based on the number of partitions; Calculating a subarea brightness difference between a first backlight brightness and a second backlight brightness corresponding to at least one subarea; The sub-region whose partition brightness difference is less than or equal to the difference threshold is marked as the target region.
3. The display device according to claim 2, characterized in that The controller performs the step of calculating the backlight similarity between the first backlight brightness and the second backlight brightness according to the area ratio of the target area to the display area corresponding to the second backlight brightness, and is specifically configured as follows: Obtaining the number of the target areas to obtain the number of target partitions; The backlight similarity is obtained by calculating a ratio of the number of the target partitions to the number of partitions in the second partition area.
4. The display device according to claim 2, characterized in that After executing the step of acquiring the number of partitions according to the device configuration information of the display device, the controller is further configured to: If the number of partitions is less than or equal to a first partition number threshold, setting the first threshold as the similarity threshold; If the number of partitions is greater than the first partition number threshold and less than or equal to the second partition number threshold, the second threshold is set as the similarity threshold, and the second threshold is less than the first threshold; If the number of partitions is greater than the second partition number threshold, a third threshold is set as the similarity threshold, and the third threshold is less than the second threshold.
5. The display device according to claim 1, characterized in that The controller performs a step of performing memory consolidation on memory fragments through a first task process, and is specifically configured as follows: Retrieving a preset process file for creating a first task process in a local configuration file; Writing a trigger value into the preset process file to create the first task process; Through the first task process, memory integration is performed on the memory fragments collected in the system memory to obtain memory blocks with continuous addresses.
6. The display device according to claim 1, characterized in that If the backlight similarity is greater than or equal to a similarity threshold, the controller is further configured to: Updating the second backlight brightness to the first backlight brightness; Marking the backlight brightness of the next frame of the second frame as the second backlight brightness; The target area is updated according to the updated first backlight brightness and the current second backlight brightness.
7. The display device according to claim 6, characterized in that The controller performs the step of recording the duration of the backlight similarity, and is further configured to: If the target area is updated, updating the backlight similarity according to the updated target area; If the updated backlight similarity is less than the similarity threshold, the duration is reset.
8. The display device according to claim 1, characterized in that The controller performs a step of performing memory consolidation on memory fragments through a first task process, and is specifically configured as follows: Traversing the application processes currently running on the display device to obtain the application load; Calculating a first load of the display device according to the application load; If the first load is greater than a load threshold, memory consolidation is performed on the memory fragments through the first task process to obtain a memory block with a continuous address.
9. The display device according to claim 8, characterized in that If the first load is less than or equal to a load threshold, the controller is further configured to: Get the running time of each application process running in the background; The application process whose running time is greater than or equal to the running time threshold is closed to release the application load of the application process.
10. A memory integration method, characterized in that: Applied to a display device, the display device comprises a display configured to display a user interface; Controller; the method comprising: In the process of displaying pictures by the display device, obtaining a first backlight brightness of a first picture and a second backlight brightness of a second picture, where the second picture is a picture displayed after the first picture; Add a mark to a display area where the brightness difference between the first backlight brightness and the second backlight brightness is less than or equal to a difference threshold, to obtain a target area; Calculating the backlight similarity between the first backlight brightness and the second backlight brightness according to the area ratio of the target area to the display area corresponding to the second backlight brightness; If the backlight similarity is greater than or equal to the similarity threshold, record the duration of the backlight similarity; When the duration is greater than or equal to the duration threshold, the first task process performs memory integration on the memory fragments to obtain a memory block with a continuous address.
Citation Information
Patent Citations
Method and display for controlling multiple display area on display panel
CN101170709A
Fingerprint identification method and mobile terminal
CN107295195A
Memory allocation method for application program, mobile terminal, server and storage medium
CN109445945A
Picture processing method of photographing software
CN112019750A
Memory allocation method and device, storage medium and electronic equipment
CN113806238A