[go: up one dir, main page]

TWI852738B - A system and a method for generating modules - Google Patents

A system and a method for generating modules Download PDF

Info

Publication number
TWI852738B
TWI852738B TW112131536A TW112131536A TWI852738B TW I852738 B TWI852738 B TW I852738B TW 112131536 A TW112131536 A TW 112131536A TW 112131536 A TW112131536 A TW 112131536A TW I852738 B TWI852738 B TW I852738B
Authority
TW
Taiwan
Prior art keywords
module
function group
generation unit
generated
steps
Prior art date
Application number
TW112131536A
Other languages
Chinese (zh)
Other versions
TW202526795A (en
Inventor
顏均泰
高志強
許毓容
Original Assignee
科智企業股份有限公司
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 科智企業股份有限公司 filed Critical 科智企業股份有限公司
Priority to TW112131536A priority Critical patent/TWI852738B/en
Application granted granted Critical
Publication of TWI852738B publication Critical patent/TWI852738B/en
Publication of TW202526795A publication Critical patent/TW202526795A/en

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

容後補呈

Description

模組產生系統與方法Module generation system and method

本發明關於一種模組產生方法與系統,尤指一種在工業領域能根據使用者或客戶需求即時產生模組的系統與方法。The present invention relates to a module production method and system, and more particularly to a system and method for producing modules in real time according to user or customer requirements in the industrial field.

於各工業領域中,為了分析各種不同結構工業機台、交通工具與圖像的運作情況,或是為了分析各種感測裝置所擷取的數據等,常常需要針對各工業專案的數據內容撰寫客製化專屬的模組。In various industrial fields, in order to analyze the operation of various industrial machines, vehicles and images, or to analyze the data captured by various sensing devices, it is often necessary to write customized modules for the data content of each industrial project.

然而,由於各工業領域的專案情況都顯然有區別,即使是同一個專案的資料內容,隨著使用者或客戶的使用時間拉長,就會額外產生對於舊有模組的修改的需求。針對此修改需求,於習知技術中,往往需要大量的需求訪談,讓系統工程師、軟體工程師重新修改整個實體模組或虛擬模組,此種作法往往需要花費大量的時間、人力以及成本。此外,此種修改需求每隔一段時間就會重新出現,同樣導致潛在也會花費更多的時間、人力以及成本。However, since the project situations in various industrial fields are obviously different, even for the data content of the same project, as the user or customer uses it for a longer time, there will be additional needs for modifying the old module. In the knowledge technology, a large number of demand interviews are often required to deal with this modification demand, and system engineers and software engineers are required to modify the entire physical module or virtual module again. This approach often takes a lot of time, manpower and cost. In addition, this modification demand will reappear every once in a while, which will also potentially cost more time, manpower and cost.

再,習知的自動化生成工具,雖然使用者可以微調輸入數據以及運算的架構。然而,其邏輯架構與程式所需的函式組通常均已固定,當所欲解決的技術問題大幅改變或調整時,同樣的,仍然不可避免的需要系統工程師、軟體工程師大幅度地修改整個自動化生成工具。Furthermore, although users can fine-tune the input data and calculation structure of known automatic generation tools, their logical structure and the function set required by the program are usually fixed. When the technical problem to be solved is greatly changed or adjusted, it is still inevitable that system engineers and software engineers will need to significantly modify the entire automatic generation tool.

因此,為了克服前述問題,遂有本發明的產生。Therefore, in order to overcome the aforementioned problems, the present invention is developed.

本發明之主要目的在提供一種模組產生方法與系統,其能根據使用者的需求而讓使用者的自行調整,即時產生使用者實際所需的前端模組與後台模組,藉以克服針對後續需求的改變而需要花大幅的時間與成本對整個模組的大幅修改的技術問題。再,藉由生成式AI 模組統計回傳生成結果後,採取重現率高的關鍵詞,藉以使即時產生使用者實際所需的前端模組與後台模組。The main purpose of the present invention is to provide a module generation method and system, which can allow users to adjust according to their needs, and instantly generate the front-end module and back-end module actually needed by the user, so as to overcome the technical problem of spending a lot of time and cost to modify the entire module in response to subsequent changes in needs. After the generative AI module statistically returns the generated results, keywords with high recurrence rates are adopted to instantly generate the front-end module and back-end module actually needed by the user.

為解決前述問題,以達到所預期之功效,本發明提供一種模組產生系統,包括顯示界面、函式組產生單元、後台模組產生單元、前台模組產生單元。該顯示界面顯示有需求清單而供使用者操作該需求清單而產生經確認需求清單,該需求清單包括對應於欲產生之模組所欲產生的分析結果所對應之多個需求。該函式組產生單元係與該顯示界面連接且供根據該對應於該欲產生之模組所欲產生的分析結果所對應之步驟而產生第一函式組,以及供根據將該多個資料處理步驟中於該顯示界面顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟而產生第二函式組。該後台模組產生單元係與該函式組產生單元連接並經由該第一函式組而產生後台模組。該前台模組產生單元係與該函式組產生單元連接並經由該第二函式組而產生前台模組。In order to solve the above-mentioned problems and achieve the expected effect, the present invention provides a module generation system, including a display interface, a function group generation unit, a background module generation unit, and a foreground module generation unit. The display interface displays a requirement list for the user to operate the requirement list to generate a confirmed requirement list, and the requirement list includes a plurality of requirements corresponding to the analysis results to be generated by the module to be generated. The function group generation unit is connected to the display interface and is used to generate a first function group according to the steps corresponding to the analysis results to be generated by the module to be generated, and is used to generate a second function group according to the steps required to display the part of the module to be generated that the user needs to view on the display interface among the plurality of data processing steps. The background module generating unit is connected with the function group generating unit and generates the background module through the first function group. The foreground module generating unit is connected with the function group generating unit and generates the foreground module through the second function group.

實施時,該後台運作模組係更與資料庫連接並執行以下步驟,包括:將來自該資料庫的原始資料進行篩選而產生經篩選資料、將該經篩選資料進行運算而產生經運算的資料;以及將該經運算資料進行統計分析而產生該分析結果。During implementation, the background operation module is further connected to the database and executes the following steps, including: filtering the original data from the database to generate filtered data, computing the filtered data to generate computed data; and performing statistical analysis on the computed data to generate the analysis result.

實施時,該需求清單包括以下項目:步驟的數目、步驟的順序、計算步驟的時間單位、可跳過的步驟、是否設定檢查步驟或檢查步驟未執行是否判定為異常。During implementation, the requirements list includes the following items: the number of steps, the order of steps, the time unit for calculating steps, the steps that can be skipped, whether to set up check steps or whether the failure of check steps to be executed is considered an exception.

實施時,該模組產生系統更包括設定單元,該設定單元係與該後台模組產生單元與該前台模組產生單元連接,而供根據該對應於欲產生之模組所執行的多個步驟而分別設定該後台模組產生單元與該前台模組產生單元中之所需之輸入資料之資料型態、該後台模組產生單元所對應的後台邏輯架構或前台模組產生單元所對應的前台邏輯架構。During implementation, the module generation system further includes a setting unit, which is connected to the background module generation unit and the front-end module generation unit, and is used to set the data type of the required input data in the background module generation unit and the front-end module generation unit, the background logic structure corresponding to the background module generation unit, or the front-end logic structure corresponding to the front-end module generation unit according to the multiple steps executed by the corresponding module to be generated.

實施時,該模組產生系統更包括生成式AI模組,該生成式AI模組係與該設定單元連接而提供該設定單元根據對應於該欲產生之模組所執行的多個步驟而分別設定該後台模組產生單元所對應的該後台邏輯架構或前台模組產生單元所對應的該前台邏輯架構。During implementation, the module generation system further includes a generative AI module, which is connected to the setting unit and provides the setting unit with a function to respectively set the background logic architecture corresponding to the background module generation unit or the front-end logic architecture corresponding to the front-end module generation unit according to a plurality of steps executed corresponding to the module to be generated.

實施時,該模組產生系統更包括生成式AI模組,該生成式AI模組係與該後台模組產生單元連接而提供該後台模組產生單元該第一函式組,且該生成式AI模組係與該前台模組產生單元連接而提供該前台模組產生單元該第二函式組。During implementation, the module generation system further includes a generative AI module, which is connected to the background module generation unit to provide the background module generation unit with the first function group, and the generative AI module is connected to the foreground module generation unit to provide the foreground module generation unit with the second function group.

實施時,該生成式AI模組供分別接收與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞之詢問;供接收與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞之反向關鍵詞之詢問。During implementation, the generative AI module is used to receive inquiries of multiple keywords related to the backend logic architecture, the frontend logic architecture, the first function group and the second function group respectively; and is used to receive inquiries of reverse keywords of multiple keywords related to the backend logic architecture, the frontend logic architecture, the first function group and the second function group.

本發明另提供一種模組產生方法,其包括: A:使用者經由顯示界面操作需求清單而產生經確認需求清單,該需求清單包括對應於欲產生之模組所欲產生的分析結果所對應之多個需求; B:以函式組產生單元根據該對應於該欲產生之模組所欲產生的分析結果所對應之步驟而產生第一函式組,以及以該函式組產生單元根據將該分析結果中於該顯示界面顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟,而產生第二函式組; C:以後台模組產生單元經由該第一函式組而產生後台模組;以及 D:以前台模組產生單元經由該第二函式組而產生前台模組。 The present invention further provides a module generation method, which includes: A: The user generates a confirmed requirement list by operating the requirement list through the display interface, and the requirement list includes a plurality of requirements corresponding to the analysis results to be generated by the module to be generated; B: The function group generation unit generates a first function group according to the steps corresponding to the analysis results to be generated by the module to be generated, and the function group generation unit generates a second function group according to the steps required to display the part of the analysis result that the user needs to view in the module to be generated on the display interface; C: The background module generation unit generates a background module through the first function group; and D: The foreground module generation unit generates a foreground module through the second function group.

實施時,該步驟B更包括以該函式組產生單元根據該對應於欲產生之模組所執行的以下步驟而產生該第一函式組:將原始資料進行篩選而產生經篩選資料、將該經篩選資料進行運算而產生經運算的資料;以及將該經運算資料進行統計分析而產生分析結果。During implementation, step B further includes generating the first function group by the function group generating unit according to the following steps executed corresponding to the module to be generated: filtering the original data to generate filtered data, performing operations on the filtered data to generate calculated data; and performing statistical analysis on the calculated data to generate analysis results.

實施時,該步驟A更包括:使用者經由該顯示界面確認該需求清單而產生該經確認需求清單,該需求清單包括:步驟的數目、步驟的順序、計算步驟的時間單位、可跳過的步驟、是否設定檢查步驟或檢查步驟未執行是否判定為異常。During implementation, step A further includes: the user confirms the requirement list through the display interface to generate the confirmed requirement list, and the requirement list includes: the number of steps, the order of steps, the time unit for calculating steps, the steps that can be skipped, whether to set the check step or whether the non-execution of the check step is judged as abnormal.

實施時,該步驟B與該步驟C之間更包括步驟b:以設定單元根據該對應於欲產生之模組所執行的多個步驟而分別決定該後台模組產生單元中之各資料之資料型態以及該後台模組產生單元所對應的後台邏輯架構。During implementation, step B and step C further include step b: the setting unit determines the data type of each data in the background module generation unit and the background logic architecture corresponding to the background module generation unit according to the multiple steps executed by the module to be generated.

實施時,該步驟C與該步驟D之間更包括步驟c:以設定單元根據該對應於欲產生之模組所執行的多個步驟而分別決定該前台模組產生單元中之各資料之資料型態以及該前台模組產生單元所對應的前台邏輯架構。During implementation, step C and step D further include step C: using the setting unit to determine the data type of each data in the foreground module generation unit and the foreground logic architecture corresponding to the foreground module generation unit according to the multiple steps executed by the module to be generated.

實施時,該步驟B 更包括:該函式組產生單元根據生成式AI模組針對該對應於該欲產生之模組所欲產生的分析結果所對應之步驟之最佳者而產生該第一函式組,以及以該函式組產生單元根據該生成式AI模組針對將該多個資料處理步驟中於該顯示界面顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟之最佳者而產生該第二函式組。During implementation, step B further includes: the function group generating unit generates the first function group according to the generative AI module for the best step corresponding to the analysis result to be generated by the module to be generated, and the function group generating unit generates the second function group according to the generative AI module for the best step required to display the part of the plurality of data processing steps in the aforementioned module to be generated that needs to be viewed by the user on the display interface.

實施時,該步驟A之前更包括步驟X,於該步驟X中,分別以與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞詢問該生成式AI 模組,並統計回傳結果後,採取重現率高的關鍵詞;分別以與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞之反向關鍵詞詢問該生成式AI 模組,藉以去除不合適的回傳結果;利用檢測式的關鍵詞分別檢驗與該後台邏輯架構、前台邏輯架構、第一函式組與該第二函式組有關的生成結果,藉以去除不合適的生成結果。In practice, the step A further includes a step X before the step A. In the step X, the generative AI module is queried with a plurality of keywords related to the backend logic structure, the frontend logic structure, the first function group, and the second function group, and after statistically returning the results, keywords with a high recurrence rate are selected; the generative AI module is queried with the reverse keywords of a plurality of keywords related to the backend logic structure, the frontend logic structure, the first function group, and the second function group. module, thereby removing inappropriate return results; and using detection keywords to respectively check the generation results related to the backend logic framework, the frontend logic framework, the first function group and the second function group, thereby removing inappropriate generation results.

為進一步了解本發明,以下舉較佳之實施例,配合圖式、圖號,將本發明之具體構成內容及其所達成的功效詳細說明如下。In order to further understand the present invention, the following preferred embodiments are given, and the specific components and effects of the present invention are described in detail with reference to the drawings and figure numbers.

請參考圖1,本發明提供一種模組產生系統,其包括:顯示界面1、函式組產生單元2、後台模組產生單元3、前台模組產生單元4。該顯示界面1顯示有需求清單而供使用者操作該需求清單而產生經確認需求清單,該需求清單包括對應於欲產生之模組,例如,本實施例中如後所述之後台模組,所欲產生的分析結果所對應之多個需求,將於後面所提實施例詳述之。該函式組產生單元2係與該顯示界面1連接且供根據該對應於該欲產生之模組所欲產生的分析結果所對應之步驟而產生第一函式組,以及供根據將該多個資料處理步驟中於該顯示界面1顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟而產生第二函式組。該後台模組產生單元3係經由該第一函式組而產生後台模組。該前台模組產生單元4係經由該第二函式組而產生前端模組。Please refer to FIG. 1 , the present invention provides a module generation system, which includes: a display interface 1, a function group generation unit 2, a background module generation unit 3, and a foreground module generation unit 4. The display interface 1 displays a requirement list for the user to operate the requirement list to generate a confirmed requirement list, the requirement list includes a plurality of requirements corresponding to the module to be generated, for example, the background module described later in this embodiment, and the analysis results to be generated will be described in detail in the embodiment mentioned later. The function group generating unit 2 is connected to the display interface 1 and is used to generate a first function group according to the steps corresponding to the analysis results to be generated by the module to be generated, and to generate a second function group according to the steps required to display the part of the module to be generated that the user needs to watch on the display interface 1 among the multiple data processing steps. The background module generating unit 3 generates a background module through the first function group. The foreground module generating unit 4 generates a front-end module through the second function group.

請參考圖2,本發明另提供一種模組產生方法,其包括: 步驟A:使用者經由顯示界面操作需求清單而產生經確認需求清單,該需求清單包括對應於欲產生之模組所欲產生的分析結果所對應之多個需求; 步驟B:以函式組產生單元根據該對應於該欲產生之模組所欲產生的分析結果所對應之步驟而產生第一函式組,以及以該函式組產生單元根據將該多個資料處理步驟或分析結果中於該顯示界面顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟而產生第二函式組; 步驟C:以後台模組產生單元經由該第一函式組而產生後台模組;以及 步驟D:以前台模組產生單元經由該第二函式組而產生前台模組。 Please refer to FIG. 2. The present invention further provides a module generation method, which includes: Step A: The user operates the requirement list through the display interface to generate a confirmed requirement list, and the requirement list includes a plurality of requirements corresponding to the analysis results to be generated by the module to be generated; Step B: The function group generation unit generates a first function group according to the steps corresponding to the analysis results to be generated by the module to be generated, and the function group generation unit generates a second function group according to the steps required to display the part of the plurality of data processing steps or analysis results in the display interface that the user needs to view; Step C: The background module generation unit generates a background module through the first function group; and Step D: Generate a foreground module using the foreground module generation unit via the second function set.

本發明的系統與方法將詳述如下。The system and method of the present invention are described in detail as follows.

首先,請參考圖2,於該步驟A中,使用者經由該顯示界面1操作該需求清單而產生該經確認需求清單,該顯示界面1可為個人電腦、工業用電腦、平板或是智慧型手機的顯示界面1。在另一實施例中,於該步驟A中,該需求清單包括對應於欲產生之模組所欲產生的分析結果所對應之多個需求,例如,該需求清單包括以下項目:所需執行步驟的數目、所需執行步驟的順序、所需執行計算步驟的時間單位、是否有可跳過的步驟、是否設定檢查步驟以及檢查步驟未執行是否判定為異常。請繼續參考圖1,該後台運作模組係與資料庫6連接並執行以下步驟:於該步驟B中,將來自該資料庫6的原始資料進行篩選而產生經篩選資料、將該經篩選資料進行運算而產生經運算的資料;以及將該經運算資料進行統計分析而產生該分析結果。First, please refer to FIG. 2. In step A, the user operates the requirement list through the display interface 1 to generate the confirmed requirement list. The display interface 1 may be a display interface 1 of a personal computer, an industrial computer, a tablet or a smart phone. In another embodiment, in step A, the requirement list includes a plurality of requirements corresponding to the analysis results to be generated by the module to be generated. For example, the requirement list includes the following items: the number of steps to be executed, the order of the steps to be executed, the time unit of the calculation steps to be executed, whether there are steps that can be skipped, whether to set a check step, and whether the failure of the check step to be executed is determined to be abnormal. Please continue to refer to Figure 1. The background operation module is connected to the database 6 and executes the following steps: in the step B, the original data from the database 6 is filtered to generate filtered data, the filtered data is calculated to generate calculated data; and the calculated data is statistically analyzed to generate the analysis result.

在另一實施例中,請參考圖3A,其為將原始資料進行篩選而產生經篩選資料,篩選條件為2023年6月12日下午三點至四點之步驟1至3之資料;接著,將步驟1至3中之各多個資料取平均值而得圖3A中步驟1至3中的數值。將該經運算資料進行統計分析,例如ANOVA-test,而產生步驟1至3的作業時間是否有顯著差異的分析結果。In another embodiment, please refer to FIG. 3A , which is to filter the original data to generate filtered data, and the filtering condition is the data of steps 1 to 3 from 3:00 to 4:00 p.m. on June 12, 2023; then, the multiple data in steps 1 to 3 are averaged to obtain the values in steps 1 to 3 in FIG. 3A . The calculated data is subjected to statistical analysis, such as ANOVA-test, to generate an analysis result of whether there is a significant difference in the operation time of steps 1 to 3.

請參考本發明圖3A之實施例,其為油罐車裝填作業之各步驟裝填時間與是否執行各步驟之特定動作的表格,於此實施例中,顯示裝置1所顯示之需求清單包括確認以下項目:是否需要進行資料庫連接,如果該使用者選擇為是,則需提供資料庫連線資訊,例如, 127.0.0.1:3066 / root/1234),步驟的數目為3個、步驟的順序為步驟1至3、計算步驟的時間單位為秒(sec)、是否有可跳過的步驟(無)、是否設定檢查步驟(三個步驟均需檢查)以及檢查步驟未執行是否判定為異常(是)。在另一實施例中,前述油罐車裝填作業之步驟順序係可依實際情況調整、計算步驟的時間單位亦可調整為分(min)、是否有可跳過的步驟可調整為有、是否設定檢查步驟係可調整為只需檢查其中一者、檢查步驟未執行是否判定為異常設定為否,以上的調整皆也在本發明的範圍內。Please refer to the embodiment of FIG. 3A of the present invention, which is a table of the filling time of each step of the tank truck filling operation and whether to execute the specific action of each step. In this embodiment, the requirement list displayed by the display device 1 includes confirmation of the following items: whether a database connection is required, if the user selects yes, the database connection information needs to be provided, for example, 127.0.0.1:3066/root/1234), the number of steps is 3, the order of the steps is steps 1 to 3, the time unit for calculating the steps is seconds (sec), whether there are steps that can be skipped (no), whether to set the check step (all three steps need to be checked) and whether the failure of the check step is judged as abnormal (yes). In another embodiment, the step sequence of the aforementioned tank truck loading operation can be adjusted according to the actual situation, the time unit of the calculation step can also be adjusted to minutes (min), whether there are steps that can be skipped can be adjusted to yes, whether to set the inspection step can be adjusted to only check one of them, and whether the inspection step is judged as abnormal if it is not executed can be set to no. The above adjustments are also within the scope of the present invention.

於該步驟B中,請參考圖3B,以該函式組產生單元2根據該對應於該欲產生之模組所欲產生的分析結果所對應之步驟而產生該第一函式組,即,例如,函式組1:使用該資料庫6連線,位址設定為:127.0.0.1:3066,帳號:root/密碼:3569;函式組2:總共3個動作欄位,由左往右算,如果中間有步驟時間為0,表示跳步驟,則判定為異常;函式組3:每個動作欄位的時間單位為sec,各資料要處理至單位為秒;函式組4:總共有3個檢查欄位,其供檢查各步驟,如果沒有檢查,則判定為異常。以該函式組產生單元2根據將前述由函式組1、函式組2、函式組3與函式組4所執行之多個資料處理步驟中於該顯示界面1顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟而產生該第二函式組。換言之,請參考圖3B,將該顯示界面1顯示前述欲產生模組中需要該使用者觀看的部份,即,圖3B所示的於該顯示界面1之表格,而將該圖3A所示之需使用者確認之所需之步驟而產生該第二函式組。接著,於該步驟C中,以該後台模組產生單元3經由該第一函式組所執行的前述函式組1-4而產生後台模組,程式碼(僅揭露一部份)如下: Db = open_database(127.0.0.1,3066,root, 3569) Alarm = False For(int I = 0; I <3; i++) if( getValue(col[i] == 0) Alarm = True break For(int I = 3; i< 6; i++) if(getValue(col[i] == 0) Alram = Ture break。 In step B, please refer to FIG. 3B , the function group generating unit 2 generates the first function group according to the step corresponding to the analysis result to be generated by the module to be generated, that is, for example, function group 1: use the database 6 to connect, the address is set to: 127.0.0.1:3066, account: root/password: 3569; function group 2: a total of 3 action fields, counted from left to right, if there is a step time of 0 in the middle, indicating a step jump, it is determined to be abnormal; function group 3: the time unit of each action field is sec, and each data must be processed to the unit of seconds; function group 4: a total of 3 check fields, which are used to check each step, if not checked, it is determined to be abnormal. The function group generating unit 2 generates the second function group according to the steps required for displaying the part of the module to be generated that the user needs to view on the display interface 1 among the plurality of data processing steps executed by the function group 1, the function group 2, the function group 3 and the function group 4. In other words, referring to FIG. 3B , the display interface 1 displays the part of the module to be generated that the user needs to view, i.e., the table on the display interface 1 shown in FIG. 3B , and the steps required for the user to confirm shown in FIG. 3A are performed to generate the second function group. Next, in step C, the background module generation unit 3 is used to generate the background module through the aforementioned function group 1-4 executed by the first function group. The code (only part of it is disclosed) is as follows: Db = open_database(127.0.0.1,3066,root, 3569) Alarm = False For(int I = 0; I <3; i++) if( getValue(col[i] == 0) Alarm = True break For(int I = 3; i< 6; i++) if(getValue(col[i] == 0) Alram = True break.

請繼續參考圖4A,於另一實施例中,為將原始資料進行篩選而產生經篩選資料,篩選條件為2023年6月12日下午三點至三點半之步驟1至3之資料;接著,將步驟1至3中之各多個資料取平均值而得圖4A中步驟1至3中的數值。接著,將該經運算資料進行統計分析,例如:ANOVA-test,而產生步驟1至3的作業時間是否有顯著差異的分析結果。Please continue to refer to FIG. 4A . In another embodiment, the original data is filtered to generate filtered data. The filtering condition is the data of steps 1 to 3 from 3:00 to 3:30 pm on June 12, 2023. Then, the multiple data in steps 1 to 3 are averaged to obtain the values in steps 1 to 3 in FIG. 4A . Then, the calculated data is subjected to statistical analysis, such as ANOVA-test, to generate an analysis result of whether there is a significant difference in the operation time of steps 1 to 3.

在此實施例中,於該步驟B中,請參考圖4B,以該函式組產生單元2根據該對應於該欲產生之模組所欲產生的分析結果所對應之步驟而產生該第一函式組,即,例如,函式組1:使用該資料庫6連線,位址設定為:127.0.0.1:3066,帳號:root/密碼:8172;函式組2:總共3個動作欄位,由左往右算,如果中間有步驟時間為0,表示跳步驟,則判定為異常;函式組3:步驟2、3的次數若小於步驟1之次數,則亦判定為異常;函式組4:每個動作欄位的時間單位為sec,各資料要處理至單位為秒;函式組5:總共有3個檢查欄位,其供檢查各步驟是否有被檢查,如果沒有檢查,則判定為異常。以該函式組產生單元2根據將前述由函式組1、函式組2、函式組3、函式組4與函式組5所執行之多個資料處理步驟中於該顯示界面1顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟而產生該第二函式組。換言之,請參考圖4B,將該顯示界面1顯示前述欲產生模組中需要該使用者觀看的部份,即,圖4B所示的於該顯示界面1之表格,而將該圖4A所示之需使用者確認之所需之步驟而產生該第二函式組。接著,於該步驟C中,以該後台模組產生單元3經由該第一函式組所執行的前述函式組1-5而產生後台模組,此模組的程式碼(僅揭露一部份)如下: Db = open_database(127.0.0.1,3066,root, 1234) Alarm = False For(int I = 0; I <3; i++) if( getValue(col[i] == 0) Alarm = True break For(int I = 4; i< 6; i++) if(getValue(col[i] < getValue(col[3])) Alram = Ture break。 In this embodiment, in step B, please refer to FIG. 4B , the function group generating unit 2 generates the first function group according to the step corresponding to the analysis result to be generated by the module to be generated, that is, for example, function group 1: use the database 6 to connect, the address is set to: 127.0.0.1:3066, account: root/password: 8172; function group 2: a total of 3 action fields , counting from left to right, if there is a step time of 0 in the middle, it means skipping the step, and it is determined to be abnormal; Function group 3: if the number of steps 2 and 3 is less than the number of steps 1, it is also determined to be abnormal; Function group 4: the time unit of each action field is sec, and each data needs to be processed to the unit of seconds; Function group 5: there are 3 check fields in total, which are used to check whether each step has been checked. If not checked, it is determined to be abnormal. The function group generation unit 2 generates the second function group according to the steps required for displaying the part of the module to be generated that the user needs to watch in the display interface 1 among the multiple data processing steps executed by the function group 1, function group 2, function group 3, function group 4 and function group 5. In other words, please refer to Figure 4B, the display interface 1 displays the part of the module to be generated that the user needs to view, that is, the table on the display interface 1 shown in Figure 4B, and the required steps required for user confirmation shown in Figure 4A are generated to generate the second function set. Next, in step C, the background module generation unit 3 is used to generate the background module through the aforementioned function group 1-5 executed by the first function group. The code of this module (only part of it is disclosed) is as follows: Db = open_database(127.0.0.1,3066,root, 1234) Alarm = False For(int I = 0; I <3; i++) if( getValue(col[i] == 0) Alarm = True break For(int I = 4; i< 6; i++) if(getValue(col[i] < getValue(col[3])) Alram = True break.

再,於該步驟D中,以該前台模組產生單元4經由該第二函式組而產生前台模組,該前台模組所顯示之畫面如圖4B所示。再,於另一實施例中,該步驟B更包括根據該對應於欲產生之模組所執行的根據該後台運作模組該所執行的多個步驟而顯示該使用者所需觀看資訊之步驟而產生該第二函式組。Then, in step D, the foreground module generating unit 4 generates a foreground module through the second function group, and the screen displayed by the foreground module is shown in FIG4B. In another embodiment, step B further includes a step of displaying the information required to be viewed by the user according to the plurality of steps executed by the background operation module executed by the corresponding module to be generated, thereby generating the second function group.

於另一實施例中,請參考圖1,本發明的系統更包括設定單元5,該設定單元5係與該後台模組產生單元3與該前台模組產生單元4連接,供根據該對應於欲產生之模組所執行的多個步驟而分別設定該後台模組產生單元3與該前台模組產生單元4中之所需之輸入資料之資料型態,資料的型態包括:整數型別、浮點數型別、字元型別、字串型別、布林型別等,依據資料分析所需而定,在此不贅述。於另一實施例中,該步驟B與該步驟C之間更包括步驟b,於該步驟b中,以該設定單元5根據該對應於欲產生之模組所執行的多個步驟而分別決定該後台模組產生單元3中之各資料之資料型態以及該後台模組產生單元3所對應的後台邏輯架構。在另一實施例中,該步驟C與該步驟D之間更包括步驟c,於該步驟c中,以設定單元5根據該對應於欲產生之模組所執行的多個步驟而分別決定該前台模組產生單元4中之各資料之資料型態以及該前台模組產生單元4所對應的前台邏輯架構In another embodiment, please refer to Figure 1. The system of the present invention further includes a setting unit 5, which is connected to the background module generation unit 3 and the foreground module generation unit 4, and is used to set the data type of the required input data in the background module generation unit 3 and the foreground module generation unit 4 according to the multiple steps executed by the corresponding module to be generated. The data type includes: integer type, floating point type, character type, string type, Boolean type, etc., depending on the needs of data analysis, which will not be elaborated here. In another embodiment, step B and step C further include step b, in which the setting unit 5 determines the data type of each data in the background module generating unit 3 and the background logic architecture corresponding to the background module generating unit 3 according to the multiple steps executed by the corresponding module to be generated. In another embodiment, step C and step D further include step c, in which the setting unit 5 determines the data type of each data in the foreground module generating unit 4 and the background logic architecture corresponding to the foreground module generating unit 4 according to the multiple steps executed by the corresponding module to be generated.

再,該設定單元5也供根據該對應於欲產生之模組所執行的多個步驟而分別設定該後台模組產生單元3所對應的後台邏輯架構或前台模組產生單元4所對應的前台邏輯架構,即,請參考圖3A的實施例,該後台模組產生單元3所對應的後台邏輯架構為依照使用者的分析需求將函式組1至4進行運算並輸出所需的邏輯架構;同樣的,設定單元5依照前台模組產生單元4所對應的前台邏輯架構則依照使用者需求以及該後台邏輯架構所對應之使用者需關於該顯示界面1觀看之內容而設定前台邏輯架構。Furthermore, the setting unit 5 is also used to set the background logic structure corresponding to the background module generating unit 3 or the foreground logic structure corresponding to the foreground module generating unit 4 according to the multiple steps executed by the corresponding module to be generated. That is, please refer to the embodiment of Figure 3A. The background logic structure corresponding to the background module generating unit 3 is a logic structure that operates function groups 1 to 4 and outputs the required function groups 1 to 4 according to the user's analysis requirements; similarly, the setting unit 5 sets the foreground logic structure according to the foreground logic structure corresponding to the foreground module generating unit 4 according to the user's requirements and the content that the user needs to view on the display interface 1 corresponding to the background logic structure.

請繼續參考圖1B,於另一實施例中,本發明之模組產生系統更包括生成式AI模組7,該生成式AI模組7係與該後台模組產生單元3連接而提供該後台模組產生單元3該第一函式組,且該生成式AI模組7係與該前台模組產生單元4連接而提供該前台模組產生單元4該第二函式組。再於另一實施例中,該步驟B 更包括:該函式組產生單元根據生成式AI模組針對該對應於該欲產生之模組所欲產生的分析結果所對應之步驟之最佳者而產生該第一函式組,以及以該函式組產生單元根據該生成式AI模組針對將該多個資料處理步驟中於該顯示界面1顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟之最佳者而產生該第二函式組。請參考圖1B,於另一實施例中,該生成式AI模組7係與該設定單元5連接而提供該設定單元5根據對應於該欲產生之模組所執行的多個步驟而分別設定該後台模組產生單元3所對應的該後台邏輯架構或前台模組產生單元4所對應的該前台邏輯架構。關於本發明之前台邏輯架構與後台邏輯架構之說明如前所述,在此不贅述。在一實施例中,本發明之生成式AI模組7除能生成前述之前台與後台邏輯架構外,本發明之生成式AI模組7亦為生成程式碼之生成式AI模組,其中本發明大範圍的使用GPT模型,GPT模型對習知已預先學習之後台模組之函式組及此後台模組之邏輯架構進行對抗式訓練與強化訓練;同樣的,GPT模型對習知已預先學習之前台模組之函式組及此前台模組之邏輯架構進行對抗式訓練與強化訓練;藉此,針對該對應於該欲產生之模組所欲產生的分析結果所對應之步驟之最佳者而產生該第一函式組,以及以該函式組產生單元根據該生成式AI模組針對將該多個資料處理步驟中於該顯示界面1顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟之最佳者而產生該第二函式組。Please continue to refer to Figure 1B. In another embodiment, the module generation system of the present invention further includes a generative AI module 7, which is connected to the background module generation unit 3 to provide the background module generation unit 3 with the first function set, and the generative AI module 7 is connected to the foreground module generation unit 4 to provide the foreground module generation unit 4 with the second function set. In another embodiment, the step B further includes: the function group generating unit generates the first function group according to the generative AI module for the best step corresponding to the analysis result to be generated by the module to be generated, and the function group generating unit generates the second function group according to the generative AI module for the best step required to display the part of the plurality of data processing steps in the aforementioned module to be generated that needs to be viewed by the user on the display interface 1. Please refer to FIG. 1B , in another embodiment, the generative AI module 7 is connected to the setting unit 5 and provides the setting unit 5 with the plurality of steps corresponding to the module to be generated and respectively sets the background logic architecture corresponding to the background module generation unit 3 or the front-end logic architecture corresponding to the front-end module generation unit 4. The description of the front-end logic architecture and the background logic architecture of the present invention is as described above and will not be repeated here. In one embodiment, the generative AI module 7 of the present invention can generate the aforementioned front-end and back-end logical structures. The generative AI module 7 of the present invention is also a generative AI module for generating program code. The present invention widely uses the GPT model. The GPT model performs adversarial training and reinforcement training on the function set of the background module that has been learned in advance and the logical structure of the background module. Similarly, the GPT model performs adversarial training and reinforcement training on the function set of the background module that has been learned in advance. The function group and the logical structure of the foreground module are subjected to confrontational training and reinforcement training; thereby, the first function group is generated for the best step corresponding to the analysis result to be generated by the module to be generated, and the function group generating unit generates the second function group according to the generative AI module for the best step required to display the part of the aforementioned module to be generated that needs to be viewed by the user in the display interface 1 among the multiple data processing steps.

在另一實施例中,該步驟A之前更包括步驟X,於該步驟X中,分別以與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞詢問該生成式AI 模組7,並統計回傳結果後,採取重現率高的關鍵詞。在另一實施例中,前述多個關鍵詞包括,例如,資料過濾日期、選擇步驟、分頁查詢等。再,分別以與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞之反向關鍵詞詢問該生成式AI 模組,藉以去除不合適的回傳結果。在另一實施例中,前述多個關鍵詞之反向關鍵詞包括,例如,不要時間選擇 、不要多選分頁步驟、不要一次查詢要分段等。再,利用檢測式的關鍵詞分別檢驗與該後台邏輯架構、前台邏輯架構、第一函式組與該第二函式組有關的生成結果,藉以去除不合適的生成結果。利用檢測式的關鍵詞的重點在於,例如,是否使用My Connector 連接器、是否使用連接埠3306、是否使用特定函式庫5.5以上版本等,藉以去除不合適的生成模組,即,無法產生達到預期目標之模組。In another embodiment, the step A further includes a step X, in which the generative AI module 7 is queried with multiple keywords related to the backend logic architecture, the frontend logic architecture, the first function group, and the second function group, and after the return results are statistically analyzed, keywords with high recurrence rates are adopted. In another embodiment, the aforementioned multiple keywords include, for example, data filtering date, selection step, page query, etc. Then, the generative AI module is queried with reverse keywords of multiple keywords related to the backend logic architecture, the frontend logic architecture, the first function group, and the second function group, respectively, so as to remove inappropriate return results. In another embodiment, the reverse keywords of the aforementioned multiple keywords include, for example, no time selection, no multiple page selection steps, no one query segmentation, etc. Then, the detection keywords are used to respectively check the generation results related to the background logic architecture, the front-end logic architecture, the first function group and the second function group, so as to remove inappropriate generation results. The key point of using the detection keywords is, for example, whether to use the My Connector connector, whether to use the connection port 3306, whether to use the specific library version 5.5 or above, etc., so as to remove inappropriate generation modules, that is, modules that cannot generate the expected goals.

請繼續參考圖5,於另一實施例中,本發明的模組產生方法與系統亦可應用於圖像辨識領域。於步驟A中,使用者經由該顯示界面1操作該需求清單而產生該經確認需求清單。該需求清單包括對應於欲產生之模組所欲產生的分析結果所對應之多個需求,例如,該需求清單包括以下項目:圖像中有幾個物件、各物件的名稱、各物件的相對位置關係。該後台運作模組3係與資料庫6連接並執行以下步驟,包括:將來自該資料庫6的原始圖像資料進行篩選而產生經篩選資料、將該經篩選資料進行運算而產生經運算的資料,以此實施例為例,經運算的資料為各物件的位置特徵,即,手機:x:200/y10/w:100/h:300;充電頭:x:50/y:200/w:100/h:200;充電線:x:220/y:300/w:50/h:100。Please continue to refer to FIG. 5. In another embodiment, the module generation method and system of the present invention can also be applied to the field of image recognition. In step A, the user operates the requirement list through the display interface 1 to generate the confirmed requirement list. The requirement list includes a plurality of requirements corresponding to the analysis results to be generated by the module to be generated. For example, the requirement list includes the following items: the number of objects in the image, the name of each object, and the relative position relationship of each object. The background operation module 3 is connected to the database 6 and executes the following steps, including: filtering the original image data from the database 6 to generate filtered data, and performing operations on the filtered data to generate calculated data. Taking this embodiment as an example, the calculated data is the position characteristics of each object, that is, mobile phone: x:200/y10/w:100/h:300; charging head: x:50/y:200/w:100/h:200; charging cable: x:220/y:300/w:50/h:100.

再,於該步驟B中,以該函式組產生單元2根據該對應於該欲產生之模組所欲產生的分析結果,即,辨識出每個物件於此圖像中的意義:一部手機在進行充電、有一個充電頭插在插座上、充電頭上有充電線所對應之步驟而產生該第一函式組,即,例如,函式組1:用於辨識手機;函式組2:用於辨識充電頭;函式組3:用於辨識充電線;函式組4:用於辨識前述物件之相對位置;函式組5:用於辨識各物件的意義。接著,以該函式組產生單元2根據將前述由函式組1至 5所執行之多個資料處理步驟中於該顯示界面1顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟而產生該第二函式組。換言之,請參考圖5,第二函式組將該顯示界面1顯示前述欲產生模組中需要該使用者觀看的部份,即,圖5所示的在原本的圖像上顯示各物件的意義:一部手機在進行充電(方框A)、有一個充電頭插在插座上(方框B)、充電頭上有充電線(方框C)。Then, in step B, the function group generating unit 2 generates the first function group according to the analysis result corresponding to the module to be generated, that is, identifying the meaning of each object in this image: a mobile phone is charging, there is a charging head plugged into the socket, and there is a charging cable on the charging head, that is, for example, function group 1: used to identify the mobile phone; function group 2: used to identify the charging head; function group 3: used to identify the charging cable; function group 4: used to identify the relative position of the aforementioned objects; function group 5: used to identify the meaning of each object. Next, the function group generating unit 2 generates the second function group according to the steps required for displaying the part of the module to be generated that the user needs to view on the display interface 1 among the plurality of data processing steps executed by the function groups 1 to 5. In other words, referring to FIG5 , the second function group displays the part of the module to be generated that the user needs to view on the display interface 1, that is, the meaning of displaying each object on the original image shown in FIG5 : a mobile phone is being charged (box A), a charging head is plugged into a socket (box B), and a charging cable is on the charging head (box C).

因此,本發明具有以下優點: 1. 對於習知技術中使用者對於數據的分析會有不同的需求,本發明之模組產生方法與系統能有效進行即時客製化模組開發,省去讓系統工程師、軟體工程師需要花費大量成本重新修改整個實體模組與虛擬模組之成本。 2. 對於習知的自動化生成工具,本發明之模組產生方法與系統能有效進行即時前台模組與後台模組之開發,同樣省去讓系統工程師、軟體工程師需要花費大量成本重新調整自動化生成工具之成本。 3. 習知的模組開發需要專案分析師進行需求訪談、專案分析師撰寫需求說明書、工程師撰寫設計規格書與工程師開發程式,藉由本發明之模組與系統,模組需求部份由使用者即時確認即時清單之內容,有效省去專案分析師進行需求訪談與撰寫需求說明書之作業時間與成本;而藉由函式組產生單元、設定單元對後台模組產生單元與前台模組產生單元或藉由函式組產生單元、設定單元對後台模組產生單元與前台模組產生單元與生成式AI模組之協同運作,有效省去工程師撰寫設計規格書與開發程式之作業時間與成本。 4. 藉由分別以與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞詢問該生成式AI 模組,並分別以與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞之反向關鍵詞詢問該生成式AI 模組,藉以使生成式AI 模組之運作效能達到最佳化。 Therefore, the present invention has the following advantages: 1. For users in the learning technology, they may have different requirements for data analysis. The module generation method and system of the present invention can effectively carry out real-time customized module development, saving the cost of system engineers and software engineers to re-modify the entire physical module and virtual module at a large cost. 2. For the automatic generation tool of the learning, the module generation method and system of the present invention can effectively carry out the development of the front-end module and the back-end module at a large cost, and also save the cost of system engineers and software engineers to re-adjust the automatic generation tool at a large cost. 3. Conventional module development requires project analysts to conduct demand interviews, write demand specifications, engineers to write design specifications, and engineers to develop programs. With the module and system of the present invention, the module requirements are confirmed by users in real time, effectively saving the time and cost of project analysts conducting demand interviews and writing demand specifications; and through the function group generation unit, the setting unit for the background module generation unit and the front-end module generation unit, or through the function group generation unit, the setting unit for the background module generation unit and the front-end module generation unit and the generative AI module, the time and cost of engineers writing design specifications and developing programs are effectively saved. 4. By respectively querying the generative AI module with a plurality of keywords related to the backend logic framework, the frontend logic framework, the first function group and the second function group, and respectively querying the generative AI module with the reverse keywords of a plurality of keywords related to the backend logic framework, the frontend logic framework, the first function group and the second function group, the operating performance of the generative AI module is optimized.

綜上所述,依上文所揭示之內容,本發明確可達到預期之目的,提供一種模組產生方法與系統,藉由函式組產生單元、設定單元對後台模組產生單元與前台模組產生單元或藉由函式組產生單元、設定單元對後台模組產生單元與前台模組產生單元與生成式AI模組之協同運作,有效省去工程師撰寫設計規格書與開發程式之作業時間與成本,以確保所生成模組能達到預期規劃的功能,極具產業上利用之價值,爰依法提出發明專利申請。In summary, according to the contents disclosed above, the present invention can achieve the expected purpose and provide a module generation method and system, which can effectively save the time and cost of engineers writing design specifications and developing programs by using a function group generation unit and a setting unit to generate a background module generation unit and a front-end module generation unit, or by using a function group generation unit and a setting unit to generate a background module generation unit and a front-end module generation unit in collaboration with a generative AI module, so as to ensure that the generated module can achieve the expected planned function, and has great value for industrial use. Therefore, a patent application for the invention is filed in accordance with the law.

本發明雖為實現上述目的而揭露了較佳的具體實施例,惟其並非用以限制本發明之構造特徵,任何該技術領域之通常知識者應知,在本發明的技術精神下,任何輕易思及之變化或修飾皆是可能的,且皆為本發明之申請專利範圍所涵蓋。Although the present invention discloses preferred specific embodiments to achieve the above-mentioned purpose, it is not intended to limit the structural features of the present invention. Any person with ordinary knowledge in the technical field should know that within the technical spirit of the present invention, any easily conceivable changes or modifications are possible and are all covered by the scope of the patent application of the present invention.

1:顯示界面1: Display interface

2:函式組產生單元 2: Function group generation unit

3:後台模組產生單元 3: Background module generation unit

4:前台模組產生單元 4: Front-end module generation unit

5:設定單元 5: Setting unit

6:資料庫 6: Database

7:生成式AI模組 7: Generative AI module

A、B、C、D、a、b、c、d、X:步驟 A, B, C, D, a, b, c, d, X: steps

圖1A為本發明之模組產生系統之實施例之結構方塊圖。FIG. 1A is a structural block diagram of an embodiment of a module generation system of the present invention.

圖1B為本發明之模組產生系統之另一實施例之結構方塊圖。FIG. 1B is a structural block diagram of another embodiment of the module generation system of the present invention.

圖2為本發明之模組產生方法之實施例之流程圖。FIG. 2 is a flow chart of an embodiment of the module generation method of the present invention.

圖3A為本發明之模組產生系統與方法之實施例之將原始資料進行篩選而產生經篩選資料。FIG. 3A is a diagram showing an embodiment of the module generation system and method of the present invention, wherein raw data is filtered to generate filtered data.

圖3B為本發明之模組產生系統與方法之實施例之將該顯示界面顯示前述欲產生模組中需要該使用者觀看的部份之表格示意圖。FIG. 3B is a table diagram showing the portion of the module to be generated that the user needs to view on the display interface in an embodiment of the module generation system and method of the present invention.

圖4A為本發明之模組產生系統與方法之另一實施例之將原始資料進行篩選而產生經篩選資料之表格之示意圖。FIG. 4A is a schematic diagram of another embodiment of the module generation system and method of the present invention, in which raw data is filtered to generate a table of filtered data.

圖4B為本發明之模組產生系統與方法之另一實施例之將該顯示界面顯示前述欲產生模組中需要該使用者觀看的部份之表格之示意圖。FIG. 4B is a schematic diagram of another embodiment of the module generation system and method of the present invention, showing the display interface displaying a table of the portion of the module to be generated that the user needs to view.

圖5為本發明之模組產生系統與方法之另一實施例之圖像分析之示意圖。FIG. 5 is a schematic diagram of image analysis of another embodiment of the module generation system and method of the present invention.

1:顯示界面 1: Display interface

2:函式組產生單元 2: Function group generation unit

3:後台模組產生單元 3: Background module generation unit

4:前台模組產生單元 4: Front-end module generation unit

5:設定單元 5: Setting unit

6:資料庫 6: Database

7:生成式AI模組 7: Generative AI module

Claims (13)

一種模組產生系統,其包括:一顯示界面,其顯示經使用者確認的一需求清單,該需求清單包括對應於欲產生之模組所欲產生的分析結果所對應之多個需求;一函式組產生單元,其係與該顯示界面連接且供根據一生成式AI模組針對該對應於欲產生之模組所欲產生的分析結果所對應之步驟之最佳者而產生一第一函式組,以及供根據該生成式AI模組針對將多個資料處理步驟中於該顯示界面顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟之最佳者而產生一第二函式組;一後台模組產生單元,其係與該函式組產生單元連接並經由該第一函式組而產生一後台模組;以及一前台模組產生單元,其係與該函式組產生單元連接並經由該第二函式組而產生一前台模組。 A module generation system includes: a display interface, which displays a requirement list confirmed by a user, the requirement list including a plurality of requirements corresponding to the analysis results to be generated by the module to be generated; a function group generation unit, which is connected to the display interface and is used to generate a first function group according to a generative AI module for the best step corresponding to the analysis result to be generated by the module to be generated; and a function group generation unit, which is connected to the display interface and is used to generate a first function group according to the best step corresponding to the analysis result to be generated by the module to be generated. The formula AI module generates a second function group for displaying the best of the steps required for the user to view the part of the module to be generated on the display interface among multiple data processing steps; a background module generation unit, which is connected to the function group generation unit and generates a background module through the first function group; and a foreground module generation unit, which is connected to the function group generation unit and generates a foreground module through the second function group. 如請求項1所述的模組產生系統,其中該後台運作模組係更與一資料庫連接並執行以下步驟,包括:將來自該資料庫的原始資料進行篩選而產生一經篩選資料、將該經篩選資料進行運算而產生一經運算的資料;以及將該經運算資料進行統計分析而產生該分析結果。 The module generation system as described in claim 1, wherein the background operation module is further connected to a database and performs the following steps, including: filtering the original data from the database to generate a filtered data, computing the filtered data to generate a computed data; and performing statistical analysis on the computed data to generate the analysis result. 如請求項1所述的模組產生系統,其中該需求清單包括以下項目:步驟的數目、步驟的順序、計算步驟的時間單位、可跳過的步驟、是否設定檢查步驟或檢查步驟未執行是否判定為異常。 A module generation system as described in claim 1, wherein the requirement list includes the following items: the number of steps, the order of steps, the time unit for calculating steps, the steps that can be skipped, whether to set a check step or whether the failure of the check step to be executed is considered abnormal. 如請求項1所述的模組產生系統,其更包括一設定單元,該設定單元係與該後台模組產生單元與該前台模組產生單元連接,而供根據該對應 於欲產生之模組所執行的多個步驟而分別設定該後台模組產生單元與該前台模組產生單元中之所需之輸入資料之資料型態、該後台模組產生單元所對應的一後台邏輯架構或前台模組產生單元所對應的一前台邏輯架構;其中該前台邏輯架構係為依照該後台邏輯架構所對應之使用者關於該顯示界面觀看之內容將第二函式組中之各者所設定;其中該後台邏輯架構係為依照使用者的分析需求將該第一函式組中之各者所設定。 The module generation system as described in claim 1 further includes a setting unit, which is connected to the background module generation unit and the foreground module generation unit, and is used to set the data type of the required input data in the background module generation unit and the foreground module generation unit, a background logic framework corresponding to the background module generation unit, or a foreground logic framework corresponding to the foreground module generation unit according to the multiple steps executed by the corresponding module to be generated; wherein the foreground logic framework is used to set each of the second function group according to the content viewed by the user on the display interface corresponding to the background logic framework; wherein the background logic framework is used to set each of the first function group according to the analysis requirements of the user. 如請求項4所述的模組產生系統,其中該生成式AI模組係與該設定單元連接而提供該設定單元根據對應於該欲產生之模組所執行的多個步驟而分別設定該後台模組產生單元所對應的該後台邏輯架構或前台模組產生單元所對應的該前台邏輯架構。 The module generation system as described in claim 4, wherein the generative AI module is connected to the setting unit to provide the setting unit with a plurality of steps corresponding to the module to be generated to respectively set the background logic architecture corresponding to the background module generation unit or the front-end logic architecture corresponding to the front-end module generation unit. 如請求項4所述的模組產生系統,其中該生成式AI模組係與該後台模組產生單元連接而提供該後台模組產生單元該第一函式組,且該生成式AI模組係與該前台模組產生單元連接而提供該前台模組產生單元該第二函式組。 A module generation system as described in claim 4, wherein the generative AI module is connected to the background module generation unit to provide the background module generation unit with the first function set, and the generative AI module is connected to the foreground module generation unit to provide the foreground module generation unit with the second function set. 如請求項5或6所述的模組產生系統,其中該生成式AI模組供分別接收與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞之詢問;供接收與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞之反向關鍵詞之詢問。 A module generation system as described in claim 5 or 6, wherein the generative AI module is used to receive inquiries of multiple keywords related to the backend logic architecture, the frontend logic architecture, the first function group and the second function group; and is used to receive inquiries of reverse keywords of multiple keywords related to the backend logic architecture, the frontend logic architecture, the first function group and the second function group. 一種模組產生方法,其包括:A:接收經使用者確認之一需求清單,該需求清單包括對應於欲產生之模組所欲產生的分析結果所對應之多個需求; B:以一函式組產生單元根據一生成式AI模組針對該對應於欲產生之模組所欲產生的分析結果所對應之步驟之最佳者而產生一第一函式組,以及以該函式組產生單元根據該生成式AI模組針對將該多個資料處理步驟中於該顯示界面顯示前述欲產生模組中需要該使用者觀看的部份所需之步驟之最佳者,而產生一第二函式組;C:以一後台模組產生單元經由該第一函式組而產生一後台模組;以及D:以一前台模組產生單元經由該第二函式組而產生一前台模組。 A module generation method, comprising: A: receiving a requirement list confirmed by a user, the requirement list including a plurality of requirements corresponding to the analysis results to be generated by the module to be generated; B: using a function group generation unit to generate a first function group according to a generative AI module for the best step corresponding to the analysis results to be generated by the module to be generated, and using the function group generation unit to generate a second function group according to the generative AI module for the best step required to display the part of the module to be generated that the user needs to view on the display interface among the plurality of data processing steps; C: using a background module generation unit to generate a background module via the first function group; and D: using a foreground module generation unit to generate a foreground module via the second function group. 如請求項8所述的模組產生方法,其中該步驟B更包括以該函式組產生單元根據該對應於欲產生之模組所執行的以下步驟而產生該第一函式組:將原始資料進行篩選而產生一經篩選資料、將該經篩選資料進行運算而產生一經運算的資料;以及將該經運算資料進行統計分析而產生一分析結果。 The module generation method as described in claim 8, wherein the step B further includes generating the first function group by the function group generation unit according to the following steps executed corresponding to the module to be generated: filtering the original data to generate a filtered data, operating the filtered data to generate an operated data; and performing statistical analysis on the operated data to generate an analysis result. 如請求項8所述的模組產生方法,其中該步驟A中的該需求清單包括:步驟的數目、步驟的順序、計算步驟的時間單位、可跳過的步驟、是否設定檢查步驟或檢查步驟未執行是否判定為異常。 The module generation method as described in claim 8, wherein the requirement list in step A includes: the number of steps, the order of steps, the time unit for calculating steps, the steps that can be skipped, whether to set a check step or whether the failure of the check step to be executed is considered abnormal. 如請求項8所述的模組產生方法,其中該步驟B與該步驟C之間更包括一步驟b:以一設定單元根據該對應於欲產生之模組所執行的多個步驟而分別決定該後台模組產生單元中之各資料之資料型態以及該後台模組產生單元所對應的一後台邏輯架構。 The module generation method as described in claim 8, wherein the step B and the step C further include a step b: using a setting unit to determine the data type of each data in the background module generation unit and a background logic architecture corresponding to the background module generation unit according to the multiple steps executed corresponding to the module to be generated. 如請求項8所述的模組產生方法,其中該步驟C與該步驟D之間更包括一步驟c:以一設定單元根據該對應於欲產生之模組所執行的多個步驟而分別決定該前台模組產生單元中之各資料之資料型態以及該前台模組 產生單元所對應的一前台邏輯架構。 The module generation method as described in claim 8, wherein the step C and the step D further include a step C: using a setting unit to determine the data type of each data in the foreground module generation unit and a foreground logic architecture corresponding to the foreground module generation unit according to the multiple steps executed corresponding to the module to be generated. 如請求項8所述的模組產生方法,其中該步驟A之前更包括一步驟X:分別以與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞詢問該生成式AI模組,並統計回傳結果後,採取重現率高的關鍵詞;分別以與該後台邏輯架構、該前台邏輯架構、該第一函式組與該第二函式組有關的多個關鍵詞之反向關鍵詞詢問該生成式AI模組,藉以去除回傳結果中無法達到預期目標之所生成模組;利用檢測式的關鍵詞分別檢驗與該後台邏輯架構、前台邏輯架構、第一函式組與該第二函式組有關的生成結果,藉以去除回傳結果中無法達到預期目標之所生成模組。 The module generation method as described in claim 8, wherein the step A further includes a step X: querying the generative AI module with a plurality of keywords related to the backend logic architecture, the frontend logic architecture, the first function group, and the second function group, and taking the keywords with a high recurrence rate after statistically returning the results; querying the generative AI module with a plurality of keywords related to the backend logic architecture, the frontend logic architecture, the first function group, and the second function group, respectively; The reverse keyword query of multiple keywords related to the second function group is used to query the generative AI module, so as to remove the generated modules that fail to achieve the expected goals in the returned results; the generated results related to the backend logic structure, the frontend logic structure, the first function group and the second function group are respectively tested using the detection keywords, so as to remove the generated modules that fail to achieve the expected goals in the returned results.
TW112131536A 2023-08-22 2023-08-22 A system and a method for generating modules TWI852738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112131536A TWI852738B (en) 2023-08-22 2023-08-22 A system and a method for generating modules

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112131536A TWI852738B (en) 2023-08-22 2023-08-22 A system and a method for generating modules

Publications (2)

Publication Number Publication Date
TWI852738B true TWI852738B (en) 2024-08-11
TW202526795A TW202526795A (en) 2025-07-01

Family

ID=93284266

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112131536A TWI852738B (en) 2023-08-22 2023-08-22 A system and a method for generating modules

Country Status (1)

Country Link
TW (1) TWI852738B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140129438A1 (en) * 2005-10-06 2014-05-08 C-Sam, Inc. Shareable widget interface to mobile wallet functions
US8924269B2 (en) * 2006-05-13 2014-12-30 Sap Ag Consistent set of interfaces derived from a business object model
WO2019098428A1 (en) * 2017-11-20 2019-05-23 (주) 더존비즈온 Erp function provision method using user-specific expandable management table, and erp function provision system for performing same
US20210193304A1 (en) * 2017-12-05 2021-06-24 Embrace Co., Ltd. Service architecture support method and system for medical/nursing support system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140129438A1 (en) * 2005-10-06 2014-05-08 C-Sam, Inc. Shareable widget interface to mobile wallet functions
US8924269B2 (en) * 2006-05-13 2014-12-30 Sap Ag Consistent set of interfaces derived from a business object model
WO2019098428A1 (en) * 2017-11-20 2019-05-23 (주) 더존비즈온 Erp function provision method using user-specific expandable management table, and erp function provision system for performing same
US20210193304A1 (en) * 2017-12-05 2021-06-24 Embrace Co., Ltd. Service architecture support method and system for medical/nursing support system

Also Published As

Publication number Publication date
TW202526795A (en) 2025-07-01

Similar Documents

Publication Publication Date Title
US10871951B2 (en) Code correction
CN113434396A (en) Interface test method, device, equipment, storage medium and program product
US20230004979A1 (en) Abnormal behavior detection method and apparatus, electronic device, and computer-readable storage medium
US20250356298A1 (en) Systems and methods for generating predictive risk outcomes
CN114238150A (en) Program code variation testing method and device
CN108334346A (en) A kind of development approach and device of Service control flow
CN112527655B (en) Software version quality abnormality detection method and device, electronic equipment and storage medium
TWI852738B (en) A system and a method for generating modules
CN111913743B (en) Data processing method and device
CN109581104B (en) Method for testing touch screen of vehicle-mounted entertainment system
CN113255929B (en) Method and device for acquiring interpretable reasons of abnormal user
CN115658523A (en) Automatic control and test method for human-computer interaction interface and computer equipment
CN111339920A (en) Cash adding behavior detection method, device and system, storage medium and electronic terminal
CN117494021A (en) Data processing methods, devices, storage media, terminals and products
CN114185618B (en) A business tool configuration method, device, computer equipment and storage medium
CN116955193A (en) Interface testing method, device, equipment and storage medium
CN116455619A (en) Risk identification method and device, electronic equipment and storage medium
CN116414716A (en) Stability test method for application program, terminal equipment and storage medium
CN114375465A (en) Picture classification method and device, storage medium and electronic equipment
CN113919313A (en) Litigation case information processing method, litigation case information processing device, and storage medium
CN114968005B (en) Equipment virtual training modeling method, device, terminal equipment and system
CN113094341A (en) Hidden folder display option control platform
US20250363500A1 (en) Electronic systems generating product testing instructions and for providing automated product testing
US20250363034A1 (en) Electronic systems generating product testing instructions and for providing automated product testing
CN120803915A (en) System, method, equipment and medium for realizing test case arrangement based on zero code