Graph element rendering method and device based on logical layering, equipment and storage medium

By employing a logical layered rendering method that classifies and segments primitives, the system overhead and performance issues caused by overall refresh rendering are resolved, achieving efficient local rendering and improving software performance and user experience.

CN115439441BActive Publication Date: 2025-12-05DONGFANG JINGYUAN ELECTRON LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211074643.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2025-12-05
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

Existing technologies that involve overall refresh rendering result in high system overhead, long processing time, reduced software friendliness and usability, increased robustness risks, and frequent screen flickering, especially when the data scale is large or the primitive types are complex.

Method used

A primitive rendering method based on logical layering is adopted. Primitives are classified and segmented in layers. Local rendering is performed using the software's rendering units. Local redrawing is performed based on enumeration values ​​and classification information. Only data blocks with varying data ranges are rendered locally.

Benefits of technology

It effectively reduces the overall system overhead of refresh rendering, improves software performance and user-friendliness, reduces CPU resource consumption, avoids frequent screen flickering, and enhances software usability and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115439441B_ABST
    Figure CN115439441B_ABST
Patent Text Reader

Abstract

The application provides a logical layer-based primitive rendering method and device, electronic equipment and computer readable storage medium. The logical layer-based primitive rendering method comprises: classifying primitives according to business; wherein each classified primitive carries corresponding classification information; associating each primitive with corresponding rendering operation based on the classification information of each primitive to obtain corresponding association information; and performing corresponding rendering operation on a target primitive based on the association information. According to the embodiment of the application, the problem of overall refresh rendering in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the field of semiconductors, and particularly relates to a graphics rendering method and device based on logical layering, an electronic device, and a computer readable storage medium. BACKGROUND

[0002] In a semiconductor process, the yield of a production line represents the probability of a wafer from being offline to being successfully shipped, the yield of a wafer represents the pass rate of chips on a wafer, the yield of a wafer is the ratio of the number of chips that pass the test after all process steps are completed to the number of effective chips on the wafer, and yield management aims to provide a direct and effective means for defect analysis, discovery, positioning, and diagnosis of the production and manufacturing process, which is of great significance to improving the pass rate of the entire chip production and manufacturing and reducing costs.

[0003] Yield management software mainly provides accurate sources and influencing factors for discovering defects for multiple wafers of different machines, different batches, and different time periods of a chip factory through a data visualization scheme, presents wafer defect trend tables, wafer defect distribution maps, and superimposed multiple and multi-layer wafer detection maps, and takes graphics as the basic unit, including points, lines, text, auxiliary text, and identifying information, to constitute the main part of a data analysis view.

[0004] Through selecting data sources of different batches, different machines, and different wafers, deep fusion of image defects is performed, and according to data source changes or changes in information parameters by editing, all graphics in the view need to be refreshed synchronously. In a traditional refreshing and rendering scheme, all information of the entire view needs to be refreshed, or the entire graphics in a window is refreshed and rendered, and graphics are not distinguished at the data level.

[0005] For application technology for visual display through image means, the drawn and fused images are usually displayed to a user in a window layout, and when data changes or information parameters change, all elements of the images are refreshed as a whole because the data corresponding to the images are not distinguished at the data level.

[0006] When data sources change or information parameters change, the following problems exist in the overall refreshing and rendering when the scale is large or the graphics type is complex and the scale is large: 1. unnecessary system overhead is generated; 2. in the case of long rendering time, the overall re-rendering greatly reduces the friendliness and usability of the software; 3. from the software level, the overall refreshing additionally increases the robustness risk of the software; and 4. in the case of frequent refreshing and redrawing requirements, a flashing screen phenomenon may occur, and high CPU resources are occupied.

[0007] Therefore, the present application is proposed. SUMMARY

[0008] Embodiments of the present application provide a logic layer-based primitive rendering method and device, electronic equipment and computer readable storage medium, which can solve the problem of whole refresh rendering in the prior art.

[0009] In a first aspect, embodiments of the present application provide a logic layer-based primitive rendering method, comprising:

[0010] classifying primitives according to business; wherein each classified primitive carries corresponding classification information;

[0011] associating each primitive with corresponding rendering operation based on the classification information of each primitive, to obtain corresponding association information;

[0012] performing corresponding rendering operation on target primitive based on the association information.

[0013] Further, classifying primitives according to business comprises:

[0014] logically dividing primitives at data level and determining classification information of different primitives;

[0015] hierarchically segmenting primitives and determining hierarchical segmentation information of different primitives;

[0016] wherein the classification information comprises the classification information and the hierarchical segmentation information.

[0017] Further, performing corresponding rendering operation on target primitive based on the association information comprises:

[0018] performing corresponding rendering operation on target primitive according to the association information by using a rendering unit of software.

[0019] Further, after classifying primitives according to business, the method further comprises:

[0020] updating the classification information when data and information parameters change;

[0021] updating the association information based on the updated classification information;

[0022] performing corresponding rendering operation on target primitive according to the updated association information by using a rendering unit of software.

[0023] Further, classifying primitives according to business comprises:

[0024] logically classifying defect points, trend lines, moving average lines, mean values, upper and lower extreme lines, coordinate axes, network lines and auxiliary texts of primitives;

[0025] wherein the defect points and the trend lines are key layers.

[0026] Moving average line, mean and upper and lower extreme line as auxiliary element layer of key layer;

[0027] Coordinate axis and network line as background layer;

[0028] Auxiliary text as secondary layer.

[0029] Further, based on the hierarchical classification information of each graph element, each graph element is respectively associated with a corresponding rendering operation to obtain corresponding association information, including:

[0030] The definition of the logical category is included in the data structure of the software, and the hierarchical classification information corresponds to the corresponding enumeration value of the data structure of the software, so as to facilitate the information flow of the data flow.

[0031] Further, based on the association information, the target graph element is executed with the corresponding rendering operation, including:

[0032] In the rendering unit of the graph element, according to the hierarchical classification information corresponding to the enumeration value, partial rendering is performed according to the classification;

[0033] The user's operation is associated with the logical classification, and when the user operates the software, the enumeration value is transmitted, and the rendering unit performs partial redrawing according to the classification.

[0034] Further, the method further includes:

[0035] According to the detection defect data, the large-scale data is cut into several levels or blocks, and the data size is cut into several levels or blocks;

[0036] By defining several defect orders of magnitude, the hierarchical cutting or block information of the data is included in the graph element;

[0037] The rendering unit only performs partial rendering on the data block falling into this data interval order of magnitude according to the defect order of magnitude.

[0038] Further, the graph element is classified according to the business, including:

[0039] The die area and reticle area of the wafer are taken as the background layer;

[0040] All points represented by the detected defects are taken as the key layer.

[0041] Further, based on the hierarchical classification information of each graph element, each graph element is respectively associated with a corresponding rendering operation to obtain corresponding association information, including:

[0042] The hierarchical classification information of the die area, the reticle area and all points represented by the detected defects is defined in a data structure of corresponding software respectively;

[0043] Each hierarchical classification information corresponds to a corresponding enumeration value of the data structure of the software.

[0044] Further, based on the association information, the corresponding rendering operation is performed on the target graph element, including:

[0045] In the rendering unit of the graph element, when the redrawing rendering action occurs, the enumeration value is transmitted, and the local rendering is performed according to the graph element corresponding to the classification information using the classification information;

[0046] The operation of the user is associated with the logical classification, and when the user performs the software operation, the classification information of the graph element is associated through the enumeration value, and the rendering unit redraws the graph element according to the classification information.

[0047] Further, the method further includes:

[0048] According to the order of magnitude of the detected defects, the drawing area is divided and the hierarchical cutting is performed, and the data scale is cut into local several levels or blocks;

[0049] By defining several defect orders of magnitude, the hierarchical cutting or block information of the data is included in the graph element;

[0050] The rendering unit only performs local rendering on the data block falling into the data interval order of magnitude according to the defect order of magnitude.

[0051] In a second aspect, the embodiments of the present application provide a graph element rendering device based on logical hierarchical classification, including:

[0052] A hierarchical classification module is configured to classify the graph elements according to the business; wherein each classified graph element carries corresponding hierarchical classification information;

[0053] An association module is configured to associate each graph element with a corresponding rendering operation based on the hierarchical classification information of each graph element, to obtain corresponding association information;

[0054] A rendering operation execution module is configured to perform the corresponding rendering operation on the target graph element based on the association information.

[0055] Further, the hierarchical classification module is configured to: logically divide the graph elements at the data level, and determine the classification information of different graph elements; and perform hierarchical cutting on the graph elements, and determine the hierarchical cutting information of different graph elements; wherein the hierarchical classification information includes the classification information and the hierarchical cutting information.

[0056] Further, the rendering operation execution module is configured to perform corresponding rendering operation on the target graph element according to the association information by using the rendering unit of the software.

[0057] Further, the device further comprises:

[0058] The updating module is configured to update the hierarchical classification information when the data and information parameters change, and update the association information based on the updated hierarchical classification information.

[0059] The rendering operation execution module is configured to perform corresponding rendering operation on the target graph element according to the updated association information by using the rendering unit of the software.

[0060] Further, the hierarchical classification module is configured to logically classify the defect points, trend lines, moving average lines, mean values, upper and lower extreme value lines, coordinate axes, network lines and auxiliary texts of the graph element.

[0061] The defect points and the trend lines are key layers.

[0062] The moving average lines, the mean values and the upper and lower extreme value lines are auxiliary element layers of the key layers.

[0063] The coordinate axes and the network lines are background layers.

[0064] The auxiliary texts are secondary layers.

[0065] Further, the association module is configured to include the definition of the logical categories in the data structure of the software, and the hierarchical classification information corresponds to the corresponding enumeration value of the data structure of the software, so as to facilitate the information flow of the data flow.

[0066] Further, the rendering operation execution module is configured to perform local rendering according to the hierarchical classification information corresponding to the enumeration value in the rendering unit of the graph element.

[0067] The user's operation is associated with the logical classification, and when the user operates the software, the enumeration value is transmitted, and the rendering unit performs local redrawing according to the classification.

[0068] Further, the rendering operation execution module is further configured to perform hierarchical cutting on large-scale data according to different defect data, and cut the data scale into local hierarchical or block.

[0069] By defining a plurality of defect orders of magnitude, the hierarchical cutting or block information of the data is included in the graph element.

[0070] The rendering unit performs local rendering on the data block falling into the data interval order of magnitude according to the defect order of magnitude.

[0071] Further, the hierarchical classification module is configured to: take the die area and the reticle area of the wafer as background layers.

