Method and device for generating semiconductor report
By acquiring and drawing chart details data in semiconductor reports in parallel, the problem of users waiting time in the existing technology is solved, the efficiency of report generation is improved, and the next round of dialogue can be carried out after the large language model generates necessary parameters. function.
Patent Information
- Application Number
- CN202411006435.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-15
AI Technical Summary
During semiconductor production and detection, when generating large-scale semiconductor reports, the prior art will cause users to wait too long and reduce efficiency.
By obtaining the prompt text used to describe the needs of semiconductor report generation, enter it into a large language model to obtain chart summary data, obtain chart details data in parallel, and draw and display individual charts independently on the page to avoid waiting for the previous chart to complete before Draw the next chart.
It improves the efficiency of report generation, reduces user waiting time, and realizes that the next round of dialogue can be held after the large language model generates necessary parameters, and the display of each chart is drawn in parallel.
Smart Images

Figure CN118964559A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of semiconductor production and manufacturing, and in particular to a method and device for generating a semiconductor report. Background Art
[0002] During the semiconductor production and testing process, it is often necessary to plot the production data generated during the semiconductor production process into various charts to generate corresponding semiconductor reports for semiconductor engineers to view, so as to assist semiconductor engineers in analyzing the production results, such as performing root cause analysis of semiconductor defects.
[0003] With the development of large language models, semiconductor engineers can communicate with large language models, use text to describe their needs for generating reports, and then the large language model obtains the specific data needed to draw charts from the database according to the needs, and then the front end draws the charts and generates reports. After the report is generated, the engineer can have the next round of dialogue with the large language model. However, when the amount of data is large, the above process may consume a lot of time. Engineers need to wait until the entire report is generated before they can have the next round of dialogue with the large language model, which reduces the overall efficiency. Therefore, a method is needed to improve the efficiency of generating semiconductor reports. Summary of the invention
[0004] The present invention describes a method and device for generating a semiconductor report to improve the performance of report generation and reduce the waiting time of users.
[0005] In a first aspect, a method for generating a semiconductor report is provided, comprising:
[0006] Obtaining a first prompt text describing a semiconductor report generation requirement;
[0007] Input the first prompt text into the large language model to obtain first report data; the first report data includes a plurality of chart summary data; wherein any first chart summary data includes: a first chart type, a first field name, and a first field index; the first field is a field related to semiconductors;
[0008] According to each chart summary data in the first report data, obtaining chart detail data corresponding to each chart summary data from the first storage area in parallel; wherein the first chart summary data corresponds to first chart detail data, and the first chart detail data includes: a first chart type, a first field name, and first field data;
[0009] When any target chart detail data is acquired, a corresponding target chart is drawn on the page according to the target chart detail data to generate and display a semiconductor report page.
[0010] In a possible implementation manner, the first report data further includes a first report number; and the method further includes: using the first report number as a primary key, and saving the first report data to a second storage area.
[0011] In a possible implementation manner, obtaining a first prompt text for describing a semiconductor report generation requirement includes:
[0012] Obtaining a first text for describing a semiconductor report;
[0013] Fill the first text into a first prompt template to obtain a first prompt text.
[0014] In a possible implementation, according to each chart summary data in the first report data, obtaining chart detail data corresponding to each chart summary data in parallel from the first storage area includes:
[0015] According to the first field name and the first field index, acquiring corresponding first field data from the first storage area;
[0016] Determine first chart detail data according to the first field data.
[0017] In a possible implementation manner, the first chart summary data further includes a first page layout; and the first chart detail data further includes the first page layout.
[0018] In a possible implementation manner, the first chart summary data also includes the first page number where the first chart is located; and the first chart detail data also includes the first page number.
[0019] In a possible implementation, the page numbers in each chart summary data have a sequence according to the importance of the chart.
[0020] In a second aspect, a device for generating a semiconductor report is provided, comprising:
[0021] An acquisition unit configured to acquire a first prompt text for describing a semiconductor report generation requirement;
[0022] The summary data generating unit is configured to input the first prompt text into a large language model to obtain first report data; the first report data includes a plurality of chart summary data; wherein any first chart summary data includes: a first chart type, a first field name, and a first field index; the first field is a field related to semiconductors;
[0023] The detail data generating unit is configured to, according to each chart summary data in the first report data, obtain the chart detail data corresponding to each chart summary data from the first storage area in parallel; wherein the first chart summary data corresponds to the first chart detail data, and the first chart detail data includes: a first chart type, a first field name, and first field data;
[0024] The chart drawing unit is configured to draw a corresponding target chart on a page according to the target chart detail data after any target chart detail data is acquired, so as to generate and display a semiconductor report page.
[0025] According to a third aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed in a computer, the computer is caused to execute the method of the first aspect.
[0026] According to a fourth aspect, a computing device is provided, comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method of the first aspect is implemented.
[0027] The present invention proposes a method and device for generating a semiconductor report. The method allows the large language model to generate only the parameters required for drawing the report instead of specific data for generating the report when answering. After the generation is completed, the user can have the next round of dialogue with the large language model. At the same time, the front end obtains the detailed data of each chart in the report in parallel based on the parameters required for drawing the report. When the detailed data of any chart is obtained, the chart is directly drawn and displayed without waiting for the previous chart to be drawn before drawing the current chart.
[0028] The present invention decouples the process of large language model dialogue from report generation, so that when users conduct large language model dialogue, they do not need to wait for the corresponding chart to be drawn. Instead, they can directly conduct the next round of dialogue with the large language model after the large language model generates a small number of necessary parameters. At the same time, when there are multiple charts, each chart is drawn independently, and there is no sequence dependency between them. The completed chart will be displayed to the user immediately. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions of the multiple embodiments disclosed in this specification, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only the multiple embodiments disclosed in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1A schematic diagram of the process of generating a semiconductor report in the prior art;
[0031] Figure 2 A schematic diagram of the results of generating a semiconductor report for the prior art;
[0032] Figure 3 A flowchart of a method for generating a semiconductor report disclosed in an embodiment of the present invention;
[0033] Figure 4 A schematic diagram of a process for generating a semiconductor report disclosed in an embodiment of the present invention;
[0034] Figure 5 A schematic diagram of a result of generating a semiconductor report disclosed in an embodiment of the present invention;
[0035] Figure 6 The present invention is a schematic block diagram of a device for generating a semiconductor report according to an embodiment of the present invention. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] As mentioned above, in the prior art method of generating semiconductor reports based on a large language model, the large language model analyzes the demand text input by the semiconductor engineer and directly outputs all the data for drawing charts and reports. Then, the front end draws each chart in turn according to the data, and after all the charts are drawn, the complete report is presented to the engineer at one time.
[0038] For example, Figure 1 A schematic diagram of the process of generating a semiconductor report in the prior art. Figure 1 The front-end page is shown in the figure. On the right is the column for users to talk to the big language model, and on the left is the column for displaying semiconductor reports. When the user enters the required text for generating a report on the right, an animation effect indicating "loading" will be displayed on the left, and there will also be an animation effect indicating "loading" next to the chat bubble of the user on the right. The user cannot continue to talk to the big language model, but needs to wait until the report is completely drawn. Figure 2 The following is an illustration of the results of generating a semiconductor report in the prior art. Figure 2As shown in the figure, when the report is drawn, the large language model on the right generates a corresponding reply, and the corresponding report is displayed on the left. At this point, the user can have the next round of conversation with the large language model.
[0039] In order to solve the above problems, improve the efficiency of report generation and reduce user waiting time, Figure 3 The following is a flow chart of a method for generating a semiconductor report disclosed in an embodiment of the present invention. Figure 3 As shown, the method at least includes: step 301, obtaining a first prompt text for describing the semiconductor report generation requirements; step 302, inputting the first prompt text into a large language model to obtain first report data; the first report data includes multiple chart summary data; wherein any first chart summary data includes: a first chart type, a first field name, and a first field index; the first field is a field related to semiconductors; step 304, according to each chart summary data in the first report data, obtaining chart detail data corresponding to each chart summary data in parallel from a first storage area; wherein the first chart summary data corresponds to the first chart detail data, and the first chart detail data includes: a first chart type, a first field name, and a first field data; step 305, when any target chart detail data is obtained, draw the corresponding target chart on the page according to the target chart detail data to generate a semiconductor report page and display it.
[0040] Figure 3 Each step in the process is run on the front-end, such as the client or web page.
[0041] The specific execution process of each of the above steps is described below.
[0042] First, in step 301, a first prompt text for describing a semiconductor report generation requirement is obtained.
[0043] The first prompt text includes a description text for the report, including at least: a data source required for generating the report and a chart type for generating the report.
[0044] The first prompt text may be directly input by the user, or may be generated by filling the original text input by the user into a preset prompt template.
[0045] When the prompt template is used, step 301 specifically includes: obtaining a first text for describing a semiconductor report; and filling the first text into a first prompt template to obtain a first prompt text.
[0046] The first prompt template can be used to instruct the large language model to generate only the data necessary for drawing a semiconductor report, rather than the complete data. Exemplarily, in one example, the first prompt template can be: "Please generate the data necessary for drawing a report according to the following requirements. Please note that only the necessary data, rather than the complete data, is generated. The requirements are as follows: [placeholder1]."
[0047] Among them, [placeholder1] is a placeholder for filling in the first text.
[0048] Then, in step 302, the first prompt text is input into a large language model to obtain first report data; the first report data includes a plurality of chart summary data; wherein any first chart summary data includes: a first chart type, a first field name, and a first field index; the first field is a field related to semiconductors.
[0049] The first chart type may include, for example, a line chart, a bar chart, a pie chart, etc. The first field may include multiple fields related to drawing a chart, and the first field index is used to describe the value range of each field in the chart. For example, if you want to draw a line chart of the temperature change of a semiconductor machine over time, the first chart type is a line chart, the first field name includes time and temperature, and the first field index includes the start time and end time of the time field.
[0050] Next, in step 304, according to each chart summary data in the first report data, the chart detail data corresponding to each chart summary data is obtained in parallel from the first storage area; wherein, the first chart summary data corresponds to the first chart detail data, and the first chart detail data includes: a first chart type, a first field name, and first field data.
[0051] It should be noted that the chart detail data are obtained in parallel in step 304, and there is no mutual dependency or sequence in the process of obtaining the chart detail data.
[0052] In one embodiment, step 304 specifically includes: acquiring corresponding first field data from the first storage area according to the first field name and the first field index; and determining first chart detail data according to the first field data.
[0053] Exemplarily, according to the above example, the first field name includes time and temperature, and the first field index includes the start time and end time of the time field. Then the first field data will include specific temperature data at each time point between the start time and the end time.
[0054] For example, Figure 4FIG. 1 is a schematic diagram of a process for generating a semiconductor report according to an embodiment of the present invention. Figure 4 As shown, it is a front-end page. On the right is the column for users to talk to the big language model, and on the left is the column for displaying semiconductor reports. When the user enters the required text for generating the report on the right (the first prompt text), the left side will directly divide the page into multiple display areas for each chart, and display the animation effect indicating "loading" respectively. At the same time, the big language model on the right will directly generate the corresponding reply, and the user can directly have the next round of conversation with the big language model without waiting for the report on the left to be drawn.
[0055] Finally, in step 305, when any target chart detail data is acquired, a corresponding target chart is drawn on the page according to the target chart detail data to generate and display a semiconductor report page.
[0056] Since the process of acquiring the chart detail data in step 304 is parallel, correspondingly, the process of drawing the chart according to the chart detail data in step 305 is also parallel.
[0057] For example, Figure 5 Schematic diagram of the result of generating a semiconductor report disclosed in an embodiment of the present invention. Figure 5 As shown, the process of drawing charts is also parallel. When the two charts at the top of the page are drawn, they are directly displayed on the page without waiting for the third chart at the bottom of the page to be drawn before being displayed together.
[0058] In one embodiment, the first chart summary data further includes a first page layout; the first chart detail data further includes the first page layout.
[0059] The first page layout is used to indicate the position of the chart in the page, and may include, for example, the coordinates of the top left corner of the chart, and the width and height of the icon.
[0060] In one embodiment, the first chart summary data further includes a first page number where the first chart is located; and the first chart detail data further includes the first page number.
[0061] In a more specific embodiment, the page numbers in each chart summary data are arranged in a sequence according to the importance of the chart.
[0062] The first page number is used to indicate the page number of the chart in the report. When a report contains many charts, the user may not need to view all the charts every time. The present invention designs a paging mechanism to set the charts with high importance on page 1 and the charts with lower importance on page 2 and subsequent pages. For the data of page 2 and subsequent pages, the data will only be obtained when the user clicks the "Load Page" button to reduce the amount of data transmission and reduce the pressure on the server.
[0063] In this embodiment, in step 304, the chart details data corresponding to each chart summary data is obtained, and it is also determined whether the page number in the chart summary data is 1. When the page number is 1, the chart details data is obtained.
[0064] At this time, the method further includes: in response to a page loading request for a user, obtaining chart detail data corresponding to each chart summary data with a page number greater than or equal to 2.
[0065] In some possible implementations, the first report data further includes a first report number. The method further includes: step 303, using the first report number as a primary key, saving the first report data to a second storage area.
[0066] After the large language model generates the first report data, it has completed its work. By storing the first report data in the second storage area, the front end can obtain the first report data from the second storage area according to the first report number, so as to perform the subsequent step 304.
[0067] According to the above steps, when the report chart is originally generated based on the large language model, the complete content of the report icon will be output, including the chart type and all the data required for each chart. However, there are some obvious disadvantages in doing so: for example, it is necessary to wait until all chart results are output before the question answering is completed, and there is a long waiting time for the user in between. If it takes a long time to obtain data for some charts, the overall waiting time of the user will increase. At the same time, if there is a lot of information in the chart, a large amount of data needs to be transmitted at one time, which may slow down the progress and even cause network congestion. Based on the method proposed in the present invention, the user's waiting can be minimized, while reducing unnecessary data transmission and reducing the waiting time for each other when drawing and displaying charts.
[0068] According to an embodiment of another aspect, an apparatus for generating a semiconductor report is also provided. Figure 6 The present invention is a schematic block diagram of a device for generating a semiconductor report disclosed in an embodiment of the present invention. The device can be deployed in any device, platform or device cluster with computing and processing capabilities. Figure 6 As shown, the device 600 includes:
[0069] An acquisition unit 601 is configured to acquire a first prompt text for describing a semiconductor report generation requirement;
[0070] The summary data generating unit 602 is configured to input the first prompt text into a large language model to obtain first report data; the first report data includes a plurality of chart summary data; wherein any first chart summary data includes: a first chart type, a first field name, and a first field index; the first field is a field related to semiconductors;
[0071] The detail data generating unit 604 is configured to, according to each chart summary data in the first report data, obtain the chart detail data corresponding to each chart summary data from the first storage area in parallel; wherein the first chart summary data corresponds to the first chart detail data, and the first chart detail data includes: a first chart type, a first field name, and first field data;
[0072] The chart drawing unit 605 is configured to, when any target chart detail data is acquired, draw a corresponding target chart on the page according to the target chart detail data, so as to generate and display a semiconductor report page.
[0073] In some possible implementations, the first report data further includes a first report number; and the apparatus 600 further includes:
[0074] The storage unit 603 is configured to save the first report data to a second storage area using the first report number as a primary key.
[0075] According to another aspect of the embodiment, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed in a computer, the computer is caused to execute the method described in any of the above embodiments.
[0076] According to yet another embodiment, a computing device is provided, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method described in any one of the above embodiments is implemented.
[0077] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0078] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0079] It should be noted that, in this article, relational terms such as first and second, etc. 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 these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0080] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0081] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for generating a semiconductor report, comprising: Obtaining a first prompt text describing a semiconductor report generation requirement; Inputting the first prompt text into a large language model to obtain first report data; The first report data includes a plurality of chart summary data; wherein any first chart summary data includes: a first chart type, a first field name, and a first field index; the first field is a field related to semiconductors; According to each chart summary data in the first report data, obtaining chart detail data corresponding to each chart summary data from the first storage area in parallel; wherein the first chart summary data corresponds to first chart detail data, and the first chart detail data includes: a first chart type, a first field name, and first field data; When any target chart detail data is acquired, the corresponding target chart is drawn on the page according to the target chart detail data to generate and display the semiconductor report page.
2. The method according to claim 1, characterized in that: The first report data also includes a first report number; the method further includes: The first report data is saved in a second storage area using the first report number as a primary key.
3. The method according to claim 1, characterized in that Get the first prompt text describing the semiconductor report generation needs, including: Obtaining a first text for describing a semiconductor report; Fill the first text into a first prompt template to obtain a first prompt text.
4. The method according to claim 1, characterized in that: According to each chart summary data in the first report data, obtaining chart detail data corresponding to each chart summary data from the first storage area in parallel includes: According to the first field name and the first field index, acquiring corresponding first field data from the first storage area; Determine first chart detail data according to the first field data.
5. The method according to claim 1, characterized in that: The first chart summary data also includes a first page layout; the first chart detail data also includes the first page layout.
6. The method according to claim 1, characterized in that The first chart summary data also includes the first page number where the first chart is located; the first chart detail data also includes the first page number.
7. The method according to claim 6, characterized in that The page numbers in the summary data of each chart are arranged in order according to the importance of the chart.
8. An apparatus for generating a semiconductor report, comprising: An acquisition unit configured to acquire a first prompt text for describing a semiconductor report generation requirement; a summary data generating unit configured to input the first prompt text into a large language model to obtain first report data; The first report data includes a plurality of chart summary data; wherein any first chart summary data includes: a first chart type, a first field name, and a first field index; the first field is a field related to semiconductors; The detail data generating unit is configured to, according to each chart summary data in the first report data, obtain the chart detail data corresponding to each chart summary data from the first storage area in parallel; wherein the first chart summary data corresponds to the first chart detail data, and the first chart detail data includes: a first chart type, a first field name, and first field data; The chart drawing unit is configured to draw a corresponding target chart on a page according to the target chart detail data after any target chart detail data is acquired, so as to generate and display a semiconductor report page.
9. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 7.
10. A computing device comprising a memory and a processor, wherein: The memory stores executable codes, and when the processor executes the executable codes, the method according to any one of claims 1 to 7 is implemented.
