TW523700B - Function program system and method based on a table structure - Google Patents
Function program system and method based on a table structure Download PDFInfo
- Publication number
- TW523700B TW523700B TW90132253A TW90132253A TW523700B TW 523700 B TW523700 B TW 523700B TW 90132253 A TW90132253 A TW 90132253A TW 90132253 A TW90132253 A TW 90132253A TW 523700 B TW523700 B TW 523700B
- Authority
- TW
- Taiwan
- Prior art keywords
- item
- function
- program
- patent application
- user interface
- Prior art date
Links
Landscapes
- Stored Programmes (AREA)
Abstract
Description
523700 處理使用 式碼大部 是在不同 許多不必 的程式碼 一般可以 兩部分。 重複撰寫 了用來設 處理使用 來相對地 者命令或 分都是類 的程式之 要之程式 〇 分成使用 在有限的 類似之使 計與改善 者介入之 也需要花 介面需要進行修改 介面的設計程序, 新編譯或是更新新 五、發明說明(1) 本發明係有關於一種功能 關於一種以表格結構為基礎而 統及方法。 在習知的視窗(w i n d 0 w)程 者必須先設計程式中所要用到 interface,UI)與在每一個使 (layout)。接著,開發者則必 介面中供使用者操作、輸入之 碼(c 〇 d e) 的工作。 在大部分的程式中,用來 操作動作(intervention)的程 通常在一個程式的不同位置或 重複撰寫。因此,往往浪費了 在重複撰寫類似之使用者介面 對於一般視窗程式而言, 及商業邏輯(business logic) 之下,由於浪費了許多時間在 的程式碼,因此,也間接減少 部分的時間。此外,由於用來 一程式中的不同位置重複,將 時間來進行維護。 再者,如果程式的使用者 開發者則必須重新進行使用者 一客戶端程式也都必須進行重 程式系統及方法,更特別有 架構視窗程式之功能程式系 式開發方法中,首先,開發 的使用者介面(use 用者介面所相應之佈局 須針對每一個設計於使用者 構成部分分別進行撰寫程式 是使用者 似的,且 間常常地 開發時間 者介面以 開發時間 用者介面 商業邏輯 程式碼在 費較多的 時,程式 且對於每 的程式碼523700 The code used for processing is mostly different. Many unnecessary codes can generally be two parts. Repeatedly wrote the program that is used to process and use the commands of the opposite party or class. It is divided into two programs. It is used in a limited number of similar programs that involve the planners and improvers. It also requires an interface and a design interface that needs to be modified. New compile or update. V. Description of the invention (1) The present invention relates to a function and a method based on a table structure. In the conventional window (wi n d 0 w) process, the user must first design the interface (UI) and layout in each program. Then, the developer must work in the interface for the user to input and enter the code (c0de). In most programs, the procedures for manipulating actions are usually written at different locations in a program or repeatedly. Therefore, it is often wasted to repeatedly write similar user interfaces. For general window programs and business logic, because a lot of time is wasted in the code, it also indirectly reduces part of the time. In addition, because it is used to repeat at different positions in a program, it takes time to perform maintenance. In addition, if the user of the program is a developer, the user-client program must also be reprogrammed. The system and method must be reprogrammed. More specifically, in the functional program system development method of the structured window program, first, the use of development The user interface (use the corresponding layout of the user interface must be written separately for each user component design program is user-like, and often develop the time user interface to develop the time user interface business logic code in Time consuming, programmatic and for each code
0503-6453TWf;TSMC2001-0323;y i anhou.ptd 5237000503-6453TWf; TSMC2001-0323; y i anhou.ptd 523700
的動作’以達到整體客戶端程式的一致性。相同地,此舉 亦為相當耗費時間的工作。 有於此’本發明之主要目的為提供一個可以將程式 ^使用者介面與商業邏輯部分分開進行設計之功能程式系 2及方法。此外,本發明中所提供之功能程式係利用資料 之表格的型態進行表示,且當需要執行某一功能之程式 時’始依據表格結構的基礎將此一功能之使用者介面與商 業邏輯部分動態地建立。 為了達成上述目的,可藉由本發明所提供之一種以表 格結構為基礎之功能程式系統及方法來達成。 本發明實施例之一種以表格結構為基礎之功能程式系 統’包括具有複數個表格之一資料庫與一主系統。主系統 接收相應一功能之程式觸發,從而建立一程式樣板,並依 據此功能之名稱檢索資料庫中之表格,將檢索結果套用至 程式樣板之中。主系統並依據程式樣板之内容建立此功能 相應之使用者介面視窗於主系統之中,同時,接受使用者 命令,執行此使用者命令相應之動作,並觸發執行此功能 所相應之商業邏輯處理單元,且顯示商業邏輯處理單元所 相應之處理結果於使用者介面視窗中。 圖式簡單說明 為使本發明之上述目的、特徵和優點能更明顯易懂, 下文特舉一實施例,並配合所附圖示,作詳細說明如下: 第1圖係顯示依據本發明實施例之一種以表格結構為 基礎之功能程式系統之系統架構。Action ’to achieve consistency in the overall client program. Similarly, this is a time-consuming task. Herein, the main purpose of the present invention is to provide a functional program system 2 and a method which can design the program ^ user interface separately from the business logic part. In addition, the function program provided in the present invention is expressed using the form of the data table, and when a program that needs to execute a certain function is used, the user interface and business logic part of this function are started based on the basis of the table structure Build dynamically. In order to achieve the above objective, a functional program system and method based on a table structure provided by the present invention can be used to achieve the same. A functional program system based on a table structure according to an embodiment of the present invention includes a database having a plurality of tables and a main system. The main system receives a program trigger corresponding to a function, thereby creating a program template, and searching the tables in the database according to the name of the function, and applying the search result to the program template. The main system creates a corresponding user interface window in the main system according to the content of the program template, and at the same time, accepts user commands, executes the corresponding actions of the user commands, and triggers the corresponding business logic processing to execute this function. Unit, and display the corresponding processing result of the business logic processing unit in the user interface window. In order to make the above-mentioned objects, features, and advantages of the present invention clearer and easier to understand, an example is given below in conjunction with the accompanying drawings to make a detailed description as follows: FIG. 1 shows an embodiment according to the present invention A system architecture of a functional programming system based on a table structure.
0503-6453TWf;TSMC2001-0323;y i anhou.ptd 第5頁 523700 五、發明說明(3) 第2圖係顯示依據本發明實施例之第一表格之例子。 第3圖係顯示依據本發明實施例之第二表格之例子。 第4圖係顯示依據本發明實施例之第三表格之例子。 第5圖係顯示依據本發明實施例之第四表格之例子。 第6圖係顯示依據本發明實施例之第五表格之例子。 第7圖係顯示依據本發明實施例之第六表格之例子。 第8圖係顯示依據本發明實施例之一種以表格結構為 基礎之功能程式方法之操作流程。 符號說明 100〜 120〜 140〜 160〜 180〜 210〜 30 0〜 S500 資料庫, 第二表格; 第四表格 第六表格 第八表格 程式樣板 11 0〜第一表格 1 3 0〜第三表格 1 5 0〜第五表格 1 7 0〜第七表格; 2 0 0〜主系統; 2 1卜使用者介面視窗 商業邏輯處理單元; 、S510、…、S5 6 0〜操作步驟 實施例 接下來,第1圖係顯示一依據本發明實施例之一種以 表格結構為基礎之功能程式系統之系統架構,參考第1圖 ,本發明實施例將詳細說明如下。 首先,本發明實施例之系統架構包括一資料庫1 0 0與 一主系統2 0 0。資料庫1 0 0中儲存多個相關表格,其中可以 包括第一表格110、第二表格120、第三表格130、第四表0503-6453TWf; TSMC2001-0323; y i anhou.ptd Page 5 523700 V. Description of the invention (3) Figure 2 shows an example of the first table according to the embodiment of the present invention. FIG. 3 shows an example of a second table according to an embodiment of the present invention. FIG. 4 shows an example of a third table according to an embodiment of the present invention. FIG. 5 shows an example of a fourth table according to an embodiment of the present invention. FIG. 6 shows an example of a fifth table according to an embodiment of the present invention. FIG. 7 shows an example of a sixth table according to an embodiment of the present invention. FIG. 8 shows the operation flow of a function program method based on a table structure according to an embodiment of the present invention. Explanation of symbols 100 to 120 to 140 to 160 to 180 to 210 to 30 0 to S500 database, second form; fourth form sixth form eighth form program template 11 0 to first form 1 3 0 to third form 1 50 ~ 5th form 170 ~ 7th form; 2000 ~ main system; 21 user interface window business logic processing unit; S510, ..., S5 60 ~~ operation steps embodiment Next, the FIG. 1 shows a system architecture of a function program system based on a table structure according to an embodiment of the present invention. Referring to FIG. 1, an embodiment of the present invention will be described in detail as follows. First, the system architecture of the embodiment of the present invention includes a database 100 and a main system 2000. Database 100 stores multiple related forms, which may include a first form 110, a second form 120, a third form 130, and a fourth form
0503-6453TWf;TSMC2001-0323;yi anhou.ptd 第6頁 523700 五、發明說明(4) =、格 =表格15°、第六表格16°、第七一、《及 接下來,將說明每一表格中所儲存之内容。 110係用以至少紀錄本發明實施例之系統中弟—表格 功能之功能名稱(functi〇n 。舉例來說,:=所有 不,第2圖中記錄了系統中所有功能的名冑,如弟2圖所 WAT-Analysis 與WAT-by Part等等。 第二表格1 20係用以至少紀錄相應 =時所f要使用収使用者介面視窗^且Y 作 者,I面視窗之顯示順序。舉例來說義,,使用 中記錄WAT —by Part等功能在操作時所要用^ 弟3圖 中第二表格120至少包括功能名p 止用!之視自,其 、視窗名稱等攔位。以WAT —by p:、、視窗代碼 MT-by Part程式時提供兩視7二功1為例,執行 為川見窗’以供使用者作條件輪入驟1為G1視固;步驟2 弟二表格1 3 0係用以至少命你— 中所包含之構成部分與這些構二f八不同使用者介面視窗 構。舉例來說,如第4圖所—示,第°4 m之:細佈局結 的使用者介面視窗中所包含之 s §己錄視窗代碼為G1 局結構。其中,佈局型態的數 ^ /刀與其相應之詳細佈 式,如下拉式選單、點選式選翠3不冋的顯示與輸入方 第四表格140係用以紀錄不同。 項資料。舉例來說,如第5 冓成邛刀中要顯示之選 面視窗G1中之構成代碼為’第5圖中記錄使用者介 ”中應顯示的貧料。其中,構 523700 五、發明說明(5) " ---- 成代碼1中應顯不的資料為Cp、pr〇cess、與WAT,而構成 代碼6中應顯示的資料為pr〇ducti〇n L〇t、rd Lot、 Engineer Lot 、與producti〇n Pil〇t L〇t 。 J i ί格150係用以紀錄每一構成部分(含有查詢功能 之構成之查詢命令(SQL指令)。舉例來說,如第6圖 ::庫ί杳圖:八記八錄使用者介面視窗G1中之構成代碼7與8 所相應之查詢命令。 ^表格160係用卩紀錄每一構成部*對庫不同使 者操作動作(命令)所相應之動作。舉例 示,第7圖中記錄使用者介面視窗G1中之 如^7圖所 別對應不同之使用者操作動作之相 ==分 此外,第七表格觸用來紀錄不動同作 : 對應一使用者輸入條件所應該產生之者μ面視由 格180係用來紀錄相應不同功能所 卜貝訊,而第八表 處理單元。 呼叫之商業邏輯 另一方面,主系統20 0主要係用以 決定使用功能之程式觸發,從而建構、、要文使用者所 樣板2 1 0,接著,藉由檢索上述資料庫1 〇 〇么之功旎之程式 建立此功能之程式樣板内容與使用者八 中之表袼,從而 ,主系統2 0 0同時處理所有使用者操1面視窗2 11。此外 執行母一使用者操作與命令的相應'動、要求(命令),並 能相應之商業邏輯單元30〇,以及顯示,且觸發執行此功 另外,本發明實施例之系統架才冓1"更\理過後的結果。 面(未顯示)。此操作介面可以顧 可以包括一操作介 …、弟-表格no中紀錄之0503-6453TWf; TSMC2001-0323; yi anhou.ptd Page 6 523700 V. Description of the invention (4) =, grid = table 15 °, sixth table 16 °, 71st, "and next, each will be explained What is stored in the form. 110 is used to record at least the function name of the table function in the system of the embodiment of the present invention (functi ON. For example, == all no, the name of all functions in the system is recorded in the second figure, such as Figure 2 shows the WAT-Analysis, WAT-by Part, etc. The second form 1 20 is used to record at least the corresponding user interface window ^ and Y author, the display order of the I window. For example, In other words, the function WAT —by Part is used during operation. The second table 120 in the figure 3 at least includes the function name p. It is not used! It should be viewed from its stop, window name, etc. With WAT — by p: ,, the window code MT-by Part program provides two views 7 two work 1 as an example, the implementation is Kawami window 'for the user to make a condition. Step 1 is G1 fixation; Step 2 Di Er Form 1 3 0 is used to at least order you—the components included in these structures are different from those in the user interface window structure. For example, as shown in Figure 4—shown at 4 ° m: fine layout The s contained in the user interface window § The recorded window code is the G1 bureau structure. Among them, the layout type The number of ^ / knives and their corresponding detailed layouts, such as the pull-down menu, the click-type selection of Cui 3, and the display and input of the fourth form 140 are used to record different items. For example, as the 5th The composition code in the selection window G1 to be displayed in the Chengdao knife is the lean material that should be displayed in the 'Recording User Interface in Figure 5.' Among them, the structure 523700 5. Description of the invention (5) " ---- The data that should be displayed in the code 1 are Cp, pr〇cess, and WAT, while the data that should be displayed in the code 6 are pr〇ducti〇n L〇t, rd Lot, Engineer Lot, and producti〇n Pil〇. t L〇t. J i 格 150 is used to record each component (the query command (SQL instruction) that contains the component of the query function. For example, as shown in Figure 6 :: Library 杳 Figure: Eight Records Eight Record the corresponding query commands corresponding to the constituent codes 7 and 8 in the user interface window G1. ^ Form 160 records the corresponding actions of each constituent part * for different messenger operations (commands) in the library. For example, the seventh In the picture, the user interface window G1 records the phases of different user operations as shown in Figure ^ 7. == 分 In addition, the seventh form is used to record the same action: The one that should be generated corresponding to a user's input condition μ face view by the grid 180 is used to record the corresponding different functions, and the eighth table is processed The business logic of the call On the other hand, the main system 20 0 is mainly used to determine the program triggers for using functions, so as to construct and request a template 2 1 0 by the user, and then retrieve the above database 1 0 0 The program of Mody's function establishes the content of the program template of this function and the table of the eighth user, so that the main system 2 0 0 handles all users to operate a window 2 11 at the same time. In addition, the corresponding actions, requirements (commands) of the parent-user operation and command can be executed, and the corresponding business logic unit 30 can be displayed, and the execution of this function can be triggered. In addition, the system frame of the embodiment of the present invention is only 1 " More \ After the results. Face (not shown). This interface can include an operation interface ...
〇503-6453TWf;TSMC2001-0323;yianhou.ptd η 523700 五、發明說明(6) ~— ---— 的功能,且使用者可以透過此操作介面在想要觸發的 ΙοίΓ。上進行點選’進而傳送上述之程式觸發信號給主系統 接下來,第8圖係顯示一依據本發明實施例之一種以 表袼結構為基礎之功能方法之操作流程,同時參考第i圖 與第8,圖,本發明實施例之操作步驟將詳細說明如下。 首先,步驟S5 0 0,主系統20〇接收相應一程式觸發, 從而依據此程式觸發建立一程式樣板21〇。其中,此程式 觸發係對應一系統中所提供之功能。然後,如步驟S5丨〇, 主系統20 0依據此程式觸發檢索上述資料庫1〇〇中之第一至 第八表格(110〜180),且將一檢索結果套用至此程式樣 21 〇之中。 接著,步驟S 520,依據上述之檢索結果建立此功能所 相應之使用者介面視窗211 (若有多個視窗則依照操作步驟 依次建立)於程式樣板21〇中。 人之後,如步驟§53〇,主系統20 0可以接受一使用者命 了 ,其中使用者可以透過在上述使用者介面視窗211上進 仃#作而下達此使用者命令。主系統2〇〇並如步驟S54〇, 執行上述使用者命令所相應之動作(此動作亦可由檢索上 述表格得知)。 此外,步驟S550,主系統200觸發執行此功能所相應 之,業邏輯處理單元300,並如步驟856〇,將商業邏輯處 理單兀30 0經過處理過後的處理結果顯示於使用者介面 窗211之中。〇503-6453TWf; TSMC2001-0323; yianhou.ptd η 523700 V. Description of the invention (6) ~----functions, and users can use this operation interface to trigger ΙοίΓ. Click on 'to send the above-mentioned program trigger signal to the main system. Next, Fig. 8 shows an operation flow of a functional method based on the table structure according to an embodiment of the present invention, while referring to Fig. I and In FIG. 8, the operation steps of the embodiment of the present invention will be described in detail as follows. First, in step S500, the main system 20 receives a corresponding program trigger, so as to create a program template 21 according to the program trigger. Among them, this program trigger corresponds to the function provided in a system. Then, in step S5 丨 〇, the main system 200 triggers to search the first to eighth tables (110 to 180) in the database 100 according to this program, and applies a search result to this program 21 〇 . Next, in step S520, the corresponding user interface window 211 (if there are multiple windows, they are sequentially created according to the operation steps) in the function template 21 is set up according to the search results described above. After the person, as in step §53, the main system 200 can accept a user command, and the user can issue this user command by entering 仃 # work on the above-mentioned user interface window 211. The main system 200 performs the corresponding action of the above user command (step S54) (this action can also be learned by searching the above table). In addition, in step S550, the main system 200 triggers the corresponding execution of this function, the business logic processing unit 300, and, as in step 8560, the processed result of the business logic processing unit 300 is displayed in the user interface window 211. in.
523700 五、發明說明(7) 相同地,本方法中亦可提供一操作介面(未顯示),用 以將第一表格中所紀錄之所有的功能之功能名稱顯示,且 使用者可以透過於此操作介面上點選一功能進而產生一程 式觸發。 注意的是,本發明實施例中所提及之第一至第八表格 ,是將一程式依照其相應結構進行適當之分割儲存的最佳 實施例,然而,此第一至第八表格亦可結合為一表格或是 其他任意數目個數之表格。 因此,藉由本發明所提供之以表格結構為基礎之功能 程式系統,可以將程式之使用者介面與商業邏輯部分分開 進行設計,且利用表格的型態進行檢索與表示,而當需要 執行功能時,始依據表格結構的基礎將功能之使用者介面 與商業邏輯部分動態地建立。 _ 雖然本發明已以較佳實施例揭露如上,然其並非用以 限定本發明,任何熟悉此項技藝者,在不脫離本發明之精 神和範圍内,當可做些許更動與潤飾,因此本發明之保護 範圍當視後附之申請專利範圍所界定者為準。523700 V. Description of the invention (7) Similarly, in this method, an operation interface (not shown) can also be provided to display the function names of all functions recorded in the first form, and the user can click here Click a function on the operation interface to generate a program trigger. It should be noted that the first to eighth tables mentioned in the embodiments of the present invention are the best embodiments in which a program is appropriately divided and stored according to its corresponding structure. However, the first to eighth tables may also be used. Combined into a table or any other number of tables. Therefore, with the function program system based on the table structure provided by the present invention, the user interface of the program can be designed separately from the business logic part, and the form of the table can be used for retrieval and representation, and when the function needs to be executed Based on the foundation of the table structure, the functional user interface and business logic are dynamically established. _ Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Anyone skilled in the art can make some changes and retouching without departing from the spirit and scope of the present invention. The scope of protection of the invention shall be determined by the scope of the attached patent application.
0503-6453TWf;TSMC2001-0323;yianhou.ptd 第 10 頁0503-6453TWf; TSMC2001-0323; yianhou.ptd page 10
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW90132253A TW523700B (en) | 2001-12-25 | 2001-12-25 | Function program system and method based on a table structure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW90132253A TW523700B (en) | 2001-12-25 | 2001-12-25 | Function program system and method based on a table structure |
Publications (1)
Publication Number | Publication Date |
---|---|
TW523700B true TW523700B (en) | 2003-03-11 |
Family
ID=28037231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW90132253A TW523700B (en) | 2001-12-25 | 2001-12-25 | Function program system and method based on a table structure |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW523700B (en) |
-
2001
- 2001-12-25 TW TW90132253A patent/TW523700B/en not_active IP Right Cessation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5249755B2 (en) | Dynamic user experience with semantic rich objects | |
US8838557B2 (en) | Automated viewable selectable change history manipulation | |
JP2008506183A (en) | Import automatically generated content | |
TW201209606A (en) | Method to preview an undo/redo list | |
US20090150779A1 (en) | Method and apparatus for displaying help information | |
JP2008217651A (en) | Design support device, design support method and program | |
JPH1139292A (en) | Document management method and document retrieval method and device | |
JP2003337728A (en) | Management method and device for data file history | |
JPH0895767A (en) | Program generating method using program component | |
JP2008181218A (en) | Input support method and device | |
TW523700B (en) | Function program system and method based on a table structure | |
JP2000242490A (en) | Software development managing device, information presenting device, and program recording medium | |
JP6019818B2 (en) | Management device, management program, management method | |
JP4679834B2 (en) | GUI design apparatus and program | |
JP2008287397A (en) | Personnel information processor, personnel information processing method and personnel information processing program | |
JP2007164532A (en) | Task display device, task display method, and task display program | |
JP2006227820A (en) | Program test system and program test method | |
JP4256399B2 (en) | Information list presentation method and information sharing system | |
JP4624870B2 (en) | Demo creation system | |
JP2002342372A (en) | Information terminal equipment and schedule retrieval program | |
TW475145B (en) | Expanding method of toolbar function | |
JP4805491B2 (en) | Dictionary management program and computer system | |
JP2007157037A (en) | Access environment establishment method, access environment establishment program and access environment establishment device for database | |
JPH09305366A (en) | Screen display optimization method | |
JP2009003771A (en) | Project construction support program and project construction support system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent | ||
MK4A | Expiration of patent term of an invention patent |