[0072] All points represented by the detected defects are taken as key layers.

[0073] Further, the association module is configured to: define the hierarchical classification information of the die area, the reticle area and all points represented by the detected defects in corresponding data structures of the software respectively.

[0074] Each hierarchical classification information corresponds to a corresponding enumeration value of the data structure of the software.

[0075] Further, the rendering operation execution module is configured to: in the rendering unit of the graphics primitive, when a redraw rendering action occurs, input the enumeration value, and use the classification information to perform partial rendering according to the graphics primitive corresponding to the classification.

[0076] The operation of the user is associated with the logical classification, when the user performs the software operation, the classification information of the graphics primitive is associated to the enumeration value, and the rendering unit redraws the graphics primitive according to the classification information.

[0077] Further, the rendering operation execution module is further configured to: according to the order of magnitude of the detected defects, perform area division and hierarchical cutting, and cut the data scale into partial hierarchical levels or blocks.

[0078] By defining a plurality of defect orders of magnitude, the hierarchical cutting or block information of the data is included in the graphics primitive.

[0079] The rendering unit performs partial rendering on the data block falling into the data interval order of magnitude according to the defect order of magnitude.

[0080] In a third aspect, an electronic device is provided, and the electronic device includes a processor and a memory storing computer program instructions.

[0081] The processor, when executing the computer program instructions, implements the graphics primitive rendering method based on logical hierarchical layers as shown in the first aspect.

[0082] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores computer program instructions, and the computer program instructions, when executed by a processor, implement the graphics primitive rendering method based on logical hierarchical layers as shown in the first aspect.

[0083] The graphics primitive rendering method, device, electronic device and computer readable storage medium based on logical hierarchical layers according to the embodiments of the present application can solve the problem of whole refresh rendering in the prior art.

[0084] The logical layer-based primitive rendering method comprises: classifying primitives according to business; wherein each classified primitive carries corresponding classification information; associating each primitive with corresponding rendering operation based on the classification information of each primitive to obtain corresponding association information; and performing corresponding rendering operation on a target primitive based on the association information.

[0085] It can be seen that the method classifies primitives according to business, associates each primitive with corresponding rendering operation based on the classification information of each primitive, and finally performs corresponding rendering operation on a target primitive, thereby solving the problem of overall refresh rendering in the prior art. BRIEF DESCRIPTION OF DRAWINGS

[0086] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the drawings required to be used in the specific embodiments or the prior art description will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0087] Figure 1 is a flowchart of a logical layer-based primitive rendering method provided by an embodiment of the present application;

[0088] Figure 2 is a primitive type diagram provided by an embodiment of the present application;

[0089] Figure 3 is a primitive region division diagram provided by an embodiment of the present application;

[0090] Figure 4 is a reasonable division of polyline diagram of different categories of primitives provided by an embodiment of the present application;

[0091] Figure 5 is a hierarchical rendering diagram provided by an embodiment of the present application;

[0092] Figure 6 is a flowchart of a primitive rendering method provided by an embodiment of the present application;

[0093] Figure 7 is a structure diagram of a logical layer-based primitive rendering device provided by an embodiment of the present application;

[0094] Figure 8 is a structure diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0095] The features and exemplary embodiments of various aspects of the present application will be described below in detail, in order to make the purposes, technical solutions and advantages of the present application more clear. The following further describes the present application in detail with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, but not to limit the present application. The present application can be implemented without some of the specific details by those skilled in the art. The following description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application.

[0096] It should be noted that, in this paper, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the elements defined by the statement "include" do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0097] In order to solve the problems in the prior art, the embodiments of the present application provide a logical layer-based primitive rendering method and device, electronic equipment and computer readable storage medium. First, the logical layer-based primitive rendering method provided by the embodiments of the present application is introduced.

[0098] Figure 1 The flowchart of the logical layer-based primitive rendering method provided by one embodiment of the present application is shown. As shown in Figure 1 The logical layer-based primitive rendering method includes:

[0099] S101, classifying the primitives according to the business, wherein each classified primitive carries corresponding classification information;

[0100] S102, based on the classification information of each primitive, respectively associating each primitive with the corresponding rendering operation to obtain the corresponding association information;

[0101] S103, based on the association information, performing the corresponding rendering operation on the target primitive.

[0102] As can be seen, this method classifies graphic elements into layers according to business requirements, associates each graphic element with its corresponding rendering operation based on the layer classification information of each graphic element, and finally performs the corresponding rendering operation on the target graphic element, which can solve the problem of overall refresh rendering in the existing technology.

[0103] In one embodiment, the graphic elements are hierarchically classified according to business requirements, including:

[0104] Logically divide the graphic elements at the data level and determine the classification information of different graphic elements;

[0105] Perform hierarchical segmentation on the primitives and determine the hierarchical segmentation information for different primitives;

[0106] Among them, hierarchical classification information includes classification information and hierarchical segmentation information.

[0107] In one embodiment, based on the association information, performing corresponding rendering operations on the target primitive includes:

[0108] The software's rendering unit performs corresponding rendering operations on the target primitives according to the associated information.

[0109] In one embodiment, after classifying and categorizing graphic elements according to business requirements, the method further includes:

[0110] Update the hierarchical classification information when data and information parameters change;

[0111] Update the associated information based on the updated hierarchical classification information;

[0112] Using the software's rendering unit, the corresponding rendering operation is performed on the target primitives according to the updated association information.

[0113] Specifically, data analysis software often generates diverse graphical elements due to the diversity of data, or involves massive amounts of data. To improve software usability, more meaningful and identifiable graphical elements are added to assist users in analysis and facilitate more intuitive data analysis. Therefore, based on the business scenario, logical layering and data classification concepts can be introduced. For example... Figure 2 As shown, graphic elements can be divided into point and line types, text types, label types, background types, etc., and specific data cutting and region segmentation can be performed according to business needs.

[0114] This involves rationally classifying different detection defects, or dividing the area into necessary regions, for example, dividing it into four quadrants (e.g., Figure 3 (As shown); for different types of primitives, text, points, lines, and curves are classified and divided, data areas are divided, and data of different magnitudes are divided so that the rendering units can render and draw them separately in the later stage.

[0115] The process of implementing the method can be divided into logical layering, data blocking, custom classification, or all three, defining data structures, rendering, and can be tailored to business needs:

[0116] Step 1: Layering, logical division can be done at the data level, through categories such as foreground layer, background layer, point, line, surface layer, and elements representing different physical meanings are distinguished;

[0117] Step 2: Data segmentation, reasonable planning of the graph elements corresponding to large-scale data, hierarchical cutting, after hierarchical cutting, the data carries hierarchical segmentation information; among them, the reasonable division of different category graph elements is shown in the broken line diagram Figure 4 ;

[0118] Step 3: Define software data structure, after logical division of data, directly generate hierarchical information of corresponding graph elements according to logic, the hierarchical information is directly associated at the software level, and different data and different operations are directly associated with graph elements;

[0119] Step 4: Rendering, the rendering unit of the software, according to the association relationship, the hierarchical and segmented graph elements are rendered on demand, and the rendering result is transmitted to the graph elements on the view. When the data and information parameters change, the hierarchical information in the graph elements will inform the rendering unit according to the respective association information, and the local hierarchical level graph element rendering is carried out, while the unaffected part remains unchanged. Among them, the hierarchical rendering diagram is shown in Figure 5 .

[0120] In one embodiment, the graph element rendering method can refer to Figure 6 , first block the data interval, draw the region, classify the algorithm, layer the physical meaning, and draw the region to get the graph element containing classification information, and then render the region classification, local rendering to get the final view.

[0121] In one embodiment, the graph elements are classified according to business, including:

[0122] Defect points, trend lines, moving average lines, means, upper and lower extreme lines, coordinate axes, network lines, and auxiliary text of graph elements are logically classified;

[0123] Among them, defect points and trend lines are key layers;

[0124] Moving average lines, means, and upper and lower extreme lines are auxiliary element layers of key layers;

[0125] Coordinate axes and network lines are background layers;

[0126] Auxiliary text is a secondary layer.

[0127] In one embodiment, each primitive is associated with a corresponding rendering operation based on the hierarchical classification information of each primitive, to obtain corresponding association information, including:

[0128] The definition of the logical category is included in the data structure of the software, and the hierarchical classification information corresponds to the corresponding enumeration value of the data structure of the software, so as to facilitate the information flow of the data flow.

[0129] In one embodiment, based on the association information, the corresponding rendering operation is performed on the target primitive, including:

[0130] In the rendering unit of the primitive, according to the hierarchical classification information corresponding to the enumeration value, partial rendering is performed according to the classification;

[0131] The user's operation is associated with the logical classification, and when the user operates the software, the enumeration value is transmitted, and the rendering unit performs partial redrawing according to the classification.

[0132] In one embodiment, the method further includes:

[0133] According to the detection of defect data, the data is cut into several levels or blocks for large-scale data;

[0134] By defining several defect orders of magnitude, the hierarchical cutting or block information of the data is included in the primitive;

[0135] The rendering unit performs local rendering on the data block falling into the data interval order of magnitude according to the defect order of magnitude.

[0136] Specifically, the rendering process based on the trend chart method can be as follows:

[0137] Step one: logically classify the points representing defect data, trend lines, moving average lines, means, upper and lower extreme value lines, coordinate axes, network lines, auxiliary texts and other primitives, and the defect points and trend lines are the main key information as the key layer; The moving average line, mean, upper and lower extreme value line, etc. are separately as a layer as a key layer auxiliary element; The coordinate axis and the grid line are divided into a layer as a background element; Other such as auxiliary text can also be separately as a layer, as a secondary layer;

[0138] Step two: define the logical category, include the definition of the logical category in the data structure of the software, and the hierarchical classification information corresponds to the corresponding enumeration value of the software data structure, so as to facilitate the information flow of the data flow.

[0139] Step three: in the rendering unit of the primitive, according to the hierarchical classification information corresponding to the enumeration value defined by the software, partial rendering is performed according to the classification;

[0140] Step four: associate the user's operation with the logical classification, when the user performs the software operation, the enumeration value is transmitted, and the rendering unit performs partial redrawing of the graphic element according to the classification information;

[0141] Step five (optional step): according to the detection defect data, for large-scale data, hierarchical cutting is performed to cut the data scale into local several levels or blocks, by defining several defect orders of magnitude, the hierarchical cutting or block information of the data is contained in the graphic element (the order of magnitude distinguishes the defects), and the rendering unit only performs local rendering on the data block falling into the data interval order of magnitude according to the order of magnitude.

[0142] In one embodiment, the graphic element is classified in layers according to the business, including:

[0143] The die area and the reticle area of the wafer are taken as background layers;

[0144] All points represented by the detection defects are taken as key layers.

[0145] In one embodiment, based on the hierarchical classification information of each graphic element, each graphic element is associated with a corresponding rendering operation respectively to obtain corresponding association information, including:

[0146] The hierarchical classification information of the die area, the reticle area and all points represented by the detection defects is defined in the data structure of the corresponding software respectively;

[0147] The respective enumeration values of the software data structure correspond to the respective hierarchical classification information.

[0148] In one embodiment, based on the association information, the corresponding rendering operation is performed on the target graphic element, including:

[0149] In the rendering unit of the graphic element, when the redrawing rendering action occurs, the enumeration value is transmitted, and the classified information is used for local rendering according to the graphic element corresponding to the classification;

[0150] The user's operation is associated with the logical classification, and when the user performs the software operation, the enumeration value is associated with the classification information of the graphic element, and the rendering unit performs redrawing of the graphic element according to the classification information.

[0151] In one embodiment, the method further includes:

[0152] According to the order of magnitude of the detection defects, the drawing area is divided and hierarchical cutting is performed to cut the data scale into local several levels or blocks;

[0153] By defining several defect orders of magnitude, the hierarchical cutting or block information of the data is contained in the graphic element;

[0154] The rendering unit only locally renders the data block falling into the data interval magnitude according to the magnitude of the defect.

[0155] Specifically, the rendering process based on the wafer defect detection map method can be as follows:

[0156] Step one: take the die and reticle area of the wafer as the background layer and the defect points representing all points (defect) as the main key layer in the physical sense;

[0157] Step two: define the logical category, and define the hierarchical category represented by the die, reticle and defect points in the data structure of the software, which can be defined as an enumeration value;

[0158] Step three: in the rendering unit of the graphics primitive, when the redraw rendering action occurs, the above-defined enumeration value is transmitted, and the classified information is used to locally render the graphics primitive corresponding to the classification;

[0159] Step four: associate the user's operation with the logical classification, and when the user operates the software, the above-defined enumeration value is associated with the classification information of the graphics primitive, and the rendering unit redraws the graphics primitive according to the classification association information;

[0160] Step five (optional step): according to the magnitude of the detected defect, the drawing area is divided and the hierarchy is cut, the data scale is cut into local levels or blocks, the hierarchy cutting or block information (magnitude distinction defect) of the data is defined in the graphics primitive, and the rendering unit only locally renders the data block falling into the data interval magnitude according to the magnitude.

[0161] In summary, based on the rendering method provided in the present application, from the perspective of software engineering, the rendering object is split by using the composition pattern, decoupled, independently refreshed, which is beneficial to reduce the complexity of the overall rendering unit, and more beneficial to share the system bottleneck and leave a direction for subsequent performance improvement; from the perspective of computer science optimization, the overall rendering is not conducive to performance optimization and improvement, and it is difficult to adapt to data change scenarios. The rendering object is split and subdivided as a whole task, and through the channel concept in image processing, the influence of data change on software performance can be effectively coped with. The present application has the following advantages:

[0162] 1. Flexible adaptability to data and strong expansibility. In the case of simple graphics primitive and small number of graphics primitives, it can be degenerated to a single level, and with different data volume, it can be extended to adapt;

[0163] 2. With rich rendering content, the larger the number of graphics primitives, the more obvious the performance improvement, and the smoother the user experience;

[0164] 3. From the perspective of software implementation and maintenance, the definition of data structure (hierarchical classification information) refines the software business scope, facilitating coding implementation and later maintenance;

[0165] 4. This method belongs to the typical "space for performance" idea. By designing excellent data structures based on business characteristics, the logical approach of software implementation is clearer, the coupling between data is reduced, the coding branches are fewer, and errors are less likely to occur.

[0166] It should be noted that the core of this method focuses on building an efficient data structure definition to reasonably divide all businesses associated with data objects, and is not limited to drawing rendering. It is also applicable to application scenarios such as data flow between internal software modules and multi-data multi-image superposition.

[0167] Figure 7 A structure diagram of a graphics primitive rendering device based on logical layering provided by an embodiment of the present application is shown. As shown in the figure, the graphics primitive rendering device based on logical layering includes: Figure 7

[0168] The hierarchical classification module 701 is configured to classify the graphics primitives according to the business. Each classified graphics primitive carries corresponding hierarchical classification information.

[0169] The association module 702 is configured to associate each graphics primitive with a corresponding rendering operation based on the hierarchical classification information of each graphics primitive, to obtain corresponding association information.

[0170] The rendering operation execution module 703 is configured to execute the corresponding rendering operation on the target graphics primitive based on the association information.

[0171] In one embodiment, the hierarchical classification module 701 is configured to: logically divide the graphics primitives at the data level, and determine the classification information of different graphics primitives; perform hierarchical segmentation on the graphics primitives, and determine the hierarchical segmentation information of different graphics primitives; wherein the hierarchical classification information includes the classification information and the hierarchical segmentation information.

[0172] In one embodiment, the rendering operation execution module 703 is configured to: use the rendering unit of the software to execute the corresponding rendering operation on the target graphics primitive according to the association information.

[0173] In one embodiment, the device further includes:

[0174] The update module is configured to update the hierarchical classification information when the data and information parameters change, and update the association information based on the updated hierarchical classification information.

[0175] The rendering operation execution module is configured to use the rendering unit of the software to execute the corresponding rendering operation on the target graphics primitive according to the updated association information.​

[0176] In one embodiment, the hierarchical classification module 701 is configured to logically classify the defect points, trend lines, moving average lines, mean values, upper and lower extreme value lines, coordinate axes, network lines, and auxiliary texts of the graph elements.

[0177] The defect points and the trend lines are key layers.

[0178] The moving average lines, the mean values, and the upper and lower extreme value lines are auxiliary element layers of the key layers.

[0179] The coordinate axes and the network lines are background layers.

[0180] The auxiliary texts are secondary layers.

[0181] In one embodiment, the association module 702 is configured to include definitions of the logical categories in a data structure of the software, and the hierarchical classification information corresponds to corresponding enumeration values of the data structure of the software, so as to facilitate information flow of a data stream.

[0182] In one embodiment, the rendering operation execution module 703 is configured to locally render in a rendering unit of the graph element according to the hierarchical classification information corresponding to the enumeration values.

[0183] The user's operation is associated with the logical categories, and when the user operates the software, the enumeration values are input, and the rendering unit locally redraws according to the categories.

[0184] In one embodiment, the rendering operation execution module 703 is further configured to perform hierarchical cutting on large-scale data according to different detection defect data, and cut the data scale into local hierarchical levels or blocks.

[0185] A plurality of defect orders are defined, and the hierarchical cutting or block information of the data is included in the graph element.

[0186] The rendering unit locally renders only the data blocks falling into the data interval order according to the defect order.

[0187] In one embodiment, the hierarchical classification module 701 is configured to take the die area and the reticle area of the wafer as background layers.

[0188] All points represented by the detection defects are key layers.

[0189] In one embodiment, the association module 702 is configured to include the hierarchical classification information of the die area, the reticle area, and all points represented by the detection defects in corresponding data structures of the software, respectively.

[0190] Each hierarchical classification information corresponds to a corresponding enumeration value of the data structure of the software.

[0191] In one embodiment, the rendering operation execution module 703 is configured to: in the rendering unit of the graphics primitive, when a redraw rendering action occurs, an enumeration value is transmitted, and the graphics primitive corresponding to the classification is rendered locally according to the classification information.

[0192] The operation of the user is associated with the logical classification, and when the user performs a software operation, the classification information of the graphics primitive is associated with the enumeration value, and the rendering unit redraws the graphics primitive according to the classification information.

[0193] In one embodiment, the rendering operation execution module 703 is further configured to: according to the order of magnitude of the detected defects, perform drawing area division and hierarchical cutting, and cut the data scale into a plurality of local levels or blocks;

[0194] By defining a plurality of defect orders of magnitude, the hierarchical cutting or block information of the data is included in the graphics primitive.

[0195] The rendering unit only renders the data block falling into the data interval order of magnitude according to the defect order of magnitude.

[0196] Figure 7 Each module in the device has the function of implementing each step in the method and can achieve the corresponding technical effects. For brevity, the description is not repeated here. Figure 1

[0197] Figure 8 A structure schematic diagram of an electronic device provided by an embodiment of the present application is shown.

[0198] The electronic device can include a processor 801 and a memory 802 having computer program instructions stored therein.

[0199] Specifically, the processor 801 described above can include a central processing unit (CPU), or a specific integrated circuit (ASIC), or can be configured to implement one or more integrated circuits of the embodiments of the present application.

[0200] ​The memory 802 can include mass storage for data or instructions. As an example and not by way of limitation, the memory 802 can include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disc (e.g., a compact disc (CD) or a digital versatile disc (DVD)), a solid-state drive (SSD), a USB drive, or a combination of two or more of these. Where appropriate, the memory 802 can include removable or non-removable (or fixed) media. Where appropriate, the memory 802 can be internal or external to the electronic device. In particular embodiments, the memory 802 can be non-volatile, solid-state memory.

[0201] In one embodiment, the memory 802 can be a read-only memory (ROM). In one embodiment, the ROM can be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0202] The processor 801 implements any of the above-described embodiments of the logic-layer-based primitive rendering method by reading and executing computer program instructions stored in the memory 802.

