CN115328607B - Semiconductor device rendering method, device, equipment and storage medium - Google Patents

Semiconductor device rendering method, device, equipment and storage medium Download PDF

Info

Publication number
CN115328607B
CN115328607B CN202211250883.2A CN202211250883A CN115328607B CN 115328607 B CN115328607 B CN 115328607B CN 202211250883 A CN202211250883 A CN 202211250883A CN 115328607 B CN115328607 B CN 115328607B
Authority
CN
China
Prior art keywords
target area
primitives
displayed
editing state
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211250883.2A
Other languages
Chinese (zh)
Other versions
CN115328607A (en
Inventor
杨金盟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Luchen Intelligent Equipment Technology Co ltd
Original Assignee
Guangzhou Luchen Intelligent Equipment Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Luchen Intelligent Equipment Technology Co ltd filed Critical Guangzhou Luchen Intelligent Equipment Technology Co ltd
Priority to CN202211250883.2A priority Critical patent/CN115328607B/en
Publication of CN115328607A publication Critical patent/CN115328607A/en
Application granted granted Critical
Publication of CN115328607B publication Critical patent/CN115328607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Abstract

The invention discloses a semiconductor device rendering method, a device, equipment and a storage medium.A display interface is used for determining an editable target area, the display interface is used for displaying a plurality of primitives corresponding to a plurality of semiconductor devices to be rendered, the editing state of the primitives displayed in the target area is determined, when the primitives are in the editable state, the primitives in the target area are refreshed at a preset frequency, and the primitives in the target area are rendered.

Description

Semiconductor device rendering method, device, equipment and storage medium
Technical Field
The present invention relates to rendering technologies, and in particular, to a semiconductor device rendering method, apparatus, device, and storage medium.
Background
Along with the development of the intelligent process, the integration level of the board card is higher and higher, and the devices on the board card are distributed more and more densely, for example: the LED display can display various information such as characters, graphs, images, cartoons, quotation, videos, video signals and the like through a large number of LEDs distributed on the LED display.
Before the LED display leaves the factory, automatic Optical Inspection (AOI) needs to be performed on the LED panel. AOI is based on optical principles to detect common defects encountered in display panel production (e.g., dead spots, dead lines, streaks, etc.). And marking the position of the detected defect at the corresponding position in a pre-drawn panel picture. Therefore, a panel map is required to be drawn in advance in the automatic optical inspection.
When drawing a panel drawing, a semiconductor element (i.e., an LED light emitting chip) needs to be drawn on a corresponding position of a canvas. After the drawing is completed, all the semiconductor devices need to be displayed in real time, and the whole display page is refreshed at a preset frequency and rendered. In the process, each time of refreshing, all the semiconductor devices need to be traversed, the semiconductor devices are displayed on a display page, and then the semiconductor devices are rendered. Due to the fact that the number of the semiconductor devices in the panel is large, particularly the number of the semiconductor devices in a Mini LED panel and a Micro LED panel is more than one million. This greatly increases the time per refresh, reducing rendering efficiency. In addition, since all semiconductor devices need to be traversed for each refresh, the computational resource overhead of the computer is large, resulting in a display interface that is stuck.
Disclosure of Invention
The invention provides a semiconductor device rendering method, a semiconductor device rendering device, semiconductor device rendering equipment and a storage medium, which are used for improving rendering efficiency, reducing computing resource overhead and improving fluency of a display interface.
In a first aspect, the present invention provides a semiconductor device rendering method, including:
determining an editable target area on a display interface, wherein the display interface is used for displaying a plurality of graphic elements corresponding to a plurality of semiconductor devices to be rendered;
determining the editing state of the graphic primitive displayed in the target area;
when the editing state of the graphic elements displayed in the target area is an editable state, refreshing the graphic elements in the target area at a preset frequency, and rendering the graphic elements in the target area;
and when the editing state of the graphic element displayed in the target area is a non-editing state, displaying a map matched with the graphic element.
Optionally, determining an editable target area in the display interface includes:
when an instruction of setting a target area by a user is not received, taking the display interface as the target area;
when an instruction of setting a target area by a user is received, a partial area of the display interface is used as the target area in response to the instruction.
Optionally, determining an editing state of the primitive displayed in the target area includes:
acquiring the number of the graphics primitives in the target area;
calculating the number of the primitives in a unit area based on the number of the primitives in the target area;
when the number of the primitives in the unit area is smaller than or equal to a preset number threshold, determining that the editing state of the primitives displayed in the target area is an editable state;
and when the number of the primitives in the unit area is greater than a preset number threshold, determining that the editing state of the primitives displayed in the target area is a non-editing state.
Optionally, the dividing a plurality of primitives corresponding to a plurality of semiconductor devices to be rendered into a plurality of view fields, each view field including a plurality of primitives, determining an editing state of the primitive displayed in the target area, including:
acquiring the number of the fields of view in the target area;
when the number of the view fields in the target area is smaller than or equal to a preset number threshold, determining that the editing state of the graphic primitive displayed in the target area is an editable state;
and when the number of the view fields in the target area is larger than a preset number threshold, determining that the editing state of the graphic primitive displayed in the target area is a non-editing state.
Optionally, before the determining the editable target area on the display interface, the method further includes:
aiming at a graphic primitive corresponding to each semiconductor device to be rendered, creating a map matched with the graphic primitive to form a map layer consisting of the map;
and superposing the layer where the map is positioned on the layer corresponding to the graphic element of the corresponding semiconductor device.
Optionally, the semiconductor device rendering method further includes:
when the editing state of the primitive displayed in the target area is an editable state, switching the layer where the primitive is located into a layer to be displayed;
and when the editing state of the primitive displayed in the target area is a non-editing state, switching the layer where the map is located into the layer to be displayed.
Optionally, when the editing state of the primitive displayed in the target area is an editable state, the method further includes:
and for a non-target area outside the target area, switching the layer where the map in the non-target area is located into a layer to be displayed.
Optionally, in the editable state, an editing operation is performed on the primitive in the target area, where the editing operation includes at least one of rotation, scaling, modification, and deletion.
In a second aspect, the present invention also provides a semiconductor device rendering apparatus, comprising:
the target area determining module is used for determining an editable target area on a display interface, and the display interface is used for displaying a plurality of graphic elements corresponding to a plurality of semiconductor devices to be rendered;
the editing state determining module is used for determining the editing state of the graphic primitive displayed in the target area;
the rendering module is used for refreshing the graphic primitives in the target area at a preset frequency and rendering the graphic primitives in the target area when the editing state of the graphic primitives displayed in the target area is an editable state;
and the display module is used for displaying the map matched with the graphic primitive when the editing state of the graphic primitive displayed in the target area is a non-editing state.
In a third aspect, the present invention also provides a computer device, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the semiconductor device rendering method according to the first aspect of the present invention.
In a fourth aspect, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the semiconductor device rendering method as provided in the first aspect of the present invention.
The invention provides a semiconductor device rendering method, which comprises the steps of determining an editable target area on a display interface, wherein the display interface is used for displaying a plurality of primitives corresponding to a plurality of semiconductor devices to be rendered, determining the editing state of the primitives displayed in the target area, refreshing the primitives in the target area at a preset frequency when the editing state of the primitives displayed in the target area is an editable state, rendering the primitives in the target area, and displaying a map matched with the primitives when the editing state of the primitives displayed in the target area is a non-editable state. In an editable state, because only the primitives in the target area need to be refreshed and rendered, and all the primitives do not need to be rendered by traversing all the primitives on the image, the refreshing time is shortened, the rendering efficiency is improved, in addition, the computing resource overhead of computer equipment is reduced during rendering, and the fluency of a display interface is improved; in the non-editable state, the graphic elements do not need to be rendered, and the maps matched with the graphic elements only need to be displayed, so that the computing resource overhead of the computer equipment is reduced.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1A is a flowchart of a semiconductor device rendering method according to an embodiment of the present invention;
fig. 1B is a diagram illustrating layout of graphics primitives of a semiconductor device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a semiconductor device rendering apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1A is a flowchart of a semiconductor device rendering method according to an embodiment of the present invention, where the present embodiment is applicable to rendering a large number of semiconductor devices to improve rendering efficiency, and the method may be executed by a semiconductor device rendering apparatus according to an embodiment of the present invention, where the apparatus may be implemented by software and/or hardware, and is generally configured in a computer device, as shown in fig. 1A, the method specifically includes the following steps:
s101, determining an editable target area on a display interface, wherein the display interface is used for displaying a plurality of graphic elements corresponding to a plurality of semiconductor devices to be rendered.
In an embodiment of the present invention, a computer device includes a display, and a display interface of the display is configured to display a plurality of primitives corresponding to a plurality of semiconductor devices to be rendered. The primitive refers to a basic element constituting an image, and in the embodiment of the present invention, when the semiconductor device is rendered, the basic element is an entity corresponding to the semiconductor device in the display interface, that is, one primitive corresponds to one semiconductor device. Wherein the semiconductor device may be an LED device. Fig. 1B is a diagram of arranging graphic elements of a semiconductor device according to an embodiment of the present invention, and as shown in fig. 1B, a plurality of graphic elements D corresponding to the semiconductor device are arranged in an array. It should be noted that fig. 1B only shows primitives corresponding to a part of semiconductor devices to be rendered in the image, and in fact, the number of primitives corresponding to all semiconductor devices to be rendered in the image may reach millions.
In this embodiment of the present invention, the editable target area may be an entire display interface or an area selected by a user on the display interface, which is not limited herein. For example, in the embodiment of the present invention, when the computer device does not receive an instruction for setting a target area input by a user, the entire display interface may be used as an editable target area; when the computer device receives an instruction for setting the target area input by the user, the editable target area is determined according to the instruction input by the user. For example, a user may input an instruction to set a target area through an input device (e.g., a mouse), for example, to define an area on a display interface as an editable target area.
And S102, determining the editing state of the graphic elements displayed in the target area.
In some embodiments of the present invention, the editing state of the primitive displayed in the target area may be determined, for example, whether the primitive is in an editable state or a non-editable state, based on an editable state confirmation signal input by a user. In other embodiments of the present invention, the edit status of the primitives displayed in the target zone may be determined based on the number of primitives in the current target zone. For example, in the process of scaling the image, the image can be effectively edited only when the primitives in the target area reach a resolvable degree. And the condition that the number of the primitives in the target area reaches the resolvable degree is that the number of the primitives in the target area reaches a preset value. Thus, in some embodiments of the invention, the edit status of the primitives displayed in the target zone may be determined according to the number of primitives in the target zone. For example, the preset values of the number of primitives for determining the editing state of the primitive displayed in the target region are different for different areas of the target region, and the larger the area of the target region is, the larger the preset values of the number of primitives for determining the editing state of the primitive displayed in the target region are.
S103, when the editing state of the graphic elements displayed in the target area is an editable state, refreshing the graphic elements in the target area at a preset frequency, and rendering the graphic elements in the target area.
When the editing state of the primitive displayed in the target area is determined to be an editable state, refreshing the primitive in the target area at a preset refreshing frequency, refreshing and traversing the primitive in the target area every time, and rendering the primitive in the target area without traversing all the primitives on an image and rendering all the primitives, so that the refreshing time is shortened every time, the rendering efficiency is improved, the computing resource overhead of computer equipment is reduced during rendering every time, and the fluency of a display interface is improved.
In some embodiments of the present invention, in the editable state, the primitive in the target area may be subjected to an editing operation, including but not limited to at least one of rotation, scaling, modification, and deletion. The rotation operation may be to rotate one or more primitives in the target area to adjust positions of the primitives, the scaling operation may be to reduce or enlarge one or more primitives in the target area to adjust sizes of the primitives, the modification operation may be to modify one or more primitives in the target area, for example, to modify lines, styles, etc. of the primitives, and the deletion operation may be to delete one or more primitives in the target area.
And S104, when the editing state of the graphic element displayed in the target area is a non-editing state, displaying a map matched with the graphic element.
In the embodiment of the present invention, a map matched with the primitive may be created for each primitive in advance to simulate the primitive. And when the editing state of the graphic elements displayed in the target area is determined to be the non-editing state, hiding the graphic elements and displaying the maps matched with the graphic elements. Therefore, when the editing state of the graphics primitives displayed in the target area is the non-editing state, only the chartlet corresponding to the graphics primitives is needed to be displayed, the graphics primitives are not needed to be rendered, the computing resource overhead of computer equipment is reduced, and the fluency of a display interface is improved.
The semiconductor device rendering method provided by the embodiment of the invention is characterized in that an editable target area is determined on a display interface, the display interface is used for displaying a plurality of primitives corresponding to a plurality of semiconductor devices to be rendered, the editing state of the primitives displayed in the target area is determined, when the editing state of the primitives displayed in the target area is an editable state, the primitives in the target area are refreshed at a preset frequency, the primitives in the target area are rendered, and when the editing state of the primitives displayed in the target area is a non-editable state, a map matched with the primitives is displayed. In an editable state, because only the primitives in the target area need to be refreshed and rendered, and all the primitives do not need to be rendered by traversing all the primitives on the image, the refreshing time is shortened, the rendering efficiency is improved, in addition, the computing resource overhead of computer equipment is reduced during rendering, and the fluency of a display interface is improved; in the non-editable state, the graphic elements do not need to be rendered, and the maps matched with the graphic elements only need to be displayed, so that the computing resource overhead of the computer equipment is reduced.
It should be noted that, in some embodiments of the present invention, step S103 and step S104 may be performed synchronously, that is, the primitives in the editable target area are refreshed, and the primitives in the target area are rendered, and at the same time, a map matching the primitives is displayed in the non-editable area. In other embodiments of the present invention, step S103 and step S104 may also be performed in sequence, and the present invention is not limited herein.
In some embodiments of the invention, the edit status of the primitives displayed in the target zone may be determined according to the number of primitives within the target zone. Taking a target area as an example of a display interface, first, the number of primitives in the target area is obtained, when the number of primitives in the target area is less than or equal to a preset first number threshold (for example, 300), the editing state of the primitives displayed in the target area is determined to be an editable state, and when the number of primitives in the target area is greater than the preset first number threshold, the editing state of the primitives displayed in the target area is determined to be a non-editable state.
In some embodiments of the present invention, since the size of the target area is not a definite constant value, the edit status of the primitives displayed in the target area cannot be directly determined by the number of primitives in the target area. Therefore, in the embodiment of the present invention, the number of primitives per unit area within the target area may be calculated to determine the editing state of the primitives displayed in the target area. Specifically, after the target area is determined, the number of primitives in the target area is obtained. The number of primitives per unit area is calculated based on the number of primitives in the target area, i.e., the number of primitives in the target area is divided by the area of the target area, wherein the area of the target area may be represented by the number of pixels in the target area. And when the number of the primitives in the unit area is less than or equal to the preset second number threshold, determining that the editing state of the primitives displayed in the target area is an editable state, and when the number of the primitives in the unit area is greater than the preset second number threshold, determining that the editing state of the primitives displayed in the target area is a non-editable state.
In some embodiments of the present invention, a plurality of primitives corresponding to a plurality of semiconductor devices to be rendered are divided into a plurality of fields of view, each field of view comprising a number of primitives. Illustratively, as shown in fig. 1B, a plurality of primitives D corresponding to a plurality of semiconductor devices to be rendered are divided into a plurality of field of views FOV, each field of view FOV including 24 primitives. In this embodiment, the edit status of the primitives displayed in the target area may be determined by the number of fields of view in the target area. Specifically, taking the target area as an example of the display interface, first, the number of field-of-view FOVs in the target area is acquired, when the number of field-of-view FOVs in the target area is less than or equal to a preset third number threshold (for example, 6), the editing state of the primitive displayed in the target area is determined to be an editable state, and when the number of field-of-view FOVs in the target area is greater than the preset third number threshold, the editing state of the primitive displayed in the target area is determined to be an uneditable state.
In some embodiments of the present invention, when the primitive in the target area is in the non-editable state, in order to make the user see a realistic primitive and avoid visual contrast to the user caused by the primitive that is not rendered, before the editable target area is determined on the display interface, a map that matches the primitive may be created in advance for the primitive corresponding to each semiconductor device to be rendered, where the map is substantially a picture that simulates the rendered primitive, and thus, a layer composed of all maps is formed, and each map corresponds to one primitive. And superposing the layer where the map is positioned on the layer corresponding to the graphic primitive of the corresponding semiconductor device. In the process of zooming the image by a user, when the editing state of the primitive displayed in the target area is a non-editing state, in the range of the whole display interface, the layer where the map is located is switched to the layer to be displayed, namely, the layer where the map is located is arranged above the layer where the primitive is located, so that although the primitive in the target area is not refreshed and rendered, the user can see the map after the simulated rendering, and the user experience is improved. And when the editing state of the primitive displayed in the target area is an editable state, switching the layer where the primitive is positioned into the layer to be displayed, namely, placing the layer where the primitive is positioned above the layer where the map is positioned, refreshing the primitive in the target area at a preset frequency, and rendering the primitive in the target area.
In some embodiments of the present invention, before the editable target area is determined on the display interface, a map matching the field of view FOV may also be created in advance for each field of view FOV to be rendered, and a layer on which the map is located is superimposed on a layer corresponding to a primitive of a corresponding semiconductor device. In the process of zooming the image by a user, when the editing state of the primitive displayed in the target area is a non-editing state, in the range of the whole display interface, the layer where the map is located is switched to the layer to be displayed, namely, the layer where the map is located is arranged above the layer where the primitive is located, so that although the primitive in the target area is not refreshed and rendered, the user can see the map after the simulated rendering, and the user experience is improved. And when the editing state of the primitive displayed in the target area is an editable state, switching the layer where the primitive is positioned into the layer to be displayed, namely, placing the layer where the primitive is positioned above the layer where the map is positioned, refreshing the primitive in the target area at a preset frequency, and rendering the primitive in the target area.
In some embodiments of the present invention, when the editing state of the primitive displayed in the target area is an editable state, for the non-target area outside the target area, the layer where the map in the non-target area is located may also be switched to the layer to be displayed, that is, for the non-target area outside the target area, the layer where the map in the non-target area is located is placed above the layer where the primitive is located, so that, although the primitive in the non-target area is not refreshed and rendered, the user may see the simulated rendered map, which improves user experience.
Example two
Fig. 2 is a schematic structural diagram of a semiconductor device rendering apparatus according to an embodiment of the present invention, and as shown in fig. 2, the semiconductor device rendering apparatus includes:
a target area determining module 201, configured to determine an editable target area on a display interface, where the display interface is used to display a plurality of primitives corresponding to a plurality of semiconductor devices to be rendered;
an edit status determining module 202, configured to determine an edit status of the primitive displayed in the target area;
the rendering module 203 is configured to refresh the primitive in the target area at a preset frequency and render the primitive in the target area when the editing state of the primitive displayed in the target area is an editable state;
and the display module 204 is configured to display a map matched with the primitive when the editing state of the primitive displayed in the target area is a non-editable state.
In some embodiments of the invention, the target area determination module 201 comprises:
the first target area determining submodule is used for taking the display interface as a target area when an instruction of setting the target area by a user is not received;
and the second target area determination submodule is used for responding to an instruction of setting a target area by a user and taking a partial area of the display interface as the target area when the instruction is received.
In some embodiments of the present invention, the edit status determination module 202 includes:
the primitive number obtaining submodule is used for obtaining the number of the primitives in the target area;
a unit quantity calculation submodule for calculating the quantity of the primitives in a unit area based on the quantity of the primitives in the target area;
the first editing state determining submodule is used for determining that the editing state of the graphics primitives displayed in the target area is an editable state when the number of the graphics primitives in the unit area is smaller than or equal to a preset number threshold; and the number of the first and second groups,
and when the number of the graphic elements in the unit area is larger than a preset number threshold, determining that the editing state of the graphic elements displayed in the target area is an uneditable state.
In some embodiments of the present invention, a plurality of primitives corresponding to a plurality of semiconductor devices to be rendered are divided into a plurality of view fields, each view field includes a plurality of primitives, and the editing state determination module 202 includes:
a field number acquisition submodule for acquiring the number of the fields in the target area;
the second editing state determining sub-module is used for determining that the editing state of the graphic primitive displayed in the target area is an editable state when the number of the view fields in the target area is smaller than or equal to a preset number threshold; and the number of the first and second groups,
and when the number of the view fields in the target area is larger than a preset number threshold, determining that the editing state of the graphic primitive displayed in the target area is an uneditable state.
In some embodiments of the present invention, the semiconductor device rendering apparatus further comprises:
the map creating module is used for creating a map matched with a graphic element corresponding to each semiconductor device to be rendered and forming a map layer consisting of the maps according to the graphic element before an editable target area is determined on a display interface;
and the map overlaying module is used for overlaying the layer where the map is located on the layer corresponding to the primitive of the corresponding semiconductor device.
In some embodiments of the present invention, the semiconductor device rendering apparatus further comprises:
the first layer switching module is used for switching the layer where the primitive is located into the layer to be displayed when the editing state of the primitive displayed in the target area is an editable state;
and the second layer switching module is used for switching the layer where the map is located to the layer to be displayed when the editing state of the primitive displayed in the target area is a non-editing state.
In some embodiments of the present invention, the semiconductor device rendering apparatus further comprises:
and the third layer switching module is used for switching the layer where the map in the non-target area is located to the layer to be displayed for the non-target area outside the target area when the editing state of the primitive displayed in the target area is an editable state.
In some embodiments of the present invention, the semiconductor device rendering apparatus further comprises:
and the editing module is used for performing editing operation on the graphic primitive in the target area in the editable state, wherein the editing operation comprises at least one of rotation, scaling, modification and deletion.
The semiconductor device rendering device can execute the semiconductor device rendering method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the semiconductor device rendering method.
EXAMPLE III
FIG. 3 is a block diagram of a computer device, which is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers, according to an embodiment of the invention. The computer device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the computer device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the computer device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
A number of components in the computer device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the computer device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the semiconductor device rendering method.
In some embodiments, the semiconductor device rendering method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the computer device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the semiconductor device rendering method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the semiconductor device rendering method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the computer device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A semiconductor device rendering method, comprising:
determining an editable target area on a display interface, wherein the display interface is used for displaying a plurality of graphic elements corresponding to a plurality of semiconductor devices to be rendered;
determining the editing state of the graphic primitive displayed in the target area;
when the editing state of the graphic elements displayed in the target area is an editable state, refreshing the graphic elements in the target area at a preset frequency, and rendering the graphic elements in the target area;
when the editing state of the graphic primitive displayed in the target area is a non-editing state, displaying a chartlet matched with the graphic primitive;
determining the editing state of the primitive displayed in the target area, wherein determining the editing state of the primitive displayed in the target area comprises:
acquiring the number of the graphics primitives in the target area;
calculating the number of the primitives in a unit area based on the number of the primitives in the target area;
when the number of the primitives in the unit area is smaller than or equal to a preset number threshold, determining that the editing state of the primitives displayed in the target area is an editable state;
when the number of the primitives in the unit area is larger than a preset number threshold, determining that the editing state of the primitives displayed in the target area is a non-editing state; or the like, or, alternatively,
dividing a plurality of primitives corresponding to a plurality of semiconductor devices to be rendered into a plurality of view fields, wherein each view field comprises a plurality of primitives, and determining the editing state of the primitives displayed in the target area, wherein the method comprises the following steps:
acquiring the number of the fields of view in the target area;
when the number of the view fields in the target area is smaller than or equal to a preset number threshold, determining that the editing state of the graphic primitive displayed in the target area is an editable state;
and when the number of the view fields in the target area is larger than a preset number threshold, determining that the editing state of the graphic primitive displayed in the target area is a non-editing state.
2. The semiconductor device rendering method of claim 1, wherein determining an editable target area at the display interface comprises:
when an instruction of setting a target area by a user is not received, taking the display interface as the target area;
when an instruction of setting a target area by a user is received, a partial area of the display interface is used as the target area in response to the instruction.
3. The semiconductor device rendering method of claim 1 or 2, further comprising, before the determining the editable target area on the display interface:
aiming at a graphic element corresponding to each semiconductor device to be rendered, creating a map matched with the graphic element to form a map layer consisting of the maps;
and superposing the layer where the map is positioned on the layer corresponding to the graphic element of the corresponding semiconductor device.
4. The semiconductor device rendering method of claim 3, further comprising:
when the editing state of the primitive displayed in the target area is an editable state, switching the layer where the primitive is located into a layer to be displayed;
and when the editing state of the primitive displayed in the target area is a non-editing state, switching the layer where the map is located into the layer to be displayed.
5. The semiconductor device rendering method according to claim 3, wherein when the editing state of the primitive displayed in the target area is an editable state, further comprising:
and for a non-target area outside the target area, switching the layer where the map in the non-target area is located into a layer to be displayed.
6. The semiconductor device rendering method of claim 1 or 2, further comprising:
and in the editable state, performing editing operation on the primitive in the target area, wherein the editing operation comprises at least one of rotation, scaling, modification and deletion.
7. A semiconductor device rendering apparatus, comprising:
the target area determining module is used for determining an editable target area on a display interface, and the display interface is used for displaying a plurality of graphic elements corresponding to a plurality of semiconductor devices to be rendered;
the editing state determining module is used for determining the editing state of the graphic primitive displayed in the target area;
the rendering module is used for refreshing the graphic primitives in the target area at a preset frequency and rendering the graphic primitives in the target area when the editing state of the graphic primitives displayed in the target area is an editable state;
the display module is used for displaying a map matched with the graphic primitive when the editing state of the graphic primitive displayed in the target area is a non-editing state;
wherein, the editing state determining module comprises:
the primitive number obtaining submodule is used for obtaining the number of the primitives in the target area;
a unit quantity calculation submodule for calculating the quantity of the primitives in a unit area based on the quantity of the primitives in the target area;
the first editing state determining submodule is used for determining that the editing state of the graphics primitives displayed in the target area is an editable state when the number of the graphics primitives in the unit area is smaller than or equal to a preset number threshold; and the number of the first and second groups,
when the number of the primitives in the unit area is larger than a preset number threshold, determining that the editing state of the primitives displayed in the target area is a non-editing state; or the like, or, alternatively,
the method comprises the following steps that a plurality of graphic primitives corresponding to a plurality of semiconductor devices to be rendered are divided into a plurality of view fields, each view field comprises a plurality of graphic primitives, and the editing state determining module comprises:
a field number acquisition submodule for acquiring the number of the fields in the target area;
the second editing state determining submodule is used for determining that the editing state of the graphic primitive displayed in the target area is an editable state when the number of the view fields in the target area is smaller than or equal to a preset number threshold; and (c) a second step of,
and when the number of the view fields in the target area is larger than a preset number threshold, determining that the editing state of the graphic primitive displayed in the target area is an uneditable state.
8. A computer device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the semiconductor device rendering method of any one of claims 1-6.
9. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the semiconductor device rendering method of any one of claims 1-6.
CN202211250883.2A 2022-10-13 2022-10-13 Semiconductor device rendering method, device, equipment and storage medium Active CN115328607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211250883.2A CN115328607B (en) 2022-10-13 2022-10-13 Semiconductor device rendering method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211250883.2A CN115328607B (en) 2022-10-13 2022-10-13 Semiconductor device rendering method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115328607A CN115328607A (en) 2022-11-11
CN115328607B true CN115328607B (en) 2023-03-10

Family

ID=83913775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211250883.2A Active CN115328607B (en) 2022-10-13 2022-10-13 Semiconductor device rendering method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115328607B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512997A (en) * 2018-03-02 2018-09-07 广东欧珀移动通信有限公司 Display methods, device, mobile terminal and storage medium
CN112967663A (en) * 2020-11-16 2021-06-15 重庆康佳光电技术研究院有限公司 LED driving method and driving device
CN113256479A (en) * 2020-02-13 2021-08-13 畅想科技有限公司 Method and tiling engine for tiling primitives in a graphics processing system
CN113392246A (en) * 2021-06-15 2021-09-14 万翼科技有限公司 Drawing display method and device, storage medium and electronic equipment
CN113811940A (en) * 2020-04-09 2021-12-17 京东方科技集团股份有限公司 Display panel and display device
CN114355091A (en) * 2022-01-17 2022-04-15 厦门巨帮自动化科技有限公司 Device detection system and method thereof
CN115115791A (en) * 2022-06-06 2022-09-27 合众新能源汽车有限公司 Map editing method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8605086B2 (en) * 2008-07-03 2013-12-10 Nvidia Corporation Hybrid multisample/supersample antialiasing
KR102277217B1 (en) * 2014-08-28 2021-07-15 삼성전자주식회사 Electronic device and method for setting up blocks
CN113470589B (en) * 2016-04-04 2022-12-30 株式会社半导体能源研究所 Display device, display module, and electronic apparatus
CN107315792B (en) * 2017-06-14 2020-06-02 北京小米移动软件有限公司 Page updating method and device, electronic equipment and computer readable storage medium
CN110209444B (en) * 2019-03-20 2021-07-09 华为技术有限公司 Graph rendering method and electronic equipment
US20200334741A1 (en) * 2019-04-16 2020-10-22 Cimpress Schweiz Gmbh Method and system for product design and visualization
CA3139083A1 (en) * 2019-05-07 2020-11-12 Zazzle Inc. System and method for role-based collaborative design of custom products based on manufacturing constraints
US11263359B2 (en) * 2019-11-18 2022-03-01 Rockwell Automation Technologies, Inc. Systems and methods for guided selection via visualizations
CN113838179A (en) * 2020-06-22 2021-12-24 阿里巴巴集团控股有限公司 Regional object processing method and device, electronic equipment and computer storage medium
US11520498B2 (en) * 2020-06-25 2022-12-06 Intel Corporation Memory management to improve power performance

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512997A (en) * 2018-03-02 2018-09-07 广东欧珀移动通信有限公司 Display methods, device, mobile terminal and storage medium
CN113256479A (en) * 2020-02-13 2021-08-13 畅想科技有限公司 Method and tiling engine for tiling primitives in a graphics processing system
CN113811940A (en) * 2020-04-09 2021-12-17 京东方科技集团股份有限公司 Display panel and display device
CN112967663A (en) * 2020-11-16 2021-06-15 重庆康佳光电技术研究院有限公司 LED driving method and driving device
CN113392246A (en) * 2021-06-15 2021-09-14 万翼科技有限公司 Drawing display method and device, storage medium and electronic equipment
CN114355091A (en) * 2022-01-17 2022-04-15 厦门巨帮自动化科技有限公司 Device detection system and method thereof
CN115115791A (en) * 2022-06-06 2022-09-27 合众新能源汽车有限公司 Map editing method and device

Also Published As

Publication number Publication date
CN115328607A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN113436100B (en) Method, apparatus, device, medium, and article for repairing video
CN114549612A (en) Model training and image processing method, device, equipment and storage medium
CN114792355B (en) Virtual image generation method and device, electronic equipment and storage medium
CN113538235A (en) Training method and device of image processing model, electronic equipment and storage medium
CN113362420A (en) Road marking generation method, device, equipment and storage medium
CN114610295A (en) Layout method, device, equipment and medium for page container
CN115328607B (en) Semiconductor device rendering method, device, equipment and storage medium
CN114882313B (en) Method, device, electronic equipment and storage medium for generating image annotation information
CN114758034A (en) Map generation method and device, computer-readable storage medium and electronic device
CN112632309B (en) Image display method and device, electronic equipment and storage medium
CN113378958A (en) Automatic labeling method, device, equipment, storage medium and computer program product
CN115018730A (en) Method, device, equipment and medium for removing image stripe noise
CN113763552A (en) Three-dimensional geographic model display method and device, computer equipment and storage medium
CN113744379A (en) Image generation method and device and electronic equipment
CN114786051B (en) Video rendering method and device, electronic equipment and storage medium
CN115131472B (en) Transition processing method, device, equipment and medium for panoramic switching
CN113744414B (en) Image processing method, device, equipment and storage medium
CN113160377B (en) Method, apparatus, device and storage medium for processing image
US11741657B2 (en) Image processing method, electronic device, and storage medium
CN115100081B (en) LCD display screen gray scale image enhancement method, device, equipment and storage medium
CN113642612B (en) Sample image generation method and device, electronic equipment and storage medium
CN116071422B (en) Method and device for adjusting brightness of virtual equipment facing meta-universe scene
CN112801082B (en) Image sampling method and device and electronic equipment
CN113326888B (en) Labeling capability information determining method, related device and computer program product
CN117475153A (en) Moving object segmentation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant