A screen display control method, device, equipment and medium
Patent Information
- Application Number
- CN202510481824.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2026-10-23
AI Technical Summary
对于非矩形屏幕(如圆形、椭圆形或不规则多边形),设备主控芯片给屏幕传输图像数据,不管图像数据是否会被屏幕显示,也会进行传输,从而导致大量无效像素被传输,浪费带宽资源
[0008]本申请实施例提供的屏幕显示控制方法中,当获取了当前针对屏幕显示请求刷新的区域时,其中,所述区域用于终端应用刷新显示图像;所述屏幕为所述终端的非矩形屏幕,可以利用所述当前针对屏幕显示请求刷新的区域,以及按照预设规则对所述屏幕进行划分得到的多个预设矩形区域,确定当前针对屏幕显示需要刷新的多个目标矩形区域;其中,所述多个目标矩形区域组成的总目标区域,小于所述当前针对屏幕显示请求刷新的区域;因此,基于所述多个目标矩形区域,控制所述屏幕刷新显示图像,可以减少需要传输给非矩形屏幕用于刷新显示的图像数据,节省了传输带宽,进而使得非矩形屏幕产品可以支持更高的分辨率和颜色位深。
Smart Images

Figure CN122963421A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of screen display technology, and in particular to a screen display control method, apparatus, device and medium. Background Technology
[0002] Many portable devices nowadays have screens, and their display technologies are mostly designed for standard rectangular screens. Their data transmission typically uses a local rectangular block method to transmit image data. For non-rectangular screens (such as circular, elliptical, or irregular polygonal screens), the device's main control chip transmits image data to the screen regardless of whether the image data will be displayed on the screen. This results in a large number of invalid pixels being transmitted, wasting bandwidth resources. Summary of the Invention
[0003] This application provides a screen display control method, apparatus, device, and medium to reduce the amount of image data that needs to be transmitted to a non-rectangular screen for refresh display, thereby saving transmission bandwidth and enabling non-rectangular screen products to support higher resolutions and color bit depths.
[0004] This application provides a screen display control method, including:
[0005] Obtain the area currently requested to be refreshed for screen display; wherein, the area is used by the terminal application to refresh and display images; the screen is a non-rectangular screen of the terminal;
[0006] Using the area currently requested to refresh the screen display, and multiple preset rectangular areas obtained by dividing the screen according to preset rules, multiple target rectangular areas that need to be refreshed for the current screen display are determined; wherein, the total target area composed of the multiple target rectangular areas is smaller than the area currently requested to refresh the screen display.
[0007] Based on the multiple target rectangular regions, the screen is controlled to refresh and display images.
[0008] In the screen display control method provided in this application embodiment, when the area currently requested to be refreshed for screen display is obtained, the area is used by the terminal application to refresh the displayed image; the screen is a non-rectangular screen of the terminal, and multiple target rectangular areas that need to be refreshed for screen display can be determined by using the area currently requested to be refreshed for screen display and multiple preset rectangular areas obtained by dividing the screen according to preset rules; wherein, the total target area composed of the multiple target rectangular areas is smaller than the area currently requested to be refreshed for screen display; therefore, by controlling the screen to refresh the displayed image based on the multiple target rectangular areas, the image data that needs to be transmitted to the non-rectangular screen for refresh display can be reduced, saving transmission bandwidth, thereby enabling non-rectangular screen products to support higher resolution and color bit depth.
[0009] In some implementations, multiple target rectangular regions are determined using the area currently requesting a screen display refresh, and multiple rectangular regions obtained by dividing the screen according to preset rules, including:
[0010] Determine the intersection area of the area currently requested to be refreshed for screen display with each of the multiple preset rectangular areas to obtain multiple target rectangular areas;
[0011] The plurality of preset rectangular regions are multiple rectangular regions obtained by dividing the screen according to preset rules.
[0012] In some implementations, controlling the screen refresh to display the image based on the plurality of target rectangular regions includes:
[0013] Determine the area refresh list, which includes screen display refresh information for each of the target rectangular areas;
[0014] The screen refresh display image is controlled by the area refresh list.
[0015] In some implementations, the screen display refresh information includes image display position information and image address information;
[0016] The specified area refresh list includes:
[0017] For each target rectangular region, determine the image display position information and image address information for that target rectangular region;
[0018] Based on the image display location information and image address information of each target rectangular region, a region refresh list is generated.
[0019] In some implementations, the screen display refresh information also includes: a command to set area coordinates and a command to start transmission.
[0020] In some implementations, the area refresh list further includes: screen refresh delay duration information between adjacent areas.
[0021] In some implementations, the screen is divided into multiple preset rectangular regions according to preset rules, including:
[0022] The screen is divided into multiple non-intersecting rectangular regions in a top-to-bottom order; wherein the total area covered by the multiple non-intersecting rectangular regions is larger than the screen area and smaller than the screen's outer rectangular region.
[0023] This application provides a screen display control device, comprising:
[0024] The request acquisition unit is used to acquire the area currently requested to refresh the screen display; wherein, the area is used by the terminal application to refresh the displayed image; and the screen is a non-rectangular screen of the terminal.
[0025] The target rectangular region determination unit is used to determine multiple target rectangular regions that need to be refreshed for the current screen display using the region currently requested to be refreshed for the screen display, and multiple preset rectangular regions obtained by dividing the screen according to preset rules; wherein, the total target region composed of the multiple target rectangular regions is smaller than the region currently requested to be refreshed for the screen display.
[0026] An output control unit is used to control the screen to refresh and display images based on the plurality of target rectangular regions.
[0027] Another embodiment of this application provides an electronic device including a memory and a processor, wherein the memory is used to store program instructions, and the processor is used to call the program instructions stored in the memory and execute any of the methods described above according to the obtained program.
[0028] Another embodiment of this application provides a computer-readable storage medium storing computer-executable instructions for causing the computer to perform any of the methods described above. Attached Figure Description
[0029] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1A flowchart illustrating a screen display control method provided in an embodiment of this application;
[0031] Figure 2 This application provides a schematic diagram of the region division of a circular screen.
[0032] Figure 3 This is another schematic diagram of the region division of a circular screen provided in an embodiment of this application;
[0033] Figure 4 This application provides a schematic diagram of a target rectangular area refreshed on a circular screen.
[0034] Figure 5 This is a schematic diagram illustrating an image refresh method provided in an embodiment of this application;
[0035] Figure 6 This is a schematic diagram illustrating another image refresh method provided in an embodiment of this application;
[0036] Figure 7 A schematic diagram illustrating a representation of a region refresh list provided in an embodiment of this application;
[0037] Figure 8 This is a schematic diagram of the area information of a QSPI interface provided in an embodiment of this application;
[0038] Figure 9 This is a schematic diagram of area information for an SPI or MCU interface provided in an embodiment of this application;
[0039] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0040] Figure 11 This is a schematic diagram of the structure of a screen display control device provided in an embodiment of this application. Detailed Implementation
[0041] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0042] This application provides a screen display control method, apparatus, device, and medium to reduce the amount of image data that needs to be transmitted to a non-rectangular screen for refresh display, thereby saving transmission bandwidth and enabling non-rectangular screen products to support higher resolutions and color bit depths.
[0043] The methods, apparatus, equipment, and media are based on the same concept of the application. Since the methods, apparatus, equipment, and media solve problems in similar principles, the implementation of the apparatus, equipment, media, and methods can refer to each other, and repeated parts will not be described again.
[0044] The terms "first," "second," etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0045] The following examples and embodiments are to be understood as illustrative only. While this specification may refer to "a," "an," or "some" examples or embodiments in several places, this does not mean that every such reference relates to the same example or embodiment, nor does it mean that the feature applies only to a single example or embodiment. Individual features of different embodiments may also be combined to provide other embodiments. Furthermore, terms such as "comprising" and "including" should be understood not to limit the described embodiments to consisting only of those features mentioned; such examples and embodiments may also include features, structures, units, modules, etc., not specifically mentioned.
[0046] The various embodiments of this application will now be described in detail with reference to the accompanying drawings. It should be noted that the order in which the embodiments are presented in this application represents only a chronological order and does not represent the superiority or inferiority of the technical solutions provided by the embodiments.
[0047] Portable devices that prioritize low cost and low power consumption often use simple display interfaces, such as SPI (Serial Peripheral Interface), QSPI (Quad Serial Peripheral Interface), or MCU (Microcontroller Unit) interfaces. In addition, the clock frequency of these interfaces is limited (for example, the typical value of SPI interface is 50MHz), so the interface transmission bandwidth is greatly limited, making it difficult for products to support screens with high resolution and high color bit depth.
[0048] In this embodiment of the application, for screens that commonly support local area refresh, the non-rectangular screen area is refreshed and displayed to optimize the transmission bandwidth. By saving transmission bandwidth, higher resolution and color bit depth can be supported.
[0049] See Figure 1 This application provides a screen display control method, including:
[0050] S101. Obtain the area currently requested to be refreshed for screen display; wherein, the area is used by the terminal application to refresh the displayed image; the screen is a non-rectangular screen of the terminal;
[0051] The terminal may be, for example, a portable device with a non-rectangular screen, such as a circular screen.
[0052] The application refers to the software module that sends display requests to the main control chip's display controller, such as a GUI (Graphics User Interface).
[0053] It should be noted that the screen display control method provided in this application embodiment is mainly applied to the display control of non-rectangular screens, which can achieve the effect of saving transmission bandwidth. Of course, the screen display control method provided in this application embodiment can also be applied to the display control of rectangular screens.
[0054] The area currently requesting a screen refresh can be a local area of the screen, and the shape of the local area can be a rectangular area.
[0055] S102. Using the area currently requested to refresh the screen display, and multiple preset rectangular areas obtained by dividing the screen according to preset rules, determine multiple target rectangular areas that need to be refreshed for the current screen display; wherein, the total target area composed of the multiple target rectangular areas is smaller than the area currently requested to refresh the screen display.
[0056] In some implementations, the screen is divided into multiple preset rectangular regions according to preset rules, including:
[0057] The screen is divided into multiple non-intersecting rectangular regions in a top-to-bottom order; wherein the total area covered by the multiple non-intersecting rectangular regions is larger than the screen area and smaller than the screen's outer rectangular region.
[0058] For example Figure 2As shown, the circular screen is divided into three non-intersecting rectangular regions, namely region 1, region 2, and region 3, in order from top to bottom. The total area covered by these three regions is larger than the circular screen area but smaller than the outer rectangular area of the circular screen.
[0059] In some implementations, multiple target rectangular regions are determined using the area currently requesting a screen display refresh, and multiple rectangular regions obtained by dividing the screen according to preset rules, including:
[0060] Determine the intersection area of the area currently requested to be refreshed for screen display with each of the multiple preset rectangular areas to obtain multiple target rectangular areas;
[0061] The plurality of preset rectangular regions are multiple rectangular regions obtained by dividing the screen according to preset rules.
[0062] For example, the user selects the area currently requesting a screen refresh via the GUI. Figure 2 Given the rectangular local area on the left side of the circular screen shown, we can find the intersection of this local area with areas 1, 2, and 3 respectively, and determine each intersection area to obtain three target rectangular areas, which are the areas that need to be refreshed and displayed.
[0063] S103. Based on the multiple target rectangular regions, control the screen to refresh and display images.
[0064] In some implementations, controlling the screen refresh to display the image based on the plurality of target rectangular regions includes:
[0065] Determine the area refresh list, which includes screen display refresh information for each of the target rectangular areas;
[0066] The screen refresh display image is controlled by the area refresh list.
[0067] The screen display refresh information for each target rectangular area refers to various information used to refresh the image display for that target rectangular area on the screen, such as related commands, area location, pixel address, and so on.
[0068] The area refresh list is a list that includes the screen display refresh information for each target rectangular area. Of course, it may also include other information, such as refresh delay information between target rectangular areas, etc.
[0069] In some implementations, the screen display refresh information includes image display position information and image address information;
[0070] The specified area refresh list includes:
[0071] For each target rectangular region, determine the image display position information and image address information for that target rectangular region;
[0072] Based on the image display location information and image address information of each target rectangular region, a region refresh list is generated.
[0073] Specifically, for each target rectangular region, the image display position information for that region includes, for example, the coordinates of the top-left and bottom-right vertices (e.g., using the top-left corner of the outer rectangle of the circular screen as the origin). The image address information for that target rectangular region refers to the storage address information of the image displayed within that region in memory, such as the image start address. Subsequently, the display controller can read the corresponding image data from memory based on the image address information of the target rectangular region, and output the read image data to be displayed within the target rectangular region based on the image display position information of that region.
[0074] In some implementations, the screen display refresh information also includes: a command to set area coordinates and a command to start transmission.
[0075] The commands for setting area coordinates include, for example, the CASET (Set Column Start Address) range command and the RASET (Set Row Start Address) range command.
[0076] The start transmission command, for example: RAMWR (Memory Start Write, indicating the start of transmission of image pixels within the range set by CASET and RASET) command.
[0077] In some implementations, the area refresh list further includes: screen refresh delay duration information between adjacent areas.
[0078] The screen refresh delay information between adjacent areas indicates that there needs to be a certain time interval between two local area refreshes of the screen (if not required, this information can be 0).
[0079] The following is an example of a specific embodiment.
[0080] Assuming the screen is Figure 2 Given the circular screen shown, the screen display refresh control method included in this embodiment includes:
[0081] Step 1: Refresh the actual physical display area on the screen (e.g., only the inner part of a circular screen needs to be refreshed, or for a certain period of time, only a non-rectangular area needs to be refreshed). Figure 2 As shown, the screen is divided vertically into multiple rectangular regions from top to bottom, forming a list of regions on the screen (including region 1 to region 3).
[0082] It should be noted that the area can also be divided horizontally from left to right. In other words, the embodiments of this application are also applicable to horizontal area division. However, considering that the existing physical screen scanning methods are basically from top to bottom, it is better to divide the area vertically than horizontally. If the screen scanning direction is from left to right, then it is better to divide the area horizontally from left to right.
[0083] These rectangular regions do not intersect, and their union can cover the entire visible physical display area of the screen, for example... Figure 2 The circular screen shown is divided into three regions labeled 1, 2, and 3. In some embodiments, the more regions there are, the more bandwidth can be saved. For example, Figure 3 As shown, the area is divided into 5 regions, namely region 0 to region 4, but the combined area of these 5 regions is less than... Figure 2 The total area of the three regions shown is small, so the total number of image pixels that need to be transmitted is smaller. For this circular screen, theoretically, the maximum saving in transmission bandwidth is 21%.
[0084] Step 2, for example Figure 4 As shown, the rectangular area requested for refresh by the application is... Figure 4 The area 4 shown has a top-left corner (g) and a bottom-right corner (h). It intersects with the rectangular areas in the screen area list from step one to form the actual refresh area list, including rectangular area 5 (top-left corner i and bottom-right corner j), rectangular area 6 (top-left corner k and bottom-right corner m), and rectangular area 7 (top-left corner e and bottom-right corner h).
[0085] It should be noted that the point at the lower right corner of the rectangular area described in this application embodiment belongs to the last pixel at the lower right corner of that area. For example, point h at the lower right corner of area 4 is the last pixel at the lower right corner inside area 4 (the same applies to other areas).
[0086] The application refers to the software module that sends display requests to the main control chip's display controller, such as a GUI (Graphics User Interface).
[0087] In some embodiments, by calculating the image start address offset through coordinate offset, the starting (memory) address of the image to be transmitted can be obtained for the list of regions that actually need to be refreshed (i.e., the actual refresh region list including rectangular regions 5 to 7 mentioned above).
[0088] For example, suppose the display request sent by the application includes the following information:
[0089] Information about rectangle 4 includes the coordinates (Xg, Yg) of the top left vertex g and the coordinates (Xh, Yh) of the bottom right vertex h;
[0090] Image starting address ADDR;
[0091] Image stride, which is the number of bytes in a row or the address offset of an adjacent row;
[0092] Image format, i.e., the number of bytes per pixel, is denoted as bytes_per_pixel (abbreviated as bpp).
[0093] Therefore, based on the information included in the display request sent by the above application, the area coordinates and image starting address of areas 5, 6, and 7 can be calculated:
[0094] For example Figure 4 As shown, the origin O is located at the top left corner vertex of the bounding rectangle of the display screen. Therefore, regarding region 5:
[0095] The coordinates of the top-left vertex i of region 5 are (Xi,Yi)=(MAX(Xa,Xg),MAX(Ya,Yg));
[0096] The coordinates of the lower right vertex j of region 5 are (Xj,Yj)=(MIN(Xb,Xh),MIN(Yb,Yh));
[0097] Since point j in the bottom right corner of region 5 is the last pixel in the bottom right corner inside region 5, therefore:
[0098] The width of region 5 is width(5) = Xj - Xi + 1;
[0099] The height of region 5 is (5) = Yj - Yi + 1;
[0100] If either the width or height of region 5 is less than 1, it means that rectangular region 4 does not intersect with region 1 and does not need to be added to the refresh region list.
[0101] The starting address of the image in region 5 is:
[0102] ADDR(5)=ADDR+(Yi-Yg)*stride+(Xi-Xg)*bytes_per_pixel (ie bpp).
[0103] Thus, refreshing the entire region 4 defined by vertices g and h becomes refreshing regions 5, 6, and 7. The total area of regions 5, 6, and 7 is smaller than the original area of region 4, thereby reducing the image data transmission bandwidth. In other words, this embodiment reduces the amount of image refresh data transmitted from the main control chip to the display screen, thereby reducing the transmission bandwidth.
[0104] Step 3: Refresh the image data of the refresh area list obtained in Step 2, namely Area 5, Area 6, and Area 7, to the screen. In other words, through multiple local (rectangular area) refreshes of the screen, the effective visible image content is updated to the screen.
[0105] In some embodiments, partial screen refresh requires first updating the refresh area position via a command, then sending another command to instruct the transmission of image data, and finally transmitting the image data.
[0106] For example Figure 5 As shown, one method involves the CPU in the main control chip sending the screen display refresh information of areas 5, 6, and 7 to the display controller in the main control chip one by one, and then the display controller refreshes the corresponding image data to the screen. It can be seen that this method requires the main control chip to participate in the data transmission process multiple times.
[0107] in, Figure 5 The “delay” shown indicates that there needs to be a certain time interval between two local area refreshes of the screen (the specific delay can be determined according to actual needs; if no delay is needed, the delay is 0).
[0108] To further improve screen refresh efficiency, in some embodiments, this area information can be organized into a region refresh list (including refresh region commands and corresponding image transmission addresses) by the main control chip's display controller according to screen interface commands and protocols. For example... Figure 6 As shown, the display controller reads information from the list to refresh the image in each area. The information for each area includes, for example... Figure 7 As shown. Depending on the screen interface used in the actual application, such as the QSPI interface, the list information for any region (region 5, region 6, region 7) can be, for example... Figure 8 As shown; for MCU or SPI interfaces, the list information for any region (region 5, region 6, region 7) can be, for example... Figure 9As shown. The 24-bit reserved bits are to facilitate the display controller reading information from the list. For example, the display controller can still... Figure 8 The 32-bit representation reads the CASET command, but only the first 8 bits are valid; the remaining 24 bits are empty. Of course, this is an optional method; different methods can be set for the display controller to read list information for different interfaces.
[0109] exist Figure 8 and Figure 9 middle:
[0110] CASET is Set Column Start Address, which sets the column address range (i.e., sets the x-range range). The parameters are the x-coordinates of the top-left and bottom-right corners of the rectangular area.
[0111] RASET stands for Set Row Start Address, which sets the row address range (i.e., sets the y-range range). The parameters are the y-coordinates of the top-left and bottom-right corners of the rectangular area.
[0112] RAMWR stands for Memory Start Write, indicating the start of transferring image pixels in the area defined by CASET and RASET, with no parameters.
[0113] Image address, region width, region height. After transmitting the above three commands (CASET, RASET, RAMWR), the main control chip reads image pixels from the image address. It reads width pixels for each line, and then offsets the image address by the line address offset stride (as shown in step two, stride is passed in when the application requests a refresh, and it is the same for each target rectangular region (region 5, region 6, region 7), so it does not need to be included in each item), and reads the next line until the height number of lines has been read.
[0114] In summary, for non-rectangular screens (or screen areas that actually need to be refreshed being non-rectangular), this application embodiment can divide the screen into multiple target rectangular regions, thereby saving transmission bandwidth. This allows the product to support higher screen resolutions or higher color bit depths even with limited bandwidth. Furthermore, the multiple local refresh regions (i.e., the aforementioned multiple target rectangular regions) formed in this application embodiment, after being organized into a region refresh list, are directly read by the main display controller, automatically completing the data transmission across multiple regions without software intervention, resulting in higher screen refresh efficiency.
[0115] The following describes the device or apparatus provided in the embodiments of this application, and the explanations or examples of the same or corresponding technical features as those described in the above methods will not be repeated hereafter.
[0116] The electronic device provided in this application embodiment can be, for example, a main control chip, or any type of electronic device including a main control chip, such as a portable device, etc. See [link to relevant documentation]. Figure 10 The electronic device includes, for example:
[0117] Processor 600 is used to read the program from memory 620 and execute the following procedures:
[0118] Obtain the area currently requested to be refreshed for screen display; wherein, the area is used by the terminal application to refresh and display images; the screen is a non-rectangular screen of the terminal;
[0119] Using the area currently requested to refresh the screen display, and multiple preset rectangular areas obtained by dividing the screen according to preset rules, multiple target rectangular areas that need to be refreshed for the current screen display are determined; wherein, the total target area composed of the multiple target rectangular areas is smaller than the area currently requested to refresh the screen display.
[0120] Based on the multiple target rectangular regions, the screen is controlled to refresh and display images.
[0121] In some implementations, multiple target rectangular regions are determined using the area currently requesting a screen display refresh, and multiple rectangular regions obtained by dividing the screen according to preset rules, including:
[0122] Determine the intersection area of the area currently requested to be refreshed for screen display with each of the multiple preset rectangular areas to obtain multiple target rectangular areas;
[0123] The plurality of preset rectangular regions are multiple rectangular regions obtained by dividing the screen according to preset rules.
[0124] In some implementations, controlling the screen refresh to display the image based on the plurality of target rectangular regions includes:
[0125] Determine the area refresh list, which includes screen display refresh information for each of the target rectangular areas;
[0126] The screen refresh display image is controlled by the area refresh list.
[0127] In some implementations, the screen display refresh information includes image display position information and image address information;
[0128] The specified area refresh list includes:
[0129] For each target rectangular region, determine the image display position information and image address information for that target rectangular region;
[0130] Based on the image display location information and image address information of each target rectangular region, a region refresh list is generated.
[0131] In some implementations, the screen display refresh information also includes: a command to set area coordinates and a command to start transmission.
[0132] In some implementations, the area refresh list further includes: screen refresh delay duration information between adjacent areas.
[0133] In some implementations, the screen is divided into multiple preset rectangular regions according to preset rules, including:
[0134] The screen is divided into multiple non-intersecting rectangular regions in a top-to-bottom order; wherein the total area covered by the multiple non-intersecting rectangular regions is larger than the screen area and smaller than the screen's outer rectangular region.
[0135] Transceiver 610 is used to receive and send data under the control of processor 600.
[0136] Among them, Figure 10 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors represented by processor 600 and memory represented by memory 620 together. The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 610 can be multiple components, including transmitters and receivers, providing a unit for communicating with various other devices over a transmission medium, including wireless channels, wired channels, optical fibers, etc. For different user equipment, the user interface 630 can also be an interface capable of connecting external or internal devices, including but not limited to keypads, displays, speakers, microphones, joysticks, etc.
[0137] The processor 600 is responsible for managing the bus architecture and general processing, while the memory 620 can store the data used by the processor 600 when performing operations.
[0138] In some implementations, the processor 600 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a CPLD (Complex Programmable Logic Device), and the processor may also employ a multi-core architecture.
[0139] The processor executes any of the methods described in the embodiments of this application according to the obtained executable instructions by calling a computer program stored in memory. The processor and memory may also be physically separated.
[0140] It should be noted that the apparatus provided in this application embodiment can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.
[0141] See Figure 11 The screen display control device provided in this application embodiment can be, for example, a main control chip, or any device including a main control chip. The device includes:
[0142] The request acquisition unit 11 is used to acquire the area currently requested to refresh the screen display; wherein, the area is used for the terminal application to refresh the displayed image; and the screen is a non-rectangular screen of the terminal.
[0143] The target rectangular region determination unit 12 is used to determine multiple target rectangular regions that need to be refreshed for the current screen display using the current area requested to be refreshed for the screen display, and multiple preset rectangular regions obtained by dividing the screen according to preset rules; wherein, the total target region composed of the multiple target rectangular regions is smaller than the current area requested to be refreshed for the screen display.
[0144] The output control unit 13 is used to control the screen to refresh and display images based on the plurality of target rectangular regions.
[0145] In some implementations, multiple target rectangular regions are determined using the area currently requesting a screen display refresh, and multiple rectangular regions obtained by dividing the screen according to preset rules, including:
[0146] Determine the intersection area of the area currently requested to be refreshed for screen display with each of the multiple preset rectangular areas to obtain multiple target rectangular areas;
[0147] The plurality of preset rectangular regions are multiple rectangular regions obtained by dividing the screen according to preset rules.
[0148] In some implementations, controlling the screen refresh to display the image based on the plurality of target rectangular regions includes:
[0149] Determine the area refresh list, which includes screen display refresh information for each of the target rectangular areas;
[0150] The screen refresh display image is controlled by the area refresh list.
[0151] In some implementations, the screen display refresh information includes image display position information and image address information;
[0152] The specified area refresh list includes:
[0153] For each target rectangular region, determine the image display position information and image address information for that target rectangular region;
[0154] Based on the image display location information and image address information of each target rectangular region, a region refresh list is generated.
[0155] In some implementations, the screen display refresh information also includes: a command to set area coordinates and a command to start transmission.
[0156] In some implementations, the area refresh list further includes: screen refresh delay duration information between adjacent areas.
[0157] In some implementations, the screen is divided into multiple preset rectangular regions according to preset rules, including:
[0158] The screen is divided into multiple non-intersecting rectangular regions in a top-to-bottom order; wherein the total area covered by the multiple non-intersecting rectangular regions is larger than the screen area and smaller than the screen's outer rectangular region.
[0159] It should be noted that the division of units in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units.
[0160] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0161] Any of the devices or apparatuses provided in the embodiments of this application may specifically be desktop computers, portable computers, smartphones, tablet computers, personal digital assistants (PDAs), etc. They may include a central processing unit (CPU), memory, input / output devices, etc. Input devices may include keyboards, mice, touchscreens, etc., and output devices may include display devices such as liquid crystal displays (LCDs) and cathode ray tubes (CRTs).
[0162] The memory may include read-only memory (ROM) and random access memory (RAM), and provides the processor with program instructions and data stored in the memory. In the embodiments of this application, the memory may be used to store the program of any of the methods provided in the embodiments of this application.
[0163] The processor executes any of the methods described in the embodiments of this application according to the program instructions stored in the memory.
[0164] This application also provides a computer program product or computer program that 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 any of the methods described in the above embodiments. The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.
[0165] This application provides a computer-readable storage medium for storing computer program instructions used in the apparatus provided in the above-described embodiments, including a program for performing any of the methods provided in the above-described embodiments. The computer-readable storage medium may be a non-transitory computer-readable medium.
[0166] The computer-readable storage medium can be any available medium or data storage device that a computer can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0167] It should be understood that:
[0168] The access technology used by entities in a communication network to transmit traffic can be any suitable current or future technology, such as WLAN (Wireless Local Access Network), WiMAX (Microwave Access Global Interoperability), LTE, LTE-A, 5G, Bluetooth, infrared, etc.; in addition, embodiments may also apply wired technologies, such as IP-based access technologies, such as wired networks or fixed lines.
[0169] An embodiment suitable for implementation as software code or as part thereof and for operation using a processor or processing function is independent of the software code and can be specified using any known or future-developed programming language, such as high-level programming languages such as Objective-C, C, C++, C#, Java, Python, Javascript, other scripting languages, etc., or low-level programming languages such as machine language or assembler.
[0170] The implementation of the embodiments is hardware-independent and can be implemented using any known or future-developed hardware technology or any combination thereof, such as microprocessors or CPUs (central processing units), MOS (metal-oxide-semiconductor), CMOS (complementary MOS), BiMOS (bipolar MOS), BiCMOS (bipolar CMOS), ECL (emitter-coupled logic), and / or TTL (transistor-transistor logic).
[0171] The embodiments may be implemented as individual devices, apparatuses, units, components or functions, or in a distributed manner. For example, one or more processors or processing functions may be used or shared in the process, or one or more processing segments or processing portions may be used and shared in the process, wherein one or more physical processors may be used to implement one or more processing portions dedicated to a particular process as described.
[0172] The device can be implemented by a semiconductor chip, a chipset, or a (hardware) module that includes such a chip or chipset.
[0173] The implementation can also be implemented as any combination of hardware and software, such as ASIC (Application-Specific IC (Integrated Circuit)) components, FPGA (Field Programmable Gate Array) or CPLD (Complex Programmable Logic Device) components or DSP (Digital Signal Processor) components.
[0174] The embodiments can also be implemented as computer program products, including a computer-usable medium in which computer-readable program code is embodied, the computer-usable program code being adapted to perform the processes described in the embodiments, wherein the computer-usable medium may be a non-transitory medium.
[0175] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0176] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0177] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0178] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0179] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A screen display control method, characterized in that, The method includes: Obtain the area currently requested to be refreshed for screen display; wherein, the area is used by the terminal application to refresh and display images; the screen is a non-rectangular screen of the terminal; Using the area currently requested to refresh the screen display, and multiple preset rectangular areas obtained by dividing the screen according to preset rules, multiple target rectangular areas that need to be refreshed for the current screen display are determined; wherein, the total target area composed of the multiple target rectangular areas is smaller than the area currently requested to refresh the screen display. Based on the multiple target rectangular regions, the screen is controlled to refresh and display images.
2. The method according to claim 1, characterized in that, Using the area currently requesting a screen refresh, and multiple rectangular areas obtained by dividing the screen according to preset rules, multiple target rectangular areas are determined, including: Determine the intersection area of the area currently requested to be refreshed for screen display with each of the multiple preset rectangular areas to obtain multiple target rectangular areas; The plurality of preset rectangular regions are multiple rectangular regions obtained by dividing the screen according to preset rules.
3. The method according to claim 1, characterized in that, Based on the multiple target rectangular regions, controlling the screen to refresh and display the image includes: Determine the area refresh list, which includes screen display refresh information for each of the target rectangular areas; The screen refresh display image is controlled by the area refresh list.
4. The method according to claim 3, characterized in that, The screen display refresh information includes image display position information and image address information; The specified area refresh list includes: For each target rectangular region, determine the image display position information and image address information for that target rectangular region; Based on the image display location information and image address information of each target rectangular region, a region refresh list is generated.
5. The method according to claim 4, characterized in that, The screen display refresh information also includes: a command to set area coordinates and a command to start transmission.
6. The method according to claim 4, characterized in that, The area refresh list also includes: screen refresh delay information between adjacent areas.
7. The method according to claim 1, characterized in that, The screen is divided into multiple preset rectangular regions according to preset rules, including: The screen is divided into multiple non-intersecting rectangular regions in a top-to-bottom order; wherein the total area covered by the multiple non-intersecting rectangular regions is larger than the screen area and smaller than the screen's outer rectangular region.
8. A screen display control device, characterized in that, The device includes: The request acquisition unit is used to acquire the area currently requested to refresh the screen display; wherein, the area is used by the terminal application to refresh the displayed image; and the screen is a non-rectangular screen of the terminal. The target rectangular region determination unit is used to determine multiple target rectangular regions that need to be refreshed for the current screen display using the region currently requested to be refreshed for the screen display, and multiple preset rectangular regions obtained by dividing the screen according to preset rules; wherein, the total target region composed of the multiple target rectangular regions is smaller than the region currently requested to be refreshed for the screen display. An output control unit is used to control the screen to refresh and display images based on the plurality of target rectangular regions.
9. An electronic device, characterized in that, include: Memory, used to store program instructions; A processor is configured to invoke program instructions stored in the memory and execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing the computer to perform the method according to any one of claims 1 to 7.
