TWM643151U - Data format conversion system - Google Patents
Data format conversion system Download PDFInfo
- Publication number
- TWM643151U TWM643151U TW112203977U TW112203977U TWM643151U TW M643151 U TWM643151 U TW M643151U TW 112203977 U TW112203977 U TW 112203977U TW 112203977 U TW112203977 U TW 112203977U TW M643151 U TWM643151 U TW M643151U
- Authority
- TW
- Taiwan
- Prior art keywords
- data format
- module
- information
- database
- format conversion
- Prior art date
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 66
- 238000010586 diagram Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 238000004801 process automation Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Communication Control (AREA)
Abstract
Description
本新型創作是有關於一種格式轉換系統,且特別是有關於一種資料格式轉換系統。The present invention relates to a format conversion system, and in particular to a data format conversion system.
銀行行員經常於作業中需利用流程機器人(Robotic Process Automation,RPA)至不同的網站通過輸入各種指令或請求來查詢各種資料,例如為客戶開戶時需查詢客戶的統編或最新的身份資訊等資料。Bank clerks often need to use Robotic Process Automation (RPA) to go to different websites to query various information by inputting various instructions or requests during operation. .
傳統端末系統在執行查詢等操作時會自動對查詢指令、查詢結果甚至是查詢者的身份等資料進行儲存,隨著端末系統-RPA的應用頻繁,對於資料保存年限的需求,磁碟空間的需求更是與日俱增。而傳統端末系統通常會使用CLOB資料格式對查詢指令、查詢結果等資料進行儲存,此種使用CLOB資料格式儲存資料的方式在儲存相同資訊的情況下,資料較為龐大,即便是對資料進行壓縮儲存,仍然極占儲存空間,不僅造成儲存磁碟的空間的濫用,而且對儲存磁碟也比較耗損。Traditional terminal systems will automatically store query instructions, query results, and even the identity of the queryer when performing operations such as queries. With the frequent application of terminal system-RPA, the demand for data storage years and disk space requirements It is increasing day by day. Traditional terminal systems usually use the CLOB data format to store data such as query commands and query results. This method of storing data in the CLOB data format is relatively large in the case of storing the same information, even if the data is compressed and stored. , still occupies a lot of storage space, which not only causes the abuse of the storage disk space, but also consumes the storage disk.
本新型創作提供一種資料格式轉換系統,可實現JSON和XML資料格式間的互相轉換。This new creation provides a data format conversion system that can realize mutual conversion between JSON and XML data formats.
本新型創作的一種資料格式轉換系統,包括收發器、儲存媒體以及處理器。儲存媒體用以儲存多個模組以及資料庫。處理器耦接至儲存媒體以及收發器,處理器存取並執行儲存媒體所儲存的輸入模組、擷取模組、格式轉換模組、儲存模組以及資料庫。輸入模組與資料庫電性連接,輸入模組用以供使用者輸入指令以執行操作,並且將與指令對應的資訊以第一資料格式儲存至資料庫,其中第一資料格式包括至少一標籤。擷取模組與資料庫電性連接,用以依據指令擷取與指令對應的資訊。格式轉換模組與擷取模組電性連接,用以依據至少一標籤將資訊由第一資料格式轉換為第二資料格式,其中第二資料格式包括至少一標籤。儲存模組分別與格式轉換模組以及資料庫電性連接,用以將轉換為第二資料格式的資訊儲存至資料庫。A data format conversion system created by the invention includes a transceiver, a storage medium and a processor. The storage medium is used for storing multiple modules and databases. The processor is coupled to the storage medium and the transceiver. The processor accesses and executes the input module, capture module, format conversion module, storage module and database stored in the storage medium. The input module is electrically connected to the database, and the input module is used for the user to input instructions to perform operations, and stores information corresponding to the instructions in the database in a first data format, wherein the first data format includes at least one label . The retrieval module is electrically connected with the database, and is used to retrieve information corresponding to the instruction according to the instruction. The format conversion module is electrically connected with the capture module, and is used for converting information from a first data format to a second data format according to at least one tag, wherein the second data format includes at least one tag. The storage module is electrically connected with the format conversion module and the database respectively, and is used for storing the information converted into the second data format into the database.
在本新型創作的一實施例中,上述的資料格式轉換系統,其中第一資料格式為XML(Extensible Markup Language)資料格式,第二資料格式為JSON(JavaScript Object Notation)資料格式。In an embodiment of the present invention, in the above-mentioned data format conversion system, the first data format is XML (Extensible Markup Language) data format, and the second data format is JSON (JavaScript Object Notation) data format.
在本新型創作的一實施例中,上述的資料格式轉換系統,其中第一資料格式為JSON(JavaScript Object Notation)資料格式,第二資料格式為XML(Extensible Markup Language)資料格式。In an embodiment of the present invention, in the above-mentioned data format conversion system, the first data format is JSON (JavaScript Object Notation) data format, and the second data format is XML (Extensible Markup Language) data format.
在本新型創作的一實施例中,上述的資料格式轉換系統,其中該些模組更包括登入模組,分別與輸入模組以及資料庫電性連接,用以供使用者登入資料格式轉換系統,並且儲存使用者的身份資訊至資料庫。In an embodiment of the new creation, the above-mentioned data format conversion system, wherein the modules further include a login module, which are respectively electrically connected to the input module and the database for users to log into the data format conversion system , and save the user's identity information to the database.
在本新型創作的一實施例中,上述的資料格式轉換系統,其中指令為查詢指令,與指令對應的資訊至少包括使用者的身份資訊、查詢指令以及依據查詢指令查詢的查詢結果資訊。 在本新型創作的一實施例中,上述的資料格式轉換系統,其中格式轉換模組依據至少一標籤將資訊由第一資料格式轉換為第二資料格式的操作中更包括:格式轉換模組依據至少一標籤將資訊分割為多個子資訊,並且將該些子資訊分別搬移至第二資料格式中與至少一標籤對應的區域。 In an embodiment of the new creation, in the above-mentioned data format conversion system, the command is a query command, and the information corresponding to the command includes at least the user's identity information, the query command, and the query result information queried according to the query command. In an embodiment of the new creation, in the above-mentioned data format conversion system, the operation of converting the information from the first data format to the second data format by the format conversion module according to at least one tag further includes: the format conversion module according to The at least one tag divides the information into a plurality of sub-information, and moves the sub-information to the area corresponding to the at least one tag in the second data format.
基於上述,本新型創作提供一種資料格式轉換系統,可實現JSON和XML資料格式間的互相轉換,可以將同一份資料轉換為輕量的JSON格式來傳遞資料,也可依據需求將JSON格式的資料轉換為XML格式的資料儲存於資料庫中,以提供資料的重複使用性,並且儲存空間較小,減少對儲存磁碟的耗損。Based on the above, this new creation provides a data format conversion system, which can realize mutual conversion between JSON and XML data formats, and can convert the same data into lightweight JSON format to transmit data, and can also convert JSON format data according to requirements The data converted into XML format is stored in the database to provide data reusability, and the storage space is small to reduce the consumption of the storage disk.
為讓本揭露的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present disclosure more comprehensible, the following specific embodiments are described in detail together with the accompanying drawings.
圖1是依照本新型創作的一實施例的資料格式轉換系統的示意圖。FIG. 1 is a schematic diagram of a data format conversion system according to an embodiment of the invention.
請參照圖1,本揭露一實施例的資料格式轉換系統10包括處理器110、儲存媒體120以及收發器130。Referring to FIG. 1 , a data
收發器130以無線或有線的方式傳送及接收訊號。收發器130還可以執行例如低噪聲放大、阻抗匹配、混頻、向上或向下頻率轉換、濾波、放大以及類似的操作。The
儲存媒體120用以儲存資料格式轉換系統10運行時所需的各項軟體、資料及各類程式碼。儲存媒體120例如是任何型態的固定式或可移動式的隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)、硬碟(hard disk drive,HDD)、固態硬碟(solid state drive,SSD)或類似元件或上述元件的組合,而用於儲存可由處理器110執行的多個模組或各種應用程式。在一實施例中,儲存媒體120可儲存登入模組1201、輸入模組1202、擷取模組1203、格式轉換模組1204、儲存模組1205以及資料庫1206。The
登入模組1201、輸入模組1202、擷取模組1203、格式轉換模組1204、儲存模組1205可透過軟體、韌體、硬體電路的其中之一或其任意組合來實作,且本揭露不對登入模組1201、輸入模組1202、擷取模組1203、格式轉換模組1204、儲存模組1205的實作方式作出限制。The
處理器110例如是中央處理單元(central processing unit,CPU),或是其他可程式化之一般用途或特殊用途的微控制單元(micro control unit,MCU)、微處理器(microprocessor)、數位信號處理器(digital signal processor,DSP)、可程式化控制器、特殊應用積體電路(application specific integrated circuit,ASIC)、圖形處理器(graphics processing unit,GPU)、影像訊號處理器(image signal processor,ISP)、影像處理單元(image processing unit,IPU)、算數邏輯單元(arithmetic logic unit,ALU)、複雜可程式邏輯裝置(complex programmable logic device,CPLD)、現場可程式化邏輯閘陣列(field programmable gate array,FPGA)或其他類似元件或上述元件的組合。處理器110可耦接至儲存媒體120以及收發器130,並且存取和執行儲存於儲存媒體120中的各種應用程式以及儲存媒體120所儲存的登入模組1201、輸入模組1202、擷取模組1203、格式轉換模組1204、儲存模組1205以及資料庫1206。The
其中,登入模組1201分別與輸入模組1202以及資料庫1206電性連接,用以供使用者登入資料格式轉換系統10,並且儲存使用者的身份資訊至資料庫1206。Wherein, the
輸入模組1202與資料庫1206電性連接,輸入模組1202用以供使用者輸入指令以執行操作,並且將與指令對應的資訊以第一資料格式儲存至資料庫1206,其中第一資料格式包括至少一標籤。在一實施例中,標籤201可以是EMPLOYEES或USER,本新型創作並不以此為限。於一實施例中,使用者可利用流程機器人(Robotic Process Automation,RPA)至不同的網站通過輸入各種指令來查詢各種資料,例如為客戶開戶時需查詢客戶的統編或最新的身份資訊等資料。The
擷取模組1203與資料庫1206電性連接,用以依據指令擷取與指令對應的資訊。在一實施例中,指令為查詢指令,與指令對應的資訊可包括使用者的身份資訊、查詢指令以及依據查詢指令查詢的查詢結果資訊。本新型創作並不以此為限。The
格式轉換模組1204與擷取模組1203電性連接,用以依據至少一標籤將資訊由第一資料格式轉換為第二資料格式,其中第二資料格式包括至少一標籤。在一實施例中,標籤201可以是EMPLOYEES或USER,本新型創作並不以此為限。具體而言,格式轉換模組1204依據至少一標籤將資訊分割為多個子資訊,並且將該些子資訊分別搬移至第二資料格式中與至少一標籤對應的區域。The
儲存模組1205分別與格式轉換模組1204以及資料庫1206電性連接,用以將轉換為第二資料格式的資訊儲存至資料庫1206。在一實施例中,第一資料格式為XML(Extensible Markup Language)資料格式,第二資料格式為JSON(JavaScript Object Notation)資料格式。在另一實施例中,第一資料格式為JSON(JavaScript Object Notation)資料格式,第二資料格式為XML(Extensible Markup Language)資料格式。本新型創作並不以此為限。The
圖2是依照本新型創作的一實施例的資料格式轉換方法的流程圖。FIG. 2 is a flowchart of a data format conversion method according to an embodiment of the invention.
請參考圖2,於步驟201中,使用者登入資料格式轉換系統10,並且儲存使用者的身份資訊至資料庫1206。Please refer to FIG. 2 , in
於步驟202中,使用者經由輸入模組1202輸入指令以執行操作,並且將與指令對應的資訊以第一資料格式儲存至資料庫1206,其中第一資料格式包括至少一標籤。In
於步驟203中,經由擷取模組1203依據指令至資料庫1206中擷取與指令對應的資訊。In
於步驟204中,經由格式轉換模組1204依據至少一標籤將資訊由第一資料格式轉換為第二資料格式,其中第二資料格式包括至少一標籤。具體而言,格式轉換模組1204依據標籤將資訊分割為多個子資訊,並且將子資訊分別搬移至第二資料格式中與標籤對應的區域。In
於步驟205中,經由儲存模組1205將轉換為第二資料格式的資訊儲存至資料庫1206中。In step 205 , the information converted into the second data format is stored in the
以下結合圖3 圖4中的第一至第二實施例說明資料格式轉換系統10如何進行資料格式轉換。The following describes how the data
圖3是依照本新型創作的一第一實施例的資料格式轉換的示意圖。FIG. 3 is a schematic diagram of data format conversion according to a first embodiment of the invention.
請參考圖3所示,為資料格式轉換系統10將XML格式的資料轉換為JSON格式的資料的第一實施例。Please refer to FIG. 3 , which is a first embodiment of converting data in XML format into data in JSON format by the data
其中標籤201為EMPLOYEES,標籤202為USER,舉例而言,資料格式轉換系統10依據標籤202將區域203中XML格式的子資訊對應搬移至與標籤202對應的區域204中,以此類推搬移其他區域的子資訊,從而將XML格式的資料轉換為JSON格式的資料。The
圖4是依照本新型創作的一第二實施例的資料格式轉換的示意圖。FIG. 4 is a schematic diagram of data format conversion according to a second embodiment of the invention.
請參考圖4所示,為資料格式轉換系統10將XML格式的資料轉換為JSON格式的資料的第一實施例。Please refer to FIG. 4 , which is a first embodiment of converting data in XML format into data in JSON format by the data
其中標籤201為EMPLOYEES,標籤202為USER,舉例而言,資料格式轉換系統10依據標籤202將區域203中XML格式的子資訊對應搬移至與標籤202對應的區域204中,以此類推搬移其他區域的子資訊,從而將XML格式的資料轉換為JSON格式的資料。The
相反地,使用者也可依據需求將JSON格式的資料轉換為XML格式的資料,以便於對資料進行儲存。資料格式轉換系統10依據標籤202將區域204中JSON格式的子資訊對應搬移至與標籤202對應的區域203中,以此類推搬移其他區域的子資訊,從而將JSON格式的資料轉換為XML格式的資料。Conversely, the user can also convert the data in JSON format to XML format data according to the requirement, so as to store the data. The data
於上述實施例中,由於儲存相同資訊的JSON格式的資料的資料量較小,佔據的儲存磁碟的空間也較小,較為節省儲存磁碟的空間。而相較於輕量的JSON格式的資料,XML格式的資料更便於儲存。In the above-mentioned embodiment, since the data volume of the JSON format data storing the same information is small, the space occupied by the storage disk is also small, which saves the space of the storage disk. Compared with data in lightweight JSON format, data in XML format is easier to store.
基於上述,本新型創作提供一種資料格式轉換系統,可實現JSON和XML資料格式間的互相轉換,可以將同一份資料轉換為輕量的JSON格式來傳遞資料,也可依據需求將JSON格式的資料轉換為XML格式的資料儲存於資料庫中,以提供資料的重複使用性,並且儲存空間較小,減少對儲存磁碟的耗損。Based on the above, this new creation provides a data format conversion system, which can realize mutual conversion between JSON and XML data formats, and can convert the same data into lightweight JSON format to transmit data, and can also convert JSON format data according to requirements The data converted into XML format is stored in the database to provide data reusability, and the storage space is small to reduce the consumption of the storage disk.
雖然本揭露已以實施例揭露如上,然其並非用以限定本揭露,任何所屬技術領域中具有通常知識者,在不脫離本揭露的精神和範圍內,當可作些許的更動與潤飾,故本揭露的保護範圍當視後附的申請專利範圍所界定者為準。Although the present disclosure has been disclosed above with embodiments, it is not intended to limit the present disclosure. Anyone with ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present disclosure. The scope of protection of this disclosure should be defined by the scope of the appended patent application.
10:資料格式轉換系統
110:處理器
120:儲存媒體
130:收發器
1201:登入模組
1202:輸入模組
1203:擷取模組
1204:格式轉換模組
1205:儲存模組
1206:資料庫
201、202:標籤
203、204:區域
S201、S202、S203、S204、S205:步驟
10: Data format conversion system
110: Processor
120: storage media
130: Transceiver
1201: Login module
1202: input module
1203: Capture module
1204: format conversion module
1205: storage module
1206:
圖1是依照本新型創作的一實施例的資料格式轉換系統的示意圖。 圖2是依照本新型創作的一實施例的資料格式轉換方法的流程圖。 圖3是依照本新型創作的一第一實施例的資料格式轉換的示意圖。 圖4是依照本新型創作的一第二實施例的資料格式轉換的示意圖。 FIG. 1 is a schematic diagram of a data format conversion system according to an embodiment of the invention. FIG. 2 is a flowchart of a data format conversion method according to an embodiment of the invention. FIG. 3 is a schematic diagram of data format conversion according to a first embodiment of the invention. FIG. 4 is a schematic diagram of data format conversion according to a second embodiment of the invention.
10:資料格式轉換系統 10: Data format conversion system
110:處理器 110: Processor
120:儲存媒體 120: storage media
130:收發器 130: Transceiver
1201:登入模組 1201: Login module
1202:輸入模組 1202: input module
1203:擷取模組 1203: Capture module
1204:格式轉換模組 1204: format conversion module
1205:儲存模組 1205: storage module
1206:資料庫 1206: database
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112203977U TWM643151U (en) | 2023-04-26 | 2023-04-26 | Data format conversion system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112203977U TWM643151U (en) | 2023-04-26 | 2023-04-26 | Data format conversion system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| TWM643151U true TWM643151U (en) | 2023-06-21 |
Family
ID=87805230
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW112203977U TWM643151U (en) | 2023-04-26 | 2023-04-26 | Data format conversion system |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWM643151U (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI872521B (en) * | 2023-04-26 | 2025-02-11 | 兆豐國際商業銀行股份有限公司 | Data format conversion system and method |
-
2023
- 2023-04-26 TW TW112203977U patent/TWM643151U/en unknown
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI872521B (en) * | 2023-04-26 | 2025-02-11 | 兆豐國際商業銀行股份有限公司 | Data format conversion system and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101922762B1 (en) | Methods and devices for programming a state machine engine | |
| WO2020000719A1 (en) | Data processing method and apparatus of report system, and computer-readable storage medium | |
| US10120916B2 (en) | In-querying data cleansing with semantic standardization | |
| CN116383238B (en) | Data virtualization system, method, device, equipment and medium based on graph structure | |
| US11500826B2 (en) | System for translating data, extracted from disparate datasources, based on a defined metadata and schema | |
| JP2020524853A (en) | Parallel computing offload for database accelerators | |
| CN112508720A (en) | Insurance client identity attribute screening method and screening device and electronic equipment | |
| CN116561077A (en) | dbf file importing method, device, equipment and storage medium | |
| CN114925101A (en) | Data processing method, device, storage medium and electronic device | |
| TWM643151U (en) | Data format conversion system | |
| CN113407565B (en) | Cross-database data query method, device and equipment | |
| CN107590248B (en) | Search method, search device, search terminal and computer-readable storage medium | |
| CN108140022A (en) | Data query method and database system | |
| TWI872521B (en) | Data format conversion system and method | |
| US10114907B2 (en) | Query processing for XML data using big data technology | |
| CN112860802B (en) | Database operation statement processing method and device and electronic equipment | |
| CN109542912B (en) | Interval data storage method, device, server and storage medium | |
| CN112506490A (en) | Interface generation method and device, electronic equipment and storage medium | |
| CN109101641B (en) | Form processing method, device, system and medium | |
| CN112632170A (en) | SQL-based data processing method, device and equipment | |
| CN111897793A (en) | Data import method, apparatus, electronic device and computer-readable storage medium | |
| CN115858797A (en) | Method and system for generating Chinese near-meaning words based on OCR technology | |
| US20150134676A1 (en) | Amorphous data query formulation | |
| US20220138186A1 (en) | Data set acquisition method, terminal device and computer readable storage medium | |
| CN120973837B (en) | A database adaptation method, apparatus, electronic device, and storage medium |