TWI488113B - Application Integration Method and Computer Program Based on Windows System Products - Google Patents

Application Integration Method and Computer Program Based on Windows System Products Download PDF

Info

Publication number
TWI488113B
TWI488113B TW102107626A TW102107626A TWI488113B TW I488113 B TWI488113 B TW I488113B TW 102107626 A TW102107626 A TW 102107626A TW 102107626 A TW102107626 A TW 102107626A TW I488113 B TWI488113 B TW I488113B
Authority
TW
Taiwan
Prior art keywords
plug
data
ins
program
script
Prior art date
Application number
TW102107626A
Other languages
Chinese (zh)
Other versions
TW201435735A (en
Original Assignee
Senao Networks Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Senao Networks Inc filed Critical Senao Networks Inc
Priority to TW102107626A priority Critical patent/TWI488113B/en
Publication of TW201435735A publication Critical patent/TW201435735A/en
Application granted granted Critical
Publication of TWI488113B publication Critical patent/TWI488113B/en

Links

Description

基於視窗系統的應用程式整合方法及電腦程 式產品Windows-based application integration method and computer program Product

本發明是有關於一種應用程式整合方法,特別是指一種基於視窗系統的應用程式整合方法及電腦程式產品。The invention relates to an application integration method, in particular to a window system based application integration method and a computer program product.

在軟體實務應用上,我們常面臨到所使用的軟體,僅能以傳統應用程式(例如,使用Windows API所開發的應用程式)的方式執行,而無法執行於瀏覽器上;或程式僅能執行於特定的瀏覽器。In software practice applications, we often face the software we use, which can only be executed by traditional applications (for example, applications developed using the Windows API), but not on the browser; or the program can only be executed. For a specific browser.

舉例來說,常見一些具有延展性的軟體,譬如瀏覽器(Browser);可籍由安裝外掛軟件(Plug-in)來擴充本身功能的不足。譬如網路攝影機(IP Camera)的網頁管理程式之動態影音顯現(Video/Audio Live Streaming),就是以外掛軟件的形式執行在瀏覽器上。但這類瀏覽器外掛軟件(Browser Plug-in)的開發,需擇一選擇下面的兩套主流外掛軟件標準中的一套:1. ActiveX標準,支援Internet Explorer瀏覽器;或2. NPAPI標準,支援Firefox、Google Chrome 、Opera及Safari等瀏覽器。For example, some malleable software, such as browsers, are commonly used; plug-in software (Plug-in) can be used to expand the inadequacy of its own functions. For example, Video Camera's web-based management program (Video/Audio Live Streaming) is implemented in the form of plug-in software on the browser. However, the development of such browser plug-in software requires one of the following two sets of mainstream plug-in software standards: 1. ActiveX standard, support Internet Explorer browser; or 2. NPAPI standard, Support for Firefox, Google Chrome Browsers such as Opera and Safari.

此外,在運用這類的標準進行軟體開發時,往往會衍生下列問題:In addition, when using such standards for software development, the following problems are often derived:

1.上述兩套不同的外掛軟件標準無法彼此相容;因此,通常需各別針對不同的外掛軟件標準,開發出不同的軟體專案。1. The above two sets of different plug-in software standards cannot be compatible with each other; therefore, it is usually necessary to develop different software projects for different plug-in software standards.

2.不同外掛軟件標準所編譯出來的外掛程式,很難被其它非瀏覽器的其它傳統應用程式所使用。2. Plug-ins compiled by different plug-in software standards are difficult to use by other non-browser other traditional applications.

3.外掛程式的使用者介面也會因為各瀏覽器對各外掛軟件標準的支援不同,而有所差異。3. The user interface of the plugin will also vary depending on the browser's support for each plug-in software standard.

針對上述透過不同外掛軟件標準所開發出的軟體所延伸出來的問題,實有必要尋求一解決方案。In view of the above-mentioned problems extended by the software developed by different plug-in software standards, it is necessary to seek a solution.

因此,本發明之目的,即在提供一種基於視窗系統的應用程式整合方法,使得透過此方法開發出來的軟體可以同時被主流的瀏覽器及傳統應用程式所執行。Therefore, the object of the present invention is to provide a Windows system-based application integration method, so that the software developed by this method can be executed by both mainstream browsers and traditional applications.

於是本發明基於視窗系統的應用程式整合方法,適用於一載置於一電子裝置的視窗系統;該視窗系統包括一供使用者操作的應用程式、一包括多個腳本資料的腳本檔案、多個外掛程式,及一包括多個初始化程式的整合介面。該基於視窗系統的應用程式整合方法包含下列步驟。Therefore, the application integration method based on the window system of the present invention is applicable to a window system placed on an electronic device; the window system includes an application program for the user to operate, a script file including a plurality of script materials, and a plurality of A plugin, and an integrated interface that includes multiple initialization programs. The Windows system-based application integration method includes the following steps.

首先,該應用程式載入該腳本檔案,以自其讀取該等腳本資料其中一者,該腳本資料包括一初始化程式 清單與一外掛程式清單,其中該初始化程式清單記錄該等初始化程式其中至少一者,該外掛程式清單記錄該等外掛程式其中至少一者。First, the application loads the script file to read one of the script data from the script data, including an initialization program a list and a list of plugins, wherein the list of initializers records at least one of the initializers, the list of plugins recording at least one of the plugins.

接著,該應用程式自該整合介面載入並執行記錄於該初始化程式清單的初始化程式,以獲得一全域唯一識別元件。Next, the application loads and executes an initialization program recorded in the initialization program list from the integration interface to obtain a globally unique identification component.

接著,該整合介面根據該全域唯一識別元件載入記錄於該外掛程式清單的外掛程式;及繼而,該整合介面將已載入的外掛程式進行匹配。Then, the integration interface loads the plug-in recorded in the list of the plug-in according to the global unique identification component; and then, the integration interface matches the loaded plug-in.

本發明之另一目的,即在提供一種內儲基於視窗系統的應用程式整合程式的電腦程式產品,當一電子裝置載入該程式並執行後,可完成上述之基於視窗系統的應用程式整合方法。Another object of the present invention is to provide a computer program product for storing a Windows-based application integration program, which can be completed after an electronic device loads the program and executes the above-mentioned window system-based application integration method. .

1‧‧‧視窗系統1‧‧‧Windows system

11‧‧‧應用程式11‧‧‧Application

111‧‧‧使用者畫面111‧‧‧User screen

12‧‧‧腳本檔案12‧‧‧Script file

121‧‧‧腳本資料121‧‧‧Script data

13‧‧‧外掛程式13‧‧‧Plug

14‧‧‧整合介面14‧‧‧ integrated interface

141‧‧‧初始化程式141‧‧‧Initialization program

21~27‧‧‧步驟21~27‧‧‧Steps

31~34‧‧‧步驟31~34‧‧‧Steps

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一方塊圖,說明本發明基於視窗系統的應用程式整合方法之該視窗系統;圖2是一流程圖,說明本發明基於視窗系統的應用程式整合方法之一第一實施態樣;圖3是一流程圖,說明本發明基於視窗系統的應用程式整合方法之一第二實施態樣;圖4是一示意圖,說明本發明於一瀏覽器執行時之態樣 ;圖5是一示意圖,說明本發明於另一瀏覽器執行時之態樣;以及圖6是一示意圖,說明本發明於一視窗程式執行時之態樣。Other features and effects of the present invention will be apparent from the following description of the drawings. FIG. 1 is a block diagram illustrating the window system of the application system integration method of the present invention; FIG. 2 is A flow chart illustrating a first embodiment of a window system-based application integration method of the present invention; FIG. 3 is a flow chart illustrating a second embodiment of the window system-based application integration method of the present invention; 4 is a schematic diagram illustrating the aspect of the present invention when executed in a browser Figure 5 is a schematic diagram showing the aspect of the present invention when executed by another browser; and Figure 6 is a schematic view showing the aspect of the present invention when executed in a window program.

參閱圖1,本發明基於視窗系統的應用程式整合方法之較佳實施例,係以一電腦程式產品之態樣實施,並在一載置於一電子裝置的視窗系統1中執行,該視窗系統1包括一供使用者操作的應用程式11、一包括多個腳本資料121的腳本檔案12、多個外掛程式13,及一包括多個初始化程式141的整合介面14。Referring to FIG. 1, a preferred embodiment of a Windows system-based application integration method is implemented in a computer program product and executed in a window system 1 mounted on an electronic device. 1 includes an application 11 for user operation, a script file 12 including a plurality of script files 121, a plurality of plug-ins 13, and an integrated interface 14 including a plurality of initialization programs 141.

在本較佳實施例中,該電子裝置例如可為個人電腦(PC)、筆記型電腦(Laptop)、行動裝置(Mobile Device)、平板電腦(Tablet Computer)、或個人數位助理(PDA)之其一;該整合介面14為採用微軟(Microsoft)技術所開發的軟體元件。In the preferred embodiment, the electronic device can be, for example, a personal computer (PC), a laptop (Mobile), a mobile device, a tablet computer, or a personal digital assistant (PDA). The integration interface 14 is a software component developed by Microsoft technology.

其中,該腳本資料121包括一初始化程式清單、一外掛程式清單、一識別資料匹配清單,及一視窗尺寸資料。在本較佳實施例中,該初始化程式清單記錄該等初始化程式141其中至少一者,該外掛程式清單記錄該等外掛程式13其中至少一者。在本較佳實施例中,該等外掛程式為採用微軟技術開發且編譯過的二進位之DLL檔,並可依功能區分成很多類型,例如,負責使用者操作介面的" Layout外掛程式"、負責影音壓縮/解壓縮的"Codec外掛程式"等…。The script data 121 includes an initialization program list, a plug-in program list, an identification data matching list, and a window size data. In the preferred embodiment, the initialization program list records at least one of the initialization programs 141, and the plug-in list records at least one of the plug-ins 13. In the preferred embodiment, the plug-ins are binary DLL files developed and compiled by Microsoft technologies, and can be divided into many types according to functions, for example, responsible for the user interface. Layout plugin", "Codec plugin" for video compression/decompression, etc...

值得一提的是,本較佳實施例中,該應用程式11可藉由下列兩種實施態樣來分別實現:It is worth mentioning that, in the preferred embodiment, the application 11 can be implemented by the following two implementations:

第一實施態樣First embodiment

參閱圖1與圖2,配合此第一實施態樣,該應用程式11包括多種不同的瀏覽器與多種相異的外掛程式介面。其中,在此第一實施態樣中,該等瀏覽器包含Firefox、Google Chrome、Opera、Safari、Internet Explorer及其他瀏覽器等等,且該等外掛程式介面為使該外掛程式13得以在上述瀏覽器中執行之通用介面(例如,ActiveX、NPAPI之介面);且其中每一瀏覽器與該等外掛程式介面其中一者相互對應。Referring to FIG. 1 and FIG. 2, in conjunction with the first embodiment, the application 11 includes a plurality of different browsers and a plurality of different plug-in interfaces. In this first embodiment, the browsers include Firefox, Google Chrome, Opera, Safari, Internet Explorer, and other browsers, and the plug-in interfaces are such that the plug-in 13 can be browsed as described above. A common interface (eg, ActiveX, NPAPI interface) executed in the device; and each of the browsers corresponds to one of the plugin interfaces.

首先,在步驟21中,該等瀏覽器其中一者自其所獲得的一網頁檔案中搜尋一標籤資料。在此第一實施態樣中,以網頁檔案為例,該標籤資料例如為定義在該網頁檔案中<object>及</object>標籤內之標籤資料。First, in step 21, one of the browsers searches for a tag data from a web page file obtained by the browser. In the first embodiment, the webpage file is taken as an example, and the label information is, for example, label data defined in the <object> and </object> tags in the webpage file.

接著,在步驟22中,該瀏覽器根據該網頁檔案中標籤資料之描述內容,載入與其對應的該等外掛程式介面。Next, in step 22, the browser loads the plug-in interfaces corresponding thereto according to the description content of the tag data in the webpage file.

接著,在步驟23中,該瀏覽器載入該腳本檔案12,以自其讀取該等腳本資料121其中一者。在此第一實施態樣中,該腳本資料121為一採用一Base64演算法所編碼的數值,並可為JSON(JavaScript Object Notation)之 格式。Next, in step 23, the browser loads the script file 12 to read one of the script data 121 from it. In this first embodiment, the script material 121 is a value encoded by a Base64 algorithm and can be JSON (JavaScript Object Notation). format.

接著,在步驟24中,該瀏覽器自該整合介面14載入並執行記錄於該初始化程式清單的初始化程式141,以獲得全域唯一識別元件。其中,該全域唯一識別元件包含多個全域唯一識別碼(Global Unique Identifier,GUID)。Next, in step 24, the browser loads and executes the initialization program 141 recorded in the initialization program list from the integration interface 14 to obtain a globally unique identification component. The global unique identifier includes a plurality of Global Unique Identifiers (GUIDs).

在此第一實施態樣中,參閱下表一,用以說明初始化程式141在被執行後,於該腳本資料121建立的環境資訊;其中,該等初始化程式141主要依據該腳本資料121執行初始化工作,如,建立工作專案所需的檔案目錄、名稱(例如,表一中的proj_name欄位)、版本資訊(例如,表一中的proj_id欄位)等等,但其命名及使用方式則不應以此第一實施態樣為限。In this first embodiment, reference is made to the following table 1 to describe the environment information established by the initialization program 141 after the execution of the script data 121; wherein the initialization programs 141 perform initialization mainly according to the script data 121. Work, for example, the archive directory, name (for example, the proj_name field in Table 1), version information (for example, the proj_id field in Table 1), etc. required for the establishment of the work project, but the naming and use thereof are not This should be limited to the first embodiment.

接著,在步驟25中,該整合介面14根據該全域唯一識別元件載入記錄於該外掛程式清單的外掛程式13 。Next, in step 25, the integration interface 14 loads the plug-in 13 recorded in the list of the plug-in according to the global unique identification component. .

在此第一實施態樣中,該等全域唯一識別碼用以分別記錄該腳本資料121中所需外掛程式13。舉例來說,參照下表二,為用以說明該腳本資料121中的外掛程式清單,其中,該等全域唯一識別碼為表二中每個由22個16進位的數值所組成之字串;在其中每一字串係唯一對應於單一個外掛程式13,且由表二中可知該工作專案所需之外掛程式13為四個,但不限於此,其外掛程式13的數量及種類可依工作專案屬性不同而有所增減。In this first embodiment, the global unique identifiers are used to separately record the required plug-ins 13 in the script data 121. For example, refer to the following table 2, which is used to describe the list of plug-ins in the script material 121, wherein the global unique identifiers are the strings consisting of 22 hexadecimal values in Table 2; Each of the strings uniquely corresponds to a single plug-in program 13, and it can be seen from Table 2 that the plug-in program 13 required for the work project is four, but is not limited thereto, and the number and type of the plug-in programs 13 can be Work items have different attributes and have increased or decreased.

接著,在步驟26中,該整合介面14將已載入的外掛程式13進行匹配。其中,該等已載入的外掛程式13包括多個供應者外掛程式(Provider)及多個需求者外掛程式(Consumer),且該識別資料匹配清單具有多筆描述該等供應者外掛程式及該等需求者外掛程式對應關係的匹配資料。Next, in step 26, the integration interface 14 matches the loaded plug-in 13 . The loaded plug-in 13 includes a plurality of provider plug-ins (Providers) and a plurality of consumer plug-ins (Consumers), and the identification data matching list has a plurality of descriptions of the provider plug-ins and the The matching data of the corresponding relationship of the demander plug-in.

在此第一實施態樣中,該等供應者外掛程式分別具有一唯一的識別資料,該等需求者外掛程式分別具有 一唯一的識別資料。參閱下表三,舉例說明該供應者外掛程式如何建立與該需求者外掛程式之匹配關係:首先,該等需求者外掛程式其中一者向該整合介面14以服務識別(Service ID)字串提出服務要求;接著,該整合介面14以該服務識別字串詢問所有載入的供應者外掛程式是否有提供和該服務識別字串相應的服務;當該等供應者外掛程式其中一者的識別資料與該等需求者外掛程式其中一者的識別資料完全相同時(即,此時所述的供應者外掛程式與所述的需求者外掛程式皆提供相同的服務),該整合介面14根據該等匹配資料將識別資料相同的該供應者外掛程式與該需求者外掛程式進行匹配,繼而,該整合介面14因而串聯起所述的供應者外掛程式與所述的需求者外掛程式雙方服務之連線關係,即為表三中括號"{}"內所描述的"provider"、"consumer"、"services"表示為已建立相同服務之匹配關係之供應者、需求者外掛程式。In this first embodiment, the provider plug-ins respectively have a unique identification data, and the demander plug-ins respectively have A unique identification material. Refer to Table 3 below to illustrate how the provider plug-in can establish a matching relationship with the demander plug-in: First, one of the demand plug-ins provides the service interface (Service ID) string to the integration interface 14. Service request; then, the integration interface 14 queries the service provider string to query whether all loaded provider plug-ins provide services corresponding to the service identification string; when the identification data of one of the provider plug-ins is When the identification data of one of the demander plug-ins is exactly the same (ie, the provider plug-in program and the demander plug-in provide the same service at this time), the integration interface 14 is based on the same The matching data matches the provider plug-in program with the same identification data to the demander plug-in program, and then the integration interface 14 thus connects the connection between the provider plug-in program and the demander plug-in program. The relationship, that is, the "provider", "consumer", and "services" described in the brackets "{}" in Table 3 indicates that the matching of the same service has been established. The suppliers, who demand plugin.

進而,在步驟27中,該瀏覽器根據該視窗尺寸資料產生一供該電子裝置顯示的使用者畫面111(見圖4或圖5)。其中,舉例來說,如圖4所示,為說明本發明於Google Chrome瀏覽器上執行網路攝影機管理外掛程式之示意圖;且如圖5所示,為說明本發明於Internet Explorer瀏覽器上執行執行網路攝影機管理外掛程式之示意圖,值得說明的是,不以本案所揭示之網路攝影機管理外掛程式之示例為限。Further, in step 27, the browser generates a user screen 111 (see FIG. 4 or FIG. 5) for the electronic device to display based on the window size data. For example, as shown in FIG. 4, a schematic diagram of executing a webcam management plug-in on the Google Chrome browser according to the present invention; and as shown in FIG. 5, the present invention is executed on the Internet Explorer browser. A schematic diagram of performing a webcam management plug-in program is not limited to the example of the webcam management plug-in disclosed in the present case.

第二實施態樣Second embodiment

參閱圖1與圖3,配合此第二實施態樣,該應用程式11為一基於一應用程式介面而產生的視窗程式。在此第二實施態樣中,該視窗程式之介面標準主要依據該電子裝置所預載之作業平台,舉例來說,假設該電子裝置為裝 載Windows系列之視窗系統1的電腦或筆記型電腦,則該視窗程式可採用Windows API、Windows Forms、或為WPF(Windows Presentation Foundation)之視窗程式標準,但不限於此。其中,此第二實施態樣類似於該第一實施態樣,最主要的差別在於,此第二實施態樣中不須執行該第一實施態中的步驟21至步驟23。Referring to FIG. 1 and FIG. 3, in conjunction with the second embodiment, the application 11 is a window program generated based on an application interface. In this second embodiment, the interface standard of the window program is mainly based on the operating platform preloaded by the electronic device. For example, it is assumed that the electronic device is loaded. For a computer or notebook computer of the Windows series of Windows 1 system, the Windows program may use Windows API, Windows Forms, or WPF (Windows Presentation Foundation) window program standard, but is not limited thereto. The second embodiment is similar to the first embodiment. The main difference is that step 21 to step 23 in the first embodiment are not required to be performed in the second embodiment.

其中,步驟31~34執行的動作類似於步驟24~27,故詳細執行細節不再贅述。The operations performed in steps 31-34 are similar to the steps 24-27, so detailed implementation details are not described herein.

首先,在步驟31中,該視窗程式自該整合介面14載入並執行記錄於該初始化程式清單的初始化程式141,以獲得全域唯一識別元件。其中,該全域唯一識別元件包含多個全域唯一識別碼。First, in step 31, the window program loads and executes the initialization program 141 recorded in the initialization program list from the integration interface 14 to obtain a globally unique identification component. The global unique identification component includes a plurality of global unique identifiers.

接著,在步驟32中,該整合介面14根據該全域唯一識別元件載入記錄於該外掛程式清單的外掛程式13。Next, in step 32, the integration interface 14 loads the plug-in 13 recorded in the list of plug-ins according to the globally unique identification component.

接著,在步驟33中,該整合介面14將已載入的外掛程式13進行匹配。其中,該等已載入的外掛程式13包括多個供應者外掛程式及多個需求者外掛程式,且該識別資料匹配清單具有多筆描述該等供應者外掛程式及該等需求者外掛程式對應關係的匹配資料。Next, in step 33, the integration interface 14 matches the loaded plug-in 13 . The loaded plug-in program 13 includes a plurality of provider plug-ins and a plurality of demander plug-ins, and the identification data matching list has a plurality of descriptions of the provider plug-ins and the plug-ins corresponding to the demanders. Matching information for the relationship.

繼而,在步驟34中,該視窗程式根據該視窗尺寸資料產生一供該電子裝置顯示的使用者畫面111(見圖6)。其中,舉例來說,如圖6所示,為說明本發明透過Windows API技術所開發之網路攝影機管理外掛程式,並以視窗程式 執行之示意圖,但不以本案所揭示之網路攝影機管理外掛程式之示例為限。Then, in step 34, the window program generates a user screen 111 (see FIG. 6) for the electronic device to display based on the window size data. For example, as shown in FIG. 6, in order to illustrate the webcam management plug-in developed by the Windows API technology of the present invention, and to use a window program The schematic diagram of the implementation, but not limited to the example of the webcam management plug-in disclosed in this case.

綜上所述,由於該等外掛程式13皆為採用微軟開發技術且副檔名為DLL的軟體元件檔;因此,在上述架構下,具有以下優點:(a)簡化開發難度:在外掛程式13的開發上,不須了解瀏覽器外掛程式的標準及實作,亦不須為不同的瀏覽器外掛軟件開發不同的軟體專案。(b)跨瀏覽器及傳統應用程式,以提升重用性:同一份外掛程式13套件,可被執行在不同的瀏覽器及傳統應用程式;(c)安裝容易:由於該外掛程式13為採用Windows標準安裝程序,因此僅需要安裝一次,不需要憑證(Certificate),也不需要分別為不同的ActiveX,NPAPI或傳統應用程式進行不同的安裝程序。(d)一致及統一的使用者介面:當外掛程式執行於瀏覽器或視窗程式時,會另外提供一致的使用者介面,使得使用者介面不受瀏覽器及視窗程式的支援標準不同(例如,HTML5)而有所不同。(e)保護原始程式碼:該等外掛程式13為編譯過的二進位之DLL檔,不像網頁採用HTML及JavaScript的明文原始碼描述,會造成原始碼外外流。(f)支援初始化脚本:視窗系統可依脚本資料(採用JSON或XML)彈性進行執行環境設定,載入外掛程式13及串聯外掛程式關係等,故確實能達成本發明之目的。因此,各瀏覽器需針對各自外掛軟件標準的差異,進行不同的處理。In summary, since the plug-in programs 13 are software component files using Microsoft development technology and the sub-file name is DLL; therefore, under the above architecture, the following advantages are achieved: (a) Simplified development difficulty: in the plug-in program 13 In terms of development, it is not necessary to understand the standards and implementation of browser plug-ins, and it is not necessary to develop different software projects for different browser plug-in software. (b) Cross-browser and traditional applications to enhance reusability: the same plug-in 13 suite can be executed in different browsers and traditional applications; (c) easy to install: since the plug-in 13 is Windows Standard installer, so it only needs to be installed once, no certificate is required, and there is no need to install different programs for different ActiveX, NPAPI or traditional applications. (d) Consistent and unified user interface: When the plug-in is executed in a browser or a window program, a consistent user interface is provided to make the user interface different from the browser and window program support standards (for example, HTML5) is different. (e) Protect the original code: These plug-ins 13 are compiled binary DLL files, unlike the plaintext source code description of HTML and JavaScript, which will cause the original code to flow out. (f) Support initialization script: The window system can flexibly perform execution environment setting according to script data (using JSON or XML), load plug-in program 13 and serial plug-in program relationship, etc., so that the object of the present invention can be achieved. Therefore, each browser needs to handle differently according to the difference of the respective plug-in software standards.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申 請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。However, the above is only the preferred embodiment of the present invention, and the scope of the present invention cannot be limited thereto. The simple equivalent changes and modifications made by the patent scope and the contents of the patent specification are still within the scope of the invention.

1‧‧‧視窗系統1‧‧‧Windows system

11‧‧‧應用程式11‧‧‧Application

12‧‧‧腳本檔案12‧‧‧Script file

121‧‧‧腳本資料121‧‧‧Script data

13‧‧‧外掛程式13‧‧‧Plug

14‧‧‧整合介面14‧‧‧ integrated interface

141‧‧‧初始化程式141‧‧‧Initialization program

Claims (10)

一種基於視窗系統的應用程式整合方法,適用於一載置於一電子裝置的視窗系統,該視窗系統包括一供使用者操作的應用程式、一包括多個腳本資料的腳本檔案、多個外掛程式,及一包括多個初始化程式的整合介面,該基於視窗系統的應用程式整合方法包含:(A)該應用程式載入該腳本檔案,以自其讀取該等腳本資料其中一者,該腳本資料包括一初始化程式清單與一外掛程式清單,其中該初始化程式清單記錄該等初始化程式其中至少一者,該外掛程式清單記錄該等外掛程式其中至少一者;(B)該應用程式自該整合介面載入並執行記錄於該初始化程式清單的初始化程式,以獲得一全域唯一識別元件;(C)該整合介面根據該全域唯一識別元件載入記錄於該外掛程式清單的外掛程式;及(D)該整合介面將已載入的外掛程式進行匹配。A window system-based application integration method for a window system placed on an electronic device, the window system includes an application program for a user operation, a script file including a plurality of script materials, and a plurality of plug-ins And an integrated interface including a plurality of initialization programs, the window system-based application integration method comprising: (A) the application loading the script file to read one of the script materials from the script The data includes an initialization program list and a list of external programs, wherein the initialization program list records at least one of the initialization programs, the list of external programs records at least one of the external programs; (B) the application is integrated from the The interface loads and executes an initialization program recorded in the initialization program list to obtain a globally unique identification component; (C) the integration interface loads the plug-in recorded in the list of the plug-in according to the global unique identification component; and (D) The integration interface matches the loaded plugins. 如請求項1所述的基於視窗系統的應用程式整合方法,其中在步驟(D)中該等已載入的外掛程式包括多個供應者外掛程式與多個需求者外掛程式,該等供應者外掛程式分別具有一唯一的識別資料,該等需求者外掛程式分別具有一唯一的識別資料,當該等供應者外掛程式其中一者的識別資料與該等需求者外掛程式其中一者的識別資料完全相同時,該整合介面將識別資料相同的該 供應者外掛程式與該需求者外掛程式進行匹配。The method for integrating a Windows-based application according to claim 1, wherein in the step (D), the loaded plug-ins include a plurality of provider plug-ins and a plurality of demander plug-ins, the providers The plug-ins respectively have a unique identification data, and the demander plug-ins respectively have a unique identification data, and the identification data of one of the provider plug-ins and the identification data of one of the demand plug-ins When identical, the integration interface will identify the same data. The provider plugin matches the consumer plugin. 如請求項2所述的基於視窗系統的應用程式整合方法,其中該腳本資料還包括一識別資料匹配清單,該識別資料匹配清單具有多筆描述該等供應者外掛程式與該等需求者外掛程式對應關係的匹配資料,且在步驟(D)中該整合介面還根據該等匹配資料將識別資料相同的該供應者外掛程式與該需求者外掛程式進行匹配。The window system-based application integration method of claim 2, wherein the script data further includes an identification data matching list, the identification data matching list having a plurality of descriptions of the provider plug-ins and the demander plug-ins Corresponding data of the matching relationship, and in step (D), the integration interface further matches the provider plug-in program with the same identification data with the demander plug-in according to the matching data. 如請求項2所述的基於視窗系統的應用程式整合方法,其中該應用程式為一基於一應用程式介面而產生的視窗程式。The window system-based application integration method of claim 2, wherein the application is a window program generated based on an application interface. 如請求項2所述的基於視窗系統的應用程式整合方法,其中該應用程式包括多種不同的瀏覽器與多種相異的外掛程式介面,每一瀏覽器與該等外掛程式介面其中一者對應。The window system-based application integration method of claim 2, wherein the application comprises a plurality of different browsers and a plurality of different plug-in interfaces, each browser corresponding to one of the plug-in interfaces. 如請求項5所述的基於視窗系統的應用程式整合方法,還包含一在步驟(A)之前的步驟(E):(E)該等瀏覽器其中一者自其所獲得的一網頁檔案中搜尋一標籤資料。The window system-based application integration method according to claim 5, further comprising a step (E) before the step (A): (E) one of the browsers is obtained from a webpage file obtained by the browser Search for a tag data. 如請求項6所述的基於視窗系統的應用程式整合方法,還包含一在步驟(E)與步驟(A)之間的步驟(F):(F)該瀏覽器根據該標籤資料載入與其對應的該等外掛程式介面。The window system-based application integration method according to claim 6, further comprising a step (F) between the step (E) and the step (A): (F) the browser loads the tag data according to the tag Corresponding to these plugin interfaces. 如請求項7所述的基於視窗系統的應用程式整合方法,其中在步驟(A)中該外掛程式介面載入該腳本檔案以 讀取該腳本資料,其中該腳本資料為一採用一Base64演算法所編碼的數值。The window system-based application integration method of claim 7, wherein in the step (A), the plugin interface loads the script file to The script data is read, wherein the script data is a value encoded by a Base64 algorithm. 如請求項1所述的基於視窗系統的應用程式整合方法,還包含一在步驟(D)之後的步驟(G),且該腳本資料還包括一視窗尺寸資料:(G)該應用程式根據該視窗尺寸資料產生一供該電子裝置顯示的使用者畫面。The window system-based application integration method according to claim 1, further comprising a step (G) after the step (D), wherein the script data further includes a window size data: (G) the application according to the The window size data produces a user screen for display by the electronic device. 一種內儲基於視窗系統的應用程式整合程式的電腦程式產品,當一電子裝置載入該程式並執行後,可完成請求項1~9中任一項記載之功能。A computer program product that stores a Windows-based application integration program, and when an electronic device loads the program and executes it, the functions described in any one of the items 1 to 9 can be completed.
TW102107626A 2013-03-05 2013-03-05 Application Integration Method and Computer Program Based on Windows System Products TWI488113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102107626A TWI488113B (en) 2013-03-05 2013-03-05 Application Integration Method and Computer Program Based on Windows System Products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102107626A TWI488113B (en) 2013-03-05 2013-03-05 Application Integration Method and Computer Program Based on Windows System Products

Publications (2)

Publication Number Publication Date
TW201435735A TW201435735A (en) 2014-09-16
TWI488113B true TWI488113B (en) 2015-06-11

Family

ID=51943390

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102107626A TWI488113B (en) 2013-03-05 2013-03-05 Application Integration Method and Computer Program Based on Windows System Products

Country Status (1)

Country Link
TW (1) TWI488113B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161802A1 (en) * 2001-02-27 2002-10-31 Gabrick Kurt A. Web presentation management system
TWM417620U (en) * 2011-06-10 2011-12-01 Rui-Ji Rao Hand-held electronic device with personal situation browsing system
TW201207632A (en) * 2010-08-02 2012-02-16 Blessing Technology Ltd A method and system for intuitive individual-to-individual data-sharing cloud service
TW201211935A (en) * 2010-04-07 2012-03-16 Apple Inc Avatar editing environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161802A1 (en) * 2001-02-27 2002-10-31 Gabrick Kurt A. Web presentation management system
TW201211935A (en) * 2010-04-07 2012-03-16 Apple Inc Avatar editing environment
TW201207632A (en) * 2010-08-02 2012-02-16 Blessing Technology Ltd A method and system for intuitive individual-to-individual data-sharing cloud service
TWM417620U (en) * 2011-06-10 2011-12-01 Rui-Ji Rao Hand-held electronic device with personal situation browsing system

Also Published As

Publication number Publication date
TW201435735A (en) 2014-09-16

Similar Documents

Publication Publication Date Title
US10565293B2 (en) Synchronizing DOM element references
US9448776B1 (en) Method and apparatus for converting a website into a native mobile application
US20170371722A1 (en) Intelligent mediation of messages in a healthcare product integration platform
Boztas et al. Smart TV forensics: Digital traces on televisions
US8543973B2 (en) Method and system for providing authentication schemes for web services
US10331423B1 (en) Utilizing cross platform streamable user interfaces to reduce software deployment frequency caused by user interface improvements
US20150128017A1 (en) Enabling interactive screenshots within collaborative applications
US20130144934A1 (en) Web Content Targeting Based on Client Application Availability
WO2016131311A1 (en) Browser compatibility method and browser
US10572546B2 (en) Information processing apparatus, document display method, document display system, and medium
CN103605801B (en) Method and system for managing documents data
US20090319494A1 (en) Field mapping for data stream output
US9870411B2 (en) Managing data ingestion
US20150143210A1 (en) Content Stitching Templates
JP6080866B2 (en) Computerized method, system, and computer program for mapping one or more dynamic visual objects of a network document
CN107491334B (en) Method for organizing and loading preloaded files
US10621388B2 (en) Automatic delta query support for backend databases
BRPI0711782A2 (en) mobile user experience virtualization
US20180349623A1 (en) Techniques for enabling a software application to perform an operation on a file stored on a file system while enforcing privacy measures
Iqbal et al. Windows Surface RT tablet forensics
TWI488113B (en) Application Integration Method and Computer Program Based on Windows System Products
US9342530B2 (en) Method for skipping empty folders when navigating a file system
US20150100888A1 (en) Providing a common interface for accessing and presenting component configuration settings
US20090319471A1 (en) Field mapping for data stream output
Guo et al. A new partial information extraction method for personal mashup construction

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees