Dynamic partition refreshing method and system for global display of layout file, medium, program product and terminal

By dynamically refreshing the layout file, dynamically dividing it and making full coverage display judgment block by block, the problem of low efficiency of traditional layer-by-layer display is solved and fast global display is achieved.

CN120724928AActive Publication Date: 2025-09-30HUAXINCHENG (HANGZHOU) TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511149380.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-18
Publication Date
2025-09-30
Estimated Expiration
2045-08-18

AI Technical Summary

Technical Problem

The traditional layer-by-layer display method is inefficient in displaying multi-layer layout files, resulting in a lengthy global display process.

Method used

A dynamic partition refresh method is adopted to dynamically divide the global display area of ​​the layout file to generate several sub-blocks, and then perform full coverage display judgment processing block by block based on the coverage area statistics until the preset display requirements are met.

Benefits of technology

The global display speed of multi-layer layout files has been significantly improved, the display time has been shortened, and the display efficiency has been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120724928A_ABST
    Figure CN120724928A_ABST
Patent Text Reader

Abstract

According to the dynamic partition refreshing method and system for global display of the layout file, the medium, the program product and the terminal, the global display area of the layout file is dynamically segmented, refreshing operation is performed on each segmented sub-block, whether refreshing is completed or not is counted, and if it is found that the sub-blocks which are already refreshed exist, the sub-blocks which are already refreshed exist, the sub-blocks which are already refreshed are not refreshed. If the sub-blocks do not participate in the subsequent refresh display process, the sub-blocks do not participate in the subsequent refresh display process, and then dynamic segmentation is carried out again according to the previous display result, so that the iterative refresh display operation is realized. Through the mode, each time of refreshing can more accurately aim at the area needing to be refreshed and displayed, and the refreshing display area is reduced, so that the global display speed of the multi-layer layout file is greatly improved. Meanwhile, after iterative refreshing of the first several layers of layouts, a global display area can be completely covered basically. Therefore, the iterative refresh display process can be quitted in advance, the refresh time is greatly saved, and the refresh display speed is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of semiconductor manufacturing technology, and in particular to a method, system, medium, program product, and terminal for dynamically refreshing partitions for global display of layout files. Background Art

[0002] In the field of Electronic Design Automation (EDA), as the complexity of integrated circuit design continues to increase, layout files often contain many layers, potentially dozens or even hundreds of layers. When displaying a multi-layer layout file globally, the traditional display method uses a layer-by-layer refresh method, first completing the full display of the first layer, then refreshing the second, third, and last layers one by one. This traditional display method can meet basic display requirements when the number of layers is small. However, for complex multi-layer 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 above-mentioned shortcomings of the existing technology, the present invention provides a dynamic partition refresh method, system, medium, program product and terminal for global display of layout files, which is used to solve the problems that the current multi-layer layout files are displayed layer by layer, resulting in a very long global display process and low display efficiency.

[0004] To achieve the above-mentioned purpose and other related purposes, the first aspect of the present application provides a dynamic partition 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 a plurality of sub-blocks; the layout file contains one or more layers of layouts; refreshing and displaying a plurality of sub-blocks based on the display image of the current layer layout in the layout file to obtain coverage area statistics of the global display area; performing full coverage display judgment processing on a plurality of sub-blocks one by one based on the coverage area statistics 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, the next layer layout is used as the current layer layout, and a refresh display and a full coverage display judgment processing operation are performed on the current layer layout 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, the refresh display of the global display area of ​​the layout file is completed.

[0005] In some embodiments of the first aspect of the present application, full coverage display judgment processing is performed on several sub-blocks one by one based on the coverage area statistics of the global display area, and the process of obtaining the current full coverage display judgment processing result includes: traversing each sub-block, judging whether each sub-block is fully covered and displayed according to the coverage area statistics of the global display area, and dynamically dividing the sub-blocks that are not fully covered and displayed among the several sub-blocks to generate several new sub-blocks.