[0203] In one example, the electronic device can further include a communication interface 803 and a bus 810. As shown, the processor 801, the memory 802, and the communication interface 803 are connected through the bus 810 and complete communication among each other. Figure 8

[0204] The communication interface 803 is mainly used to realize the communication between the modules, devices, units, and / or equipment in the embodiments of the present application.

[0205] ​Bus 810 includes a hardware, software, or both that couples components of electronic device to each other. As an example and not by way of limitation, bus can include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand (IB) interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or some other suitable bus or a combination of two or more of these. Where appropriate, bus 810 can include one or more buses. Although this application describes and shows a particular bus, this application contemplates any suitable bus or interconnect.

[0206] In addition, in combination with the above-mentioned embodiment of the logic layer-based primitive rendering method, the present embodiment can provide a computer-readable storage medium for implementation. The computer-readable storage medium has computer program instructions stored thereon; the computer program instructions are executed by a processor to implement any of the above-mentioned embodiments of the logic layer-based primitive rendering method.

[0207] It needs to be made clear that the present application is not limited to the specific configurations and processes described above and shown in the drawings. For the sake of brevity, detailed descriptions of well-known methods are omitted herein. In the above-mentioned embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after understanding the spirit of the present application.

[0208] The functional modules shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a functional card, etc. When implemented in software, the elements of the present application are program or code segments used to perform the required tasks. The program or code segments can be stored in a machine-readable medium or transmitted through a data signal carried in a carrier wave in a transmission medium or communication link. The "machine-readable medium" can include any medium capable of storing or transmitting information. Examples of the machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segments can be downloaded via a computer network such as the Internet, an intranet, etc.

