TWI492155B - Methods and systems for executing applications on mobile devices using cloud services - Google Patents
Methods and systems for executing applications on mobile devices using cloud services Download PDFInfo
- Publication number
- TWI492155B TWI492155B TW101123968A TW101123968A TWI492155B TW I492155 B TWI492155 B TW I492155B TW 101123968 A TW101123968 A TW 101123968A TW 101123968 A TW101123968 A TW 101123968A TW I492155 B TWI492155 B TW I492155B
- Authority
- TW
- Taiwan
- Prior art keywords
- service
- request
- application
- execution
- service request
- Prior art date
Links
Landscapes
- Telephonic Communication Services (AREA)
Description
本發明與行動裝置執行應用有關,進言之,是使用資訊科技之系統整合與運算技術,將欲在行動裝置上執行的應用,先調用系統功能生成應用說明文件並載入至行動裝置,然後啟動行動裝置中之應用執行代理程式,在應用執行過程中透過雲端的服務執行代理程式,以服務呼叫模式來執行應用之服務請求,方法與系統是有關於將系統整合運算技術使用在應用文件生成與服務請求執行相關的應用中。 The invention relates to the execution of an application by a mobile device. In other words, the system integration and computing technology of the information technology is used, and the application to be executed on the mobile device first calls the system function to generate an application description file and loads it into the mobile device, and then starts. The application execution agent in the mobile device executes the application service request in the service call mode through the cloud service execution agent during the application execution process, and the method and system are related to using the system integration operation technology in the application file generation and The service request is executed in the relevant application.
系統整合運算技術是資訊科技產業不斷演化的一種科技,從早期的主機模式(mainframe),到主從架構模式(client-server),到多層式的應用模式(application server),以及雲端運算(cloud computing)服務模式。系統整合運算技術允許系統將應用(applications)、服務(services)、資料等依需要部署在不同的主機或伺服器上,以增加系統運作的彈性、可用性與擴充性。各個主機或伺服器可採用應用程式或服務的模式來相互呼叫或整合以達成運算的目的。利用應用執行重新指向、服務的部署、資料的彈性儲存等功能,系統整合運算技術提供系統化的方法,來管理一資訊集中化而存取開放化的資訊系統,以降低系統運作的成本。其次,目前在行動裝置上的應用,多是採行固定的服務模式,不僅缺乏彈性,應用的範圍亦有限,無法用來執行複雜的商業應用。本發明以系統整合運算技術,結合應用說明文件生成方法及服務請求執行方法,將先前行動裝置單純的應用模式,延伸至可滿足高度彈性化設計的商業服務應用模式。 System integration computing technology is a technology that is constantly evolving in the information technology industry, from early mainframe (mainframe) to master-slave architecture (client-server), to multi-tier application server (application server), and cloud computing (cloud) Computing) service model. System integration computing technology allows the system to deploy applications, services, data, etc. on different hosts or servers as needed to increase the flexibility, availability and scalability of the system. Each host or server can use the mode of the application or service to call or integrate with each other for the purpose of computing. Using application re-orientation, service deployment, and flexible storage of data, system integration computing technology provides a systematic approach to managing a centralized information and accessing an open information system to reduce the cost of system operations. Secondly, the current application on mobile devices is mostly based on a fixed service model, which is not only inelastic, but also has limited application scope and cannot be used to perform complex commercial applications. The invention integrates the simple application mode of the prior mobile device with the system integration computing technology, the application description file generation method and the service request execution method, and extends the business service application mode that can satisfy the highly flexible design.
本發明提出一使用系統整合運算技術將雲端服務組合並在行動裝置上執行的方法與系統。行動裝置應用開發人員,可將雲端服務系統中預先定義完成的服務,及自行定義的服務,相結合後生成應用說明文件。行動裝置的服務請求代理程式可讀入應用說明文件加以剖析後產生介面及接收輸入資料,並與系統上之服務執行代理程式溝通。系統上之服務執行代理程式利用服務執行觸發模組完成服務請求,並將執行結果回傳給行動裝置,並在行動裝置上依應用說明文件設定之內容顯示傳回的結果。本發明所稱之應用說明文件並非一般之本文(text)文件,而是一份利用網際網路服務描述語言(web service description language)由預先定義或自行定義之雲端服務項目所組合成,並可供行動裝置服務請求代理程式剖析及動態產生操作介面的類似腳本(script)文件。而本發明所稱之行動裝置的服務請求代理程式亦非一般僅執行預先設定功能,或是僅單純呼叫及執行特定雲端服務的代理程式;而是能剖析利用網際網路服務描述語言(web service description language)由預先定義或自行定義之雲端服務項目所組合成的應用說明文件並動態產生操作介面,及在動態產生之操作介面中依動態設定之元件類別屬性格式輸入資料後與雲端服務執行代理程式溝通,及接收雲端服務執行代理程式所傳回的執行結果後,在行動裝置上依應用說明文件中所設定之內容格式顯示回傳結果的服務請求代理程式。 The present invention proposes a method and system for combining cloud services and executing them on a mobile device using system integration computing techniques. The mobile device application developer can combine the pre-defined services in the cloud service system and the self-defined services to generate an application description file. The mobile device's service request agent can be parsed into the application description file to parse the interface and receive input data, and communicate with the service execution agent on the system. The service execution agent on the system uses the service execution trigger module to complete the service request, and returns the execution result to the mobile device, and displays the returned result on the mobile device according to the content set by the application description file. The application description file referred to in the present invention is not a general text file, but is a combination of a pre-defined or self-defined cloud service project using an internet service description language. A script file for the mobile device service request agent parsing and dynamically generating the operation interface. The service requesting agent of the mobile device referred to in the present invention is not only generally performing a preset function, or simply calling and executing an agent of a specific cloud service; instead, it can analyze the use of the Internet service description language (web service) Description language) An application description file composed of pre-defined or self-defined cloud service items and dynamically generated an operation interface, and a cloud service execution agent after inputting data according to a dynamically set component category attribute format in a dynamically generated operation interface After the program communicates and receives the execution result returned by the cloud service execution agent, the service request agent that displays the return result is displayed on the mobile device according to the content format set in the application description file.
在第一實施例中,一雲端服務系統包含至少一資料儲存單元,至少一應用說明文件生成處理單元,及至少一服務請求執行處理單元。該雲端服務系統可利用組態設定來提供至少一種資訊服務。該雲端服務系統亦可包含複數 個利用組態設定來登錄,並能與該雲端服務系統相互溝通及執行特定服務之第三方服務提供者系統。該雲端服務系統至少有一處理單元,可利用資料儲存單元上預先定義完成的服務,或針對自行定義之服務,以服務組合的方法生成應用說明文件;及至少有一處理單元,可接收行動裝置的服務請求,並根據服務請求類別,呼叫雲端服務系統本身所提供之服務,或是呼叫第三方服務提供者之服務,並將執行結果傳回行動裝置。 In the first embodiment, a cloud service system includes at least one data storage unit, at least one application description file generation processing unit, and at least one service request execution processing unit. The cloud service system can utilize configuration settings to provide at least one information service. The cloud service system can also include plural A third-party service provider system that uses configuration settings to log in and communicate with the cloud service system and perform specific services. The cloud service system has at least one processing unit, which can utilize a pre-defined service on the data storage unit, or generate an application description file in a service combination manner for a self-defined service; and at least one processing unit can receive the service of the mobile device Request, and according to the service request category, call the service provided by the cloud service system itself, or call the service of the third-party service provider, and transmit the execution result back to the mobile device.
在特定的實施例中,該雲端服務系統之服務請求處理單元,可設定組態依輸入參數動態產生並依據行動裝置的服務請求類別,以預先設定之參數值補足行動裝置傳來遺漏值之項目,來完成服務請求格式。 In a specific embodiment, the service request processing unit of the cloud service system may set the configuration to dynamically generate the item according to the input parameter and according to the service request category of the mobile device, and supplement the item with the missing value by the preset parameter value. , to complete the service request format.
在其他特定實施例中,該雲端服務系統至少有一資料儲存單元可設定組態依輸入參數動態產生來儲存服務項目、服務組態、服務執行規則、及服務提供單位等與雲端服務相關的資訊。 In other specific embodiments, the cloud service system has at least one data storage unit configured to dynamically generate information related to the cloud service, such as service items, service configurations, service execution rules, and service providers, according to the input parameters.
在另外之其他實施例中,該雲端服務系統之服務請求處理單元,可設定組態依輸入參數動態產生與特定之ERP應用系統連結,以第三方服務提供者角色來提供商業應用之資訊服務。 In still other embodiments, the service request processing unit of the cloud service system can set the configuration to dynamically generate an information service that is linked to a specific ERP application system according to the input parameter to provide a commercial application in a third-party service provider role.
第二個實施例是應用說明文件生成的環境,該環境包含至少一個應用文件生成模組的處理單元,及至少一可設定組態依輸入參數動態產生來儲存與服務相關資料的資料儲存單元。應用說明文件在生成前是先存放在應用說明文件暫存區,待全部應用生成請求完成後才產生。 The second embodiment is an environment for applying an application file generation, the environment comprising at least one processing unit of the application file generation module, and at least one data storage unit that can be configured to dynamically generate the service-related data according to the input parameters. The application description file is stored in the application description file staging area before being generated, and is generated after all application generation requests are completed.
第三個實施例是行動裝置的服務請求執行環境,該環境包含至少一個服務請求執行模組的處理單元,及至少一可設定組態依輸入參數動態產生來儲存與服務相關資料的資料儲存單元。服務請求執行分為系統服務與第三方服務提供者服務兩類,服務請求執行的結果將回傳給行動裝 置。 A third embodiment is a service request execution environment of a mobile device, the environment comprising a processing unit of the at least one service request execution module, and at least one data storage unit configured to dynamically generate the service-related data dynamically generated according to the input parameters . Service request execution is divided into two types: system service and third-party service provider service. The result of service request execution will be returned to mobile equipment. Set.
以上僅為本發明之簡略說明,進一步的描述將在後文中詳加說明。本發明內容與實施方式之解說並未界定申請專利範圍之主要技術特徵,亦未限制申請專利之範圍。 The above is only a brief description of the present invention, and further description will be hereinafter described in detail. The description of the content and the embodiments of the present invention does not define the main technical features of the scope of the patent application, nor does it limit the scope of the patent application.
為進一步對本發明作更清楚說明,乃藉由以下圖式、圖號說明、及發明詳細說明,冀能對貴審查委員之審查工作有所助益。 In order to further clarify the present invention, it will be helpful to review the review by the reviewer, the description of the drawings, and the detailed description of the invention.
在以下由圖一至圖五所討論的內容以及各種實施例,其用來描述本文件中所述發明的原則僅為說明之用,應不可以其他方式來建構而限制本發明之範疇。對所屬技術領域中具有通常知識者,應瞭解本發明之原則可在任何型態之適當安排的設備或系統上實施。 The matters discussed in the following Figures 1 through 5, and the various embodiments, which are used to describe the principles of the invention described herein, are merely illustrative and should not be construed as limiting the scope of the invention. It will be appreciated by those of ordinary skill in the art that the principles of the invention can be practiced on any suitably arranged device or system.
圖一描述本發明之一範例系統100。圖一顯示一可連結至網際網路的設備102,一行動裝置104,及一第三方服務提供者系統106與一雲端服務系統108相連結。雲端服務系統108包含一應用說明文件生成處理單元110,此處所稱之應用說明文件並非一般之本文(text)文件,而是一份利用網際網路服務描述語言(web service description language)由預先定義或自行定義之雲端服務項目所組合成,並可供行動裝置服務請求代理程式剖析及動態產生操作介面的類似腳本(script)文件;一服務請求執行處理單元112用來執行雲端服務執行代理程式,與一資料儲存單元114。應用說明文件生成處理單元110可被設備102存取,服務請求執行處理單元112可與行動裝置104上的處理單元116相互溝通,亦可與第三方服務提供者系統106上的處理單元118相互溝通。行動裝置104上的處理單元116將執行服務請求代理程式,該服務請求代理程式並非一般僅執行預先設定功能,或是僅單純呼叫及執行特定雲端服務的代理程式,而是能剖析利用網際網路服務描述語言(web service description language)由預先定義或自行定義 之雲端服務項目所組合成的應用說明文件並動態產生操作介面,及在動態產生之操作介面中依動態設定之元件類別屬性格式輸入資料後與服務請求執行處理單元112上執行之雲端服務代理程式溝通,及接收雲端服務代理程式所傳回的執行結果後,在行動裝置上依應用說明文件中所設定之內容格式顯示回傳結果的服務請求代理程式。本發明創新之處之一即為設計一具彈性且穩固的雲端服務系統108,透過創新的作業流程及結合第三方之多元的服務,來提供雲端服務給各種環境下的行動裝置。此種多元混合式之雲端服務模式將可成為行動商務之基礎建設重要的一環。 Figure 1 depicts an exemplary system 100 of the present invention. 1 shows a device 102 connectable to the Internet, a mobile device 104, and a third party service provider system 106 coupled to a cloud service system 108. The cloud service system 108 includes an application profile generation processing unit 110. The application description file referred to herein is not a general text file, but a pre-defined one using a web service description language. Or a self-defining cloud service project is combined and can be used by the mobile device service requesting agent to parse and dynamically generate a script file of the operation interface; a service request execution processing unit 112 is configured to execute the cloud service execution agent, And a data storage unit 114. The application profile generation processing unit 110 can be accessed by the device 102, and the service request execution processing unit 112 can communicate with the processing unit 116 on the mobile device 104 or with the processing unit 118 on the third party service provider system 106. . The processing unit 116 on the mobile device 104 will execute a service requesting agent that does not generally only perform pre-set functions, or simply calls and executes an agent of a specific cloud service, but can analyze the use of the Internet. The web service description language is predefined or defined by itself. The application description file combined by the cloud service item dynamically generates an operation interface, and the cloud service agent executed on the service request execution processing unit 112 after inputting the data in the dynamically generated component category attribute format in the dynamically generated operation interface After communicating and receiving the execution result returned by the cloud service agent, the service request agent displaying the return result is displayed on the mobile device according to the content format set in the application description file. One of the innovations of the present invention is to design a flexible and stable cloud service system 108 to provide cloud services to mobile devices in various environments through innovative workflows and combined with third-party services. This multi-hybrid cloud service model will become an important part of the foundation of mobile commerce.
雲端服務系統108是具有儲存資訊與執行資料運算能力的資訊系統。此雲端服務系統包含至少一伺服器,可由遠端來存取。此雲端服務系統108可包含複數個儲存設備,可以儲存單元114之集合來參照,以及複數個處理單元,可以處理單元110或112之集合來參照。此雲端服務系統108亦可包含與第三方服務提供者系統相互溝通的硬體。其次,此雲端服務系統108亦可包含與第三方服務提供者系統相互溝通的軟體。因此,此雲端服務系統108利用軟硬體及透過安全或一般連結方式與第三方服務提供者系統106相互溝通來完成組合式的雲端服務電子化作業。雖然圖一中僅有一個雲端服務系統,但本發明亦適用於複數個雲端服務的整合式系統。 The cloud service system 108 is an information system having the ability to store information and perform data operations. The cloud service system includes at least one server that can be accessed by the remote end. The cloud service system 108 can include a plurality of storage devices, can be referenced by a collection of storage units 114, and a plurality of processing units, which can be referenced by a collection of processing units 110 or 112. The cloud services system 108 can also include hardware that communicates with third party service provider systems. Second, the cloud services system 108 can also include software that communicates with third party service provider systems. Therefore, the cloud service system 108 communicates with the third-party service provider system 106 through software and hardware and through secure or general connection to complete the combined cloud service electronic operation. Although there is only one cloud service system in FIG. 1, the present invention is also applicable to an integrated system of a plurality of cloud services.
第三方服務提供者系統106可為複數個不同行業環境或單位的電腦系統,亦可包含複數個伺服器、個人電腦、或任何可執行雲端服務請求的相關電子化作業的溝通設備。 The third party service provider system 106 can be a computer system of a plurality of different industry environments or units, and can also include a plurality of servers, personal computers, or any communication device for performing related electronic operations of the cloud service request.
第三方服務提供者系統106可透過任何安全或一般的方法,包括安全超文件傳輸協定(secure hypertext transfer protocol),安全終端機(secure telnet)、或安全檔案傳輸協定 (secure file transfer protocol)來與雲端服務系統108溝通。一般瞭解採用安全方法是優於一般方法,而所選擇的方法則是依存取的功能需求而定。本發明並未限制僅能採用任何特定的協定或資料傳輸方法。 The third party service provider system 106 can communicate through any secure or general method, including a secure hypertext transfer protocol, a secure telnet, or a secure file transfer protocol. (secure file transfer protocol) to communicate with the cloud service system 108. It is generally understood that the adoption of a secure method is superior to the general method, and the method chosen is based on the functional requirements of the access. The invention is not limited to the use of any particular protocol or method of data transmission.
第三方服務提供者系統106與雲端服務系統108的溝通必須是雙向的。所謂雙向溝通是指資料是在兩個或多個溝通設備間相互傳送與接收。 The communication between the third party service provider system 106 and the cloud service system 108 must be bidirectional. The so-called two-way communication means that data is transmitted and received between two or more communication devices.
在某些實施例中,雲端服務系統108可能採用服務導向架構(Service Oriented Architecture,SOA),由伺服主機以服務呼叫模式來提供雲端服務。當行動裝置的使用者呼叫一功能,例如庫存查詢,則是由行動裝置上的服務請求代理程式以服務呼叫模式,請求雲端服務系統108提供資訊查詢服務。本發明所揭露的系統或方法可被設計為多租戶(multi-tenancy),此可讓多個單位共享同一實體資料庫資源,但仍維持各自資料的完全與私密性。 In some embodiments, the cloud service system 108 may employ a Service Oriented Architecture (SOA) that provides cloud services by the server in a service call mode. When the user of the mobile device calls a function, such as an inventory inquiry, the service request agent on the mobile device requests the cloud service system 108 to provide the information inquiry service. The system or method disclosed by the present invention can be designed as a multi-tenancy, which allows multiple units to share the same entity database resource, but still maintains the completeness and privacy of the respective data.
本發明創新特徵之一是在執行雲端服務時,可在複數個雲端服務系統108的資料儲存與資料處理單元間採用混合的處理模式。如果行動裝置104的某些特性交由雲端服務系統108來執行較優時,則可選擇由雲端服務系統108來執行;否則可維持在行動裝置104上執行,如此可以達成資源的有效安排與較佳的執行績效。 One of the innovative features of the present invention is that when performing cloud services, a mixed processing mode can be employed between the data storage and data processing units of the plurality of cloud service systems 108. If some characteristics of the mobile device 104 are performed by the cloud service system 108 to perform better, then the cloud service system 108 can be selected to perform; otherwise, the mobile device 104 can be maintained for execution, so that effective arrangements and comparisons of resources can be achieved. Good performance.
圖二顯示一應用說明文件生成案例208及簡化之應用說明文件生成的執行環境的實施例200。圖二同時描述應用說明文件生成環境中的功能元件。在某些實施例中,功能元件可能是一硬體元件202,一軟體元件204,或是一硬體與軟體組合的元件。某些元件可能是應用層級的軟體,而某些元件則可能是作業系統層級的元件。在另一些實施例中,兩個或多個緊密連結的元件可在單一硬體平台上運作來生成應用說明文件。而在另一些實施例中,元件則可能是跨越網路來進行連結。每一種實施例可能會使用 不同的硬體、軟體、及相連結的網路架構來達成設定的功能。 2 shows an embodiment 200 of an application description file generation case 208 and a simplified application profile generation execution environment. Figure 2 also describes the functional elements in the application documentation generation environment. In some embodiments, the functional component may be a hardware component 202, a software component 204, or a combination of hardware and software. Some components may be application level software, while some components may be operating system level components. In other embodiments, two or more closely coupled components can operate on a single hardware platform to generate an application documentation. In other embodiments, the components may be linked across a network. Every embodiment may use Different hardware, software, and connected network architectures to achieve the set functions.
執行環境206可包含應用說明文件生成模組210,該應用說明文件生成模組210可執行的功能包括:接收應用生成請求212、生成請求指令分類214、生成請求指令格式驗證216、生成請求指令執行218、及執行結果回傳224。接收應用生成請求功能212可執行請求的初始處理,例如將接收的請求指令格式轉換成其他指令可處理的格式。在某些實施例中,接收應用生成請求功能212亦執行某些元件間溝通的工作。 The execution environment 206 can include an application description file generation module 210. The functions executable by the application specification file generation module 210 include: receiving an application generation request 212, generating a request instruction classification 214, generating a request instruction format verification 216, and generating a request instruction execution. 218, and the execution result is returned 224. The Receive Application Generation Request function 212 can perform initial processing of the request, such as converting the received request instruction format to a format that other instructions can process. In some embodiments, receiving application generation request function 212 also performs some inter-component communication work.
執行環境206亦可包含一應用生成請求指令執行引擎222,該應用生成請求指令執行引擎222,可用來處理由應用說明文件生成模組210的生成請求指令執行功能218所寫入至生成請求指令佇列220中,等待執行的生成請求指令。應用生成請求指令執行引擎222執行的結果回傳224,可依指令請求寫入應用說明文件暫存區226中,或是產生應用說明文件生成檔228,供之後下載至行動裝置中。 The execution environment 206 can also include an application generation request instruction execution engine 222 that can be used to process the write request request execution function 218 of the application specification file generation module 210 to the generation request request. In column 220, a request to generate is awaiting execution. The application generation request execution engine 222 executes the result backhaul 224, may be written into the application specification file temporary storage area 226 according to the instruction request, or generate an application specification file generation file 228 for later downloading to the mobile device.
執行環境206所包含的應用說明文件生成模組210及應用生成請求指令執行引擎222,可以是經編譯及連結後所產生的可執行程式碼,亦可為需在執行環境206控制下來執行的管制程式碼(managed code)或者原始碼(source code)。執行的模式可為即時處理模式,亦可為批次模式,如採用批次模式,則可結合生成請求指令佇列220、說明文件暫存區226、及應用說明文件生成檔228等元件。 The application description file generation module 210 and the application generation request instruction execution engine 222 included in the execution environment 206 may be executable code generated after being compiled and linked, or may be controlled under the control of the execution environment 206. Managed code or source code. The executed mode may be an immediate processing mode or a batch mode. For example, in the batch mode, components such as a request request queue 220, a description file temporary storage area 226, and an application specification file generation file 228 may be combined.
在某些實施例中,服務執行規則設定檔案234可用來指示說明生成文件生成模組210的運作模式,例如在不同的時段,啟動不同數目的各類元件,以達到負荷平衡的(load balance)目的。生成請求指令分類功能214可將請求事件分類。生成請求指令格式驗證216在確認指令格式的正確性。將請求事件分類或是驗證指令格式的正確性,將 使用到服務項目檔案230、服務組態檔案232、服務執行規則檔案234,與服務提供單位檔案236之一或其組合,來決定請求事件該如何處理。 In some embodiments, the service execution rule setting file 234 can be used to indicate the mode of operation of the generated file generation module 210, such as starting a different number of various components at different time periods to achieve load balance. purpose. The generate request instruction classification function 214 can classify the request events. The Generate Request Instruction Format Verification 216 confirms the correctness of the instruction format. Classify the request event or verify the correctness of the instruction format, The service item archive 230, the service configuration file 232, the service execution rule file 234, and one or a combination of the service provider unit files 236 are used to determine how the request event should be handled.
在某些實施例中,應用說明文件生成模組210,可能會與某些作為應用開發的文件生成模組雷同或近似。當應用說明文件生成模組210用作應用開發的平台時,可與任何第三方應用開發平台相結合,最終成為應用開發平台的一部份。開發出的應用可在行動裝置上執行,使得開發人員可以測試與調整應用說明文件。一旦應用說明文件測試完成,則可將其佈署到雲端服務平台供行動裝置的使用者下載。 In some embodiments, the application profile generation module 210 may be similar or similar to some of the file generation modules developed as applications. When the application profile generation module 210 is used as a platform for application development, it can be combined with any third-party application development platform and eventually become part of the application development platform. The developed application can be executed on a mobile device, allowing developers to test and adjust application documentation. Once the application documentation test is complete, it can be deployed to the cloud service platform for download by users of mobile devices.
圖三顯示一服務請求執行案例308及簡化之服務請求執行環境的實施例300。圖三同時描述服務請求執行環境中的功能元件。在某些實施例中,功能元件可能是一硬體元件302,一軟體元件304,或是一硬體與軟體組合的元件。某些元件可能是應用層級的軟體,而某些元件則可能是作業系統層級的元件。在另一些實施例中,兩個或多個緊密連結的元件可在單一硬體平台上運作來執行服務請求。而在另一些實施例中,元件則可能是跨越網路來進行連結。每一種實施例可能會使用不同的硬體、軟體、及相連結的網路架構來達成設定的功能。 FIG. 3 shows an embodiment 300 of a service request execution case 308 and a simplified service request execution environment. Figure 3 also describes the functional elements in the service request execution environment. In some embodiments, the functional element may be a hardware component 302, a software component 304, or a combination of hardware and software. Some components may be application level software, while some components may be operating system level components. In other embodiments, two or more closely coupled components can operate on a single hardware platform to perform service requests. In other embodiments, the components may be linked across a network. Each of the embodiments may use different hardware, software, and connected network architectures to achieve the set functions.
執行環境306可包含服務請求執行模組310,該服務請求執行模組310可執行的功能包括:接收行動裝置服務請求312、服務請求分類314、服務請求格式驗證316、服務請求執行318、及執行結果回傳324。接收行動裝置服務請求功能312可執行服務請求的初始處理,例如將接收的服務請求指令格式轉換成其他指令可處理的格式。在某些實施例中,接收行動裝置服務請求功能312亦執行某些元件間溝通的工作。 The execution environment 306 can include a service request execution module 310, and the functions executable by the service request execution module 310 include: receiving a mobile device service request 312, a service request classification 314, a service request format verification 316, a service request execution 318, and executing The result is 324. The receiving mobile device service request function 312 can perform initial processing of the service request, such as converting the received service request instruction format into a format that other instructions can process. In some embodiments, the receiving mobile device service request function 312 also performs some inter-component communication work.
執行環境306亦可包含一服務執行引擎322,該服 務執行引擎322,可用來處理由服務請求執行模組310的服務請求執行功能318所寫入至服務請求佇列320中,等待執行的服務請求。服務執行引擎322將執行的結果回傳324,如服務請求為雲端服務平台本身所提供的服務,則可將執行結果直接回覆完成服務請求執行;如服務請求為第三方服務者所提供的服務,某些實施例是採直接呼叫方式,並將結果回覆請求者;而另一些實施例,則是先將服務請求先寫入呼叫服務提供者服務訊息佇列326中,待第三方服務提供者將結果回傳並寫入服務提供者傳回結果訊息佇列328中後,再由執行結果回傳功能324將結果回覆請求者。 Execution environment 306 can also include a service execution engine 322, the service The execution engine 322 can be used to process the service request written to the service request queue 320 by the service request execution function 318 of the service request execution module 310, waiting to be executed. The service execution engine 322 returns the executed result 324. If the service request is a service provided by the cloud service platform itself, the execution result may be directly replied to complete the service request execution; if the service request is a service provided by the third party server, Some embodiments adopt a direct call mode and reply the result to the requester; in other embodiments, the service request is first written into the call service provider service message queue 326, and the third party service provider will The result is passed back to the service provider and returned to the result message queue 328, and the result is returned to the requester by the execution result backhaul function 324.
執行環境306所包含的服務請求執行模組310及服務執行引擎322,可以是經編譯及連結後所產生的可執行程式碼,亦可為需在執行環境306控制下來執行的管制程式碼(managed code)或者原始碼(source code)。執行的模式可為即時處理模式,亦可為批次模式,如採用批次模式,則可結合生成請求指令佇列320、服務提供者服務訊息佇列326、及服務提供者傳回結果訊息佇列328等元件。 The service request execution module 310 and the service execution engine 322 included in the execution environment 306 may be executable code generated after being compiled and linked, or may be a control code to be executed under the control of the execution environment 306. Code) or source code. The execution mode may be an immediate processing mode or a batch mode. For example, in the batch mode, the generation request request queue 320, the service provider service message queue 326, and the service provider may return a result message. Column 328 and other components.
在某些實施例中,服務執行規則設定檔案334可用來指示服務請求執行模組310的運作模式,例如在不同的時段,啟動不同數目的各類元件,以達到負荷平衡的(load balance)目的。服務請求分類功能314可將服務請求事件分類。服務請求格式驗證316在確認服務請求格式的正確性。將服務請求事件分類或是驗證服務請求格式的正確性,將使用到服務項目檔案330、服務組態檔案332、服務執行規則檔案334,與服務提供單位檔案336之一或其組合,來決定服務請求事件該如何處理。 In some embodiments, the service execution rule setting file 334 can be used to indicate the mode of operation of the service request execution module 310, such as starting a different number of various components at different time periods for load balancing purposes. . The service request classification function 314 can classify service request events. The service request format verification 316 confirms the correctness of the service request format. To classify the service request event or verify the correctness of the service request format, the service item archive 330, the service configuration file 332, the service execution rule file 334, and one of the service provider unit files 336 or a combination thereof are used to determine the service. How to handle the event.
在某些實施例中,服務請求執行模組310,可能會與某些應用執行的模組雷同或近似。當服務請求執行模組310用作應用執行平台時,可與任何提供雲端服務的第三 方平台相結合,最終成為行動裝置應用平台的一部份。利用本發明揭露之技術所生成的應用說明文件,將可在行動裝置上執行,並可透過本發明所揭露之服務請求執行模組與提供雲端服務的第三方提供者進行無縫式應用整合,來滿足行動裝置使用者的需求。 In some embodiments, the service request execution module 310 may be similar or similar to a module executed by some applications. When the service request execution module 310 is used as an application execution platform, it can be associated with any third providing cloud service. The combination of the platform and the platform will eventually become part of the mobile device application platform. The application description file generated by the technology disclosed by the present invention can be executed on the mobile device, and can be seamlessly integrated with the service request execution module disclosed by the present invention and the third party provider providing the cloud service. To meet the needs of mobile device users.
圖四為執行本發明所揭露之生成應用說明文件方法400之一的一實施例。在本實施例中,當應用說明文件開發人員,向應用說明文件生成模組210,發出應用說明文件生成請求402後,應用說明文件生成模組210在完成接收應用生成請求功能212、生成請求指令分類功能214、生成請求指令格式驗證功能216及生成請求指令執行功能218後,會將生成請求寫入指令佇列220中。當應用生成請求指令執行引擎222進行應用說明文件生成指令處理404時,將判斷生成指令是否為系統所提供之服務項目406,如果是系統所提供之服務項目,則顯示系統所提供的服務項目408,並由應用說明文件開發人員選取系統所提供之服務項目410;如果不是系統所提供之服務項目,則由應用說明文件開發人員定義新的服務項目412。當完成服務項目定義後,接著由應用說明文件開發人員針對服務項目進行介面之定義,包括:(1)選取/設定輸入項目;(2)指定未選取項目之設定值;(3)選取/設定輸出項目;(4)指定輸入項目的元件類別;(5)指定輸出項目的元件類別;並產生應用說明文件之介面描述指令語言414。產生之介面描述指令語言,在全部說明文件尚未完成前418,可先寫入應用說明文件暫存區416,待全部說明文件完成後,再由應用說明文件開發人員,指定服務項目之順序420後生成應用說明文件422。 FIG. 4 is an embodiment of one of the methods 400 of generating an application description file disclosed by the present invention. In this embodiment, after the application profile developer sends the application profile generation request 402 to the application profile generation module 210, the application profile generation module 210 completes the process of receiving the application generation request function 212 and generates a request instruction. After the classification function 214, the generation request instruction format verification function 216, and the generation request instruction execution function 218, the generation request is written into the instruction queue 220. When the application generation request instruction execution engine 222 performs the application specification file generation instruction processing 404, it is determined whether the generation instruction is the service item 406 provided by the system, and if it is the service item provided by the system, the service item 408 provided by the system is displayed. And the service item 410 provided by the system is selected by the application description file developer; if not the service item provided by the system, the application service file developer defines a new service item 412. After the service project definition is completed, the application profile developer defines the interface for the service project, including: (1) selecting/setting the input project; (2) specifying the set value of the unselected project; and (3) selecting/setting The output item; (4) specifies the component type of the input item; (5) specifies the component type of the output item; and generates an interface description instruction language 414 of the application specification file. The generated interface description instruction language may be written into the application description file temporary storage area 416 before all the description files have been completed. After all the description files are completed, the application description file developer, after specifying the order of the service items 420 An application description file 422 is generated.
圖五為執行本發明所揭露之應用說明文件之方法500之一的一實施例。實施例500描述一行動裝置502執行應用的過程中,與雲端服務系統504,及第三方服務提 供者506部份的互動順序。其他實施例可能會使用不同的順序,額外的或較少的步驟,以及不同的術語來達成相同的功能。在另一些實施例中,各種作業或作業集可能是以同步或非同步的平行的作業模式在執行。此處所揭露的步驟,僅是以最簡單的操作原理來加以說明。 FIG. 5 is an embodiment of one of the methods 500 of performing the application note disclosed herein. Embodiment 500 describes a process in which a mobile device 502 executes an application, with the cloud service system 504, and a third party service The order of interaction of the donor 506 part. Other embodiments may use different orders, additional or fewer steps, and different terminology to achieve the same function. In other embodiments, various jobs or sets of jobs may be executed in a parallel or non-synchronized parallel mode of operation. The steps disclosed herein are illustrated only by the simplest principles of operation.
行動裝置502可依需求執行預先載入至行動裝置中的應用。執行時,行動裝置需先啟動服務請求代理程式508,完成連接雲端服務系統作業510。接著服務請求代理程式讀入應用說明文件512,並進行應用說明文件的剖析514,由應用說明文件中的介面描述指令語言414,依據選取/指定之輸入項目及元件類別,動態的產生介面516。接著由行動裝置使用者輸入相關參數518,並向雲端服務系統發出服務請求520。雲端服務系統504在提供服務前需先啟動服務代理程式522。雲端服務系統的服務請求執行模組310將接收行動裝置的服務請求524,此即服務請求執行模組的312功能,及完成服務請求分類及驗證服務請求內容526,此即服務請求執行模組的314,316功能。接著完成服務請求格式及執行服務請求528,此即服務請求執行模組的318功能。服務請求執行功能318判斷該服務請求是否為本系統所提供之服務530,如為本系統所提供之服務,則服務執行引擎322將執行服務請求532,並產生服務請求結果534;如果不是本系統所提供的服務,則呼叫第三方服務提供者所提供的服務546。第三方服務提供者506在提供服務前需先啟動服務執行程式544,待雲端服務系統504呼叫第三方服務提供者所提供的服務546後,第三方服務提供者接收服務請求548,執行服務請求550,產生服務請求結果552,然後回覆服務請求結果554給雲端服務系統504。雲端服務系統504將服務請求執行結果536回覆給行動裝置502,行動裝置502的服務請求代理程式接收服務請求結果,並依設定之輸出項目元件類 別來顯示服務請求結果538。當行動裝置使用者結束應用時540,行動裝置的服務請求代理程式即結束542。 The mobile device 502 can execute an application pre-loaded into the mobile device as needed. When executed, the mobile device needs to start the service requesting agent 508 to complete the connection to the cloud service system job 510. The service requesting agent then reads the application specification file 512 and performs a parsing 514 of the application specification file. The interface description command language 414 in the application description file dynamically generates the interface 516 according to the selected/specified input items and component categories. The relevant parameter 518 is then entered by the mobile device user and a service request 520 is issued to the cloud service system. The cloud service system 504 needs to start the service agent 522 before providing the service. The service request execution module 310 of the cloud service system will receive the service request 524 of the mobile device, that is, the function of the service request execution module 312, and complete the service request classification and verification service request content 526, which is the service request execution module. 314,316 function. The service request format and execution service request 528 are then completed, which is the function of the service request execution module 318. The service request execution function 318 determines whether the service request is a service 530 provided by the system, such as the service provided by the system, the service execution engine 322 will execute the service request 532, and generate a service request result 534; if not the system The service provided calls the service 546 provided by the third party service provider. The third party service provider 506 needs to start the service execution program 544 before the service is provided. After the cloud service system 504 calls the service 546 provided by the third party service provider, the third party service provider receives the service request 548 and executes the service request 550. The service request result 552 is generated, and then the service request result 554 is returned to the cloud service system 504. The cloud service system 504 replies the service request execution result 536 to the mobile device 502, and the service request agent of the mobile device 502 receives the service request result, and outputs the project component class according to the setting. Do not display the service request result 538. When the mobile device user ends the application 540, the mobile device's service requesting agent ends 542.
本說明書中提到的某些字句特予以定義以幫助瞭解。「服務組態」是指服務之定義可以利用組態之模型來完成。組態模型是指服務之類別可分為共通服務模組(common module)、選用服務模組(option module)、附加服務模組(attachment module);定義服務組合,即可利用共通服務模組、選用服務模組及附加服務模組來設定其組態,進而定義出所欲之服務組合,以達成應用之目的。 Certain words mentioned in this manual are specifically defined to help understand. "Service Configuration" means that the definition of the service can be done using the configured model. The configuration model means that the service category can be divided into a common module, an option module, and an attachment module; if the service combination is defined, the common service module can be utilized. Service modules and additional service modules are selected to configure their configuration to define the desired combination of services for the purpose of application.
本發明所揭露與描述的一些實施例及其關聯的方法,對該技術領域中具普通知識者,進行替代與變更實施例與方法將是顯而易見的。因此,上述實施例的描述並非定義或限制本發明。任何變更、取代與替換均無法分離本發明所揭示的精神及主張的權利範圍。 It will be apparent that alternative embodiments and methods of the invention are apparent to those of ordinary skill in the art. Therefore, the above description of the embodiments does not define or limit the invention. The scope of the claims and the scope of the claims are not to be construed as limited.
100‧‧‧系統 100‧‧‧ system
102‧‧‧連結至網際網路的設備 102‧‧‧Devices connected to the Internet
104‧‧‧行動裝置 104‧‧‧Mobile devices
106‧‧‧第三方服務提供者系統 106‧‧‧Third-party service provider system
108‧‧‧與雲端服務系統相連結的設備 108‧‧‧Devices connected to the cloud service system
110‧‧‧應用說明文件生成處理單元 110‧‧‧Application note generation processing unit
112‧‧‧服務請求執行處理單元 112‧‧‧Service Request Execution Processing Unit
114‧‧‧資料儲存單元 114‧‧‧Data storage unit
116‧‧‧處理單元 116‧‧‧Processing unit
118‧‧‧第三方服務提供者處理單元 118‧‧‧Third-party service provider processing unit
200‧‧‧應用說明文件生成環境 200‧‧‧Application documentation generation environment
202‧‧‧硬體元件 202‧‧‧ hardware components
204‧‧‧軟體元件 204‧‧‧Software components
206‧‧‧應用說明文件生成執行環境 206‧‧‧Application note generation execution environment
210‧‧‧應用說明文件生成模組 210‧‧‧Application note generation module
212、214、216、218、224‧‧‧應用說明文件生成功能 212, 214, 216, 218, 224‧‧‧ application description file generation function
220‧‧‧生成請求指令佇列 220‧‧‧ Generate request script queue
222‧‧‧應用生成請求指令執行引擎 222‧‧‧Application generation request instruction execution engine
226‧‧‧應用說明文件暫存區 226‧‧‧ Application note file temporary storage area
228‧‧‧應用說明文件生成檔 228‧‧‧Application documentation file generation
230‧‧‧服務項目檔案 230‧‧‧ service project files
232‧‧‧服務組態檔案 232‧‧‧Service Configuration File
234‧‧‧服務執行規則檔案 234‧‧‧Service Execution Rules File
236‧‧‧服務提供單位檔案 236‧‧‧Service provider file
300‧‧‧服務請求執行環境 300‧‧‧Service Request Execution Environment
302‧‧‧硬體元件 302‧‧‧ hardware components
304‧‧‧軟體元件 304‧‧‧Software components
306‧‧‧執行環境 306‧‧‧Executive environment
310‧‧‧服務請求執行模組 310‧‧‧Service Request Execution Module
312、314、316、318、324‧‧‧服務請求執行功能 312, 314, 316, 318, 324‧‧‧ service request execution function
320‧‧‧服務請求佇列 320‧‧‧Service request queue
322‧‧‧服務執行引擎 322‧‧‧Service Execution Engine
326‧‧‧服務提供者服務訊息佇列 326‧‧‧ Service Provider Service Messages
328‧‧‧服務提供者傳回結果訊息佇列 328‧‧‧Service providers return results messages
330‧‧‧服務項目檔案 330‧‧‧Service Project Files
332‧‧‧服務組態檔案 332‧‧‧Service Configuration File
334‧‧‧服務執行規則檔案 334‧‧‧Service Execution Rules File
336‧‧‧服務提供單位檔案 336‧‧‧Service provider file
400‧‧‧應用說明文件生成方法 400‧‧‧Application note generation method
500‧‧‧服務請求執行方法 500‧‧‧Service request execution method
圖一描述本發明之一範例雲端服務系統與其環境。 Figure 1 depicts an exemplary cloud service system and its environment in accordance with the present invention.
圖二描述本發明之一範例應用說明文件生成之環境。 Figure 2 depicts an environment in which an example application document generation of the present invention is generated.
圖三描述本發明之一範例服務請求執行之環境。 Figure 3 depicts an environment in which an example service request execution of the present invention is performed.
圖四描述本發明之一範例生成應用說明文件之方法。 Figure 4 depicts a method of generating an application specification file in one example of the present invention.
圖五描述本發明之一範例執行應用之方法。 Figure 5 depicts a method of performing an application of an example of the present invention.
302‧‧‧硬體架構 302‧‧‧ hardware architecture
304‧‧‧軟體組織 304‧‧‧Soft organization
306‧‧‧執行環境 306‧‧‧Executive environment
310‧‧‧服務請求執行模組 310‧‧‧Service Request Execution Module
312,314,316,318,324‧‧‧服務請求執行功能 312,314,316,318,324‧‧‧Service request execution function
320‧‧‧服務請求佇列 320‧‧‧Service request queue
322‧‧‧服務執行引擎 322‧‧‧Service Execution Engine
326‧‧‧呼叫服務提供者服務訊息佇列 326‧‧‧call service provider service message queue
328‧‧‧服務提供者傳回結果訊息佇列 328‧‧‧Service providers return results messages
330‧‧‧服務項目檔案 330‧‧‧Service Project Files
332‧‧‧服務組態檔案 332‧‧‧Service Configuration File
334‧‧‧服務執行規則檔案 334‧‧‧Service Execution Rules File
336‧‧‧服務提供單位檔案 336‧‧‧Service provider file
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101123968A TWI492155B (en) | 2012-07-04 | 2012-07-04 | Methods and systems for executing applications on mobile devices using cloud services |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101123968A TWI492155B (en) | 2012-07-04 | 2012-07-04 | Methods and systems for executing applications on mobile devices using cloud services |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201403477A TW201403477A (en) | 2014-01-16 |
TWI492155B true TWI492155B (en) | 2015-07-11 |
Family
ID=50345572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW101123968A TWI492155B (en) | 2012-07-04 | 2012-07-04 | Methods and systems for executing applications on mobile devices using cloud services |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI492155B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI553580B (en) * | 2015-03-30 | 2016-10-11 | Application of Cloud Information Service Integration System | |
TWI611364B (en) * | 2016-06-24 | 2018-01-11 | Cloud information service integration system trading method | |
CN107783506B (en) * | 2016-08-25 | 2020-02-14 | 科智企业股份有限公司 | Mobile manufacturing management and optimization platform |
TWI649657B (en) * | 2017-12-20 | 2019-02-01 | 雙子星雲端運算股份有限公司 | Cloud service management method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005373A (en) * | 2006-01-16 | 2007-07-25 | 鸿富锦精密工业(深圳)有限公司 | E-mail transmitting system and method for patent application |
US20100188990A1 (en) * | 2009-01-28 | 2010-07-29 | Gregory G. Raleigh | Network based service profile management with user preference, adaptive policy, network neutrality, and user privacy |
CN102316170A (en) * | 2011-10-14 | 2012-01-11 | 宇龙计算机通信科技(深圳)有限公司 | Method for pushing files and cloud server |
CN102346828A (en) * | 2011-09-20 | 2012-02-08 | 海南意源高科技有限公司 | Malicious program judging method based on cloud security |
-
2012
- 2012-07-04 TW TW101123968A patent/TWI492155B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005373A (en) * | 2006-01-16 | 2007-07-25 | 鸿富锦精密工业(深圳)有限公司 | E-mail transmitting system and method for patent application |
US20100188990A1 (en) * | 2009-01-28 | 2010-07-29 | Gregory G. Raleigh | Network based service profile management with user preference, adaptive policy, network neutrality, and user privacy |
CN102346828A (en) * | 2011-09-20 | 2012-02-08 | 海南意源高科技有限公司 | Malicious program judging method based on cloud security |
CN102316170A (en) * | 2011-10-14 | 2012-01-11 | 宇龙计算机通信科技(深圳)有限公司 | Method for pushing files and cloud server |
Also Published As
Publication number | Publication date |
---|---|
TW201403477A (en) | 2014-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11936745B2 (en) | Automated platform provisioning system | |
US10620944B2 (en) | Cloud-based decision management platform | |
US9690558B2 (en) | Orchestrating the lifecycle of multiple-target applications | |
JP2021509498A (en) | Computing device | |
US11010138B2 (en) | System and method for programmatically converting interface specification to generic plug-in code | |
TWI492155B (en) | Methods and systems for executing applications on mobile devices using cloud services | |
Park et al. | Approach for selecting and integrating cloud services to construct hybrid cloud | |
US20180189054A1 (en) | Automated platform re-creation system | |
Affonso et al. | A reference architecture to support the development of mobile applications based on self-adaptive services | |
US9043384B2 (en) | Testing of client systems consuming contractual services on different server systems | |
US11907687B2 (en) | Re-usable integration component configuration in a microservice based integration service | |
Botangen et al. | Towards measuring the adaptability of an ao4bpel process | |
Fylaktopoulos et al. | CIRANO: An integrated programming environment for multi-tier cloud based applications | |
US20240273470A1 (en) | Customer matchmaking for managed service providers as a service leveraging systems providing access management as a service | |
Vu | Harmonization of strategies for contract testing in microservices UI | |
McGough et al. | GRIDCC: A Real-time Grid workflow system with QoS | |
Normelli | Benchmarking Message Brokers on Kubernetes: A Case Study in how to Evaluate Inter-Service Communication Technology | |
Świtalik | Azure Function | |
Li | An Architecture Evolution for Statistical Data Visualization Backend System | |
Ding | BMC Control-M 7: A Journey from Traditional Batch Scheduling to Workload Automation | |
Klimenko | E-commerce Platform Integration Development. Case: Liana Technologies Oy | |
Guyot | SMiT: Local System Administration Across Disparate Environments Utilizing the Cloud | |
Alodib | Towards a monitoring framework for the automatic integration of the access control policies for web services | |
Bachmann et al. | Comparison of composition engines and identification of shortcomings with respect to cloud computing | |
Rogers et al. | Towards a Document Composition Framework |