[0006] In some embodiments of the first aspect of the present application, the next layer of layout is used as the current layer of layout, and a refresh display and a full coverage display judgment processing operation are performed on the current layer of layout until a full coverage display judgment processing result that meets the preset display requirements is obtained. The process includes: using the next layer of layout as the current layer of layout, refreshing and displaying several new sub-blocks of the global display area based on the display image of the current layer of layout, and updating the coverage area statistics of the global display area; performing full coverage display judgment processing on several new sub-blocks of the global display area one by one based on the updated coverage area statistics of the global display area to obtain the current full coverage display judgment processing result; repeating the above-mentioned 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 the present application, the method further includes: after the obtained full coverage display judgment processing result is that it does not meet the preset display requirements, it is also determined whether all layer layouts in the layout file have been refreshed and displayed; if not, the next layer layout is used as the current layer layout, and the current layer layout is refreshed and displayed, and a full coverage display judgment processing operation is performed 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 so, the refresh display of the global display area of ​​the layout file is completed.

[0008] In some embodiments of the first aspect of the present application, the method also includes: if the full coverage display judgment processing result obtained meets the preset display requirements, and the layout file also includes other layers of layout that have not been refreshed and displayed, the display images of other layers of layout will no longer be refreshed and displayed, and the refresh display of the global display area of ​​the layout file is completed.

[0009] In some embodiments of the first aspect of the present application, a multi-threaded concurrent method is used to refresh and display a plurality of sub-blocks based on the display image of the current layer layout in the layout file.

[0010] To achieve the above-mentioned purpose and other related purposes, the second aspect of the present application provides a dynamic partition refresh system for the global display of a layout file, comprising: a dynamic segmentation module for obtaining a global display area of ​​a layout file and dynamically segmenting the global display area to divide it into a plurality of sub-blocks; the layout file contains one or more layers of layouts; a coverage area statistics module for refreshing and displaying a plurality of 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 processing module for performing full coverage display judgment processing on the plurality of sub-blocks one by one based on the coverage area statistics 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, the next layer layout is used as the current layer layout, and refresh display and full coverage display judgment processing operations are performed on the current layer layout 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, the refresh display of the global display area of ​​the layout file is completed.

[0011] To achieve the above-mentioned purpose and other related purposes, the third aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a dynamic partition refresh method for the global display of the layout file.

[0012] To achieve the above-mentioned purpose and other related purposes, the fourth aspect of the present application provides a computer program product, which includes computer program code. When the computer program code is run on a computer, the computer implements a dynamic partition refresh method for the global display of the layout file.

[0013] To achieve the above-mentioned purpose and other related purposes, the fifth aspect of the present 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 the global display of the layout file.

[0014] As described above, the method, system, medium, program product, and terminal for dynamically refreshing a layout file for global display provided by this application have the following beneficial effects:

[0015] This application dynamically divides the global display area of ​​the layout file, refreshes each divided sub-block and counts whether the refresh is completed. If it is found that there are sub-blocks that have been refreshed, then in the subsequent refresh display process, these sub-blocks will no longer participate, and then dynamically divide again according to the previous display results to achieve iterative refresh display operation. In this way, each refresh can more accurately target the area that needs to be refreshed and displayed, and reduce the refresh display area, thereby greatly improving the global display speed of multi-layer layout files. At the same time, after the iterative refresh of the first few layers of layout, basically the global display area can be completely covered. Therefore, the iterative refresh display process can be exited in advance, which greatly saves refresh time and improves the refresh display speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 Shown is a flow chart of a method for dynamically refreshing partitions for global display of a layout file in one embodiment of the present application.

[0017] Figure 2 The display is a schematic diagram of dynamic segmentation of a global display area in one embodiment of the present application.

[0018] Figure 3 Displayed is a schematic diagram of refreshing the display of the current layer layout in the global display area in one embodiment of the present application.

[0019] Figure 4 Displayed is a schematic diagram of dynamically segmenting the current layer layout after refreshing the display in the global display area in one embodiment of the present application.

[0020] Figure 5 Shown is a specific embodiment diagram of a dynamic partition refresh method for global display of a layout file in one embodiment of the present application.

[0021] Figure 6 Shown is a structural diagram of a dynamic partition refresh system for global display of layout files in one embodiment of the present application.

