TW201709126A - Device, method and computer program product of open platform for mobile stock - Google Patents
Device, method and computer program product of open platform for mobile stock Download PDFInfo
- Publication number
- TW201709126A TW201709126A TW104127110A TW104127110A TW201709126A TW 201709126 A TW201709126 A TW 201709126A TW 104127110 A TW104127110 A TW 104127110A TW 104127110 A TW104127110 A TW 104127110A TW 201709126 A TW201709126 A TW 201709126A
- Authority
- TW
- Taiwan
- Prior art keywords
- interface
- model
- stock
- data
- market
- Prior art date
Links
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本發明是關於一種運用於行動通訊裝置的股票行情交易應用軟體開發技術,特別是關於一種行動股票開放平台裝置與方法及其電腦程式產品。 The invention relates to a stock market trading application software development technology applied to a mobile communication device, in particular to an action stock open platform device and method and a computer program product thereof.
現今行動裝置之股票報價或交易系統並未採用開放式應用程式介面(OPEN API,Open Application Programming Interface)架構技術進行軟體開發,也未將資料處理較複雜的底層部份以軟體封裝技術包裏成易於調用的函式庫,僅以單一應用程式包含使用者介面及股票行情相關資訊處理。若面臨客製化的問題,因缺乏OPEN API架構技術使得軟體開發廠商在無法保護原始碼的情況下不可能開放其他廠商介入修改或調整該應用程式,而一家開發廠商也疲於應付眾多客製化應用程式版本的維護與更新。 Today's mobile device stock quotes or trading systems do not use the open application programming interface (OPEN API) architecture technology for software development, nor do the underlying parts of the data processing complex are packaged in software package technology. An easy-to-call library that only handles user interface and stock market related information in a single application. If faced with the problem of customization, the lack of OPEN API architecture technology makes it impossible for software developers to open other vendors to modify or adjust the application without protecting the source code, and a developer is also struggling to cope with many custom systems. Maintenance and update of the application version.
中華民國發明專利公開號200910247之「證券資訊服務系統及方法」,揭露一種證券資訊服務系統及方法,該系統係包括有:一證券資訊模組、一交易紀錄模組及一資訊服務模組。證券資訊模組係用以接受來自外界至少一證券資訊來源的複數筆證券資訊。交易紀錄模組係用以接受來自外界至少一券商所提供的複數筆交易紀錄。資訊服務模組係用以接受 來自外界一用戶所提供的至少一用戶選擇,且依據該用戶選擇而自該複數筆證券資訊以及該複數筆交易紀錄中整理出一統合資料,並將該統合資料的所有內容同時呈現給用戶觀看,其中,該證券資訊係為下列其中之一:即時訊息及證券資料;該證券資料係包含下列至少其中之一:技術指標資料、基本資料及財務報。此先前技術實際解決的技術問題是“習知的使用者裝置的畫面上一次僅顯示單一資料來源的資訊,使用者如果想參考來自另一資料來源的資訊,必須自行再從裝置上的其他畫面去尋找與過濾出想獲知的訊息。”(見其說明書第[0004]段)。而此先前技術所產生的技術效果則為“藉由在用戶端同時呈現來自不同資料來源的一統合資料,並依據統合資料產生建議買賣參考價,以輔助用戶判斷證券的最佳買賣時機”。 The "Securities Information Service System and Method" of the Republic of China Patent Publication No. 200910247 discloses a securities information service system and method. The system includes a securities information module, a transaction record module and an information service module. The securities information module is used to receive a plurality of securities information from at least one securities information source. The transaction record module is used to accept multiple transaction records provided by at least one broker from the outside world. Information service module is accepted At least one user selection provided by a user from the outside world, and according to the user selection, a unified data is compiled from the plurality of securities information and the plurality of transaction records, and all contents of the integrated data are simultaneously presented to the user for viewing. The securities information is one of the following: instant messaging and securities information; the securities information includes at least one of the following: technical indicators, basic information and financial reports. The technical problem actually solved by this prior art is that "the screen of the conventional user device only displays the information of a single data source at a time. If the user wants to refer to the information from another data source, the user must re-use the other information on the device. Look for and filter out the message you want to know." (see paragraph [0004] of the manual). The technical effect produced by this prior art is "by simultaneously presenting a unified data from different sources on the user side and generating a suggested trading reference price based on the integrated data to assist the user in judging the optimal trading opportunity of the securities."
參見上述先前技術專利說明書之圖二與圖三,其中的證券資訊服務系統20包含了證券資訊模組31、交易記錄模組32、資訊服務模組33、資料庫34以及交易記錄分析模組35,以上該些模組係採封閉式設計、無法讓外界調用(或稱“呼叫”,即“Call”或“Invoke”),意即,其缺乏開放式平台架構的應用程式介面讓不同的資訊廠商或證券商可自行調用或任意組合以實作用戶端的功能與圖形化使用者介面。舉例來說,股票行情相關資訊的底層處理包含了與伺服器間的網路連線、登入認證、行情資料下載、傳輸過程中的資料加密/解密以及資料壓縮/解壓縮、行情資料的處理與運算、資料的暫存與永續留存、資料搜尋…等等許多的複雜作業程序。對於這些複雜作業程序,若因應客製化的要求通常需要花費許多時間與人力來優化該應用程式來管理行動裝置之硬體資源,使記憶體、處理器能與程式指令能夠有效地協同運作。此外,當上述處理股票行情相關資訊的複雜作 業程序有更新或變動(例如:參考數據、計算模型或公式等的更新或變動)時,以往行動裝置更新該應用程式必須要重新更動程式指令與記憶體、處理器間的資源配置,如此反覆地開發重複開發,往往耗費許多資源。 Referring to FIG. 2 and FIG. 3 of the foregoing prior art patent specification, the securities information service system 20 includes a securities information module 31, a transaction record module 32, an information service module 33, a database 34, and a transaction record analysis module 35. These modules are closed-ended and cannot be called from outside (or called "Call" or "Invoke"), meaning that they lack an open platform architecture application interface to allow different information. Vendors or securities firms can call or arbitrarily combine to implement the functionality of the client and the graphical user interface. For example, the underlying processing of stock market related information includes network connection with the server, login authentication, market data download, data encryption/decryption during transmission, data compression/decompression, and processing of market data. Complicated, data temporary storage and perpetual retention, data search, etc. Many complex operating procedures. For these complex operating procedures, it usually takes a lot of time and manpower to optimize the application to manage the hardware resources of the mobile device in response to the requirements of customization, so that the memory and the processor can effectively cooperate with the program instructions. In addition, when dealing with the above-mentioned complex information of stock market related information When there are updates or changes to the business process (for example, updates or changes to reference data, calculation models, formulas, etc.), the previous mobile device update program must re-allocate the program instructions and memory, processor resource configuration, and so on. The development of repetitive development often consumes a lot of resources.
故,實有必要提出一種行動股票開放平台之技術方案,以開放式架構之資料模型及應用程式介面來結合使用者介面客製化的需求,使得軟體開發廠商不需公開原始碼的情況下即可以安全、有保障的方法讓其他開發者介入客製化的工作,一方面可以縮短開發時程與減少人力,另一方面不會因為其他開發者的介入而影響原本處理數據運算以及資料儲存管理的效率,而且,由於將客製化介面與資料處理分隔開來,更使得軟體的維護與更新較習見技術大為容易,兩者間的責任歸屬亦容易區分,進而縮短軟體除錯時間,以便彌補先前技術不足之處、達到完全客製化行動股票軟體之目的。 Therefore, it is necessary to propose a technical solution for the action stock open platform, which combines the data model of the open architecture and the application interface to meet the needs of the user interface customization, so that the software developer does not need to disclose the source code. It is safe and secure to allow other developers to get involved in the customization work. On the one hand, it can shorten the development time and reduce manpower. On the other hand, it will not affect the original data processing and data storage management because of the intervention of other developers. The efficiency, and, because the separation of the customized interface and data processing, the software maintenance and update is much easier than the technology, the responsibility between the two is easy to distinguish, and thus shorten the software debugging time, In order to make up for the shortcomings of the prior art and achieve the purpose of fully customized action stock software.
有鑑於此,本發明提出一種行動股票開放平台裝置與方法及其電腦程式產品,以開放式應用程式介面將資料處理較複雜的底層部份以軟體封裝技術包裏成易於調用的函式庫,讓軟體開發廠商在能夠保護原始碼的情況下,開放其他廠商修改或調整應用程式,讓市場上能有更豐富的股票報價或交易系統,同時促進資訊與金融產業發展。 In view of the above, the present invention provides an action stock open platform device and method and a computer program product thereof, which use an open application interface to make the underlying part of the data processing complex into an easy-to-call library in the software package technology package. Let software developers open up other vendors to modify or adjust applications while protecting the source code, so that there is a richer stock quote or trading system in the market, and promote the development of the information and financial industry.
本發明提出一種一種行動股票開放平台之方法,提供給一應用程式使用,該應用程式用於安裝在具有一螢幕與一記憶體之一行動通訊裝置,該方法包含:提供一資料傳輸模組,用以存放於該行動通訊裝置的該記憶體,該資料傳輸模組包含至少一網路通訊協定,該網路通訊協定 供該行動通訊裝置與一伺服器建立網路連線;提供複數個應用程式介面,用以存放於該行動通訊裝置的該記憶體,該應用程式介面供該行動通訊裝置執行該應用程式的一調用,且該應用程式介面響應該調用而經該行動通訊裝置執行該資料傳輸模組向該伺服器發出一資料請求;以及提供複數個資料模型,用以存放於該行動通訊裝置的該記憶體,該資料模型處理或計算該行動通訊裝置接收自該伺服器回應該資料請求所回傳的一股票資料,並將該股票資料回傳給該應用程式,以顯示於該行動通訊裝置的該螢幕;該資料傳輸模組、複數個應用程式介面與複數個資料模型封裝成為一函式庫,用以存放於該行動通訊裝置的該記憶體;該應用程式介面係選自:一下單交易介面、一帳務介面、一分時成交介面、一登入認證介面、一股票行情介面、一當日走勢介面、一歷史K線介面、一分筆成交介面、一分價成交介面、一搜尋商品介面、一板塊分類介面、一期權標的證券介面、一期權交割月介面、一期貨行情介面、一選擇權行情介面、一最佳五檔介面、一國際指數介面、一新聞資訊介面、一預警消息介面、一公告資訊介面、一決策分析介面;該資料模型係選自:一下單交易模型、一帳務模型、一分筆成交模型、一股票行情模型、一分時成交模型、一分價成交模型、一歷史行情模型、一期權標的證券模型、一搜尋結果模型、一板塊分類模型、一期貨行情模型、一選擇權行情模型、一最佳五檔模型、一國際指數模型、一預警消息模型、一公告資訊模型、一新聞資訊模型及一決策分析模型。 The present invention provides a method for an action stock open platform, which is provided for use by an application for installing a mobile communication device having a screen and a memory, the method comprising: providing a data transmission module, For storing the memory in the mobile communication device, the data transmission module includes at least one network communication protocol, the network communication protocol Providing a network connection between the mobile communication device and a server; providing a plurality of application interfaces for storing in the memory of the mobile communication device, the application interface for the mobile communication device to execute the application Calling, and the application interface responds to the call by the mobile communication device executing the data transmission module to issue a data request to the server; and providing a plurality of data models for storing in the memory of the mobile communication device The data model processes or calculates a stock data returned by the mobile communication device from the server response data request, and returns the stock data to the application for display on the screen of the mobile communication device The data transmission module, the plurality of application interfaces and the plurality of data models are packaged into a library for storing in the memory of the mobile communication device; the application interface is selected from the following: a single transaction interface, A billing interface, a time-sharing interface, a login authentication interface, a stock market interface, a day trend interface, Historical K-line interface, one-point transaction interface, one-price transaction interface, one search product interface, one-category classification interface, one option-based securities interface, one option delivery month interface, one futures market interface, one option market interface, one The best five-level interface, an international index interface, a news information interface, an early warning message interface, an announcement information interface, and a decision analysis interface; the data model is selected from the following: a single transaction model, a accounting model, and a pen Transaction model, a stock market model, a time-sharing model, a price-based transaction model, a historical market model, an option-based securities model, a search result model, a plate classification model, a futures market model, and a selection market The model, an optimal five-speed model, an international index model, an early warning message model, an announcement information model, a news information model, and a decision analysis model.
本發明再提出一種電腦可讀取記錄媒體,記錄供一應用程式使用之函式庫,該應用程式用於安裝在具有一螢幕之一行動通訊裝置,該函式庫包含:一資料傳輸模組,包含至少一網路通訊協定,該網路通訊 協定供該行動通訊裝置與一伺服器建立網路連線;複數個應用程式介面,該應用程式介面供該應用程式的一調用,且該應用程式介面響應該調用而經該資料傳輸模組向該伺服器發出一資料請求;以及複數個資料模型,該資料模型處理或計算該資料傳輸模組接收自該伺服器回應該資料請求所回傳的一股票資料,並將該股票資料回傳給該應用程式,以顯示於該行動通訊裝置的該螢幕;該應用程式介面係選自:一下單交易介面、一帳務介面、一分時成交介面、一登入認證介面、一股票行情介面、一當日走勢介面、一歷史K線介面、一分筆成交介面、一分價成交介面、一搜尋商品介面、一板塊分類介面、一期權標的證券介面、一期權交割月介面、一期貨行情介面、一選擇權行情介面、一最佳五檔介面、一國際指數介面、一新聞資訊介面、一預警消息介面、一公告資訊介面、一決策分析介面;該資料模型係選自:一下單交易模型、一帳務模型、一分筆成交模型、一股票行情模型、一分時成交模型、一分價成交模型、一歷史行情模型、一期權標的證券模型、一搜尋結果模型、一板塊分類模型、一期貨行情模型、一選擇權行情模型、一最佳五檔模型、一國際指數模型、一預警消息模型、一公告資訊模型、一新聞資訊模型及一決策分析模型。 The invention further provides a computer readable recording medium for recording a library for use by an application for installing a mobile communication device having a screen, the library comprising: a data transmission module , including at least one network protocol, the network communication The agreement is for the mobile communication device to establish a network connection with a server; a plurality of application interfaces, the application interface is for a call of the application, and the application interface responds to the call by the data transmission module The server issues a data request; and a plurality of data models, the data model processes or calculates a stock data received by the data transmission module from the server requesting the data request, and returns the stock data to the stock data The application is displayed on the screen of the mobile communication device; the application interface is selected from: a single transaction interface, a accounting interface, a time-of-day transaction interface, a login authentication interface, a stock market interface, and a Today's trend interface, a historical K-line interface, a one-point transaction interface, a price-based trading interface, a search product interface, a sector classification interface, an option-based securities interface, an option delivery month interface, a futures market interface, a selection Right market interface, an optimal five-file interface, an international index interface, a news interface, an alert message interface, a Announcement information interface, a decision analysis interface; the data model is selected from: single transaction model, one account model, one pen transaction model, one stock market model, one time transaction model, one price transaction model, one history Quote model, an option underlying securities model, a search result model, a block classification model, a futures market model, a selection market model, an optimal five-speed model, an international index model, an early warning message model, and an announcement information Model, a news information model and a decision analysis model.
本發明又再提出一種電腦程式產品,供一應用程式使用,該應用程式用於安裝在具有一螢幕之一行動通訊裝置,該電腦程式產品包含:一資料傳輸模組,包含至少一網路通訊協定,該網路通訊協定供該行動通訊裝置與一伺服器建立網路連線;複數個應用程式介面,該應用程式介面供該應用程式的一調用,且該應用程式介面響應該調用而經該資料傳輸模組向該伺服器發出一資料請求;以及複數個資料模型,該資料模型處 理或計算該資料傳輸模組接收自該伺服器回應該資料請求所回傳的一股票資料,並將該股票資料回傳給該應用程式,以顯示於該行動通訊裝置的該螢幕。該應用程式介面係選自:一下單交易介面、一帳務介面、一分時成交介面、一登入認證介面、一股票行情介面、一當日走勢介面、一歷史K線介面、一分筆成交介面、一分價成交介面、一搜尋商品介面、一板塊分類介面、一期權標的證券介面、一期權交割月介面、一期貨行情介面、一選擇權行情介面、一最佳五檔介面、一國際指數介面、一新聞資訊介面、一預警消息介面、一公告資訊介面、一決策分析介面;該資料模型係選自:一下單交易模型、一帳務模型、一分筆成交模型、一股票行情模型、一分時成交模型、一分價成交模型、一歷史行情模型、一期權標的證券模型、一搜尋結果模型、一板塊分類模型、一期貨行情模型、一選擇權行情模型、一最佳五檔模型、一國際指數模型、一預警消息模型、一公告資訊模型、一新聞資訊模型及一決策分析模型。 The invention further provides a computer program product for use by an application for installing a mobile communication device having a screen, the computer program product comprising: a data transmission module comprising at least one network communication Agreement, the network communication protocol for the mobile communication device to establish a network connection with a server; a plurality of application interfaces, the application interface is for a call of the application, and the application interface responds to the call The data transmission module sends a data request to the server; and a plurality of data models, the data model The data transmission module receives or receives a stock data returned from the server response data request, and returns the stock data to the application for display on the screen of the mobile communication device. The application interface is selected from the following: a single transaction interface, a accounting interface, a time-of-day transaction interface, a login authentication interface, a stock market interface, a daily trend interface, a historical K-line interface, a one-point transaction interface, One-point price trading interface, one search commodity interface, one sector classification interface, one option target securities interface, one option delivery month interface, one futures market interface, one option market interface, one best five-speed interface, one international index interface , a news information interface, an early warning message interface, an announcement information interface, a decision analysis interface; the data model is selected from: a single transaction model, a accounting model, a pen transaction model, a stock market model, a point Time transaction model, one-point transaction model, one historical market model, one option-based securities model, one search result model, one-plate classification model, one futures market model, one option market model, one best five-speed model, one International index model, an early warning message model, an announcement information model, a news information model, and a decision analysis model .
本發明又再提出一種行動股票開放平台裝置,應用於一行動裝置,該裝置包含:一或複數個處理器、一記憶體及一螢幕,該記憶體儲存一應用程式,該應用程式包含一函式庫,該函式庫包含一資料傳輸模組、複數個資料模型以及複數個介面,該資料傳輸模組包含至少一網路通訊協定,並以該網路通訊協定與一伺服器建立網路連線,該些資料模型係選自:一下單交易模型、一帳務模型、一分筆成交模型、一股票行情模型、一分時成交模型、一分價成交模型、一歷史行情模型、一期權標的證券模型、一搜尋結果模型、一板塊分類模型、一期貨行情模型、一選擇權行情模型、一最佳五檔模型及一國際指數模型,該些介面係選自:一下單交易 介面、一帳務介面、一分時成交介面、一登入認證介面、一股票行情介面、一當日走勢介面、一歷史K線介面、一分筆成交介面、一分價成交介面、一搜尋商品介面、一板塊分類介面、一期權標的證券介面、一期權交割月介面、一期貨行情介面、一選擇權行情介面、一最佳五檔介面、一國際指數介面、一新聞資訊介面、一預警消息介面、一公告資訊介面、一決策分析介面。其中,該處理器執行該應用程式並調用該函式庫,該些介面發送一請求以向該伺服器要求一行情資料,該些資料模型接收該行情資料以及對該行情資料進行運算與儲存,該應用程式接收該些資料模型所回傳的該行情資料後交由該處理器,以將該行情資料顯示於該螢幕。 The present invention further provides a mobile stock open platform device for use in a mobile device, the device comprising: one or a plurality of processors, a memory and a screen, the memory storing an application, the application comprising a letter a library, the data library includes a data transmission module, a plurality of data models, and a plurality of interfaces, the data transmission module includes at least one network communication protocol, and establishes a network with a server by using the network communication protocol Connected, the data models are selected from: single transaction model, one account model, one-point transaction model, one stock market model, one-time transaction model, one-point transaction model, one historical market model, one option The underlying securities model, a search result model, a block classification model, a futures market model, a selection market model, an optimal five-speed model, and an international index model are selected from the following: Interface, a billing interface, a time-of-day transaction interface, a login authentication interface, a stock market interface, a daily trend interface, a historical K-line interface, a one-point transaction interface, a price-based trading interface, a search product interface, A section classification interface, an option target securities interface, an option delivery month interface, a futures market interface, an option market interface, an optimal five-file interface, an international index interface, a news interface, an early warning message interface, An announcement information interface, a decision analysis interface. The processor executes the application and invokes the library, and the interfaces send a request to request the server for a line of information, and the data models receive the market information and calculate and store the market data. The application receives the market information returned by the data models and then passes the data to the processor to display the market information on the screen.
本發明又再提出一種行動股票開放平台方法,應用於一行動裝置,該行動裝置包含一觸控螢幕,該方法包含:以開放式架構設計一資料傳輸模組、複數個資料模型以及複數個介面,經封裝後供一應用程式進行調用,該資料傳輸模組包含至少一網路通訊協定,該些資料模型係選自:一下單交易模型、一帳務模型、一分筆成交模型、一股票行情模型、一分時成交模型、一分價成交模型、一歷史行情模型、一期權標的證券模型、一搜尋結果模型、一板塊分類模型、一期貨行情模型、一選擇權行情模型、一最佳五檔模型、一國際指數模型、一預警消息模型、一公告資訊模型、一新聞資訊模型及一決策分析模型,該些介面係選自:一下單交易介面、一帳務介面、一分時成交介面、一登入認證介面、一股票行情介面、一當日走勢介面、一歷史K線介面、一分筆成交介面、一分價成交介面、一搜尋商品介面、一板塊分類介面、一期權標的證券介面、一期權交割月介面、一期貨行情介面、一選擇權行情介面、一最佳五檔介面、一國際指數 介面、一新聞資訊介面、一預警消息介面、一公告資訊介面、一決策分析介面;該應用程式利用該資料傳輸模組與一伺服器建立網路連線;該些介面發送一請求以向該伺服器要求一行情資料;以對應之該資料模型接收該行情資料並進行運算與儲存;回傳該行情資料至該應用程式;以及,該應用程式依據該行情資料產生一視圖並顯示於該觸控螢幕。 The present invention further provides a mobile stock open platform method for a mobile device, the mobile device comprising a touch screen, the method comprising: designing a data transmission module, a plurality of data models, and a plurality of interfaces in an open architecture After being packaged and requested by an application, the data transmission module includes at least one network communication protocol, and the data models are selected from the following: a single transaction model, a accounting model, a pen transaction model, and a stock market. Model, one-time transaction model, one-price transaction model, one historical market model, one option-based securities model, one search result model, one plate classification model, one futures market model, one option market model, one best five The file model, an international index model, an early warning message model, an announcement information model, a news information model, and a decision analysis model are selected from the following: a single transaction interface, a accounting interface, and a time-of-day transaction interface. , one login authentication interface, one stock market interface, one day trend interface, one historical K line interface, one pen Interface, one-price trading interface, one search product interface, one-category classification interface, one option-based securities interface, one option delivery month interface, one futures market interface, one option market interface, one best five-screen interface, one International index Interface, a news information interface, an alert message interface, an announcement information interface, a decision analysis interface; the application uses the data transmission module to establish a network connection with a server; the interfaces send a request to the interface The server requires a line of information; receives the market data corresponding to the data model and performs calculation and storage; returns the market data to the application; and the application generates a view according to the market data and displays the touch Control the screen.
以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者瞭解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。 The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art.
10‧‧‧函式庫 10‧‧‧Library
12‧‧‧資料傳輸模組 12‧‧‧ Data Transfer Module
14‧‧‧資料模型 14‧‧‧ data model
16‧‧‧介面 16‧‧‧ interface
18‧‧‧行動股票開放平台裝置 18‧‧‧Action stock open platform installation
20‧‧‧通訊模組 20‧‧‧Communication Module
22‧‧‧顯示模組 22‧‧‧Display module
24‧‧‧處理器 24‧‧‧ Processor
26‧‧‧記憶體 26‧‧‧ memory
28‧‧‧應用程式 28‧‧‧Application
第1圖為本發明實施例函式庫之系統功能方塊圖;第2圖為本發明實施例裝置之系統功能方塊圖;及第3圖為本發明實施例之操作流程圖。 1 is a block diagram of a system function of a library of an embodiment of the present invention; FIG. 2 is a block diagram of a system function of an apparatus according to an embodiment of the present invention; and FIG. 3 is a flowchart of an operation of an embodiment of the present invention.
本發明係使用但不限於螢幕觸控式的行動裝置上,例如:個人數位助理(PDA)、行動股票機、智慧手機(Smartphone)、平板電腦(Tablet PC)…等等。 The present invention is used, but not limited to, on a touch-sensitive mobile device, such as a personal digital assistant (PDA), a mobile stock machine, a smart phone, a tablet PC, and the like.
參閱第1圖,本發明一實施例函式庫(Library)10之系統功能方塊圖,本發明之函式庫10包含資料傳輸模組12、複數個資料模型(Data Model)14以及複數個介面(即,API,應用程式介面)16。資料傳輸模組12包含至少一網路通訊協定用以與遠端伺服器進行網路連線以接收行情資料以 及其他相關資料,例如:TCP、HTTP、HTTPS或WebSocket通訊協定,而所謂的“接收”包含“由用戶端主動自伺服器下載資料”以及“用戶端被動接收由伺服器所推送的資料”,當資料傳輸模組12採用HTTP協定時即由用戶端以輪詢方式下載資料,而當資料傳輸模組12採用TCP協定時則由伺服器將資料推送給已註冊(或稱“訂閱”)的用戶端,本發明另一實施例之資料傳輸模組12進一步可包含:資料加密/解密以及資料壓縮/解壓縮,以將傳輸過程中的資料進行加密或壓縮;行情類型之介面16用以發送請求(Request)以向伺服器要求對應於介面16的行情資料,例如:股票行情介面發送請求以要求個股的行情資料、當日走勢介面發送請求以要求當日走勢行情資料、歷史K線介面發送請求以要求歷史K線行情資料…等等,至於登入認證介面則是用以上傳使用者登入資訊(如帳號/密碼)以進行登入認證;資料模型14係用以接收、儲存行情資料以及對行情資料進行運算或處理,所謂的“儲存”包含資料的暫存(如Cache)與永續留存(如程式關閉後的資料儲存)兩種機制。本發明之函式庫10係採開放式架構設計,意即軟體開發者可透過本發明之APIs調用函式庫10以開發完全客製化使用者介面之應用程式,而本發明之函式庫10為安全起見將資料進行封裝(Encapsulation)以限制調用之規定。 Referring to FIG. 1 , a system function block diagram of a library 10 according to an embodiment of the present invention, the library 10 of the present invention includes a data transmission module 12 , a plurality of data models 14 and a plurality of interfaces. (ie, API, application interface) 16. The data transmission module 12 includes at least one network communication protocol for network connection with the remote server to receive market data. And other related information, such as: TCP, HTTP, HTTPS or WebSocket communication protocol, and the so-called "receiving" includes "the user actively downloads the data from the server" and "the user passively receives the data pushed by the server", When the data transmission module 12 adopts the HTTP protocol, the user side downloads the data in a polling manner, and when the data transmission module 12 adopts the TCP protocol, the server pushes the data to the registered (or "subscription"). The data transmission module 12 of another embodiment of the present invention may further include: data encryption/decryption and data compression/decompression to encrypt or compress data during transmission; and a type 16 interface for transmitting Request (Request) to request the server to correspond to the market information of the interface 16, for example, the stock market interface sends a request to request stock market information, the current trend interface sends a request to request the day trend market information, the historical K-line interface to send a request to Request historical K-line market information...etc., as for the login authentication interface, it is used to upload user login information (such as account/password). Login authentication; data model 14 is used to receive and store market data and to calculate or process market data. The so-called "storage" includes temporary storage of data (such as Cache) and persistent retention (such as data storage after program shutdown) ) Two mechanisms. The library 10 of the present invention adopts an open architecture design, that is, a software developer can call the library 10 through the APIs of the present invention to develop an application of a fully customized user interface, and the library of the present invention 10 Encapsulation of the data for security reasons to limit the call.
本發明函式庫10之介面16係選自:下單交易介面、帳務介面、分時成交介面、登入認證介面、股票行情介面、當日走勢介面、歷史K線介面、分筆成交介面、分價成交介面、搜尋商品介面、板塊分類介面、期權標的證券介面、期權交割月介面、期貨行情介面、選擇權行情介面、最佳五檔介面、國際指數介面、新聞資訊介面、預警消息介面、公告資訊介面以及決策分析介面。 The interface 16 of the library 10 of the present invention is selected from the following: an order transaction interface, a billing interface, a time-sharing interface, a login authentication interface, a stock market interface, a daily trend interface, a historical K-line interface, a split transaction interface, and a price. Trading interface, search product interface, sector classification interface, option target securities interface, option delivery month interface, futures market interface, option market interface, best five-screen interface, international index interface, news interface, warning message interface, announcement information Interface and decision analysis interface.
以下就本發明一實施例之部份介面16來舉例說明其所包含之參數。股票行情介面可通過設置“行情型態(quoteType)”來獲取列表行情或快照(Snapshot)行情,不同行情型態有各自預設的欄位,但也可通過設置“行情欄位遮罩(quoteFieldMask)”來選取欄位。 The parameters included in the interface 16 of an embodiment of the present invention are exemplified below. The stock market interface can be used to get list quotes or snapshots by setting the “quoteType”. Different market types have their own preset fields, but you can also set the “quote field mask” (quoteFieldMask). )" to select the field.
通過設置股票代碼可獲取該股票的行情資料,股票代碼支援多筆,若欲查詢多筆股票行情,可用逗號隔開,例如:2412,2330。 By setting the stock code, you can get the stock data of the stock. The stock code supports multiple strokes. If you want to query multiple stock quotes, you can separate them with commas, for example: 2412, 2330.
若要查詢板塊行情,即設置“市場別(market)”及“次類別(subtype),例如:market=sh,subtype=ashare可查詢上海交易所A股行情;market=tw,subtype=otc可查詢台灣交易所上櫃行情。 To query the market, set the "market" and "subtype", for example: market=sh, subtype=ashare can query the Shanghai Stock Exchange A-share market; market=tw, subtype=otc can be queried Taiwan exchanges on the market.
若未設置行情欄位遮罩,預設的欄位如下,列表行情:ID,name,lastPrice,preClosePrice,openPrice,highPrice,lowPrice,change,changeRate,volume,nowVolume,amount,sellVolume,buyVolume。 If the market field mask is not set, the default fields are as follows, list quotes: ID, name, lastPrice, preClosePrice, openPrice, highPrice, lowPrice, change, changeRate, volume, nowVolume, amount, sellVolume, buyVolume.
快照行情:all Snapshot market: all
當日走勢介面可獲得當日走勢資料: The trend of the day can be obtained from the trend of the day:
歷史K線介面可通過設置“K線型態(type)”及“週期(period)”來獲取不同週期的日K或分K歷史行情,例如: type=OHLCChartTypeMinute,period=30,可獲得30分鐘K資料。 The historical K-line interface can be used to obtain the daily K or K-series of different periods by setting the "K line type" and "period", for example: Type=OHLCChartTypeMinute, period=30, get 30 minutes of K data.
分筆成交明細介面可獲得當日分筆成交明細列表: A breakdown of the transaction details can be obtained by dividing the transaction details interface:
分價成交介面可獲得當日分價成交統計列表: The price trading interface can get a list of the price of the day's price transactions:
搜尋商品介面通過設置“搜尋字串(keyword)”可獲得相關股票列表,搜尋字串可以是代碼、股名或拼音字串(適用於陸股商品): Search the product interface to get a list of related stocks by setting a "keyword". The search string can be a code, a stock name or a pinyin string (for land stocks):
本發明函式庫10之資料模型14係選自:下單交易模型、帳務模型、分筆成交模型、股票行情模型、分時成交模型、分價成交模型、歷史行情模型、期權標的證券模型、搜尋結果模型、板塊分類模型、期貨行情模型、選擇權行情模型、最佳五檔模型、國際指數模型、預警消息模型、公告資訊模型、新聞資訊模型及決策分析模型。 The data model 14 of the library 10 of the present invention is selected from the group consisting of: an order transaction model, a account model, a split transaction model, a stock market model, a time-sharing transaction model, a price-based transaction model, a historical market model, an option-based securities model, Search result model, sector classification model, futures market model, option market model, best five-speed model, international index model, early warning message model, announcement information model, news information model and decision analysis model.
以下就本發明一實施例之部份資料模型14來舉例說明其所包含之屬性。股票行情模型: The following includes a partial data model 14 of an embodiment of the present invention to illustrate the attributes it contains. Stock market model:
分時成交模型: Time-sharing transaction model:
分價成交模型: Price trading model:
歷史行情模型: Historical market model:
期權標的證券模型: Option underlying securities model:
搜尋結果模型: Search result model:
上述函式庫10之介面16與資料模型14的關聯對應關係可為一對一、一對多或多對一。介面16亦可直接與伺服器對應。舉例來說,登入認證介面只要上傳的使用者登入資訊正確,伺服器端認證後即可完成登入,不需要再回傳資料到資料模型14;以多對一來說,當日走勢介面與歷史K線介面同時對應至歷史行情模型;以一對一來說,搜尋商品介面對應至搜尋結果模型,其餘介面則可依介面名稱對應至資料模型14中的模型。 The association relationship between the interface 16 of the library 10 and the data model 14 may be one-to-one, one-to-many or many-to-one. The interface 16 can also correspond directly to the server. For example, if the login authentication interface is correct, the login information of the uploaded user is correct, and the server can complete the login after authentication. There is no need to return the data to the data model 14; in many-to-one, the current trend interface and history K The line interface corresponds to the historical market model at the same time; in one-to-one, the search product interface corresponds to the search result model, and the remaining interfaces can correspond to the model in the data model 14 according to the interface name.
在本發明的一種實施例中,供應用程式28使用之函式庫10可記錄於一電腦可讀取記錄媒體,應用程式28用於安裝在具有螢幕之行動通訊裝置,函式庫10包含:資料傳輸模組12,包含至少一種網路通訊協定,網路通訊協定供行動通訊裝置與伺服器端建立網路連線;介面16,介面16供應用程式28的一調用,且介面16響應該調用而經資料傳輸模組12向伺服器端發出一資料請求;以及資料模型14,資料模型14處理或計算資料傳輸模組12接收自伺服器端回應該資料請求所回傳的一股票資料,並將該股票資料回傳給應用程式28,以顯示於行動通訊裝置的螢幕。其中應用程式28可為行動通訊裝置的一使用者介面程式或一應用程式安裝檔。 In an embodiment of the present invention, the library 10 used by the application program 28 can be recorded on a computer readable recording medium, and the application 28 is installed on a mobile communication device having a screen. The library 10 includes: The data transmission module 12 includes at least one network communication protocol for the mobile communication device to establish a network connection with the server; the interface 16, the interface 16 supplies a call of the application 28, and the interface 16 responds to the Calling and sending a data request to the server by the data transmission module 12; and the data model 14, the data model 14 processing or calculating the data transmission module 12 receives a stock data returned from the server request response data request, The stock data is passed back to the application 28 for display on the screen of the mobile communication device. The application 28 can be a user interface program or an application installation file of the mobile communication device.
在本發明的另一種實施例中,本發明係一電腦程式產品供應用程式28使用,應用程式28用於安裝在具有螢幕之行動通訊裝置,該電腦程式產品包含:資料傳輸模組12,包含至少一種網路通訊協定,網路通訊協定供行動通訊裝置與伺服器端建立網路連線;介面16,介面16供應用程式28的一調用,且介面16響應該調用而經資料傳輸模組12向伺服器端發出一資料請求;以及資料模型14,資料模型14處理或計算資料傳輸模組12接收自伺服器端回應該資料請求所回傳的一股票資料,並將該股票資料回傳給應用程式28,以顯示於行動通訊裝置的螢幕。 In another embodiment of the present invention, the present invention is a computer program product providing program 28 for use in a mobile communication device having a screen, the computer program product comprising: a data transmission module 12, including At least one network communication protocol, the network communication protocol is configured for the mobile communication device to establish a network connection with the server; the interface 16, the interface 16 supplies a call of the application 28, and the interface 16 responds to the call through the data transmission module. 12 sends a data request to the server; and the data model 14, the data model 14 processes or calculates the data transmission module 12 receives a stock data returned from the server end response data request, and returns the stock data The application 28 is presented to the screen of the mobile communication device.
參閱第2圖,本發明實施例行動股票開放平台裝置18之系統功能方塊圖,圖例僅列出與本發明一較佳實施例相關之核心模組,其餘模組省略未描繪。在本發明的一種實施例,本發明行動股票開放平台裝置18包含:通訊模組20(用以建立無線網路連線,例如:無線射頻模組)、顯示模組22(包含觸控螢幕)、記憶體26以及一或多個處理器24,記憶體26儲存有應用程式28,而應用程式28包含函式庫10,處理器24執行應用程式28以及函式庫10所包含的複數個程式指令,顯示模組22包含觸控螢幕,用以顯示應用程式28的介面,並執行觸控的操作功能,本發明之行動股票開放平台裝置18以硬體與軟體協同運作的方式實施前述介面、資料模型以及模組。 Referring to FIG. 2, a system function block diagram of the action stock open platform device 18 of the embodiment of the present invention, the legend only lists the core modules related to a preferred embodiment of the present invention, and the remaining modules are omitted and not depicted. In an embodiment of the present invention, the action stock open platform device 18 of the present invention comprises: a communication module 20 (for establishing a wireless network connection, for example, a wireless radio frequency module), and a display module 22 (including a touch screen). The memory 26 and the one or more processors 24, the memory 26 stores the application 28, and the application 28 includes the library 10, and the processor 24 executes the application 28 and the plurality of programs included in the library 10. The command module 22 includes a touch screen for displaying the interface of the application 28 and performing the touch operation function. The action stock open platform device 18 of the present invention implements the interface in a manner that the hardware and the software cooperate to operate. Data models and modules.
換言之,上述實施例可實現一種行動股票開放平台之方法,提供給應用程式28使用,應用程式28用於安裝在具有通訊模組20、顯示模組22與記憶體26之行動通訊裝置,該方法包含提供資料傳輸模組12,用以存放於行動通訊裝置的記憶體26,資料傳輸模組12包含至少一網路通訊協定,該網路通訊協定供行動通訊裝置與伺服器建立網路連線;提供複數個 應用程式介面,用以存放於行動通訊裝置的記憶體26,該應用程式介面供行動通訊裝置執行應用程式28的一調用或呼叫,且該應用程式介面響應該調用或呼叫而經行動通訊裝置執行資料傳輸模組12向伺服器發出一資料請求;以及提供複數個資料模型,用以存放於行動通訊裝置的記憶體26,該資料模型處理或計算行動通訊裝置接收自伺服器回應該資料請求所回傳的一股票資料,並將該股票資料回傳給應用程式28,以顯示於行動通訊裝置的顯示模組22。其中,該資料傳輸模組、複數個應用程式介面與複數個資料模型封裝成為一函式庫,用以存放於行動通訊裝置的記憶體26。 In other words, the above embodiment can implement a method for operating a stock open platform, which is provided for application 28, and the application 28 is used for installing a mobile communication device having a communication module 20, a display module 22 and a memory 26. The data transmission module 12 is configured to be stored in the memory 26 of the mobile communication device. The data transmission module 12 includes at least one network communication protocol for the mobile communication device to establish a network connection with the server. Provide multiple An application interface for storing in the memory 26 of the mobile communication device, the application interface for the mobile communication device to perform a call or call of the application 28, and the application interface is executed by the mobile communication device in response to the call or call The data transmission module 12 sends a data request to the server; and provides a plurality of data models for storage in the memory 26 of the mobile communication device, the data model processing or computing mobile communication device receiving the data request from the server The returned stock information is transmitted back to the application 28 for display on the display module 22 of the mobile communication device. The data transmission module, the plurality of application interfaces, and the plurality of data models are packaged into a library for storing in the memory 26 of the mobile communication device.
上述「用以」是對「提供」步驟的用途限定,舉例來說,「提供通訊模組20,用以存放於行動通訊裝置的記憶體26」應解讀成「提供通訊模組20的用途是存放於行動通訊裝置的記憶體26」,不是直接對「通訊模組20,而是對「提供」步驟的用途限定。 The above-mentioned "use" is limited to the use of the "providing" step. For example, "providing the communication module 20 for storing the memory 26 of the mobile communication device" should be interpreted as "the purpose of providing the communication module 20 is The memory 26" stored in the mobile communication device is not limited to the "communication module 20" but to the use of the "provide" step.
所謂的應用程式28係指軟體開發者運用本發明函式庫10所開發的應用程式或使用者介面,應用程式28亦可為包含客製化使用者圖形介面的一應用程式,由於函式庫10已包含資料傳輸與資料處理,開發者可大幅節省開在此方面的發時間與精力,以專注在使用者介面(UI)以及用戶體驗(UX)方面,與習見技術相比更容易達到應用程式的完全客製化。 The so-called application 28 refers to an application or user interface developed by a software developer using the library 10 of the present invention, and the application 28 can also be an application including a graphical interface for a customized user, due to the library. 10 already includes data transfer and data processing, developers can greatly reduce the time and effort in this area to focus on the user interface (UI) and user experience (UX), easier to achieve applications than the technology The program is completely customizable.
在本發明的一種實施例中,函式庫10包含複數個程式指令,經由本發明行動股票開放平台裝置18下載安裝應用程式28(其中包含函式庫10),處理器24執行以下程式指令:一第一程式指令,使該處理器24經由一通訊模組20與一伺服器建立網路連線;一第二程式指令,使該處理器24上傳一登入資訊以進行登入認證;一第三程式指令,使該處理器24執行一 介面16以上傳一請求以向該伺服器要求一行情資料;一第四程式指令,使該處理器24依據對應於該介面16之一資料模型14接收該行情資料並進行運算與儲存;以及,一第五程式指令,回傳該行情資料給該應用程式之一使用者圖形介面,該使用者圖形介面使該處理器24將該行情資料顯示於該行動股票開放平台裝置18之一觸控螢幕。 In one embodiment of the present invention, the library 10 includes a plurality of program instructions for downloading and installing the application 28 (including the library 10) via the mobile stock open platform device 18 of the present invention, and the processor 24 executes the following program instructions: a first program command causes the processor 24 to establish a network connection with a server via a communication module 20; a second program command causes the processor 24 to upload a login message for login authentication; Program instructions to cause the processor 24 to execute one The interface 16 uploads a request to request the server for the information; a fourth program instruction causes the processor 24 to receive the transaction data according to the data model 14 corresponding to the interface 16 and perform operation and storage; a fifth program command, which returns the market information to a graphical user interface of the application, the user graphic interface causing the processor 24 to display the market information on one of the action stock open platform devices 18 .
在本發明不同的實施例中,該處理器所執行的第一程式指令、第二程式指令、…是分別表示複數個程式指令的集合,而第一、第二、…等並不用以限定接續在該第一程式指令、第二程式指令、…所表達的技術特徵或方法的步驟。熟悉此發明之技術人士可理解接續在該第一程式指令、第二程式指令、…所表達的技術特徵或方法的步驟是可以加以合併或組合由不同集合的程式指令來表達。 In a different embodiment of the present invention, the first program instruction, the second program instruction, ... executed by the processor respectively represent a set of a plurality of program instructions, and the first, second, ..., etc. are not used to limit the connection. The steps of the technical features or methods expressed in the first program instruction, the second program instruction, .... Those skilled in the art will appreciate that the steps of the technical features or methods expressed in the first program instructions, the second program instructions, ... can be combined or combined by different sets of program instructions.
在本發明的不同實施例中,前述介面、資料模型以及模組應被理解為一種硬體與軟體協同運作的資源,介面/資料模型/模組的技術特徵可以複數個程式指令或應用程式/函式庫的一部份來表達,但是介面/資料模型/模組的技術效果必須是以一或多個處理器來執行該些程式指令或應用程式/函式庫的形式(即硬體與軟體協同運作的資源)來實現,而本發明所欲解決的問題即是透過這樣的硬體與軟體協同運作的資源來獲得改善。 In various embodiments of the present invention, the interface, the data model, and the module should be understood as a resource in which hardware and software work together. The technical features of the interface/data model/module can be a plurality of program instructions or applications/ A part of the library is expressed, but the technical effect of the interface/data model/module must be in the form of one or more processors executing the program instructions or applications/libraries (ie hardware and The problem that the software cooperates with the operation is realized, and the problem to be solved by the present invention is to obtain improvement through the resources in which the hardware and the software cooperate to operate.
參閱第3圖,本發明實施例之操作流程圖,使用者利用智慧手機(例如iPhone 6 Plus)執行應用程式28並調用函式庫10,以發送請求並接收行情資料之操作流程,係包含: Referring to FIG. 3, an operation flowchart of an embodiment of the present invention, an operation process for a user to execute an application 28 by using a smart phone (for example, iPhone 6 Plus) and calling the library 10 to send a request and receive market data includes:
步驟S101:應用程式28調用本發明之函式庫10。於行動股票開放平台裝置18執行應用程式28,應用程式28包含本發明之函式庫10。 Step S101: The application 28 calls the library 10 of the present invention. The application 28 is executed on the action stock open platform device 18, and the application 28 includes the library 10 of the present invention.
步驟S102:函式庫10之資料傳輸模組12與伺服器建立網路連線。通訊模組20以無線網路(Wi-Fi)或行動網路(2G/3G/4G)為行動股票開放平台裝置18建立網路連線後,資料傳輸模組12便以TCP或HTTP通訊協定與伺服器建立網路連線。 Step S102: The data transmission module 12 of the library 10 establishes a network connection with the server. After the communication module 20 establishes a network connection by using the wireless network (Wi-Fi) or the mobile network (2G/3G/4G) as the mobile stock open platform device 18, the data transmission module 12 uses the TCP or HTTP communication protocol. Establish a network connection with the server.
步驟S103:函式庫10之介面16上傳請求。使用者若欲查看金融商品“台積電”的個股行情,於應用程式28中操作時(例如:以選單操作,選取“台積電”的個股行情,未描繪)觸發股票行情介面(即,介面16之一)產生請求(Request),並透過資料傳輸模組12將請求與參數(即,“台積電”)上傳至伺服器。 Step S103: The interface 16 of the library 10 uploads the request. If the user wants to view the stock market of the financial product "TSMC", when operating in the application 28 (for example, by selecting the "TSMC" stock market option, not drawn), the stock market interface is triggered (ie, one of the interfaces 16). The request is generated and the request and parameters (ie, "TSMC") are uploaded to the server through the data transfer module 12.
步驟S104:接收對應之行情資料。資料傳輸模組12接收對應於介面16(即,股票行情介面)的行情資料(即,“台積電”的個股行情資料)。 Step S104: Receive corresponding market information. The data transmission module 12 receives the market data corresponding to the interface 16 (ie, the stock market interface) (ie, the stock market data of "TSMC").
步驟S105:以對應之資料模型14處理行情資料之運算與儲存。接收對應之行情資料後,即以對應之資料模型14處理行情資料之運算與儲存,此例“對應之資料模型14”為股票行情模型。 Step S105: The operation and storage of the market data are processed by the corresponding data model 14. After receiving the corresponding market data, the corresponding data model 14 is used to process and store the market data. In this example, the corresponding data model 14 is a stock market model.
步驟S106:回傳行情資料至應用程式28。當對應之資料模型14將行情資料進行運算與儲存後,即把處理後的行情資料回傳至應用程式28。 Step S106: The market data is returned to the application 28. After the corresponding data model 14 calculates and stores the market data, the processed market data is transmitted back to the application 28.
步驟S107:應用程式28之使用者介面顯示行情資料。應用程式28中負責處理使用者介面的模組(未描繪)即產生相關視圖於螢幕上,以將行情資料呈現於視圖中供使用者瀏覽或操作(例如滑動操作以切換資訊)。處理使用者介面之相關模組係由軟體開發廠商自行開發。 Step S107: The user interface of the application 28 displays the market information. The module (not depicted) of the application 28 that processes the user interface generates an associated view on the screen to present the market data in a view for the user to browse or manipulate (eg, a swipe operation to switch information). The relevant modules for processing the user interface are developed by the software developers themselves.
上述步驟S102與步驟S103將視資料傳輸模組12所採用之 通訊協定而有不同之順序,當資料傳輸模組12採用TCP通訊協定時,係先建立網路連線再傳送請求/參數(即,先執行步驟S102,再執行步驟S103),反之,當資料傳輸模組12採用HTTP通訊協定時,則先傳送請求/參數再建立網路連線(即,先執行步驟S103,再執行步驟S102)。 The above steps S102 and S103 are used by the data transmission module 12 The communication protocol has a different order. When the data transmission module 12 adopts the TCP communication protocol, the network connection is first re-transmitted with the request/parameter (ie, step S102 is performed first, and then step S103 is performed). When the transmission module 12 adopts the HTTP protocol, the request/parameter is first transmitted to establish a network connection (that is, step S103 is performed first, and then step S102 is performed).
對本發明的不同實施例可理解的是,由電腦執行的程式指令可實行流程圖中的各個方塊、流程圖中方塊的組合、以及各實施例中的步驟。把該等程式指令提供給一處理器操作以產生一機器或產生硬體與軟體協同運作的資源,藉此在該處理器上執行該等指令時,將產生用以實行流程圖方塊指明之動作或技術效果的構件。不同集合的程式指令亦可使展示於流程圖方塊中的至少某些操作步驟並行地進行,且一應用程式的第一、第二、…程式指令所表達的技術內容可能依不同實施例而不同。再者,亦可在不只一個處理器上進行某些該等步驟,例如行動通訊裝置中微處理器與周邊介面處理器所協同運作的狀況。此外,在不偏離本發明範圍或精神的條件下,流程圖中之一或多個方塊或方塊的組合亦可與其他方塊或方塊組合同時地進行,或甚至以不同於展示出的順序來進行。 It will be understood by the various embodiments of the invention that the program instructions executed by the computer can carry out various blocks in the flowcharts, combinations of blocks in the flowcharts, and steps in the various embodiments. Providing the program instructions to a processor for generating a machine or generating a resource in cooperation with the software, whereby when the instructions are executed on the processor, an action to perform the flow block is generated Or a component of technical effects. The different sets of program instructions may also cause at least some of the operational steps shown in the flowchart block to be performed in parallel, and the technical content expressed by the first, second, ... program instructions of an application may vary from embodiment to embodiment. . Furthermore, some of these steps can also be performed on more than one processor, such as the state in which the microprocessor and the peripheral interface processor operate in conjunction with the mobile communication device. In addition, one or more of the blocks or combinations of blocks in the flowcharts can be carried out simultaneously with other blocks or combinations of blocks, or even in a different order than the ones presented, without departing from the scope or spirit of the invention. .
因此,本發明流程圖的方塊支援用以進行指明動作或技術效果的構件組合、用以進行指明動作或技術效果的步驟組合、以及用以進行指明動作或技術效果的程式指令構件。亦將可了解的是,這些指明動作或技術效果是由特殊用途硬體式系統或者特殊用途硬體與程式指令協同運作來實行本發明流程圖的各個方塊以及流程圖的方塊組合。 Accordingly, the blocks of the flowchart of the present invention support a combination of means for performing the specified action or technical effect, a combination of steps for performing the specified action or technical effect, and a program command means for performing the specified action or technical effect. It will also be appreciated that these specified acts or technical effects are the various blocks of the flowchart of the present invention and the block combinations of the flowcharts, which are implemented by a special purpose hardware system or special purpose hardware in conjunction with program instructions.
綜上所述,本發明由於函式庫10包含了:與伺服器間的網路連線、登入認證、行情資料下載、傳輸過程中的資料加密/解密以及資料 壓縮/解壓縮、行情資料的處理與運算、資料的暫存與永續留存、資料搜尋…等等較為複雜的作業程序,使得軟體開發廠商可大幅縮減應用程式28之開發時程與人力,進而降低行動股票軟體的開發門檻、促進產業發展(更多規模較小的資訊廠商、專精APP的開發團隊可加入產業),更讓證券商可自行輕易實作客製化的圖形化使用者介面與功能。此外,當上述處理股票行情相關資訊的複雜作業程序有更新或變動(例如:參考數據、計算模型或公式等的更新或變動)時,行動裝置僅需更新該應用程式之函式庫即可,並且不會影響原本處理數據運算以及資料儲存管理的效率,藉此縮短軟體除錯時間以及有效率地管理記憶體、處理器間的資源配置。 In summary, the present invention includes the library 10: network connection with the server, login authentication, market data download, data encryption/decryption during transmission, and data. Compressed/decompressed, processing and calculation of market data, temporary storage of data and perpetual retention, data search, etc., etc., so that software developers can greatly reduce the development time and manpower of application 28, and then Reducing the development threshold of action stock software and promoting industrial development (more small-scale information vendors, specialized APP development teams can join the industry), allowing securities firms to easily implement customized graphical user interfaces and Features. In addition, when the complicated operation program for processing the stock market related information described above is updated or changed (for example, update or change of reference data, calculation model or formula, etc.), the mobile device only needs to update the application library. It does not affect the efficiency of the original data processing and data storage management, thereby shortening the software debugging time and efficiently managing the memory and processor resource allocation.
雖然有些習見技術已運用“部份”模組化或封閉式函式庫的技術手段來開發行動股票應用程式,然而,其採封閉式手段、缺乏“完整”模組化及缺乏彈性的組合方式與本發明的技術手段大相逕庭,本發明譬如提供一盒“完整”的樂高積木(即,函式庫,其中有開放式架構之資料模型、應用程式介面及資料傳輸模組)給玩家(即,證券商/資訊廠商),讓玩家可利用盒中的現成積木即可組合出自己想要(客製化)的樂高玩具(行動股票應用程式),而不必東湊西湊以找尋欠缺的積木(所有股票報價相關功能已包含在函式庫中),也不必耗費時間去手動雕刻積木(例如不需處理底層的資料傳輸、資料加/解密,或是資料緩衝與儲存),進而縮短客製化的開發時間。 Although some technology has used the "partial" modular or closed library technology to develop mobile stock applications, it uses closed-end methods, lack of "complete" modularization and lack of flexibility. In contrast to the technical means of the present invention, the present invention provides, for example, a box of "complete" LEGO bricks (ie, a library with an open architecture data model, an application interface, and a data transfer module) for the player (ie, The securities firm/information vendor allows the player to combine the ready-made blocks in the box to create the LEGO toy (action stock app) that they want (customized) without having to scrape together to find the missing blocks (all stocks) The quotation-related functions are included in the library), and it is not necessary to spend time manually carving the blocks (for example, without processing the underlying data transfer, data encryption/decryption, or data buffering and storage), thereby shortening the customized development. time.
雖然本發明的技術內容已經以較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神所作些許之更動與潤飾,皆應涵蓋於本發明的範疇內,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the technical content of the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the present invention, and any modifications and refinements made by those skilled in the art without departing from the spirit of the present invention are encompassed by the present invention. The scope of protection of the present invention is therefore defined by the scope of the appended claims.
10‧‧‧函式庫 10‧‧‧Library
12‧‧‧資料傳輸模組 12‧‧‧ Data Transfer Module
14‧‧‧資料模型 14‧‧‧ data model
16‧‧‧介面 16‧‧‧ interface
28‧‧‧應用程式 28‧‧‧Application
Claims (28)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW104127110A TWI614710B (en) | 2015-08-20 | 2015-08-20 | Device, method and computer program product of open platform for mobile stock |
CN201510622348.9A CN106469414A (en) | 2015-08-20 | 2015-09-25 | Mobile stock open platform device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW104127110A TWI614710B (en) | 2015-08-20 | 2015-08-20 | Device, method and computer program product of open platform for mobile stock |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201709126A true TW201709126A (en) | 2017-03-01 |
TWI614710B TWI614710B (en) | 2018-02-11 |
Family
ID=58229205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW104127110A TWI614710B (en) | 2015-08-20 | 2015-08-20 | Device, method and computer program product of open platform for mobile stock |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106469414A (en) |
TW (1) | TWI614710B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI650721B (en) * | 2017-08-10 | 2019-02-11 | 三竹資訊股份有限公司 | Device and method for setting related financial products and computer program products thereof |
TWI690885B (en) * | 2018-01-05 | 2020-04-11 | 三竹資訊股份有限公司 | Device and method of exchanging gift vouchers to board of shareholders by utilizing a stock quoting software |
CN111126014A (en) * | 2018-10-15 | 2020-05-08 | 安永金融科技股份有限公司 | Method, system and computer readable memory for dynamically generating customized graphic files |
TWI708201B (en) * | 2018-01-26 | 2020-10-21 | 中國信託綜合證券股份有限公司 | Stock management interface system and method for suggesting changing stock |
TWI745620B (en) * | 2018-09-21 | 2021-11-11 | 安永金融科技股份有限公司 | Method for dynamically generating customized picture, system thereof, and computer-readable storage device |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI646485B (en) * | 2017-04-07 | 2019-01-01 | 宏碁股份有限公司 | Electronic device prompting the key price of financial products |
CN107481148A (en) * | 2017-08-16 | 2017-12-15 | 北京国新汇金股份有限公司 | A kind of medium-sized and small enterprises equity investment and financing information system |
CN108427594A (en) * | 2018-03-09 | 2018-08-21 | 深圳市富途网络科技有限公司 | A kind of exchange method for realizing stock market original list and tendency diagram page |
CN109584070A (en) * | 2018-11-19 | 2019-04-05 | 邝杰源 | Stock certificate data processing method, device, computer equipment and storage medium |
TWI681354B (en) * | 2018-12-19 | 2020-01-01 | 三竹資訊股份有限公司 | Device and method of displaying a serial-counting mark within a level ii information of a stock quoting software |
CN109934714A (en) * | 2019-03-18 | 2019-06-25 | 武汉优品楚鼎科技有限公司 | A kind of calculation method of stock information, server and readable storage medium storing program for executing |
WO2021018312A1 (en) * | 2019-07-30 | 2021-02-04 | 杭州趣链科技有限公司 | Blockchain-based over-the-counter transaction method and system, storage medium, and electronic apparatus |
TWI741363B (en) * | 2019-09-09 | 2021-10-01 | 三竹資訊股份有限公司 | Device and method of integrating a level-ii information with an on-screen keyboard |
TWI744767B (en) * | 2020-01-08 | 2021-11-01 | 嘉實資訊股份有限公司 | Financial product order apparatus, method and computer program product |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483538A (en) * | 2009-01-23 | 2009-07-15 | 深圳市同洲电子股份有限公司 | Transmitting method, receiving method for security transaction data, system and equipment thereof |
CN102281311B (en) * | 2010-06-10 | 2014-06-04 | 阿里巴巴集团控股有限公司 | Method, system and device for implementing network service based on open application programming interface |
US8438101B2 (en) * | 2010-12-10 | 2013-05-07 | Sang Woo BARK | Virtual trading market provision system and method using synthesis of instruments |
TW201305953A (en) * | 2011-07-22 | 2013-02-01 | Wu-Zhong Sun | System for providing stock information recommendation |
-
2015
- 2015-08-20 TW TW104127110A patent/TWI614710B/en active
- 2015-09-25 CN CN201510622348.9A patent/CN106469414A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI650721B (en) * | 2017-08-10 | 2019-02-11 | 三竹資訊股份有限公司 | Device and method for setting related financial products and computer program products thereof |
TWI690885B (en) * | 2018-01-05 | 2020-04-11 | 三竹資訊股份有限公司 | Device and method of exchanging gift vouchers to board of shareholders by utilizing a stock quoting software |
TWI708201B (en) * | 2018-01-26 | 2020-10-21 | 中國信託綜合證券股份有限公司 | Stock management interface system and method for suggesting changing stock |
TWI745620B (en) * | 2018-09-21 | 2021-11-11 | 安永金融科技股份有限公司 | Method for dynamically generating customized picture, system thereof, and computer-readable storage device |
CN111126014A (en) * | 2018-10-15 | 2020-05-08 | 安永金融科技股份有限公司 | Method, system and computer readable memory for dynamically generating customized graphic files |
Also Published As
Publication number | Publication date |
---|---|
TWI614710B (en) | 2018-02-11 |
CN106469414A (en) | 2017-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI614710B (en) | Device, method and computer program product of open platform for mobile stock | |
US10778542B2 (en) | Rule based subscription cloning | |
EP2875425B1 (en) | Providing access to a remote application via a web client | |
US10817929B1 (en) | Customizable uniform control user interface for hosted service images | |
TWI599976B (en) | Application store interface for remote management of client devices | |
MX2015004635A (en) | Techniques to present event information using an event timing visualization. | |
US11792285B2 (en) | Recipient-based filtering in a publish-subscribe messaging system | |
US20180316774A1 (en) | Flow extension controller | |
CN107196898A (en) | Account logon method, page display method, client and server | |
TW201833850A (en) | Device, method and computer program product of a watchlist view with a real-time chart | |
TWI643149B (en) | Device, method and computer program product of a watchlist view with a real-time chart for multi-trading market | |
CA3036750C (en) | Method and device for data exchange processing | |
US11853310B1 (en) | Time-based query processing in analytics computing system | |
CN111680242A (en) | Page display method and device, electronic equipment and computer readable storage medium | |
CN111737372A (en) | Map data generation method and device | |
CA3036736C (en) | Data exchange processing method and apparatus | |
KR20170094475A (en) | Method for intellectual property service, apparatus thereof and computing apparatus therefor | |
CN112926904A (en) | Client sharing management method, system, terminal equipment and storage medium | |
WO2019056702A1 (en) | Data transmitting method and apparatus, terminal device, and medium | |
CN117911614A (en) | Three-dimensional model display method and device of energy storage system and electronic equipment | |
TW202145088A (en) | Peer-to-peer information transmission processing method with self-contained flow setting, terminal device, and server capable of performing effective dispatching operation without using voice communication | |
CN116127113A (en) | Image generation method and device | |
Hiromoto et al. | A tablet-class cloud architecture for remote execution and interactive data analysis | |
TW202025053A (en) | Device and method of displaying a sell-buy-difference information of a stock quoting software | |
KR20180029018A (en) | Method for intellectual property service, apparatus thereof and computing apparatus therefor |