[0209] It should also be noted that the example embodiments mentioned in the present application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in an order different from the embodiments, or several steps can be performed simultaneously.

[0210] The above generally describes aspects of the present application with reference to a flowchart and / or a block diagram of the method, the apparatus (system) and computer program product according to embodiments of the present application. It should be understood that each block of the flowchart and / or the block diagram, as well as combinations of blocks in the flowchart and / or the block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine, so that the instructions executed via the processor of the computer or other programmable data processing apparatus implement the functions / acts specified in the flowchart and / or the block diagram block or blocks. The processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It should also be understood that each block of the flowchart and / or the block diagram, as well as combinations of blocks in the flowchart and / or the block diagram, can also be implemented by dedicated hardware, or a combination of computer instructions and dedicated hardware.

[0211] The above is only a specific implementation of the present application, and those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, module and unit can refer to the corresponding process in the foregoing method embodiments, which will not be described here. It should be understood that the protection scope of the present application is not limited to this, and any skilled person in the art can easily think of various equivalent modifications or replacements within the technical range disclosed in the present application, and these modifications or replacements should be covered within the protection scope of the present application.

Claims

1. A primitive rendering method based on logical layering, characterized in that, include: Graphic elements are classified into layers according to business requirements; each layered and classified graphic element carries corresponding layer classification information. Based on the hierarchical classification information of each graphic element, each graphic element is associated with the corresponding rendering operation to obtain the corresponding association information; Based on the associated information, perform the corresponding rendering operation on the target primitive; The step of classifying graphic elements according to business needs includes: using the die region and reticle region of the wafer as the background layer; and using all points represented by detected defects as the key layer.