[0022] Figure 7 Shown is a structural schematic diagram of an electronic terminal in one embodiment of the present application. DETAILED DESCRIPTION

[0023] The following describes the embodiments of the present application through specific examples. Those skilled in the art can easily understand the other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments. The details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other unless they conflict.

[0024] To facilitate understanding of the embodiments of this application, first Figure 1 Detailed description. Figure 1 The following is a flow chart showing a method for dynamically refreshing a layout file globally in accordance with an embodiment of the present invention. The method in this embodiment includes:

[0025] Step S11: obtaining a global display area of ​​a layout file, and dynamically segmenting the global display area to divide it into a plurality of sub-blocks; the layout file includes one or more layers of layout.

[0026] The layout file is a core file type in the field of electronic design automation, used to describe the physical structure information of integrated circuits or microelectronic devices, including the size, shape, position and interconnection method of components in the circuit. The layout file is the key bridge from abstract logic to actual manufacturing of chip design, directly determining the function, performance and reliability of the chip. The global display of the layout file refers to the visual representation of the layout file composed of the display images of each layer of the layout. That is, the global display of the layout file is the final visual image formed after the layout layers in the layout file are displayed in sequence.

[0027] In this embodiment, the global display area of ​​the layout file is obtained, and dynamic partition display technology is used for the global display area. Dynamic partition display technology is a technology widely used in the rapid display of visual interfaces. It effectively divides the layout of the view area and adopts performance optimization technologies such as virtual scrolling and differential update to achieve efficient display of the view interface.

[0028] For example, the global display area of ​​the layout file is dynamically divided according to application requirements, such as Figure 2 As shown, the dotted lines divide the global display area into NxN sub-blocks, such as 4x4 (16) sub-blocks, 5x5 (25) sub-blocks, or into a larger number of smaller sub-blocks. In this embodiment, there is no limitation on the number and size of sub-blocks, and these can be selected based on actual needs. Furthermore, since the smallest display unit of the global display area is typically a pixel, the minimum sub-block size can be defined as a single pixel. In this case, the number of sub-blocks is the multiplication of the number of horizontal pixels by the number of vertical pixels.

[0029] Step S12: Refresh and display a plurality of sub-blocks based on the display image of the current layer layout in the layout file to obtain coverage area statistics results of the global display area.

[0030] In one embodiment of the present application, a multi-threaded concurrent method is used to refresh and display a plurality of sub-blocks based on the display image of the current layer layout in the layout file.

[0031] It should be noted that if a layout file contains one or more layout layers, the display image of the current layout layer is obtained and then refreshed and displayed on multiple sub-blocks of the global display area based on the current layout layer's display image using a multi-threaded concurrent method to display the current layout layer's display image on the global display area. Using a multi-threaded concurrent method to refresh the display significantly speeds up the display of the current layout layer's image across the entire global display area, especially for large-scale layout files, significantly accelerating refresh speed and reducing the time required.

[0032] Furthermore, after the display image of the current layer layout is refreshed and displayed, coverage statistics of each sub-block in the global display area are obtained, and thus coverage area statistics of the global display area can be obtained.

[0033] Step S13: Based on the coverage area statistics of the global display area, a full coverage display judgment process is performed on each of the plurality of sub-blocks, and finally a current full coverage display judgment process result is obtained. If the obtained full coverage display judgment process result does not meet the preset display requirements, the next layer layout is used as the current layer layout, and a refresh display is performed on the current layer layout and a full coverage display judgment process is performed based on the refresh display of the current layer layout until a full coverage display judgment process result that meets the preset display requirements is obtained; if the obtained full coverage display judgment process result does meet the preset display requirements, the refresh display of the global display area of ​​the layout file is completed.

[0034] In one embodiment of the present application, each sub-block is traversed, and whether each sub-block is fully covered and displayed is determined based on the coverage area statistics of the global display area, and the sub-blocks that are not fully covered and displayed among the 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 and displayed according to the coverage area statistics of the global display area. If all sub-blocks are fully covered and displayed, the current full coverage display determination processing result is obtained as no new sub-block is generated.

