Dynamic partition refresh methods, systems, media, program products, and terminals for global display of layout files
By using a dynamic partitioning and refresh method to display the layout file globally, dynamically dividing it and utilizing multi-threaded concurrency technology, the problem of low efficiency in traditional layer-by-layer display is solved, and fast global display is achieved.
Patent Information
- Application Number
- CN202511149380.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-18
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2045-08-18
AI Technical Summary
Traditional layer-by-layer display methods are inefficient in the global display of multi-layer layout files, resulting in a lengthy display process.
A dynamic partitioning refresh method is adopted, which dynamically divides the global display area of the map file into several sub-blocks, uses a multi-threaded concurrent method to refresh the display, and performs full coverage display judgment based on the coverage area statistics until the preset display requirements are met.
It significantly improves the global display speed of multi-layer layout files, shortens display time, and increases display efficiency.
Smart Images

Figure CN120724928B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of semiconductor manufacturing technology, and in particular to a dynamic partitioning refresh method, system, medium, program product, and terminal for global display of layout files. Background Technology
[0002] In the field of Electronic Design Automation (EDA), with the increasing complexity of integrated circuit designs, layout files typically contain many layers, sometimes dozens or even hundreds. Traditional methods for globally displaying multi-layered layout files involve refreshing each layer sequentially. First, the first layer is fully displayed, followed by the second, third, and so on, up to the last layer. This traditional method can meet basic display needs when the number of layers is small. However, for complex multi-layered layout files, this layer-by-layer display method results in a very lengthy global display process and low display efficiency. Summary of the Invention
[0003] In view of the shortcomings of the prior art, the present invention provides a dynamic partition refresh method, system, medium, program product and terminal for global display of layout files, which solves the problems of very long global display process and low display efficiency caused by the current method of displaying multi-layer layout files layer by layer.
[0004] To achieve the above and other related objectives, a first aspect of this application provides a dynamic partitioning refresh method for the global display of a layout file, comprising: obtaining a global display area of a layout file and dynamically dividing the global display area into several sub-blocks; the layout file contains one or more layouts; refreshing the display of several sub-blocks based on the display image of the current layer layout in the layout file to obtain a coverage area statistical result of the global display area; performing full coverage display judgment processing on each of the several sub-blocks based on the coverage area statistical result of the global display area to obtain a current full coverage display judgment processing result; if the obtained full coverage display judgment processing result does not meet the preset display requirements, then taking the next layer layout as the current layer layout, performing refresh display and full coverage display judgment processing operations based on the refresh display of the current layer layout until a full coverage display judgment processing result that meets the preset display requirements is obtained; if the obtained full coverage display judgment processing result meets the preset display requirements, then the refresh display of the global display area of the layout file is completed.
[0005] In some embodiments of the first aspect of this application, the process of performing full coverage display judgment processing on several sub-blocks one by one based on the coverage area statistics of the global display area to obtain the current full coverage display judgment processing result includes: traversing each sub-block, judging whether each sub-block is fully covered based on the coverage area statistics of the global display area, and dynamically dividing the sub-blocks that are not fully covered among the several sub-blocks to generate several new sub-blocks.
[0006] In some embodiments of the first aspect of this application, the process of taking the next layer as the current layer and performing refresh display and full-coverage display judgment processing operations on the current layer until a full-coverage display judgment processing result that meets the preset display requirements includes: taking the next layer as the current layer, refreshing displaying several new sub-blocks of the global display area based on the display image of the current layer, and updating the coverage area statistics of the global display area; performing full-coverage display judgment processing on each of the several new sub-blocks of the global display area based on the updated coverage area statistics of the global display area, and obtaining the current full-coverage display judgment processing result; repeating the above refresh display and full-coverage display judgment processing operations until the full-coverage display judgment processing result meets the preset display requirements.
[0007] In some embodiments of the first aspect of this application, the method further includes: after obtaining a full-coverage display judgment processing result that does not meet the preset display requirements, further determining whether all layer layouts in the layout file have been refreshed and displayed; if not, then taking the next layer layout as the current layer layout, performing refresh display on the current layer layout and performing full-coverage display judgment processing operations based on the refresh display of the current layer layout, until a full-coverage display judgment processing result that meets the preset display requirements is obtained; if yes, then the refresh display of the global display area of the layout file is completed.
[0008] In some embodiments of the first aspect of this application, the method further includes: if the obtained full-coverage display judgment processing result meets the preset display requirements, and the layout file also includes other layer layouts that have not been refreshed, then the display images of the other layer layouts will no longer be refreshed, and the refresh display of the global display area of the layout file is completed.
[0009] In some embodiments of the first aspect of this application, a number of sub-blocks are refreshed and displayed using a multi-threaded concurrent method based on the display image of the current layer layout in the layout file.
[0010] To achieve the above and other related objectives, a second aspect of this application provides a dynamic partitioning and refreshing system for the global display of a layout file, comprising: a dynamic segmentation module, used to obtain the global display area of the layout file and dynamically segment the global display area to divide it into several sub-blocks; the layout file contains one or more layouts; a coverage area statistics module, used to refresh the display of several sub-blocks based on the display image of the current layer layout in the layout file to obtain a coverage area statistics result of the global display area; a full coverage display judgment and processing module, used to perform full coverage display judgment and processing on each of the several sub-blocks based on the coverage area statistics result of the global display area to obtain a current full coverage display judgment and processing result; if the obtained full coverage display judgment and processing result does not meet the preset display requirements, then the next layer layout is taken as the current layer layout, and refresh display and full coverage display judgment and processing operations are performed on the current layer layout and the refresh display based on the current layer layout until a full coverage display judgment and processing result that meets the preset display requirements is obtained; if the obtained full coverage display judgment and processing result meets the preset display requirements, then the refresh display of the global display area of the layout file is completed.
[0011] To achieve the above and other related objectives, a third aspect of this application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements a dynamic partition refresh method for the global display of the layout file.
[0012] To achieve the above and other related objectives, a fourth aspect of this application provides a computer program product comprising computer program code that, when executed on a computer, enables the computer to implement a dynamic partition refresh method for the global display of the layout file.
[0013] To achieve the above and other related objectives, a fifth aspect of this application provides an electronic terminal, including a memory, a processor, and a computer program stored in the memory; the processor executes the computer program to implement a dynamic partition refresh method for global display of the layout file.
[0014] As described above, the dynamic partition refresh method, system, media, program product, and terminal for global display of layout files provided in this application have the following beneficial effects:
[0015] This application dynamically divides the global display area of a layout file, refreshes each sub-block, and checks if the refresh is complete. If a sub-block has already been refreshed, it will not participate in subsequent refresh processes. The file is then dynamically divided again based on the previous display result, achieving iterative refresh operation. This method allows each refresh to more precisely target the area that needs to be refreshed and reduces the refresh area, significantly improving the global display speed of multi-layer layout files. Furthermore, after several layers of iterative refresh, the global display area is essentially completely covered. Therefore, the iterative refresh process can be exited earlier, greatly saving refresh time and increasing refresh speed. Attached Figure Description
[0016] Figure 1 The diagram shown is a flowchart illustrating a dynamic partition refresh method for global display of a layout file according to an embodiment of this application.
[0017] Figure 2 The diagram shown is a schematic representation of the dynamic segmentation of a global display area in one embodiment of this application.
[0018] Figure 3 This is a schematic diagram showing the current layer layout being refreshed and displayed in the global display area according to an embodiment of this application.
[0019] Figure 4 This is a schematic diagram illustrating a method of dynamically segmenting the current layer layout after refreshing the global display area in one embodiment of this application.
[0020] Figure 5 The figure shown is a specific embodiment of a dynamic partition refresh method for global display of a layout file according to an embodiment of this application.
[0021] Figure 6 The diagram shown is a structural schematic of a dynamic partition refresh system for global display of layout files according to an embodiment of this application.
[0022] Figure 7 The diagram shown is a structural schematic of an electronic terminal according to an embodiment of this application. Detailed Implementation
[0023] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, unless otherwise specified, the following embodiments and features in the embodiments can be combined with each other.
[0024] To facilitate understanding of the embodiments of this application, firstly, in conjunction with Figure 1 Detailed explanation. Figure 1 This document illustrates a flowchart of a dynamic partition refresh method for global display of a layout file, as described in an embodiment of the present invention. The method in this embodiment includes:
[0025] Step S11: Obtain the global display area of the layout file and dynamically divide the global display area into several sub-blocks; the layout file contains one or more layout layers.
[0026] The layout file is a core file type in the field of electronic design automation (EDA), used to describe the physical structure information of integrated circuits or microelectronic devices, including the size, shape, location, and interconnection methods of components in the circuit. The layout file is a crucial bridge from abstract logic to actual manufacturing in chip design, directly determining the chip's functionality, performance, and reliability. The global display of the layout file refers to the visual representation of the layout file, which consists of the displayed images of each layer of the layout. In other words, the global display of the layout file is the final visual image formed after each layer of the layout is displayed sequentially.
[0027] In this embodiment, the global display area of the map file is obtained, and dynamic partitioning display technology is used for the global display area. Dynamic partitioning display technology is a widely used technology in the rapid display of visual interfaces. It achieves efficient display of the view interface by effectively dividing the view area and using performance optimization technologies such as virtual scrolling and differential updates.
[0028] For example, the global display area of the map file can be dynamically divided according to application requirements, such as... Figure 2 As shown, the dashed lines divide the global display area into NxN sub-blocks, such as 4x4 (16) sub-blocks, 5x5 (25) sub-blocks, or further divided into several smaller and more numerous sub-blocks. In this embodiment, the number and size of the sub-blocks are not limited and can be selected according to actual needs. Furthermore, since the smallest display unit of the global display area is usually one pixel, the minimum size of the sub-block can be defined as one pixel. In this case, the number of sub-blocks is the number of horizontal pixels multiplied by the number of vertical pixels.
[0029] Step S12: Based on the display image of the current layer layout in the layout file, refresh the display of several sub-blocks to obtain the coverage area statistics of the global display area.
[0030] In one embodiment of this application, a number of sub-blocks are refreshed and displayed using a multi-threaded concurrent method based on the display image of the current layer layout in the layout file.
[0031] It should be noted that the layout file contains one or more layout layers. The process involves obtaining the display image of the current layer's layout and then refreshing and displaying it on several sub-blocks of the global display area using a multi-threaded concurrent method, based on this image. This multi-threaded concurrent refresh method significantly speeds up the display of the current layer's layout image across the entire global display area, especially for large-scale layout files, where it can dramatically increase refresh speed and reduce processing time.
[0032] Furthermore, after the display image of the current layer is refreshed, the coverage statistics of each sub-block in the global display area can be obtained to obtain the coverage statistics of the global display area.
[0033] Step S13: Based on the coverage area statistics of the global display area, perform full coverage display judgment processing on several sub-blocks one by one to finally obtain the current full coverage display judgment processing result. If the obtained full coverage display judgment processing result does not meet the preset display requirements, then the next layer of the layout is taken as the current layer of the layout, and the current layer of the layout is refreshed and the full coverage display judgment processing operation is performed based on the refresh of the current layer of the layout until a full coverage display judgment processing result that meets the preset display requirements is obtained; if the obtained full coverage display judgment processing result meets the preset display requirements, then the refresh display of the global display area of the layout file is completed.
[0034] In one embodiment of this application, each sub-block is traversed, and each sub-block is determined to be fully covered based on the coverage area statistics of the global display area. Sub-blocks that are not fully covered among the several sub-blocks are dynamically divided to generate several new sub-blocks.
[0035] Traverse each sub-block and determine whether each sub-block is fully covered based on the coverage area statistics of the global display area. If all sub-blocks are fully covered, the current full coverage display determination result is that no new sub-blocks have been generated.
[0036] It needs to be explained that after the current layer's display image is refreshed, the coverage area statistics of the global display area can be obtained, that is, the area covered by the refreshed display in the global display area. Then, based on the coverage area statistics of the global display area, a full coverage judgment is performed on each sub-block in the global display area. Sub-blocks that are not fully covered are filtered out. The blank areas (uncovered display areas) of each sub-block that are not fully covered are dynamically divided to generate several new sub-blocks. The newly generated sub-blocks are then aggregated, and the final aggregated sub-blocks are the current full coverage judgment result.
[0037] Meanwhile, if a full coverage judgment is performed on each sub-block in the global display area, and each sub-block is fully covered and displayed, then dynamic segmentation is no longer needed. Therefore, the final result of the current full coverage display judgment is that no new sub-blocks have been generated. This indicates that the refresh display of the global display area of the layout file is complete.
[0038] It needs to be explained that, in combination Figure 3 To clarify, "fully covered" means that the current sub-block is covered by the display image of the current layer's layout. "Not fully covered" means that only a portion of the current sub-block is covered by the display image of the current layer's layout, or that the entire current sub-block is not covered by the display image of the current layer's layout; in other words, the areas not covered by the display image of the current layer's layout are blank areas.
[0039] like Figure 2 and Figure 3 As shown, according to Figure 2 The system dynamically divides the global display area into several sub-blocks, which are then used to refresh and display the image of the current layer's layout, resulting in an image like... Figure 3 The coverage display results are shown below. Figure 3 The gray shaded area in the image represents the current layer's layout. Refreshing the display provides a clear view of the global display area's coverage statistics.
[0040] Specifically, the process of determining whether each sub-block is fully covered includes:
[0041] If the current sub-block is not fully covered, the uncovered area (blank area) within the current sub-block is dynamically divided to obtain several new sub-blocks corresponding to the current sub-block (e.g., ...). Figure 4 (The blank areas divided by the thick solid lines shown in the diagram) are not necessarily the same size for each new sub-block;
[0042] If the current sub-block is fully covered, then proceed to determine the next sub-block.
[0043] If the next sub-block of the current sub-block is not fully covered, then the next sub-block of the current sub-block is dynamically divided to generate several new sub-blocks corresponding to the next sub-block of the current sub-block;
[0044] If the next sub-block of the current sub-block is fully covered, then the next sub-block of the next sub-block is subjected to a full-coverage display judgment process;
[0045] Similarly, for each of the several sub-blocks, a judgment process is performed to determine whether it is fully covered. Finally, the sub-blocks that are not fully covered are selected. The uncovered areas of each sub-block that is not fully covered are dynamically divided to generate several new sub-blocks, which are then aggregated to obtain the current result of the full coverage judgment process.
[0046] If all sub-blocks in a given set of sub-blocks are checked for whether they are fully covered, and all sub-blocks are fully covered without further dynamic segmentation, then the current result of the full coverage check is that no new sub-blocks are generated.
[0047] The preset display requirement is that no new sub-blocks are generated, indicating that the global display area of the layout file is fully covered, thus completing the refresh of the global display area and satisfying the preset display requirement. Therefore, if the obtained full-coverage display judgment result is that no new sub-blocks are generated, it means that the current full-coverage display judgment result meets the preset display requirement, and the global display area of the layout file is refreshed. If the obtained full-coverage display judgment result is that new sub-blocks are generated, it means that the current full-coverage display judgment result does not meet the preset display requirement; specifically, there are still uncovered areas in the global display area of the layout file, requiring further refresh.
[0048] In one embodiment of this application, the process of taking the next layer layout as the current layer layout, performing refresh display on the current layer layout, and performing full-coverage display judgment processing operations based on the refresh display of the current layer layout until a full-coverage display judgment processing result that meets the preset display requirements is obtained is as follows:
[0049] The next layer of the map is used as the current layer of the map. Based on the display image of the current layer of the map, several new sub-blocks of the global display area are refreshed and displayed, and the coverage area statistics of the global display area are updated.
[0050] Based on the updated coverage area statistics of the global display area, the full coverage display judgment is performed on each of the new sub-blocks of the global display area to obtain the current full coverage display judgment result.
[0051] Repeat the above refresh display and full coverage display judgment and processing operations until the full coverage display judgment and processing result meets the preset display requirements.
[0052] It should be noted that after the current layer of the layout is refreshed and displayed in the global display area of the layout file, if the result of the full coverage display judgment is that the preset display requirements are not met, that is, the result of the full coverage display judgment is that several new sub-blocks are generated, it means that there are still areas in the global display area of the layout file that are not covered. The areas that are not covered are dynamically divided into several new sub-blocks of the global display area.
[0053] Then, the next layer of the map is used as the current layer of the map. Based on the display image of the current layer of the map, the display is refreshed on several new sub-blocks in the global display area, thereby obtaining the new coverage statistics of the global display area. That is, the coverage statistics of the global display area are updated. After the display image of each layer of the map is refreshed, the coverage statistics of the global display area are also updated accordingly.
[0054] Based on the updated global display area coverage statistics, the new sub-blocks of the global display area are processed one by one to determine whether they are fully covered. Specifically, each new sub-block is traversed, and it is determined whether each new sub-block is fully covered based on the updated global display area coverage statistics. Sub-blocks that are not fully covered are selected and dynamically divided, and then several new sub-blocks are generated. Alternatively, each new sub-block is traversed, and it is determined that all new sub-blocks are fully covered. In this case, there is no need to generate several new sub-blocks, and the refresh of the global display area is completed.
[0055] If the above full-coverage display judgment result is the generation of several new sub-blocks, then the preset display requirements are not met. The next layer of the layout is then used as the current layer of the layout, and the display image based on the current layer of the layout is refreshed and displayed on several new sub-blocks. Each new sub-block is still refreshed and displayed using a multi-threaded concurrent method. At the same time, the coverage area statistics of the global display area are updated. Based on the coverage area statistics of the global display area, full-coverage display judgment processing is performed. If the current full-coverage display judgment processing result is the generation of several new sub-blocks, then the preset display requirements are not met. The above operation is repeated until a full-coverage display judgment processing result that meets the preset display requirements is obtained.
[0056] It should be noted that the purpose of the full-coverage display judgment process in this embodiment is to identify blank areas in the global display area that are not fully covered. During subsequent refreshes, the covered portions of the global display area will not be refreshed; only the blank areas will be refreshed. For example, when a layout file contains multiple layers, each layer will be refreshed and displayed sequentially in the global display area. If a certain area is covered by a previous layer, subsequent layers will not be displayed in that covered area; instead, they will only be displayed in blank areas. This method not only reduces the area to be refreshed but also improves the efficiency of the refresh. Figure 3 The gray shaded area shown has been covered by the current layer's display image. For the dozens or hundreds of layers following the current layer in the layout file, there is no need to refresh the gray shaded area. Furthermore, other uncovered areas (blank areas) in the global display area can be dynamically partitioned again, without retaining the initial block settings.
[0057] In one embodiment of this application, the method further includes: after obtaining a full-coverage display judgment processing result that does not meet the preset display requirements, further determining whether all layer layouts in the layout file have been refreshed and displayed; if not, then taking the next layer layout as the current layer layout, performing refresh display on the current layer layout and performing full-coverage display judgment processing operations based on the refresh display of the current layer layout, until a full-coverage display judgment processing result that meets the preset display requirements is obtained; if yes, then the refresh display of the global display area of the layout file is completed.
[0058] It should be noted that when the result of the full-coverage display judgment is that the preset display requirements are not met, i.e., when the result of the full-coverage display judgment is that several new sub-blocks are generated, it indicates that there are still blank areas in the global display area of the layout file. These blank areas can be used for further refreshing and displaying other layers of the layout file. However, there is a special case: all the multiple layers of the layout file have been refreshed and displayed, meaning all displayable layers have been presented in the global display area, but the global display area of the layout file has not been completely covered, and there are still blank areas. In this case, there are no other layers available for display. Therefore, this situation can also be considered as the completion of the global display area refresh of the layout file, and the entire refresh and display process can be terminated.
[0059] If, after obtaining the full-coverage display judgment processing result, the preset display requirements are not met, and the layout file still includes other layers of layout that have not been refreshed, then the above-mentioned refresh display and full-coverage display judgment processing operations will still be used until a full-coverage display judgment processing result that meets the preset display requirements is obtained.
[0060] In one embodiment of this application, the method further includes: if the obtained full-coverage display judgment processing result meets the preset display requirements, and the layout file also includes other layer layouts that have not been refreshed, then the display images of the other layer layouts will no longer be refreshed, and the refresh display of the global display area of the layout file is completed.
[0061] It should be noted that if the result of the full-coverage display judgment is that the preset display requirements are met, specifically when the result indicates that no new sub-blocks have been generated, it means that the global display area of the layout file has been fully covered, meaning there are no undisplayed blank areas. Even if other layers of the layout file have not yet been refreshed, it is still considered that the global display area of the layout file has been refreshed. This is because, under the requirement of global display, as long as the entire display area is completely covered, even if the display images of other layers are not displayed, it does not affect the completion of the current global display task. Especially for complex layout files containing dozens or even hundreds of layers, after iteratively refreshing the first few layers, the global display area can be completely covered, allowing the display refresh process to exit early. There is no need to process the display images of other layers that have not been refreshed, avoiding unnecessary calculations and operations, thus greatly saving refresh time and improving the efficiency of the entire display refresh process.
[0062] To facilitate demonstration of the dynamic partition refresh method for the global display of the layout file in this application, such as Figure 5 As shown, the following specific embodiments are provided for illustration.
[0063] Step 1: Perform initial dynamic partitioning of the global display area of the layout file to obtain N sub-blocks;
[0064] Step 2: The displayed image of the current layer's layout is refreshed and displayed concurrently on N sub-blocks using multiple threads until the end;
[0065] Step 3: Based on the current refresh display result, perform a full coverage display judgment process for the N sub-blocks of the global display area. Here, i is the number of sub-blocks, and newN is the number of new sub-blocks. When i=1, determine if the current sub-block is fully covered; if it is, i=2, and proceed to the next sub-block; if not, dynamically divide the uncovered area based on the current sub-block's coverage area, generating M new sub-blocks, where newN is the sum of M. After performing full coverage judgment processing on the N sub-blocks, the full coverage judgment result is obtained, and the generated new sub-blocks are N=newN. If N=0, it means no new sub-blocks are generated, the global display area refresh is complete, and the entire refresh display process exits.
[0066] Step 4: If N is not equal to 0, determine whether all layers have been refreshed. If yes, complete the refresh of the global display area and exit the entire refresh process. If not, use the next layer as the current layer and repeat Steps 2 and 3 until the refresh of the global display area is complete.
[0067] It should be noted that this application dynamically divides the global display area of the layout file, refreshes each sub-block, and counts whether the refresh is complete. If any sub-blocks have already been refreshed, they will not participate in subsequent refresh processes. Then, based on the previous display results, the file is dynamically divided again, achieving iterative refresh and display operations. This method allows each refresh to more precisely target the area that needs to be refreshed and reduces the refresh display area, thereby significantly improving the global display speed of multi-layer layout files. Furthermore, after iterative refreshes of the first few layers of the layout, the global display area is essentially completely covered. Therefore, the iterative refresh and display process can be exited earlier, greatly saving refresh time and improving refresh and display speed.
[0068] In the embodiments of this application, the terms "first" and "second" are used to distinguish identical or similar items with essentially the same function and effect, without limiting their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that the terms "first" and "second" do not necessarily imply that they are different.
[0069] It should be noted that, in the embodiments of this application, the words "exemplary" or "for example" indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0070] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0071] Figure 6 This is a schematic block diagram of a dynamic partition refresh system for global display of layout files provided in an embodiment of this application. For example... Figure 6 As shown, the system 600 includes:
[0072] The dynamic segmentation module 601 is used to obtain the global display area of the layout file and dynamically segment the global display area to divide it into several sub-blocks; the layout file contains one or more layout layers.
[0073] The coverage area statistics module 602 is used to refresh and display several sub-blocks based on the display image of the current layer map in the map file, so as to obtain the coverage area statistics result of the global display area;
[0074] The full-coverage display judgment and processing module 603 is used to perform full-coverage display judgment and processing on several sub-blocks one by one based on the coverage area statistics of the global display area to obtain the current full-coverage display judgment and processing result; if the obtained full-coverage display judgment and processing result does not meet the preset display requirements, then the next layer of the layout is taken as the current layer of the layout, and the current layer of the layout is refreshed and the full-coverage display judgment and processing operation is performed on the refresh display based on the current layer of the layout until a full-coverage display judgment and processing result that meets the preset display requirements is obtained; if the obtained full-coverage display judgment and processing result meets the preset display requirements, then the refresh display of the global display area of the layout file is completed.
[0075] It should be understood that the specific process of each module performing the above-mentioned corresponding steps has been described in detail in the above method embodiments, and will not be repeated here for the sake of brevity.
[0076] It should also be understood that the module division in the embodiments of this application is illustrative and only represents a logical functional division; in actual implementation, there may be other division methods. Furthermore, the functional modules in the various embodiments of this application can be integrated into a single processor, exist as separate physical entities, or be integrated into a single module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0077] Figure 7 This is a schematic block diagram of the electronic terminal provided in an embodiment of this application. Figure 7 As shown, the electronic terminal includes at least one processor 701, a memory 702, at least one network interface 703, and a user interface 705. The various components in the device are coupled together via a bus system 704. It is understood that the bus system 704 is used to implement communication between these components. In addition to a data bus, the bus system 704 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 7 The general will label all buses as bus systems.
[0078] The user interface 705 may include a monitor, keyboard, mouse, trackball, clicker, button, touchpad, or touch screen.
[0079] It is understood that memory 702 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM) or programmable read-only memory (PROM), which serves as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM) and synchronous static random access memory (SSRAM). The memories described in the embodiments of this invention are intended to include, but are not limited to, these and any other suitable categories of memory.
[0080] In this embodiment of the invention, the memory 702 is used to store various types of data to support the operation of the electronic terminal 700. Examples of this data include: any executable program for operation on the electronic terminal 700, such as the operating system 7021 and application program 7022; the operating system 7021 contains various system programs, such as the framework layer, core library layer, driver layer, etc., for implementing various basic services and handling hardware-based tasks. The application program 7022 may contain various applications, such as a media player, browser, etc., for implementing various application services. The dynamic partition refresh method for global display of the layout file provided in this embodiment of the invention can be included in the application program 7022.
[0081] The methods disclosed in the above embodiments of the present invention can be applied to processor 701, or implemented by processor 701. Processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 701 or by instructions in software form. The processor 701 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 701 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. General-purpose processor 701 may be a microprocessor or any conventional processor, etc. The steps of the accessory optimization method provided in the embodiments of the present invention can be directly reflected as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in memory. The processor reads the information in the memory and combines it with its hardware to complete the steps of the aforementioned method.
[0082] In an exemplary embodiment, the electronic terminal 700 may be used to execute the aforementioned method by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), or complex programmable logic devices (CPLDs).
[0083] According to the method provided in the embodiments of this application, this application also provides a computer program product, which includes: computer program code, which, when run on a computer, causes the computer to execute the dynamic partition refresh method for global display of layout files in any of the embodiments shown.
[0084] According to the method provided in the embodiments of this application, this application also provides a computer-readable storage medium storing program code, which, when run on a computer, causes the computer to execute the dynamic partition refresh method for global display of layout files in any of the embodiments shown.
[0085] As used in this specification, the terms "component," "module," "system," etc., are used to refer to computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. As illustrated, applications running on computing devices and computing devices can both be components. One or more components may reside in a process and / or an execution thread, and components may be located on a single computer and / or distributed among two or more computers. Furthermore, these components can be executed from various computer-readable media on which various data structures are stored. Components can communicate, for example, via local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, and / or a network, such as the Internet interacting with other systems via signals).
[0086] Those skilled in the art will recognize that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0087] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0088] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0089] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0090] In addition, 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.
[0091] In the above embodiments, the functions of each functional unit can be implemented entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. A computer program product includes one or more computer instructions (programs). When the computer program instructions (programs) are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., high-density digital video discs, DVDs), or semiconductor media (e.g., solid-state disks, SSDs, etc.).
[0092] If a function 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 a 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.) to execute all or part of the steps of the methods of 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.
[0093] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0094] In summary, this application provides a dynamic partitioning and refreshing method, system, medium, program product, and terminal for global display of layout files. It dynamically divides the global display area of the layout file, refreshes each sub-block, and counts whether the refresh is complete. If sub-blocks that have already been refreshed are found, they will not participate in subsequent refresh processes. Then, based on the previous display results, dynamic partitioning is performed again to achieve iterative refresh and display operations. This method allows each refresh to more accurately target the area that needs to be refreshed and reduces the refresh display area, thereby significantly improving the global display speed of multi-layer layout files. Furthermore, after iterative refreshes of the first few layers of the layout, the global display area is essentially completely covered. Therefore, the iterative refresh and display process can be exited earlier, greatly saving refresh time and improving refresh and display speed. Therefore, this application effectively overcomes the various shortcomings of existing technologies and has high industrial applicability.
[0095] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.
Claims
1. A method for dynamically refreshing partitions in the global display of a map file, characterized in that, include: The global display area of the layout file is obtained, and the global display area is dynamically divided into several sub-blocks; the layout file contains one or more layout layers. Based on the display image of the current layer layout in the layout file, several sub-blocks are refreshed and displayed to obtain the coverage area statistics of the global display area; Based on the coverage area statistics of the global display area, a full coverage display judgment process is performed on several sub-blocks one by one to obtain the current full coverage display judgment process result; If the obtained full coverage display judgment and processing result is that the preset display requirements are not met, then the next layer of the layout is taken as the current layer of the layout, and the refresh display and full coverage display judgment and processing operations are performed on the current layer of the layout and the refresh display based on the current layer of the layout until the full coverage display judgment and processing result that meets the preset display requirements is obtained. If the obtained full-coverage display judgment result meets the preset display requirements, then the refresh display of the global display area of the layout file is completed.
2. The dynamic partition refresh method for global display of map files according to claim 1, characterized in that, The process of performing full coverage display judgment processing on several sub-blocks one by one based on the coverage area statistics of the global display area to obtain the current full coverage display judgment processing result includes: Each sub-block is traversed, and each sub-block is determined to be fully covered based on the coverage area statistics of the global display area. Sub-blocks that are not fully covered are dynamically divided to generate new sub-blocks.
3. The dynamic partition refresh method for global display of map files according to claim 2, characterized in that, The process of taking the next layer of the layout as the current layer, performing a refresh display on the current layer, and conducting a full-coverage display judgment and processing operation based on the refresh display of the current layer until a full-coverage display judgment and processing result that meets the preset display requirements includes: The next layer of the map is used as the current layer of the map. Based on the display image of the current layer of the map, several new sub-blocks of the global display area are refreshed and displayed, and the coverage area statistics of the global display area are updated. Based on the updated coverage area statistics of the global display area, the full coverage display judgment is performed on each of the new sub-blocks of the global display area to obtain the current full coverage display judgment result. Repeat the above refresh display and full coverage display judgment and processing operations until the full coverage display judgment and processing result meets the preset display requirements.
4. The dynamic partition refresh method for global display of map files according to claim 1, characterized in that, The method further includes: After the result of the full coverage display judgment is that the preset display requirements are not met, it is further determined whether all layer layouts in the layout file have been refreshed and displayed. If not, the next layer of the map is taken as the current layer of the map. The current layer of the map is refreshed and the refresh of the current layer of the map is performed to make a full-coverage display judgment and processing operation until a full-coverage display judgment and processing result that meets the preset display requirements is obtained. If so, the global display area of the map file has been refreshed.
5. The dynamic partition refresh method for global display of map files according to claim 1, characterized in that, The method further includes: If the obtained full-coverage display judgment result meets the preset display requirements, and the layout file also includes other layers of layout that have not been refreshed, then the display images of the other layers of layout will no longer be refreshed, and the refresh display of the global display area of the layout file is completed.
6. The dynamic partition refresh method for global display of map files according to claim 1, characterized in that, Based on the display image of the current layer layout in the layout file, several sub-blocks are refreshed and displayed using a multi-threaded concurrent method.
7. A dynamic partition refresh system for global display of map files, characterized in that, include: The dynamic segmentation module is used to obtain the global display area of the layout file and dynamically segment the global display area to divide it into several sub-blocks; the layout file contains one or more layout layers; The coverage area statistics module is used to refresh and display several sub-blocks based on the display image of the current layer map in the map file, so as to obtain the coverage area statistics result of the global display area; The full coverage display judgment and processing module is used to perform full coverage display judgment and processing on several sub-blocks one by one based on the coverage area statistics of the global display area, and obtain the current full coverage display judgment and processing result; If the obtained full coverage display judgment and processing result is that the preset display requirements are not met, then the next layer of the layout is taken as the current layer of the layout, and the refresh display and full coverage display judgment and processing operations are performed on the current layer of the layout and the refresh display based on the current layer of the layout until the full coverage display judgment and processing result that meets the preset display requirements is obtained. If the obtained full-coverage display judgment result meets the preset display requirements, then the refresh display of the global display area of the layout file is completed.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the dynamic partition refresh method for global display of the layout file as described in any one of claims 1 to 6.
9. A computer program product, characterized in that, The computer program product includes computer program code, which, when run on a computer, enables the computer to implement the method for dynamic partition refresh of global display of layout file as described in any one of claims 1 to 6.
10. An electronic terminal, comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the dynamic partition refresh method for global display of the layout file as described in any one of claims 1 to 6.
Citation Information
Patent Citations
A flat panel display integrated circuit process design method and tool
CN109635488A
Target layout graph forming method
CN115600541A