2. The primitive rendering method based on logical layering according to claim 1, characterized in that, The hierarchical classification of graphic elements based on business functions includes: The graphic elements are logically divided at the data level, and the classification information of different graphic elements is determined; The graphic elements are hierarchically segmented, and the hierarchical segmentation information of different graphic elements is determined; The hierarchical classification information includes the classification information and the hierarchical segmentation information.

3. The primitive rendering method based on logical layering according to claim 1, characterized in that, The step of performing corresponding rendering operations on the target primitives based on the associated information includes: The software's rendering unit performs corresponding rendering operations on the target primitives according to the associated information.

4. The primitive rendering method based on logical layering according to claim 3, characterized in that, After classifying and categorizing graphic elements according to business requirements, the method further includes: When data and information parameters change, the hierarchical classification information is updated; The association information is updated based on the updated hierarchical classification information; The software's rendering unit performs corresponding rendering operations on the target primitives according to the updated association information.

5. The primitive rendering method based on logical layering according to claim 1, characterized in that, The hierarchical classification of graphic elements based on business functions includes: Logically categorize the graphic elements, including defect points, trend lines, moving averages, mean values, upper and lower extreme value lines, coordinate axes, network lines, and auxiliary text. Among them, the defect points and the trend lines serve as key layers; The moving average, the mean, and the upper and lower extreme value lines serve as auxiliary element layers for the key layer. The coordinate axes and the network lines serve as a background layer; The auxiliary text is a secondary layer.

6. The primitive rendering method based on logical layering according to claim 5, characterized in that, The hierarchical classification information based on each graphic element is used to associate each graphic element with its corresponding rendering operation to obtain corresponding association information, including: The definition of logical categories is included in the software's data structure, and the hierarchical classification information corresponds to the corresponding enumeration value of the software's data structure to facilitate the information flow of the data stream.

7. The primitive rendering method based on logical layering according to claim 6, characterized in that, The step of performing corresponding rendering operations on the target primitives based on the associated information includes: In the primitive rendering unit, local rendering is performed according to the hierarchical classification information corresponding to the enumeration value; The user's operations are categorized and associated with logic. When the user performs a software operation, the enumerated value is passed in, and the rendering unit performs local redrawing according to the categorization.

8. The primitive rendering method based on logical layering according to claim 7, characterized in that, The method further includes: Depending on the different defect detection data, large-scale data can be hierarchically segmented into several local levels or blocks. By defining several defect orders of magnitude, hierarchical segmentation or block information of data is included in the primitives; Based on the magnitude of the defects, the rendering unit performs local rendering only on data blocks that fall within this data range.

9. The primitive rendering method based on logical layering according to claim 1, characterized in that, The hierarchical classification information based on each graphic element is used to associate each graphic element with its corresponding rendering operation to obtain corresponding association information, including: The hierarchical classification information of the die region, the reticle region, and all points represented by the detected defects are defined and included in the data structures of the corresponding software. Each of the hierarchical classification information corresponds to a specific enumeration value in the software's data structure.