[0036] It should be explained that after the display image of the current layer layout is refreshed and displayed, the coverage area statistics of the global display area can be obtained, that is, the area in the global display area that is refreshed and covered. 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, and sub-blocks that are not fully covered are screened out from all sub-blocks. The blank area (uncovered display area) of each sub-block that is not fully covered is dynamically divided to generate several new sub-blocks. Each sub-block that is not fully covered is dynamically divided to generate several new sub-blocks, and the new sub-blocks obtained by the final collection are the current full coverage display judgment processing results.

[0037] At the same time, if a full coverage judgment is performed on each sub-block in the global display area, and each sub-block is traversed and displayed with full coverage, there is no need for dynamic segmentation. Therefore, the final result of the current full coverage display judgment processing is that no new sub-blocks are generated. At this time, it means that the refresh display of the global display area of ​​the layout file is completed.

[0038] It needs to be explained that, combined with Figure 3 Note: "fully covered" means that the current sub-block is covered by the display image of the current layer. "Not fully covered" means that only part of the current sub-block is covered by the display image of the current layer, or that the entire sub-block is not covered by the display image of the current layer. In other words, the area not covered by the display image of the current layer is blank.

[0039] like Figure 2 and Figure 3 As shown, according to Figure 2 The global display area is dynamically divided into several sub-blocks to refresh the display image of the current layer layout, and the following is obtained: Figure 3 The overlay shown shows the results, Figure 3 The gray shaded area in the image is the display image of the current layer layout. When refreshing the display, the coverage area statistics of the global display area can be intuitively obtained.

[0040] Specifically, the process of determining whether each sub-block is fully covered and displayed includes:

[0041] If the current sub-block is not fully covered, the area (blank area) not covered in the current sub-block is dynamically segmented to obtain several new sub-blocks corresponding to the current sub-block (such as Figure 4 The sizes of each new sub-block are not necessarily the same;

[0042] If the current sub-block is fully covered and displayed, the next sub-block of the current sub-block is determined;

[0043] If the next sub-block of the current sub-block is not fully covered and displayed, the next sub-block of the current sub-block is dynamically split 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 and displayed, then a full-coverage display judgment process is performed on the next sub-block of the next sub-block;

[0045] Similarly, all sub-blocks in the plurality of sub-blocks are subjected to a judgment process on whether they are fully covered and displayed, and finally the sub-blocks that are not fully covered and displayed are screened out, and the uncovered areas of each sub-block that is not fully covered and displayed are dynamically divided to generate corresponding new sub-blocks and aggregated, and finally the new sub-blocks are obtained as the current full coverage display judgment processing results.

[0046] If the full coverage display judgment processing is performed on all sub-blocks in the plurality of sub-blocks, all sub-blocks are fully covered and displayed, and no dynamic segmentation is required, the current full coverage display judgment processing result 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 and displayed, and the refresh display of the global display area of ​​the layout file is completed, and the preset display requirement is met at this time. Therefore, if the full coverage display judgment processing result obtained is that no new sub-blocks are generated, it means that the current full coverage display judgment processing result meets the preset display requirement, and the global display area of ​​the layout file is refreshed and displayed. If the full coverage display judgment processing result obtained is that new sub-blocks are generated, it means that the current full coverage display judgment processing result does not meet the preset display requirement, which is specifically manifested in that there are still areas in the global display area of ​​the layout file that are not covered and displayed, and the next step of refreshing the display is required.

[0048] In one embodiment of the present application, the next layer layout is used as the current layer layout, and a refresh display and a full coverage display judgment processing operation based on the refresh display of the current layer layout are performed on the current layer layout until a full coverage display judgment processing result that meets the preset display requirements is obtained. The process is as follows:

[0049] The next layer layout is used as the current layer layout, and the new sub-blocks of the global display area are refreshed and displayed based on the display image of the current layer layout, and the coverage area statistics result of the global display area is updated.

[0050] Based on the updated coverage area statistics result of the global display area, a full coverage display judgment process is performed on the new sub-blocks of the global display area one by one to obtain a current full coverage display judgment process result;

[0051] Repeat the above refresh display and full coverage display judgment processing operations until the full coverage display judgment processing result meets the preset display requirement.

[0052] It should be noted that after the current layer layout is refreshed and displayed in the global display area of ​​the layout file, if the full coverage display judgment processing result obtained does not meet the preset display requirements, that is, the full coverage display judgment processing result obtained is to generate several new sub-blocks, it means that there are still areas in the global display area of ​​the layout file that are not covered and displayed, and the areas that are not covered and displayed are dynamically divided into several new sub-blocks of the global display area.

[0053] Then, the next layer of layout is used as the current layer of layout, and the display image based on the current layer of layout is refreshed and displayed on several new sub-blocks in the global display area, so as to obtain new coverage statistics of the global display area, that is, update the coverage area statistics of the global display area. After the display image of each layer of layout is refreshed, the coverage area statistics of the global display area are also updated accordingly.

[0054] According to the coverage area statistics of the updated global display area, the new sub-blocks of the global display area are judged to be fully covered one by one. Specifically, each new sub-block is traversed and judged whether each new sub-block is fully covered and displayed according to the coverage area statistics of the updated global display area, and the sub-blocks that are not fully covered and displayed are filtered out from all the new sub-blocks for dynamic segmentation, and new sub-blocks are generated; or each new sub-block is traversed and judged that all the new sub-blocks are fully covered and displayed, then there is no need to generate new sub-blocks, and the refresh display of the global display area is completed at this time.

[0055] If the above-mentioned full coverage display judgment processing result is the generation of several new sub-blocks, the preset display requirements are not met. The next layer of layout is used as the current layer of layout, and the display image based on the current layer of layout is refreshed and displayed on the 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. According to 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, that is, the preset display requirements are not met, the above-mentioned 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 find the blank areas in the global display area that are not fully covered and displayed. During subsequent refreshes, the covered parts of the global display area will no longer be refreshed, and only the blank areas will be refreshed and displayed. For example, when a layout file contains multiple layers of layouts, each layer of layout will be refreshed and displayed in sequence on the global display area. If an area has been covered and displayed by the layout of the previous layer, the layout of the subsequent layer will no longer be displayed in this covered area, but will only be displayed in the blank area. This method not only reduces the area for refreshing and displaying, but also improves the efficiency of refreshing and displaying. Figure 3 The gray-shaded area shown has been covered by the current layout's display image. For the dozens or hundreds of layers following the current layout, there's no need to refresh the gray-shaded area. Furthermore, the remaining uncovered areas (blank areas) within the global display area can be dynamically repartitioned, eliminating the need to retain the initial block settings.

[0057] In one embodiment of the present application, the method further includes: after the obtained full coverage display judgment processing result is that it does not meet the preset display requirements, it is also determined whether all layer layouts in the layout file have been refreshed and displayed; if not, the next layer layout is used as the current layer layout, and the current layer layout is refreshed and displayed and the full coverage display judgment processing operation is performed 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 so, the refresh display of the global display area of ​​the layout file is completed.

[0058] It should be noted that when the full coverage display judgment processing result obtained does not meet the preset display requirements, that is, when the full coverage display judgment processing result is to generate several new sub-blocks, it means that there are still blank areas in the global display area of ​​the layout file. These blank areas can be used for further refresh display of other layers of the layout file. However, there is a special case, that is, all the multi-layer layouts contained in the layout file have completed the refresh display, that is, all displayable layout 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 parts. At this time, there are no other layout layers to display. Therefore, this situation can also be regarded as the refresh display of the global display area of ​​the layout file has been completed, and the entire refresh display process can be terminated.

[0059] If the full coverage display judgment processing result obtained does not meet the preset display requirements, and the layout file also includes other layers of layout that have not been refreshed and displayed, 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 the present application, the method also includes: if the full coverage display judgment processing result obtained meets the preset display requirements, and the layout file also includes other layers of layout that have not been refreshed and displayed, the display images of other layers of layout will no longer be refreshed and displayed, 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 processing is to meet the preset display requirements, specifically when the result of the full coverage display judgment processing is that no new sub-blocks are generated, it means that the global display area of ​​the layout file has achieved full coverage display, that is, there is no blank area that is not displayed. Even if there are other layers of layouts in the layout file that have not been refreshed and displayed at this time, it is still considered that the refresh display of the global display area of ​​the layout file has been completed. This is because under the requirements of global display, as long as the entire display area is completely covered, even if there are display images of other layers of layouts that are not displayed, it will not affect the completion of the current global display task. In particular, for complex layout files containing dozens or even hundreds of layers of layouts, after the iterative refresh of the first few layers of layouts, the global display area can basically be completely covered, and the display refresh process can be exited in advance. There is no need to perform display processing on the display images of other layers of layouts that have not been refreshed, avoiding unnecessary calculations and operation steps, thereby greatly saving refresh time and improving the efficiency of the entire display refresh process.

[0062] In order to facilitate the demonstration of the dynamic partition refresh method of the global display of the layout file of this application, as shown in Figure 5 As shown, the following specific embodiments are provided for illustration.

[0063] Step 1: Initially dynamically partition the global display area of ​​the layout file into N sub-blocks;

[0064] Step 2: The display image of the current layer is refreshed and displayed on N sub-blocks concurrently using multiple threads until the end;

[0065] Step 3: Perform full coverage display judgment processing on the N sub-blocks of the global display area based on the current refresh display result. Wherein, i is the number of sub-blocks, and newN is the number of new sub-blocks. When i=1, judge whether the current sub-block is fully covered and displayed; if the current sub-block is fully covered and displayed, then i=2, that is, judge the next sub-block; if the current sub-block is not fully covered and displayed, then the uncovered area is dynamically divided again according to the coverage area of ​​the current sub-block, and M new sub-blocks are generated by division. The number of newN is the sum of the number of M superpositions. After performing full coverage judgment processing on the N sub-blocks in turn, the full coverage judgment processing result is obtained, and the new sub-block generated is N=newN. If N=0, it means that no new sub-block is generated, then the refresh display of the global display area is completed, and the entire refresh display process is exited.

[0066] Step 4: If N is not equal to 0, determine whether all layers have been refreshed. If so, 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 global display area is refreshed.

[0067] It should be noted that this application dynamically divides the global display area of ​​the layout file, performs a refresh operation on each divided sub-block and counts whether the refresh is completed. If it is found that there are sub-blocks that have been refreshed, then in the subsequent refresh display process, these sub-blocks will no longer participate, and then dynamically divide again according to the previous display result to achieve iterative refresh display operation. In this way, each refresh can more accurately target the area that needs to be refreshed and displayed, and reduce the refresh display area, thereby greatly improving the global display speed of multi-layer layout files. At the same time, after the iterative refresh of the first few layers of layout, basically the global display area can be completely covered. Therefore, the iterative refresh display process can be exited in advance, which greatly saves refresh time and improves the refresh display speed.

[0068] In the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects, and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity or execution order, and words such as "first" and "second" do not necessarily mean different.

[0069] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" represent examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0070] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers 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 mean: a, b, c, ab, ac, bc or abc, where a, b, c can be single or plural.

[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 the present application. Figure 6 As shown, the system 600 includes:

[0072] The dynamic segmentation module 601 is used to obtain a global display area of ​​a layout file and dynamically segment the global display area to divide it into a plurality of sub-blocks; the layout file contains one or more layers of layout;

[0073] A coverage area statistics module 602 is configured to refresh and display a plurality of sub-blocks based on the display image of the current layer layout in the layout file, so as to obtain coverage area statistics results of the global display area;

[0074] The full coverage display judgment processing module 603 is used to perform full coverage display judgment processing on a number of sub-blocks one by one based on the coverage area statistics result of the global display area to 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, the next layer of layout is used as the current layer of layout, and the current layer of layout is refreshed and displayed and the full coverage display judgment processing operation is performed based on the refresh display of the current layer of layout until the 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, 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 executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0076] It should also be understood that the division of modules in the embodiments of the present application is illustrative and is merely a logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional modules in the various embodiments of the present application may be integrated into a single processor, or may exist physically separately, or two or more modules may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or software functional modules.

[0077] Figure 7 : is a schematic block diagram of an electronic terminal provided in an embodiment of the present 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 achieve connection and communication between these components. In addition to the data bus, the bus system 704 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 7 Various buses are labeled as bus systems.

[0078] The user interface 705 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.

[0079] It will be appreciated that memory 702 can be volatile memory or non-volatile memory, or can include both volatile and non-volatile memory. Non-volatile memory can be read-only memory (ROM) or programmable read-only memory (PROM), which can be used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM) and synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

