TWI767644B - System for setting data structure and automatically generating application programming interface service information - Google Patents
System for setting data structure and automatically generating application programming interface service information Download PDFInfo
- Publication number
- TWI767644B TWI767644B TW110112191A TW110112191A TWI767644B TW I767644 B TWI767644 B TW I767644B TW 110112191 A TW110112191 A TW 110112191A TW 110112191 A TW110112191 A TW 110112191A TW I767644 B TWI767644 B TW I767644B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- field
- information
- setting
- service information
- Prior art date
Links
Images
Landscapes
- Stored Programmes (AREA)
- Exchange Systems With Centralized Control (AREA)
Abstract
Description
本發明是有關一種透過設定資料結構與自動生成應用程式介面服務資訊的系統,特別是一種能夠因應用戶端客製化資料結構籍資料的常態異動,並提供更具人性化之用戶端可自行設計資料欄位結構參數介面、自動產生應用程式介面服務資訊(Application Programming Interface,API,用於資料傳輸服務之資訊接口),以及自動產生資料管理控制功能介面之設計系統。 The present invention relates to a system for automatically generating application programming interface service information by setting a data structure, especially a system that can respond to the normal changes of the data structure and data of the client, and provide a more user-friendly client that can be designed by itself. Data field structure parameter interface, automatic generation of application programming interface service information (Application Programming Interface, API, information interface for data transmission services), and automatic generation of data management control function interface Design system.
資料庫用以儲存多筆資料並對這些資料進行管理,目前已普遍運用在例如電子商務或人事管理等系統中。當建置資料庫時,首先需確定資料庫的結構,包括資料庫中數據表的數量、各個數據表的欄位,以及數據表中各個欄位之間的關聯等。 Databases are used to store and manage multiple pieces of data, and have been widely used in systems such as e-commerce or personnel management. When building a database, it is first necessary to determine the structure of the database, including the number of data tables in the database, the fields of each data table, and the associations between the various fields in the data table.
資料庫開發通常需要對程式語言有一定了解的人,方有辦法設計出一合理可用的資料庫系統,若是資料庫中數據表的欄位設計不合理、或欄位之間的關聯性存在邏輯性的錯誤,致使資料庫應用系統發生預期外的錯誤,故這也往往不是一般人能夠自行設計的。 Database development usually requires people who have a certain understanding of programming languages in order to design a reasonable and usable database system. If the design of the fields of the data table in the database is unreasonable, or there is a logical relationship between the fields Due to the errors of nature, unexpected errors occur in the database application system, so this is often not something that ordinary people can design by themselves.
因此若是能夠提供一能夠讓使用者以具體的點選與輸入資料的方式,進行直覺式的設計資料庫欄位,將能夠有效減輕資料庫設計的複雜度,也讓不具有程式設計背景的使用者,即使無法靈活使用程式語言,也能夠透過本案提供之系統直覺式的設計資料庫欄位,因此本發明應為一最佳解決方案。 Therefore, if it is possible to provide an intuitive way for users to design database fields in a specific way of clicking and inputting data, it will effectively reduce the complexity of database design, and also allow users who do not have a programming background to use However, even if the programming language cannot be used flexibly, the database fields can be designed in a systematic and intuitive manner provided by this case, so the present invention should be an optimal solution.
本發明透過設定資料結構與自動生成應用程式介面服務資訊的系統,係設置於一電子設備上,而該電子設備有至少一個處理器及至少一個電腦可讀取記錄媒體,該等電腦可讀取記錄媒體儲存有至少一個資料結構欄位設計應用程式,其中該電腦可讀取記錄媒體更進一步儲存有電腦可讀取指令,當由該等處理器執行該等電腦可讀取指令時,導致該電子設備進行下列程序:於已啟動的資料結構欄位設計應用程式中之一使用者介面中,能夠透過設定(輸入、選擇或設定)至少一個資料欄位資訊及至少一個欄位參數資訊,並能夠產生出一應用程式介面服務資訊(Application Programming Interface,API,用於資料傳輸服務之資訊接口)。 The present invention uses a system for setting data structure and automatically generating application programming interface service information, which is set on an electronic device, and the electronic device has at least one processor and at least one computer-readable recording medium, and the computer can read The recording medium stores at least one data structure field design application, wherein the computer-readable recording medium further stores computer-readable instructions, which, when executed by the processors, cause the computer-readable instructions The electronic device performs the following procedures: in a user interface of the activated data structure field design application program, by setting (inputting, selecting or setting) at least one data field information and at least one field parameter information, and Can generate an application programming interface service information (Application Programming Interface, API, information interface for data transmission service).
更具體的說,所述欄位設計應用單元係至少包含:一專案建立模組,用以建立出至少一個或多個專案檔,其中每一個專案檔內容係包含有至少一個資料欄位資訊及至少一個欄位參數資訊;一資料欄位設定模組,係與該專案建立模組相連接,用以設定至少一個或多個資料欄位資訊,以於任一個或任多個專案檔內建立出一新的資料庫欄位;一欄位參數設定模組,係與該資料欄位設定模組相連接,用以設定至少一個或多個欄位參數資訊,以於任一個或任多個專案檔內的資料庫欄位內進行設定其內部的參數定義;一服務產生模組, 係與該專案建立模組相連接,用以將該專案檔之內容產生為至少一個應用程式介面服務資訊(Application Programming Interface,API,用於資料傳輸服務之資訊接口);以及一管理控制介面產生模組,係與該專案建立模組相連接,用以將該專案檔之內容產生為至少一個的使用者控制介面。 More specifically, the field design application unit includes at least: a project creation module for creating at least one or more project files, wherein the content of each project file includes at least one data field information and At least one field parameter information; a data field setting module, which is connected with the project establishment module, is used to set at least one or more data field information to be created in any one or any plurality of project files A new database field is created; a field parameter setting module is connected to the data field setting module, and is used to set at least one or more field parameter information for any one or more The internal parameter definitions are set in the database field in the project file; a service generation module, It is connected with the project establishment module to generate the content of the project file as at least one Application Programming Interface (API, the information interface for data transmission service); and a management control interface is generated The module is connected with the project establishment module, and is used for generating the content of the project file as at least one user control interface.
更具體的說,所述使用者控制介面係能夠儲存於一資料庫儲存設備內,並能夠透過應用程式介面服務資訊連線進入該資料庫儲存設備內,以進行檢視所建立之使用者控制介面。 More specifically, the user control interface can be stored in a database storage device and can be accessed into the database storage device through the API service information connection to view the created user control interface .
更具體的說,所述欄位設計應用單元更包含有一資料程式碼產生模組,其中該資料程式碼產生模組係與該專案建立模組相連接,用以將該專案檔之內容產生為一資料程式碼。 More specifically, the field design application unit further includes a data code generation module, wherein the data code generation module is connected with the project establishment module for generating the content of the project file as a data code.
更具體的說,所述資料程式碼產生模組產生之資料程式碼係為後端資料程式碼或/及前端資料程式碼,該後端資料程式碼係為C語言,而該前端資料程式碼係為Javascript語言。 More specifically, the data code generated by the data code generation module is a back-end data code or/and a front-end data code, the back-end data code is C language, and the front-end data code is It is the Javascript language.
更具體的說,所述服務產生模組能夠產生之應用程式介面服務資訊係能夠為資料讀取應用程式介面服務資訊、資料寫入應用程式介面服務資訊、資料更新應用程式介面服務資訊、資料刪除應用程式介面服務資訊或/及資料欄位資訊應用程式介面服務資訊。 More specifically, the API service information that the service generation module can generate can be data reading API service information, data writing API service information, data updating API service information, and data deletion. API Service Information or/and Data Field Information API Service Information.
更具體的說,所述管理控制介面產生模組能夠產生之使用者控制介面係包含之功能能夠為資料報表、資料檢索、資料匯出及匯入、資料新增、資料修改、資料刪除或/及檔案上傳下載。 More specifically, the user control interface that can be generated by the management control interface generation module includes functions such as data reporting, data retrieval, data export and import, data addition, data modification, data deletion or/or and file upload and download.
更具體的說,所述資料欄位資訊係至少為欄位驗證設定資訊、欄位啟用/關閉資訊、欄位對應API權限設定資訊或/及欄位對應管理介面設定資 訊。 More specifically, the data field information is at least field verification setting information, field enable/disable information, field corresponding API permission setting information or/and field corresponding management interface setting information. News.
更具體的說,所述欄位參數資訊係至少為啟用/關閉資訊、資料存取權限資訊或/及協同存取權限資訊。 More specifically, the field parameter information is at least enable/disable information, data access authority information or/and collaborative access authority information.
1:電子設備 1: Electronic equipment
11:處理器 11: Processor
12:電腦可讀取記錄媒體 12: Computer-readable recording medium
121:資料結構欄位設計應用程式 121: Data Structure Field Design Application
1210:使用者介面管理模組 1210: User Interface Management Module
12101:使用者介面 12101: User Interface
1211:專案建立模組 1211: Project Creation Module
1212:資料欄位設定模組 1212: Data field setting module
1213:欄位參數設定模組 1213: Field parameter setting module
1214:服務產生模組 1214: Service Generation Module
1215:管理控制介面產生模組 1215: Management control interface generation module
1216:資料程式碼產生模組 1216: Data code generation module
2:資料庫儲存設備 2: Database storage device
3:電子裝置 3: Electronic device
[第1圖]係本發明透過設定資料結構與自動生成應用程式介面服務資訊的系統之整體架構示意圖。 [Fig. 1] is a schematic diagram of the overall structure of the system of the present invention through setting the data structure and automatically generating application programming interface service information.
[第2圖]係本發明透過設定資料結構與自動生成應用程式介面服務資訊的系統之資料結構欄位設計應用程式之架構示意圖。 [Fig. 2] is a schematic diagram of the structure of an application program designed through the data structure field of the system for setting the data structure and automatically generating application programming interface service information according to the present invention.
[第3A圖]係本發明透過設定資料結構與自動生成應用程式介面服務資訊的系統之實施應用示意圖。 [Fig. 3A] is a schematic diagram of the implementation and application of the present invention through the system of setting data structure and automatically generating API service information.
[第3B圖]係本發明透過設定資料結構與自動生成應用程式介面服務資訊的系統之實施應用示意圖。 [FIG. 3B] is a schematic diagram of the implementation and application of the present invention through the system of setting data structure and automatically generating API service information.
[第3C圖]係本發明透過設定資料結構與自動生成應用程式介面服務資訊的系統之實施應用示意圖。 [FIG. 3C] is a schematic diagram of the implementation and application of the present invention through the system of setting data structure and automatically generating API service information.
[第3D圖]係本發明透過設定資料結構與自動生成應用程式介面服務資訊的系統之實施應用示意圖。 [FIG. 3D] is a schematic diagram of the implementation and application of the present invention through the system of setting data structure and automatically generating API service information.
[第3E圖]係本發明透過設定資料結構與自動生成應用程式介面服務資訊的系統之實施應用示意圖。 [Fig. 3E] is a schematic diagram of the implementation and application of the present invention through the system of setting data structure and automatically generating API service information.
有關於本發明其他技術內容、特點與功效,在以下配合參考圖式之較佳實施例的詳細說明中,將可清楚的呈現。 Other technical contents, features and effects of the present invention will be clearly presented in the following detailed description of the preferred embodiments with reference to the drawings.
請參閱第1、2圖,為本發明透過設定資料結構與自動生成應用程式介面服務資訊的系統之整體架構示意圖及資料結構欄位設計應用程式之架構示意圖之架構示意圖,由圖中可知,該透過設定資料結構與自動生成應用程式介面服務資訊的系統,係能夠設置於一電子設備1上,而該電子設備1有至少一個處理器11及至少一個電腦可讀取記錄媒體12,該等電腦可讀取記錄媒體12儲存有至少一個資料結構欄位設計應用程式121,其中該電腦可讀取記錄媒體12更進一步儲存有電腦可讀取指令,當由該等處理器11執行該等電腦可讀取指令時,導致該電子設備1進行下列程序:於已啟動的資料結構欄位設計應用程式121中之一使用者介面中,能夠設定至少一個資料欄位資訊及至少一個欄位參數資訊,並能夠產生出一應用程式介面服務資訊(Application Programming Interface,API,用於資料傳輸服務之資訊接口)。
Please refer to Figures 1 and 2, which are the overall architecture diagram of the system for setting data structure and automatically generating application programming interface service information and the architecture diagram of the data structure field design application program. It can be seen from the figures that the A system for setting data structures and automatically generating application programming interface service information can be installed on an
而該電子設備1能夠為一伺服器設備,使用者則能夠透過一個人設備(筆電、桌上型電腦、智慧型手機或是平板電腦)連線上該電子設備1,亦能夠登入一使用者帳號,以透過該資料結構欄位設計應用程式121所提供之使用者介面進行設計該資料結構欄位。
The
因此該資料結構欄位設計應用程式121內部更能夠設置有不同使用者權限的使用者帳號,以提供不同的使用者能夠使用不同的功能,除此之外,每一個被建立的專案檔內容更能夠開放讓多個使用者帳號進行編輯與修改,以提供多人能夠編輯資料結構欄位之功能。
Therefore, the data structure
因此用戶端則能夠透過本案提供的介面化操作及設定資料欄位, 於伺服器端(也就是電子設備1)同步執行資料庫欄位生成,並於邏輯運算端同步自動演算產生應用程式介面服務資訊(Application Programming Interface,API,用於資料傳輸服務之資訊接口)、自動演算產生資料管理控制功能介面、自動演算產生伺服器端與用戶端資料傳輸之對應程式碼。 Therefore, the client can operate and set data fields through the interface provided in this case. The database field generation is performed synchronously on the server side (that is, the electronic device 1), and the automatic calculation is performed synchronously on the logic operation side to generate application programming interface (API, information interface for data transmission services), Automatic calculation generates a data management control function interface, and automatic calculation generates corresponding code for data transmission between the server and the client.
而該資料結構欄位設計應用程式121,如第2圖所示,係至少包含:(1)一使用者介面管理模組1210,用以提供多個使用者介面,讓使用者能夠透過使用者介面進行使用該欄位設計應用單元;(2)一專案建立模組1211,用以建立出至少一個或多個專案檔,其中每一個專案檔內容係包含有至少一個資料欄位資訊及至少一個欄位參數資訊;(3)一資料欄位設定模組1212,係與該專案建立模組相連接,用以設定至少一個或多個資料欄位資訊,以於任一個或任多個專案檔內建立出一新的資料庫欄位,其中該資料欄位資訊係至少為欄位驗證設定資訊、欄位啟用/關閉資訊、欄位對應API權限設定資訊或/及欄位對應管理介面設定資訊;(4)一欄位參數設定模組1213,係與該資料欄位設定模組相連接,用以設定至少一個或多個欄位參數資訊,以於任一個或任多個專案檔內的資料庫欄位內進行設定其內部的參數定義,其中該欄位參數資訊係至少為啟用/關閉資訊、資料存取權限資訊或/及協同存取權限資訊;(5)一服務產生模組1214,係與該專案建立模組相連接,用以將該專案檔之內容自動產生為至少一個應用程式介面服務資訊(Application Programming Interface,API,用於資料傳輸服務之資訊接口),其中該產生之應用程式介面服務資訊係能夠為資料讀取應用程式介面服務資訊、資料寫入應用程式介面服務資訊、資料更新應用程式介面服務資訊、資料刪除應用程式介面服務
資訊或/及資料欄位資訊應用程式介面服務資訊;(6)一管理控制介面產生模組1215,係與該專案建立模組相連接,用以將該專案檔之內容自動產生為至少一個的使用者控制介面,其中該使用者控制介面係能夠儲存於一資料庫儲存設備內,並能夠透過應用程式介面服務資訊連線進入該資料庫儲存設備內,以進行檢視所建立之使用者控制介面,而產生之使用者控制介面係包含之功能能夠為資料報表、資料檢索、資料匯出及匯入、資料新增、資料修改、資料刪除或/及檔案上傳下載;(7)一資料程式碼產生模組1216,係與該專案建立模組相連接,用以將該專案檔之內容自動產生為一資料程式碼,該資料程式碼係為後端資料程式碼或/及前端資料程式碼,該後端資料程式碼係為C語言(C#),而該前端資料程式碼係為Javascript語言。
The data structure
更進一步說明本案所定義之欄位型態與欄位屬性與對應的程式語言,說明如下: To further explain the field type, field attribute and corresponding programming language defined in this case, the description is as follows:
1.欄位型態: 1. Field type:
(1)文字Text string (1) Text Text string
單行文字欄位 single line text field
(2)文字區塊TextArea string (2) Text block TextArea string
多行文字區塊 multiline text block
(3)數字Int int (3) Digital Int int
數字格式欄位 Number format field
(4)是否Bool boolean (4) Whether Bool boolean
布林格式欄位 boolean field
(5)日期Date date (5) Date date
日期格式欄位 date format field
(6)日期時間DateTime datetime (6) Date Time DateTime datetime
日期時間格式欄位 datetime format field
(7)電子信箱Mail string (7) E-mail Mail string
電子信箱格式欄位 Email Format Fields
(8)市話或手機PhoneMobile string (8) Local or mobile PhoneMobile string
市話或手機格式欄位 Local call or mobile phone format field
(9)市話Phone string (9) Local Phone string
市話格式欄位 Local call format field
(10)手機Mobile string (10)Mobile string
手機格式欄位 Mobile phone format field
(11)網址Url string (11) URL Url string
網址格式欄位 URL pattern field
(12)下拉選單DropDownList string (12) DropDownList string
下拉單一選單 drop down menu
(13)多選清單CheckBoxList string[] (13) Multiple selection list CheckBoxList string[]
多選核許框 Multiple choice check box
(14)單選清單RadioButtonList string (14) RadioButtonList string
單選核許框 single check box
(15)上傳檔案UploadFile string|blob (15) Upload file UploadFile string|blob
選取檔案上傳欄位 Select file upload field
(16)上傳圖檔UploadImage string|blob (16) Upload image file UploadImage string|blob
選取檔案上傳欄位 Select file upload field
(17)關聯欄位BindField string|string[] (17) Associated field BindField string|string[]
關聯單元資料 Associated Unit Data
下拉選單|多選核許框|單選核許框 Drop-down menu|Multiple selection check boxes|Single selection check boxes
(18)關聯欄位二階Bind2Field string(value1;value2) (18) Associated field second-order Bind2Field string(value1; value2)
雙關聯單元資料 Double-Associated Unit Data
雙層下拉選單 Double drop down menu
(19)編輯器Editor string|html encode (19) Editor string | html encode
HTML格式編輯器 HTML format editor
(20)隱藏欄位HiddenField string (20) HiddenField string
隱藏欄位 hide field
2.欄位屬性: 2. Field properties:
(1)欄位KEY key string (1) Field KEY key string
欄位識別唯一鍵值;API回傳資料欄位KEY名稱 The field identifies the unique key value; the API returns the data field KEY name
(2)欄位名稱name string (2) Field name name string
單元資料管理欄位名稱;內嵌表單及報表欄位名稱;不可重複 Unit data management field name; embedded form and report field name; not repeatable
(3)資料格式type string|FieldType (3) Data format type string|FieldType
資料欄位型態;詳見欄位型態 Data field type; see Field Types for details
(4)驗證欄位必須填選required Boolean (4) The verification field must be filled with required Boolean
true:驗證|false:不驗證 true: verify | false: do not verify
(5)驗證資料不可重複validExist Boolean (5) The verification data cannot be repeated validExist Boolean
true:驗證|false:不驗證 true: verify | false: do not verify
(6)表單欄位唯讀readOnly Boolean (6) The form field is read-only readOnly Boolean
true:欄位不可輸入|false:欄位可輸入 true: the field cannot be entered | false: the field can be entered
(7)正則表達式驗證regex string (7) Regular expression verification regex string
表單欄位驗證正則表達式 Form Field Validation Regular Expression
(8)表單欄位初始值initValue string (8) The initial value of the form field initValue string
表單欄位預設帶入初始值 Form field default brings in initial value
(9)表單欄位說明remark string (9) Form field description remark string
表單欄位備註說明或提示訊息 Form field remarks or prompts
(10)文字最大長度textMaxLength int (10) The maximum length of text textMaxLength int
表單欄位文字最大長度限制及驗證 Form field text maximum length limit and validation
(11)數字欄位最小值intMini string (11) The minimum value of the digital field intMini string
數字欄位驗證允許最小值 Numeric field validation allows minimum value
(12)數字欄位最大值intMax string (12) The maximum value of the digital field intMax string
數字欄位驗證允許最大值 Number Field Validation Maximum Allowed
(13)選擇欄位項目item json|array[object] (13) Select field item item json|array[object]
欄位型態:下拉選單|多選清單|單選清單 Field Type: Drop-Down Menu | Multiple Choice List | Single Choice List
項目文字text string item text text string
項目值value string item value value string
EX: EX:
[{"text":"農","value":"1"},{"text":"工","value":"2"},{"text":"士","value":"3"},{"text":"商","value":"4"}] [{"text":"Nong","value":"1"},{"text":"Work","value":"2"},{"text":"Scholar","value": "3"},{"text":"quotient","value":"4"}]
(14)關聯欄位設定值bindField json|object (14) Associated field setting value bindField json|object
欄位型態:關聯欄位 Field Type: Associated Field
關聯專案資源識別碼Project_token string Associated project resource identifier Project_token string
關聯單元資源識別碼ProjectUnit_token string Associated unit resource identifier ProjectUnit_token string
關聯單元欄位KEYProjectUnitField_key string Associated unit field KEYProjectUnitField_key string
篩選欄位filterField string filterField filterField string
篩選方式filterFieldType string filter method filterFieldType string
不篩選|等於值|包含值 unfiltered | equal to value | contains value
篩選值filterFieldValue string filter value filterFieldValue string
排序欄位sortField string sort field sortField string
排序方式sortFieldType string Sort by sortFieldType string
項目排序;正序(ASC)|倒序(DESC) Item sorting; positive order (ASC) | reverse order (DESC)
樣式style string style style string
欄位型態:下拉選單|多選清單|單選清單 Field Type: Drop-Down Menu | Multiple Choice List | Single Choice List
EX: EX:
{"Project_token":"8c13e3dbdbad444ba07d4ad154823e0x","ProjectUnit_token":"39580a74845245dab38caf2425121dcx","ProjectUnitField_key":"field_1","filterField":"","filterFieldType":"","filterFieldValue":"","sortField":"field_3","sortFieldType":"ASC","style":"RadioButtonList"} {"Project_token":"8c13e3dbdbad444ba07d4ad154823e0x","ProjectUnit_token":"39580a74845245dab38caf2425121dcx","ProjectUnitField_key":"field_1","filterField":"","filterFieldType":"","filterFieldValue":"","sortField": "field_3", "sortFieldType": "ASC", "style": "RadioButtonList"}
(15)關聯欄位二階設定值bind2Field json|object (15) The second-order setting value of the associated field bind2Field json|object
欄位型態:關聯欄位二階 Field Type: Linked Field Second Order
關聯(1|2)專案資源識別碼 Associated (1|2) project resource identifier
Project1_token string Project1_token string
Project2_token string Project2_token string
關聯(1|2)單元資源識別碼 Associated (1|2) Unit Resource Identifier
ProjectUnit1_token string ProjectUnit1_token string
ProjectUnit2_token string ProjectUnit2_token string
關聯(1|2)單元欄位KEY Associated (1|2) unit field KEY
ProjectUnitField1_key string ProjectUnitField1_key string
ProjectUnitField2_key string ProjectUnitField2_key string
關聯(1|2)篩選欄位 Associated (1|2) filter field
filterField1 string filterField1 string
filterField2 string filterField2 string
關聯(1|2)篩選方式 Association (1|2) filter method
filterField1Type string filterField1Type string
filterField2Type string filterField2Type string
不篩選|等於值|包含值 unfiltered | equal to value | contains value
關聯(1|2)篩選值 Associate (1|2) filter value
filterField1Value string filterField1Value string
filterField2Value string filterField2Value string
關聯(1|2)排序欄位 Associated (1|2) sort field
sortField1 string sortField1 string
sortField2 string sortField2 string
關聯(1|2)排序方式 Association (1|2) Sorting Method
sortField1Type string sortField1Type string
sortField2Type string sortField2Type string
項目排序;正序(ASC)|倒序(DESC) Item sorting; positive order (ASC) | reverse order (DESC)
EX: EX:
{"Project1_token":"8c13e3dbdbad444ba07d4ad154823e0x","ProjectUnit1_token":"39580a74845245dab38caf2425121dcx","Project2_token":"8c13e3dbdbad444ba07d4ad154823e0d","ProjectUnit2_token":"57d70b3c6fae4da48f61ba04bd4ccf7e","ProjectUnit1Field_key":"field_1","ProjectUnit2Field_key":"field_1","filterField1":"","filterField1Type":"","filterField1Value":"","sortField1":"","sortField1Type":"ASC","filterField2":"","filterField2Type":"","filterField2Value":"","sortField2":"","sortField2Type":"ASC"} {"Project1_token":"8c13e3dbdbad444ba07d4ad154823e0x","ProjectUnit1_token":"39580a74845245dab38caf2425121dcx","Project2_token":"8c13e3dbdbad444ba07d4ad154823e0d","ProjectUnit2_token":"57d70b3c6fae4da48f61ba04bd4ccf7e","ProjectUnit1Field_key":"field_1","ProjectUnit2Field_key":"field_1"," filterField1":"","filterField1Type":"","filterField1Value":"","sortField1":"","sortField1Type":"ASC","filterField2":"","filterField2Type":""," filterField2Value":"","sortField2":"","sortField2Type":"ASC"}
(16)上傳檔案欄位設定值file json|object (16) Upload file field setting value file json|object
欄位型態:上傳檔案|上傳圖檔 Field type: upload file | upload image file
檔案最大限制maxSize int file maximum limit maxSize int
欄位驗證上傳檔案大小(MB)及限制 Field Validation Upload File Size (MB) and Limit
預設值0為不限制 The default value of 0 is unlimited
檔案格式限制extension string file format restriction extension string
欄位驗證上傳檔案格式及限制 Field Validation Upload File Format and Restrictions
系統預設及允許可上傳格 System default and allow uploadable format
式:.jpg.jpeg.png.gif.bmp.txt.pdf.doc.docx.xls.xlsx.ppt.pptx Format: .jpg.jpeg.png.gif.bmp.txt.pdf.doc.docx.xls.xlsx.ppt.pptx
EX: EX:
{"maxSize":0,"extension":".jpg.jpeg.png.gif.bmp"} {"maxSize": 0, "extension": ".jpg.jpeg.png.gif.bmp"}
(17)上傳圖檔欄位設定值image json|object (17) Upload image field setting value image json|object
欄位型態:上傳圖檔 Field type: upload image file
圖片固定寬度width int image fixed width width int
欄位驗證上傳圖片等於寬度及限制 Fields verify that the uploaded image is equal to the width and limit
預設值0為不限制 The default value of 0 is unlimited
圖片固定高度height int Image fixed height height int
欄位驗證上傳圖片等於高度及限制 Fields verify that the uploaded image is equal to the height and limit
預設值0為不限制 The default value of 0 is unlimited
圖片最大寬度maxWidth int Image maximum width maxWidth int
欄位驗證上傳圖片允許最大寬度及限制 Field Validation Upload Image Allowed Maximum Width and Limit
預設值0為不限制 The default value of 0 is unlimited
圖片最大高度maxHeight int Image maximum height maxHeight int
欄位驗證上傳圖片允許最大高度及限制 Field validation upload image maximum allowed height and limit
預設值0為不限制 The default value of 0 is unlimited
EX: EX:
{"width":0,"height":0,"maxWidth":0,"maxHeight":0} {"width": 0, "height": 0, "maxWidth": 0, "maxHeight": 0}
(18)欄位排序sort int (18) Column sort sort int
表單欄位順序|報表欄位順序|API回傳資料欄位順序 Form Field Order|Report Field Order|API Return Data Field Order
(19)報表欄位顯示colShow Boolean (19) The report column displays colShow Boolean
true:顯示|false:不顯示 true: show | false: not show
(20)報表欄位寬度colWidth int (20) Report column width colWidth int
預設值0為自動寬度;單位:px The default value of 0 is automatic width; unit: px
(21)報表欄位對稱colAlign string (21) The report field is symmetrical colAlign string
預設值(Center)為置中;設定值:Center|Left|Right The default value (Center) is center; setting value: Center|Left|Right
(22)報表排序方式tbSortType string (22) Report sorting method tbSortType string
報表欄位資料排序;正序(ASC)|倒序(DESC) Report column data sorting; positive order (ASC) | reverse order (DESC)
(23)報表預設排序tbSort Boolean (23) Report preset sorting tbSort Boolean
true:設定報表欄位資料排序|false:不設定報表欄位資料排序 true: Set report field data sorting | false: Do not set report field data sorting
(24)報表排序優先tbSortPriority int (24) Report sorting priority tbSortPriority int
報表欄位資料排序設定優先順序 Report field data sorting set priority order
(25)允許API寫入apiAdd Boolean (25) Allow API to write apiAdd Boolean
true:允許|false:不允許 true: allowed | false: not allowed
(26)允許API修改apiUpdate Boolean (26) Allow API to modify apiUpdate Boolean
true:允許|false:不允許 true: allowed | false: not allowed
(27)允許API讀取apiRead Boolean (27) Allow API to read apiRead Boolean
true:允許|false:不允許 true: allowed | false: not allowed
(28)允許API刪除apiDelete Boolean (28) Allow API to delete apiDelete Boolean
true:允許|false:不允許 true: allowed | false: not allowed
(29)欄位啟用enable Boolean (29) field enable enable Boolean
true:啟用|false:停用 true: enable | false: disable
而當透過一電子裝置3連線上該電子設備1後,則能夠於使用者介面12101上進行操作,之後先登入一帳號以登入本案之系統,之後必須先開啟一專案檔(同時必須連線進入資料庫儲存設備2或是直接使用本地的裝置作為資料
庫欄位儲存位置),再如第3A圖所示,則能夠於該專案檔內進行參數設定(是否允許API連線、允許連線API時效、API驗證Captcha、是否後台顯示資料新建時間、是否後台顯示資料修改時間、是否後台顯示最後修改人員、是否後台顯示資料鍵值、是否協作管理、是否啟用、備註內容);之後,則能夠進一步進行欄位設計,如第3B圖所示,於此處則能夠依據使用者需求來進行編輯與新增(可編輯與新增內容為:欄位KEY名、欄位名稱、欄位排列順序、資料格式、欄位是否必須填選、表單欄位是否必填、資料是否不可重複、表單欄位是否唯讀、報表欄位是否顯示、報表欄位樣式、報表排列方式、報表是否預設排序、報表排序優先、是否允許API讀取、是否允許API寫入、是否允許API修改、是否允許API刪除、是否啟用欄位、是否刪除欄位);而每一個欄位的編輯,如第3C圖所示,能夠依據輸入與修改,而修改完成之後,則能夠顯示於如第3B圖中的畫面中。
And when the
而當參數設定與欄位設計完成後,則會產生API資訊(如第3D圖所示)及使用者控制介面(如第3E圖所示),其中包含了API金鑰、API位址(讀取多筆資料、讀取單筆資料、新增單筆資料、修改單筆資料、刪除單筆資料、欄位資料,圖中霧化的區域是代表資料庫儲存的位址)及Captcha圖文位址,其中API位址內能夠產生Javascript範例、C#範例,而該Captcha圖文位址處更能夠下載SQL結構、SQL結構及資料,另外當點擊API位址內的資料報表、可查閱單筆資料報表、空白表單、可編輯資料報表、可刪除資料報表後,則能夠呈現出來相對應的資料管理控制功能介面。 When the parameter setting and field design are completed, the API information (as shown in Figure 3D) and the user control interface (as shown in Figure 3E) will be generated, including the API key, API address (read Get multiple data, read single data, add single data, modify single data, delete single data, field data, the fogged area in the picture represents the address of database storage) and Captcha graphics Javascript sample and C# sample can be generated in the API address, and the Captcha image and text address can download the SQL structure, SQL structure and data. In addition, when you click on the data report in the API address, you can view a single transaction After the data report, blank form, editable data report, and delete data report, the corresponding data management control function interface can be presented.
另外,透過本案之系統,用戶端透過應用程式介面服務資訊 (Application Programming Interface,API)或資料管理控制介面,可即時傳送資料或媒體檔案至伺服器端資料庫及儲存體,亦可即時存取伺服器端之資料及檔案。 In addition, through the system in this case, the client serves information through the application programming interface (Application Programming Interface, API) or data management control interface, which can transmit data or media files to the server-side database and storage in real time, and can also access the server-side data and files in real time.
另外,透過本案之系統,用戶端與伺服器端資料及檔案傳輸等相關安全存取權限及資料驗證,亦透過用戶端介面化操作及設定資料欄位,於伺服器端根據使用者端設定參數進行即時邏輯演算處理。 In addition, through the system of this case, the security access authority and data verification related to data and file transmission between the client and the server are also operated and set through the user interface, and the parameters are set on the server according to the user. Perform real-time logical calculus processing.
本發明所提供之透過設定資料結構與自動生成應用程式介面服務資訊的系統,與其他習用技術相互比較時,其優點如下: Compared with other conventional technologies, the system provided by the present invention through setting data structure and automatically generating application programming interface service information has the following advantages:
(1)本發明能夠因應用戶端客製化資料結構籍資料的常態異動,提供更具人性化之用戶端可自行設計資料欄位結構參數介面,自動產生應用程式介面服務資訊(Application Programming Interface,API,用於資料傳輸服務之資訊接口),以及自動產生資料管理控制功能介面,並自動產生對應程式碼提供應用程式開發端更有效率的開發整合應用。 (1) The present invention can respond to the normal changes of the customized data structure and data of the user terminal, and provide a more user-friendly user terminal that can design the data field structure parameter interface by itself, and automatically generate the application programming interface service information (Application Programming Interface, API, information interface for data transmission service), and automatically generate data management control function interface, and automatically generate corresponding code to provide application development side with more efficient development and integration of applications.
(2)本發明能夠透過自動產生之應用程式介面服務資訊(Application Programming Interface,API,用於資料傳輸服務之資訊接口)或資料管理控制介面,用戶端可將接收之資料及其媒體檔案串流,儲存於伺服器端資料庫及儲存體中。 (2) The present invention can stream the received data and its media files through the automatically generated Application Programming Interface (API, the information interface for data transmission services) or the data management control interface. , stored in the server-side database and storage.
(3)本發明能夠將已存放在伺服器資料庫及儲存體中的資料檔案,自動產生應用程式介面服務資訊(Application Programming Interface,API,用於資料傳輸服務之資訊接口)或透過資料管理控制介面進行資料轉匯產生。 (3) The present invention can automatically generate application programming interface service information (Application Programming Interface, API, the information interface for data transmission services) of the data files that have been stored in the server database and storage body, or control the data through data management Interface for data transfer generation.
(4)本發明能夠讓用戶端可自行設計資料欄位及設定欄位型態,並設定欄位 相關參數,包含資料驗證、資料存取及變更權限、資料管理控制介面設定,簡單且快速地建構資料管理功能介面,自動化生成API服務。 (4) The present invention enables the client to design the data field and set the field type by itself, and set the field Related parameters, including data authentication, data access and change permissions, data management control interface settings, simple and fast construction of data management function interface, automatic generation of API services.
本發明已透過上述之實施例揭露如上,然其並非用以限定本發明,任何熟悉此一技術領域具有通常知識者,在瞭解本發明前述的技術特徵及實施例,並在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之請求項所界定者為準。 The present invention has been disclosed above through the above-mentioned embodiments, but it is not intended to limit the present invention. Anyone familiar with this technical field with ordinary knowledge can understand the aforementioned technical features and embodiments of the present invention without departing from the present invention. Within the spirit and scope, some changes and modifications may be made, so the scope of patent protection of the present invention shall be determined by the claims attached to this specification.
1:電子設備 1: Electronic equipment
11:處理器 11: Processor
12:電腦可讀取記錄媒體 12: Computer-readable recording medium
121:資料結構欄位設計應用程式 121: Data Structure Field Design Application
2:資料庫儲存設備 2: Database storage device
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110112191A TWI767644B (en) | 2021-04-01 | 2021-04-01 | System for setting data structure and automatically generating application programming interface service information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110112191A TWI767644B (en) | 2021-04-01 | 2021-04-01 | System for setting data structure and automatically generating application programming interface service information |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI767644B true TWI767644B (en) | 2022-06-11 |
TW202240376A TW202240376A (en) | 2022-10-16 |
Family
ID=83103816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110112191A TWI767644B (en) | 2021-04-01 | 2021-04-01 | System for setting data structure and automatically generating application programming interface service information |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI767644B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20240118942A (en) * | 2023-01-27 | 2024-08-06 | 주식회사 에이아이노미스 | Method and system for controlling interface generating application based on artificial intelligence |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201636874A (en) * | 2015-04-01 | 2016-10-16 | Chunghwa Telecom Co Ltd | Automatic generating system and method for system interface |
US20200364033A1 (en) * | 2019-05-17 | 2020-11-19 | Google Llc | API Specification Generation |
CN112068841A (en) * | 2020-09-09 | 2020-12-11 | 上海万向区块链股份公司 | Method and system for automatically generating project flow document |
TW202107276A (en) * | 2019-08-05 | 2021-02-16 | 英商Arm股份有限公司 | Data structure processing |
-
2021
- 2021-04-01 TW TW110112191A patent/TWI767644B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201636874A (en) * | 2015-04-01 | 2016-10-16 | Chunghwa Telecom Co Ltd | Automatic generating system and method for system interface |
US20200364033A1 (en) * | 2019-05-17 | 2020-11-19 | Google Llc | API Specification Generation |
TW202107276A (en) * | 2019-08-05 | 2021-02-16 | 英商Arm股份有限公司 | Data structure processing |
CN112068841A (en) * | 2020-09-09 | 2020-12-11 | 上海万向区块链股份公司 | Method and system for automatically generating project flow document |
Also Published As
Publication number | Publication date |
---|---|
TW202240376A (en) | 2022-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12079357B2 (en) | Multi-user access controls in electronic simultaneously editable document editor | |
US12099794B2 (en) | Document architecture with fragment-driven role based access controls | |
US11775666B2 (en) | Federated redaction of select content in documents stored across multiple repositories | |
EP2260413B1 (en) | Web content management | |
US8392875B2 (en) | Content management framework for use with a system for application development | |
US7743071B2 (en) | Efficient data handling representations | |
US20030154191A1 (en) | Logical data modeling and integrated application framework | |
US7720831B2 (en) | Handling multi-dimensional data including writeback data | |
US20080263142A1 (en) | Meta Data Driven User Interface System and Method | |
US8788533B2 (en) | Read access logging | |
US20080263018A1 (en) | Method and System for Mapping Business Objects to Relational Database Tables | |
TWI767644B (en) | System for setting data structure and automatically generating application programming interface service information | |
US20240256576A1 (en) | Data processing system with manipulation of logical dataset groups | |
US8538980B1 (en) | Accessing forms using a metadata registry | |
CN112257005A (en) | Form component generation method and device | |
JP2024504564A (en) | Techniques for managing data in data processing systems using data entities and inheritance | |
CN113868344A (en) | Construction system, method and device for power application, server and storage medium | |
KR20020066151A (en) | Spatial information distributing system based on open gis and method thereof | |
Woodall et al. | A cloud-based system for scraping data from amazon product reviews at scale | |
CN112631574A (en) | Front-end visual development platform based on JavaWeb | |
US12045562B1 (en) | Dynamically generating shared spreadsheets according to user references in spreadsheet data | |
US20240378308A1 (en) | Multi-user access controls in electronic simultaneously editable document editor | |
US20240214384A1 (en) | Handling collaboration and governance activities throughout the lifecycle of auto-generated content objects | |
US20240211617A1 (en) | Third party resolution of template parameters during automated document generation processing | |
US20240146769A1 (en) | Systems and methods for managing privileges in a data processing system |