10. The primitive rendering method based on logical layering according to claim 9, characterized in that, The step of performing corresponding rendering operations on the target primitives based on the associated information includes: In the primitive rendering unit, when a redraw rendering action occurs, the enumeration value is passed in, and the classification information is used to perform local rendering according to the primitives corresponding to the classification. The user's operations are associated with logical categories. When the user performs software operations, the enumeration value is associated with the category information of the graphic elements, and the rendering unit redraws the graphic elements according to the category information.

11. The primitive rendering method based on logical layering according to claim 10, characterized in that, The method further includes: Based on the magnitude of the detected defects, the drawing area is divided and the data is cut into several local levels or blocks. By defining several defect orders of magnitude, hierarchical segmentation or block information of data is included in the primitives; Based on the magnitude of the defects, the rendering unit performs local rendering only on data blocks that fall within this data range.

12. A primitive rendering device based on logical layering, characterized in that, include: The hierarchical classification module is used to classify graphic elements into hierarchical categories according to business requirements; each hierarchically classified graphic element carries corresponding hierarchical classification information. The association module is used to associate each of the graphic elements with the corresponding rendering operation based on the hierarchical classification information of each graphic element, so as to obtain the corresponding association information; The rendering operation execution module is used to perform corresponding rendering operations on the target primitives based on the associated information; The layered classification module is used to: treat the die region and reticle region of the wafer as the background layer; and treat all points represented by the detected defects as the key layer.

13. The primitive rendering apparatus based on logical layering according to claim 12, characterized in that, The hierarchical classification module is used to: logically divide the graphic elements at the data level and determine the classification information of different graphic elements; perform hierarchical segmentation on the graphic elements and determine the hierarchical segmentation information of different graphic elements; wherein the hierarchical classification information includes the classification information and the hierarchical segmentation information.

14. The primitive rendering apparatus based on logical layering according to claim 12, characterized in that, The rendering operation execution module is used to: utilize the software's rendering unit to perform corresponding rendering operations on the target primitive according to the associated information.

15. The primitive rendering apparatus based on logical layering according to claim 14, characterized in that, The device further includes: The update module is used to update the hierarchical classification information when data and information parameters change; and to update the association information based on the updated hierarchical classification information. The rendering operation execution module is used to perform corresponding rendering operations on the target primitives according to the updated association information using the software's rendering unit.

16. The primitive rendering apparatus based on logical layering according to claim 12, characterized in that, The hierarchical classification module is used to logically classify the defect points, trend lines, moving average lines, mean, upper and lower extreme value lines, coordinate axes, network lines, and auxiliary text of graphic elements. Among them, the defect points and the trend lines serve as key layers; The moving average, the mean, and the upper and lower extreme value lines serve as auxiliary element layers for the key layer. The coordinate axes and the network lines serve as a background layer; The auxiliary text is a secondary layer.

17. The primitive rendering apparatus based on logical layering according to claim 16, characterized in that, The association module is used to: include the definition of logical categories in the data structure of the software, wherein the hierarchical classification information corresponds to the corresponding enumeration value of the data structure of the software, so as to facilitate the information flow of the data stream.

18. The primitive rendering apparatus based on logical layering according to claim 17, characterized in that, The rendering operation execution module is used to: perform local rendering in the rendering unit of the primitive according to the hierarchical classification information corresponding to the enumeration value; The user's operations are categorized and associated with logic. When the user performs a software operation, the enumerated value is passed in, and the rendering unit performs local redrawing according to the categorization.

19. The primitive rendering apparatus based on logical layering according to claim 18, characterized in that, The rendering operation execution module is also used to: perform hierarchical segmentation on large-scale data according to the different defect detection data, and segment the data scale into several local levels or blocks; By defining several defect orders of magnitude, hierarchical segmentation or block information of data is included in the primitives; Based on the magnitude of the defects, the rendering unit performs local rendering only on data blocks that fall within this data range.

20. The primitive rendering apparatus based on logical layering according to claim 12, characterized in that, The association module is used to: define and include the hierarchical classification information of the die region, the reticle region, and all points represented by the detected defect in the corresponding software data structure; Each of the hierarchical classification information corresponds to a specific enumeration value in the software's data structure.

21. The primitive rendering apparatus based on logical layering according to claim 20, characterized in that, The rendering operation execution module is used to: in the primitive rendering unit, when a redraw rendering action occurs, pass in the enumeration value, and use the classification information to perform local rendering according to the primitives corresponding to the classification; The user's operations are associated with logical categories. When the user performs software operations, the enumeration value is associated with the category information of the graphic elements, and the rendering unit redraws the graphic elements according to the category information.

22. The primitive rendering apparatus based on logical layering according to claim 21, characterized in that, The rendering operation execution module is also used to: divide the drawing area and cut the layers according to the order of magnitude of the detected defects, and cut the data scale into several local layers or blocks; By defining several defect orders of magnitude, hierarchical segmentation or block information of data is included in the primitives; Based on the magnitude of the defects, the rendering unit performs local rendering only on data blocks that fall within this data range.

23. An electronic device, characterized in that, The electronic device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the primitive rendering method based on logical layering as described in any one of claims 1-11.

24. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the primitive rendering method based on logical layering as described in any one of claims 1-11.

Citation Information

Patent Citations

  • Knowledge graph front-end rendering method and system, electronic equipment and storage medium

    CN112562055A