[0080] The memory 702 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic terminal 700. Examples of such data include: any executable program used to operate on the electronic terminal 700, such as the operating system 7021 and the application 7022; the operating system 7021 includes various system programs, such as the framework layer, the core library layer, the driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 7022 can include various applications, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. The dynamic partition refresh method for global display of the layout file provided in the embodiment of the present invention can be included in the application 7022.

[0081] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 701. Processor 701 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits or software instructions within processor 701. Processor 701 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. Processor 701 can implement or execute the various 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. The steps of the accessory optimization method provided in the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules within the decoding processor. The software module may be located in a storage medium located in a memory. The processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0082] In an exemplary embodiment, the electronic terminal 700 may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), or complex programmable logic devices (CPLDs) to execute the aforementioned method.

[0083] According to the method provided in the embodiments of the present application, the present application also provides a computer program product, which includes: computer program code, which, when running on a computer, enables the computer to execute the dynamic partition refresh method for global display of the layout file of any embodiment of the illustrated embodiments.

[0084] According to the method provided in the embodiments of the present application, the present application also provides a computer-readable storage medium, which stores program code. When the program code is run on a computer, the computer executes the dynamic partition refresh method for global display of the layout file of any embodiment of the illustrated embodiments.

[0085] As used in this specification, the terms "component," "module," "system," and the like are used to refer to computer-related entities, hardware, firmware, a combination 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. By way of illustration, both an application running on a computing device and the computing device can be a component. One or more components can reside in a process and / or an execution thread, and a component can be located on a single computer and / or distributed across two or more computers. In addition, these components can be executed from various computer-readable media having various data structures stored thereon. 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 on 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 appreciate that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented using electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented using hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may 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 clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned 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, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0089] Units described as separate components may or may not be physically separate, and 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0090] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0091] In the above embodiments, the functions of each functional unit can be implemented in whole or in part via software, hardware, firmware, or any combination thereof. When implemented using software, they can be implemented in whole or in part in the form of a computer program product. A computer program product comprises one or more computer instructions (programs). When these computer program instructions (programs) are loaded and executed on a computer, they fully or partially produce the processes or functions according to the embodiments of the present application. 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, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. A computer-readable storage medium can be any available medium accessible by a computer or a data storage device such as a server or data center that integrates one or more available media. Available media can be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., high-density digital video discs (DVDs), or semiconductor media (e.g., solid state disks (SSDs)).

[0092] If the function is implemented in the form of 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 the present application, or the part that contributes to the existing technology, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program code.

[0093] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

[0094] In summary, the present application provides a method, system, medium, program product and terminal for dynamically partitioning and refreshing the global display of a layout file, which dynamically divides the global display area of ​​the layout file, performs a refresh operation on each divided sub-block and counts whether the refresh is completed. If it is found that there are sub-blocks that have been refreshed, then in the subsequent refresh display process, these sub-blocks will no longer participate, and then dynamically divide again according to the previous display result to achieve iterative refresh display operation. In this way, each refresh can more accurately target the area that needs to be refreshed and displayed, and the refresh display area is reduced, thereby greatly improving the global display speed of multi-layer layout files. At the same time, after the iterative refresh of the first few layers of layout, the global display area can basically be completely covered. Therefore, the iterative refresh display process can be exited in advance, which greatly saves refresh time and improves the refresh display speed. Therefore, the present application effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.

[0095] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by one of ordinary skill in the art without departing from the spirit and technical concepts disclosed in this application shall be covered by the claims of this application.

Claims

1. A method for dynamically refreshing a layout file globally, characterized in that: include: Acquire a global display area of ​​a layout file, and dynamically segment the global display area to divide it into a plurality of sub-blocks; the layout file includes one or more layers of layout; Refreshing and displaying a plurality of sub-blocks based on a display image of a current layer layout in the layout file to obtain coverage area statistics results of the global display area; Based on the coverage area statistics result of the global display area, performing full coverage display judgment processing on a plurality of sub-blocks one by one 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, the next layer layout is used as the current layer layout, and the current layer layout is refreshed and the full coverage display judgment processing operation is performed based on the refreshed 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 satisfies the preset display requirement, the refresh display of the global display area of ​​the layout file is completed.

2. The method for dynamically refreshing a layout file globally according to claim 1, characterized in that: The process of performing full coverage display judgment processing on a plurality of sub-blocks one by one based on the coverage area statistics result of the global display area to obtain the current full coverage display judgment processing result includes: Each sub-block is traversed, and whether each sub-block is fully covered and displayed is determined according to the coverage area statistics of the global display area, and sub-blocks that are not fully covered and displayed are dynamically divided to generate new sub-blocks.

3. The method for dynamically refreshing a layout file globally according to claim 2, characterized in that: 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 obtaining a full coverage display judgment processing result that meets the preset display requirements includes: Taking the next layer layout as the current layer layout, refreshing and displaying several new sub-blocks of the global display area based on the display image of the current layer layout, and updating the coverage area statistics of the global display area; Based on the updated coverage area statistics result of the global display area, a full coverage display judgment process is performed on the new sub-blocks of the global display area one by one to obtain a current full coverage display judgment process result; Repeat the above refresh display and full coverage display judgment processing operations until the full coverage display judgment processing result meets the preset display requirement.

4. The method for dynamically refreshing a layout file globally according to claim 1, wherein: The method further comprises: After the obtained full coverage display judgment processing result is that the preset display requirement is not met, it is further judged whether all layer layouts in the layout file have been completely refreshed and displayed; If not, the next layer layout is used as the current layer layout, and the current layer layout is refreshed and the full coverage display judgment processing operation is performed 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 so, the refresh display of the global display area of ​​the layout file is completed.

5. The method for dynamically refreshing a layout file globally according to claim 1, wherein: The method further comprises: If the full coverage display judgment processing result obtained meets the preset display requirements, and the layout file also includes other layers of layout that have not been refreshed and displayed, the display images of other layers of layout will no longer be refreshed and displayed, and the refresh display of the global display area of ​​the layout file will be completed.

6. The method for dynamically refreshing a layout file globally according to claim 1, wherein: Based on the display image of the current layer layout in the layout file, a multi-thread concurrent method is used to refresh and display a plurality of sub-blocks.

7. A dynamic partition refresh system for global display of layout files, characterized in that: include: A dynamic segmentation module is used to obtain a global display area of ​​a layout file and dynamically segment the global display area to divide it into a plurality of sub-blocks; the layout file contains one or more layers of layout; A coverage area statistics module is used to refresh and display a plurality of sub-blocks based on the display image of the current layer layout in the layout file to obtain coverage area statistics results of the global display area; a full coverage display judgment processing module, configured to perform full coverage display judgment processing on a plurality of sub-blocks one by one based on the coverage area statistics result of the global display area, and 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, the next layer layout is used as the current layer layout, and the current layer layout is refreshed and the full coverage display judgment processing operation is performed based on the refreshed 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 satisfies the preset display requirement, 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 a processor, the method for dynamically refreshing the layout file globally displayed according to any one of claims 1 to 6 is implemented.

9. A computer program product, characterized in that The computer program product includes computer program code, and when the computer program code is run on a computer, the computer is enabled to implement the method for dynamic partition refresh of global display of layout files as claimed 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 a 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

  • Machine vision detection method and system for printed circuit defects, medium, program and terminal

    CN119941669A

  • Scheduling parallel processing of multiple partitions for signal electromigration analysis

    US10181000B1

  • Refresh logic circuit layouts thereof

    US20220059153A1