TWI577155B - Network service management system and method - Google Patents

Network service management system and method Download PDF

Info

Publication number
TWI577155B
TWI577155B TW104128271A TW104128271A TWI577155B TW I577155 B TWI577155 B TW I577155B TW 104128271 A TW104128271 A TW 104128271A TW 104128271 A TW104128271 A TW 104128271A TW I577155 B TWI577155 B TW I577155B
Authority
TW
Taiwan
Prior art keywords
service
module
network service
network
parsing
Prior art date
Application number
TW104128271A
Other languages
Chinese (zh)
Other versions
TW201709695A (en
Inventor
Chun Yen Chang
Chih Cheng Yu
Hsiao Lin Peng
Hung Chung Lai
Shiau Yi Ou
Jhe Yu Liou
Original Assignee
Chunghwa Telecom Co Ltd
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 Chunghwa Telecom Co Ltd filed Critical Chunghwa Telecom Co Ltd
Priority to TW104128271A priority Critical patent/TWI577155B/en
Publication of TW201709695A publication Critical patent/TW201709695A/en
Application granted granted Critical
Publication of TWI577155B publication Critical patent/TWI577155B/en

Links

Landscapes

  • Storage Device Security (AREA)
  • Information Transfer Between Computers (AREA)

Description

網路服務管理系統與方法 Network service management system and method

本發明係關於一種網路服務管理系統與方法,特別是關於一種網路服務管理系統與方法。 The present invention relates to a network service management system and method, and more particularly to a network service management system and method.

目前,提供新的網路服務或是服務有調整內容上架時需要的繁瑣過程與時間,在網路科技發達的現今,服務的釋出效率代表的不僅是降低研發與管理成本,而是有搶得先機的必要需求。 At present, the provision of new network services or services has the cumbersome process and time required to adjust the content. In today's advanced Internet technology, the release efficiency of services represents not only the reduction of R&D and management costs, but also the rush. Have the necessary needs of the first machine.

中國專利案CN101976188A將服務提供商的API開發文件的HTML原始碼,解析其服務的類、方法、參數等,註冊成為開放的API服務,或是透過使用者介面輸入資料註冊。接著經由審核的方式,透過測試呼叫後檢驗完成註冊;編輯的開發文件則作為用戶說明文件用。CN101976188A更以API的Web Services說明文件,作為註冊服務的標準模板。透過主動抓取說明文件或服務供應者以編寫說明文件的方式註冊,再以審查方式呼叫確認正確性完成註冊。該模板的服務 說明文件除註冊外也作為提供服務使用指引。 The Chinese patent case CN101976188A registers the HTML source code of the API development file of the service provider, parses the class, method, parameters, etc. of the service, and registers it as an open API service, or enters the data registration through the user interface. The registration is then completed by means of an audit, and the edited development file is used as a user documentation. CN101976188A also uses API's Web Services documentation as a standard template for registration services. Register by means of actively crawling the documentation or the service provider by writing a description file, and then confirming the registration by confirming the correctness. The template service The documentation is also used as a guide to the provision of services in addition to registration.

然而,CN101976188A使用者須自己編寫複雜的服務類別、方法與參數的註冊服務規格內容,且在授權此服務釋出時,以呼叫確認測試參數時測試資料可能會遇到未預期到的錯誤,更有可能在產生說明文件時發生人為的錯誤且此過程相當耗時。 However, CN101976188A users must write complex service category, method and parameter registration service specification content, and when the service is authorized to release the test data, the test data may encounter unexpected errors when calling the test parameters. It is possible that a human error occurred while generating the documentation and this process is quite time consuming.

有鑑於上述習知技藝之問題,本發明之目的就是在提供一種網路服務管理系統與方法,來解決提供新的網路服務或是服務有調整內容上架時,需要的繁瑣註冊驗證過程與時間過長的狀況。 In view of the above problems of the prior art, the object of the present invention is to provide a network service management system and method for solving the cumbersome registration verification process and time required to provide new network services or services when the content is adjusted. Too long.

本發明之網路服務管理系統包含一服務註冊模組、一服務主動解析模組、一權限與授權管理模組、一服務驗證模組以及一文件發佈模組。服務註冊模組用以註冊一網路服務;服務主動解析模組用以對該網路服務進行程式位元碼掃描及解析以產生一註冊資訊;權限與授權管理模組用以設定該網路服務的至少一可用限制參數;服務驗證模組用以在釋出該網路服務前驗證,驗證已註冊之該網路服務經該服務主動解析模組之解析結果是否與由該服務主動解析模組產生的該註冊資訊相符;文件發佈模組用以根據該服務主動解析模組之解析結果產生一說明文件。 The network service management system of the present invention comprises a service registration module, a service active resolution module, a rights and authorization management module, a service verification module and a file publishing module. The service registration module is used to register a network service; the service active resolution module is used for scanning and parsing the bit code of the network service to generate a registration information; and the authority and authorization management module is used to set the network. At least one available restriction parameter of the service; the service verification module is configured to verify before the release of the network service, and verify whether the parsed result of the registered network service through the service active resolution module is actively parsed by the service The registration information generated by the group is consistent; the file publishing module is configured to generate a description file according to the analysis result of the active analysis module of the service.

本發明之網路服務管理方法包含下列步驟:以一服務註冊模組註冊一網路服務;以一服務主動解析模組對該網路服務進行程式位元碼掃描及解析以產生一註冊資訊;以一權限與授權管理模組設定該網路服務的至少一可用限制參數;以一服務驗證模組在釋出該網路服務前驗證,驗證已註冊之該網路服務經該服務主動解析模組之解析結果是否與由該服務主動解析模組產生的該註冊資訊相符;以及以一文件發佈模組根據該服務主動解析模組之解析結果產生一說明文件。 The network service management method of the present invention comprises the following steps: registering a network service with a service registration module; and scanning and parsing the bit code of the network service by a service active resolution module to generate a registration information; Setting, by a permission and authorization management module, at least one available restriction parameter of the network service; and verifying, by the service verification module, the network service before the release of the network service, verifying that the registered network service is actively parsed by the service Whether the analysis result of the group matches the registration information generated by the service active analysis module; and a document is generated by a file publishing module according to the analysis result of the active analysis module of the service.

承上所述,依本發明之網路服務管理系統與方法,其可具有一或多個下述優點: In view of the foregoing, a network service management system and method in accordance with the present invention may have one or more of the following advantages:

1.本發明係可正向編輯或遞交服務資料,及反向掃描程式位元碼來得到此服務的註冊所需相關資料,註冊其網路服務。 1. The present invention can edit or submit service data in the forward direction, and reverse scan the program bit code to obtain relevant information required for registration of the service, and register its network service.

2.本發明可在服務在釋出前,先驗證其註冊內容與程式是否相符,並可對服務進行權限設定,無誤後該服務方可被授權上架。 2. The invention can verify whether the registration content and the program are consistent before the service is released, and can set the authority of the service, and the service party can be authorized to be put on the shelf after the error is confirmed.

3.本發明之網路服務的說明文件,可使用文件發佈來自動產生服務的說明文件。文件來源即為服務及其參數等內容的相關注釋。 3. The description file of the network service of the present invention can be used to automatically generate a description file of the service using file publishing. The source of the file is the relevant comment for the service and its parameters.

0‧‧‧網路服務管理系統 0‧‧‧Network Service Management System

1‧‧‧服務註冊模組 1‧‧‧Service Registration Module

2‧‧‧服務主動解析模組 2‧‧‧Service Active Analysis Module

3‧‧‧權限與授權管理模組 3‧‧‧Permission and Authorization Management Module

4‧‧‧服務驗證模組 4‧‧‧Service Verification Module

5‧‧‧文件發佈模組 5‧‧‧Document release module

6‧‧‧服務註冊資訊資料庫 6‧‧‧Service Registration Information Database

7‧‧‧JAVA位元碼 7‧‧‧JAVA bit code

8‧‧‧HTML說明文件 8‧‧‧HTML documentation

9‧‧‧註冊服務 9‧‧‧Registration Service

10‧‧‧主動解析服務 10‧‧‧Proactive resolution services

11‧‧‧位元碼 11‧‧‧ bit code

12‧‧‧服務註冊資訊庫 12‧‧‧Service Registration Information Base

13‧‧‧服務授權釋出 13‧‧‧ Service authorization released

14‧‧‧驗證服務內容一致 14‧‧‧Verification service content consistent

15‧‧‧服務註冊資訊庫 15‧‧‧Service Registration Information Base

16‧‧‧主動解析服務 16‧‧‧Proactive resolution services

17‧‧‧位元碼 17‧‧‧ bit code

18‧‧‧產生說明文件 18‧‧‧ Production of explanatory documents

19‧‧‧主動解析服務 19‧‧‧Proactive resolution service

20‧‧‧位元碼 20‧‧‧ bit code

21‧‧‧服務註冊資訊庫 21‧‧‧Service Registration Information Base

22~50‧‧‧步驟流程 22~50‧‧‧Step process

51‧‧‧使用者 51‧‧‧Users

52‧‧‧服務註冊模組 52‧‧‧Service Registration Module

53‧‧‧服務主動解析模組 53‧‧‧Service Active Analysis Module

54‧‧‧權限與授權管理模組 54‧‧‧Permission and Authorization Management Module

55‧‧‧服務驗證模組 55‧‧‧Service Verification Module

56‧‧‧文件發佈模組 56‧‧‧Document release module

57‧‧‧掃描JAVA程式碼 57‧‧‧Scan JAVA code

58‧‧‧服務註冊資訊資料庫 58‧‧‧Service Registration Information Database

圖1係為本發明之網路服務管理系統之系統架構示意圖。 FIG. 1 is a schematic diagram of a system architecture of a network service management system according to the present invention.

圖2係為本發明之網路服務管理系統之服務註冊系統功能方塊圖。 2 is a functional block diagram of a service registration system of the network service management system of the present invention.

圖3係為本發明之網路服務管理系統之服務授權系統功能方塊圖。 3 is a functional block diagram of a service authorization system of the network service management system of the present invention.

圖4係為本發明之網路服務管理系統之服務說明文件自動產生系統功能方塊圖。 4 is a functional block diagram of a service description file automatic generation system of the network service management system of the present invention.

圖5係為本發明之網路服務管理系統與方法之新服務正向註冊流程示意圖。 FIG. 5 is a schematic diagram of a new service forward registration process of the network service management system and method of the present invention.

圖6係為本發明之網路服務管理系統與方法之新服務反向註冊流程示意圖。 6 is a schematic diagram of a new service reverse registration process of the network service management system and method of the present invention.

圖7係為本發明之網路服務管理系統與方法之設定新服務權限與釋出服務流程示意圖。 FIG. 7 is a schematic diagram of a process of setting a new service authority and a release service for the network service management system and method of the present invention.

圖8係為本發明之網路服務管理系統與方法之文件自動產生與發佈之流程示意圖。 FIG. 8 is a schematic flow chart of automatically generating and distributing files of the network service management system and method of the present invention.

圖9係為本發明之網路服務管理系統與方法之掃描與解析服務程式碼方法步驟示意圖。 FIG. 9 is a schematic diagram showing the steps of a method for scanning and parsing a service code of the network service management system and method of the present invention.

圖10係為本發明之網路服務管理系統與方法之網路服務管理系統方法循序示意圖。 FIG. 10 is a schematic diagram showing the method of the network service management system of the network service management system and method of the present invention.

本發明主要係包含服務註冊模組、服務主動解析模組、權限與授權管理模組、服務驗證模組與文件發佈模組。透過服務註冊模組,服務開發者以使用者操作介面向系統註冊其服務,亦可使用服務主動解析模組,掃描已部署上系統但尚未設定權限及授權的服務程式,將其註冊到系統中。透過權限與授權管理模組設定權限及授權,使此服務能正式釋出給服務用戶。服務驗證模組將會在服務正式發表釋出前進行確認,將已註冊的服務及其所需的參數等資料經由服務主動解析模組與程式位元碼做比對檢查,確認服務註冊的正確性後方可釋出該服務。文件發佈模組可以由服務主動解析模組取得服務所注釋的程式說明內容,自動產生為說明文件給服務的用戶,作為使用服務的幫助文件。 The invention mainly comprises a service registration module, a service active analysis module, a permission and authorization management module, a service verification module and a file publishing module. Through the service registration module, the service developer registers its services with the user operation system, and can also use the service active resolution module to scan the service program that has been deployed on the system but has not yet set permissions and authorizations, and registers it in the system. . The rights and authorizations are set by the authority and authorization management module to enable the service to be released to the service user. The service verification module will confirm the service before the official release of the service, and compare the registered service and its required parameters with the service active module and the program bit code to confirm the correctness of the service registration. The service can be released at the rear. The file publishing module can obtain the program description content annotated by the service by the service active analysis module, and automatically generate the description file to the user of the service as a help file for using the service.

本發明所提出網路服務管理系統與方法,在註冊其網路服務時,可透過使用者操作介面,或網路服務傳遞JSON(JavaScript Object Notation)服務規格描述以進行正向註冊;而反向註冊可指定要掃描的服務名稱、指定的版本規格等識別服務的參數後,對其服務的程式進行掃描解析,將服務的類、方法、參數等資料讀出並存入服務註冊資訊資料庫,以進行註冊。 The network service management system and method proposed by the present invention can perform a forward registration by using a user operation interface or a web service to pass a JSON (JavaScript Object Notation) service specification description when registering its network service; The registration can specify the service name to be scanned, the specified version specification, and the like, and then scan and analyze the program of the service, and read and store the service class, method, parameter and other data into the service registration information database. To register.

在註冊完成後,正式釋出該服務前對服務進行權限設定,以此控制或限制服務的使用權,服務的使用者在呼 叫此網路服務時,將會檢查其使用權限資訊。 After the registration is completed, the service is set up before the service is officially released, thereby controlling or restricting the use of the service. The user of the service is calling. When you call this network service, it will check the usage rights information.

釋出服務給網路服務用戶使用前,系統將掃描並解析程式位元碼與資料庫內註冊的服務內容檢查註冊資訊與程式位元碼是否一致,無論當初透過正向或反向註冊的服務,在釋出前將會以程式位元碼掃描與註冊的資料進行正確性比對,透過文件產生的方式,把網路服務注釋內容自動產生為HTML(Hyper Text Markup Language)說明文件,部署到網站作為服務用戶作使用服務的幫助文件。 Before releasing the service to the Internet service user, the system will scan and parse the program bit code and the service content registered in the database to check whether the registration information and the program bit code are consistent, regardless of the service registered in the forward or reverse direction. Before the release, the program will be scanned with the registered data for correctness comparison, and the content of the network service annotation will be automatically generated as an HTML (Hyper Text Markup Language) description file by means of file generation, and deployed to the website. A help file for the service user to use as a service.

請參考圖1所示,為本發明網路服務管理系統與方法的系統架構圖,其中包含提供系統服務介面的系統表徵性狀態傳輸接口及負責發生錯誤時處理的例外處理功能。本發明包含了所提出的服務註冊模組、服務主動解析模組、權限與授權管理模組、服務驗證模組與文件發佈模組。另系統平台的使用者指的是服務的開發者、提供者或管理者的角色。如圖中所示,主要有一服務註冊模組1、一服務主動解析模組2、一權限與授權管理模組3、一服務驗證模組4以及一文件發佈模組5。 Please refer to FIG. 1 , which is a system architecture diagram of a network service management system and method according to the present invention, including a system representation state transmission interface providing a system service interface and an exception processing function responsible for processing when an error occurs. The invention comprises the proposed service registration module, the service active analysis module, the authority and authorization management module, the service verification module and the file publishing module. The user of the system platform refers to the role of the developer, provider or manager of the service. As shown in the figure, there are mainly a service registration module 1, a service active analysis module 2, a rights and authorization management module 3, a service verification module 4, and a file distribution module 5.

服務註冊模組1用以提供網路服務註冊請求,使用者可經由操作介面填寫服務相關資訊,送出請求到系統表徵性狀態傳輸接口(REST API),由服務註冊模組執行註冊請求後完成註冊該服務,其中服務的傳遞資料格式已經透過操作介面包裝為JSON服務規格描述。或是可透過網路服務呼叫 系統表徵性狀態傳輸接口並遞交該服務的JSON服務規格描述,由服務註冊模組1執行註冊請求後,亦可完成服務註冊。使用者另可透過操作介面,選擇由掃描及解析程式位元碼將欲註冊的服務類別、方法、參數等資料讀出,存入服務註冊資訊資料庫6來完成註冊。 The service registration module 1 is configured to provide a network service registration request, and the user can fill in the service related information through the operation interface, and send the request to the system characterization API (REST API), and the service registration module performs the registration request to complete the registration. The service, in which the service's delivery data format has been packaged as a JSON service specification through the operator interface. Or can call through the Internet service The system characterizes the state transmission interface and submits the JSON service specification description of the service. After the service registration module 1 performs the registration request, the service registration may also be completed. The user can also select the service category, method, parameter and other data to be registered by scanning and parsing the program bit code through the operation interface, and store it in the service registration information database 6 to complete the registration.

服務主動解析模組2主要提供網路服務管理系統中需要掃描、解析和比對網路服務的JAVA位元碼7(本系統為JAVA-Based,位元碼為已編譯的程式碼)。服務註冊時,可使用服務主動解析模組進行程式位元碼掃描,接著解析出服務的類別、方法和參數與注釋等註冊所需的必要資料,最後儲存服務註冊資訊。服務要驗證時,掃描並解析程式位元碼與資料庫內註冊的服務內容,檢查註冊資訊與程式位元碼是否一致。由程式位元碼產生為說明文件,則提供解析取得服務所注釋的程式說明內容。 The service active resolution module 2 mainly provides JAVA bit code 7 (this system is JAVA-Based, the bit code is compiled code) which needs to scan, parse and compare the network service in the network service management system. When the service is registered, the service active resolution module can be used to scan the program bit code, and then the service category, method, parameters and notes and other necessary information for registration are parsed, and finally the service registration information is stored. When the service is to be verified, it scans and parses the program bit code and the service content registered in the database, and checks whether the registration information and the program bit code are consistent. When the program bit code is generated as a description file, the program description content of the analysis acquisition service is provided.

權限與授權管理模組3係提供使用者透過權限設定可設定服務的可用限制參數,用來限制此服務提供給網路服務用戶呼叫時的操作,使用者經由授權設定決定服務是否已達上架服務階段,未經授權的服務無法被呼叫執行。 The authority and authorization management module 3 provides the user with the available restriction parameters for setting the service through the authority setting, and is used to limit the operation when the service is provided to the network service user, and the user determines whether the service has reached the shelf service through the authorization setting. At the stage, unauthorized services cannot be performed by the call.

服務驗證模組4係於服務在正式釋出時,先驗證其註冊內容與程式是否相符,由服務主動解析模組2得到服務的JAVA位元碼7註冊資料,再取得服務註冊資訊資料庫6該服務的註冊資訊進行比對。比對通過方可授權該服務釋出。 The service verification module 4 is to verify whether the registration content and the program are consistent when the service is officially released, and the JAVA bit code 7 registration data obtained by the service active resolution module 2 is obtained, and then the service registration information database 6 is obtained. The registration information of the service is compared. The license can be authorized to release the service.

文件發佈模組5係於使用者提出發佈文件時,透過服務主動解析模組2解析服務的JAVA位元碼7取得服務注釋內容,並自動產生為HTML說明文件8,部署到網站供網路服務用戶使用。 The file publishing module 5 obtains the service comment content through the JAVA bit code 7 of the service proactive parsing module 2 parsing service when the user proposes to publish the file, and automatically generates the HTML comment file 8 and deploys it to the website for network service. User use.

請參考圖2所示,為本發明網路服務管理系統與方法的服務註冊系統功能方塊圖。如圖所示,當前端提出由掃描與解析服務的程式位元碼以註冊服務9時,透過由位元碼11主動解析服務10的服務內容規格資訊,再將此資訊輸出儲存到服務註冊資訊庫12中。 Please refer to FIG. 2, which is a functional block diagram of a service registration system of the network service management system and method of the present invention. As shown in the figure, when the current terminal proposes the program bit code of the scanning and parsing service to register the service 9, the service content specification information of the service 10 is actively parsed by the bit code 11, and the information is output and stored to the service registration information. Library 12.

請參考圖3所示,為本發明網路服務管理系統與方法的服務授權系統功能方塊圖。如圖所示,服務授權釋出13時,經服務註冊資訊庫15取得服務註冊內容資料,和由主動解析服務16的位元碼17取得實際服務的程式碼內容,驗證服務內容一致14。如註冊的資料與服務的程式位元碼相同始可啟用此服務提供給呼叫此服務的使用者使用。 Please refer to FIG. 3, which is a functional block diagram of a service authorization system of the network service management system and method of the present invention. As shown in the figure, when the service authorization is released 13, the service registration content data is obtained via the service registration information base 15, and the code content of the actual service is obtained by the bit code 17 of the active resolution service 16, and the verification service content is consistent. This service can be enabled for use by users calling this service if the registered data is the same as the service's program bit code.

請參考圖4所示,為本發明網路服務管理系統與方法的服務說明文件自動產生系統功能方塊圖。如圖所示,服務要提供新的說明文件時,經由主動解析服務19取得位元碼20以註冊服務;將有加註@標記(Java程式語言提供注釋用)為服務說明注釋的內容解析出來並存入服務註冊資訊庫21。使用這些注釋在服務類別、方法和參數上的內容,產生服務的HTML(Hyper Text Markup Language)產生說明文件18檔 案。 Please refer to FIG. 4, which is a functional block diagram of a service description file automatic generation system of the network service management system and method of the present invention. As shown in the figure, when the service is to provide a new description file, the bit code 20 is obtained via the active resolution service 19 to register the service; and the content of the service description comment is parsed by adding the @ mark (the Java program language provides comments). And stored in the service registration information base 21. Use these annotations on the service categories, methods, and parameters to generate the HTML (Hyper Text Markup Language) of the service. case.

請參考圖5所示,為本發明網路服務管理系統與方法之新服務正向註冊流程示意圖。如圖所示,使用操作介面來編輯服務內容後送出,如步驟22,或使用網路服務呼叫來傳遞服務規格描述,如步驟23,確認服務資料格式與內容正確性,如步驟24。如果有錯誤則進行錯誤處理,如步驟25,正確則將服務註冊到資料庫中,如步驟26。 Please refer to FIG. 5, which is a schematic diagram of a forward registration process of a new service of the network service management system and method of the present invention. As shown in the figure, use the operation interface to edit the service content and send it out, as in step 22, or use the network service call to deliver the service specification description, as in step 23, confirm the service data format and content correctness, as in step 24. If there is an error, perform error handling, such as step 25, and correctly register the service to the database, as in step 26.

請參考圖6所示,為本發明網路服務管理系統與方法之新服務反向註冊流程示意圖。如圖所示,使用由程式位元碼反向註冊服務,如步驟27時,先選擇服務的類別以及版本,如步驟28,服務註冊模組掃描網路服務的程式位元碼,確認此服務的類是否存在,如步驟29,如果存在則開始解析類、方法、參數及注釋,如步驟31,不存在則進行錯誤處理,如步驟30,最後完成解析將服務註冊到資料庫中,如步驟32。 Please refer to FIG. 6 , which is a schematic diagram of a new service reverse registration process of the network service management system and method of the present invention. As shown in the figure, the reverse registration service is used by the program bit code. In step 27, the service category and version are selected first. In step 28, the service registration module scans the program bit code of the network service to confirm the service. Whether the class exists, such as step 29, if it exists, start parsing the class, method, parameters and comments, such as step 31, if there is no error processing, such as step 30, and finally complete the parsing to register the service to the database, such as steps 32.

請參考圖7所示,為本發明網路服務管理系統與方法之設定新服務權限與釋出服務流程示意圖。如圖所示,設定服務使用的限制參數,以控制服務的權限,如步驟33後,方可授權此服務釋出。服務釋出,如步驟34前須經驗證服務註冊資料與程式位元碼是否一致,如步驟35,先掃描此版本的服務類程式位元碼是否存在,如步驟36,如存在則開始解析類、方法、參數,如步驟37,不存在則進行錯誤處理,如步驟38,接著比對註冊的服務和程式位元碼內容資訊是否相 同,如步驟39,如相同則服務釋出,如步驟40,不相同則不允許此服務釋出,如步驟41。 Please refer to FIG. 7 , which is a schematic diagram of a process of setting a new service authority and releasing a service for the network service management system and method of the present invention. As shown in the figure, set the limit parameters used by the service to control the permissions of the service. After step 33, the service can be authorized to release. If the service is released, if the verification service registration data and the program bit code are consistent before step 34, as in step 35, first scan whether the version of the service class program bit code exists, as in step 36, if it exists, start parsing the class, Method, parameter, such as step 37, if there is no error processing, such as step 38, and then compare the registered service and program bit code content information Similarly, if the service is released as in step 39, if the service is released, as in step 40, the service is not allowed to be released, as in step 41.

請參考圖8所示,為本發明網路服務管理系統與方法之文件自動產生與發佈之流程示意圖。如圖所示,使用者先選擇要發佈的服務說明文件,如步驟42,由服務註冊資料讀出服務的類、方法和參數的註解,如步驟43,接著產生HTML說明文件檔案,如步驟44,最後發佈說明文件給用戶,作為使用服務的幫助文件,如步驟45。 Please refer to FIG. 8 , which is a schematic flowchart of automatically generating and distributing files of the network service management system and method of the present invention. As shown in the figure, the user first selects the service description file to be published. In step 42, the service registration data reads the annotations of the class, method and parameters of the service, as in step 43, and then generates an HTML description file file, as in step 44. Finally, the documentation is released to the user as a help file for using the service, as in step 45.

請參考圖9所示,為本發明網路服務管理系統與方法之掃描與解析服務程式碼方法步驟示意圖。如圖所示,如步驟46根據服務類的名稱和版本等辨識服務的必要參數來掃描指定路徑的程式位元碼,來取得此服務類別。如步驟47掃描程式位元碼路徑中有加註網路服務的所有方法,並以步驟34參數作為條件。如步驟48對服務內的方法,也就是提供給服務用戶呼叫接收參數和回傳參數進行解析,參數可能具基本型態與物件類型型態,基本型態則記錄下來。如步驟49當參數為物件類型時,則須繼續往下解析此參數,重複此步驟到所有物件類型參數內的參數都只剩下基本型態類型為止。如步驟50當步驟48所有的方法都解析完成時,把記錄下的類、方法及參數與註解,儲存即註冊到服務註冊資訊資料庫中,以提供後續服務釋出驗證和說明文件檔案產生使用。 Please refer to FIG. 9 , which is a schematic diagram showing the steps of the scanning and parsing service code method of the network service management system and method of the present invention. As shown in the figure, in step 46, the service class is obtained by scanning the program bit code of the specified path according to the necessary parameters of the service class such as the name and version of the service class. As in step 47, there are all methods of filling the network service in the program bit code path, and the parameters of step 34 are used as conditions. For example, in step 48, the method in the service, that is, the call receiving parameter and the return parameter provided to the service user are parsed, and the parameter may have a basic type and an object type, and the basic type is recorded. If the parameter is the object type in step 49, you must continue to parse this parameter. Repeat this step until all the parameters in the object type parameter leave the basic type. If all the methods in step 48 are parsed in step 50, the recorded classes, methods, and parameters are annotated and stored in the service registration information database to provide subsequent service release verification and documentation file generation. .

請參考圖10所示,為本發明網路服務管理系統方 法的循序圖。其中五個模組,係以使用者51向網路服務管理系統發出以掃描JAVA程式碼57方式註冊服務程式網路服務請求,此時服務主動解析模組53,將使用者所送出欲註冊的程式碼位置進行掃解析後,提供服務註冊模組52註冊資訊進行網路服務註冊到服務註冊資訊資料庫58。使用者51向網路服務管理系統發出註冊服務程式網路服務請求,此時服務註冊模組52註冊使用者51傳遞服務註冊資訊進行網路服務註冊到服務註冊資訊資料庫58。使用者51向網路服務管理系統發出權限及限制參數設定請求,權限與授權管理模組54接受請求後,由服務註冊模組52註冊的網路服務,對其設定操作權限及限制參數。使用者向網路服務管理系統發出授權啟用服務請求,權限與授權管理模組54接受請求後,由服務註冊模組52註冊的網路服務,以服務驗證模組55對其比對服務註冊的資料和服務主動解析模組53掃描解析的結果比對驗證正確後,設定為已授權使用此服務。使用者51向網路服務管理系統發出文件發佈請求後,由服務註冊時由服務主動解析模組53掃描解析的服務文件注釋內容,由文件發佈模組56產生為HTML說明文件,並發佈提供。 Please refer to FIG. 10, which is the network service management system of the present invention. The sequential diagram of the law. The five modules are sent by the user 51 to the network service management system to scan the JAVA code 57 to register the service program network service request. At this time, the service actively parses the module 53 and sends the user the desired registration. After the code location is scanned and parsed, the service registration module 52 is registered to register the network service to the service registration information database 58. The user 51 issues a registration service program network service request to the network service management system. At this time, the service registration module 52 registers the user 51 to transmit the service registration information to register the network service to the service registration information database 58. The user 51 issues a permission and a parameter setting request to the network service management system. After receiving the request, the authority and authorization management module 54 sets the operation authority and the restriction parameter for the network service registered by the service registration module 52. The user issues an authorization to enable the service request to the network service management system. After the permission and authorization management module 54 accepts the request, the network service registered by the service registration module 52 is registered by the service verification module 55 for the comparison service. After the data and service proactive parsing module 53 scans and parses the result of the parsing, the authentication is set to be authorized to use the service. After the user 51 issues a file distribution request to the network service management system, the service file annotation content scanned by the service active analysis module 53 during the service registration is generated by the file distribution module 56 as an HTML description file, and is distributed and provided.

綜上所述,本發明之網路服務管理系統與方法可解決服務註冊的資訊與實際程式提供的內容一致性的問題。本發明更可確保自動化驗證功能時和服務的用戶在呼叫此服務時服務各項參數的規格正確性,大幅提供服務的品質。本 發明使用的方法主要以程式碼掃描的反向註冊模式,提供經由程式位元碼自動掃描解析即可將所有資訊讀入系統,並加以設定服務權限最後驗證完成,就能授權並釋出該服務。且文件以自動產生方式,將服務的注釋內容,部署到用戶的操作介面上做為提供下載的說明文件,內容必定與服務的實際程式相同。 In summary, the network service management system and method of the present invention can solve the problem that the information registered by the service is consistent with the content provided by the actual program. The invention can ensure the correctness of the specifications of the various parameters of the service when the user performs the automatic verification function and the service, and provides the service quality greatly. this The method used in the invention mainly uses the reverse registration mode of the code scanning, provides automatic scanning and parsing through the program bit code, can read all the information into the system, and sets the service authority and finally verifies the completion, and can authorize and release the service. . The file is automatically generated, and the annotation content of the service is deployed to the user's operation interface as a description file for downloading, and the content must be the same as the actual program of the service.

以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。 The above is intended to be illustrative only and not limiting. Any equivalent modifications or alterations to the spirit and scope of the invention are intended to be included in the scope of the appended claims.

0‧‧‧網路服務管理系統 0‧‧‧Network Service Management System

1‧‧‧服務註冊模組 1‧‧‧Service Registration Module

2‧‧‧服務主動解析模組 2‧‧‧Service Active Analysis Module

3‧‧‧權限與授權管理模組 3‧‧‧Permission and Authorization Management Module

4‧‧‧服務驗證模組 4‧‧‧Service Verification Module

5‧‧‧文件發佈模組 5‧‧‧Document release module

6‧‧‧服務註冊資訊資料庫 6‧‧‧Service Registration Information Database

7‧‧‧JAVA位元碼 7‧‧‧JAVA bit code

8‧‧‧HTML說明文件 8‧‧‧HTML documentation

Claims (10)

一種網路服務管理系統,包含:一服務註冊模組,用以註冊一網路服務;一服務主動解析模組,用以對該網路服務進行程式位元碼掃描及解析以產生一註冊資訊;一權限與授權管理模組,用以設定該網路服務的至少一可用限制參數;一服務驗證模組,用以在釋出該網路服務前驗證,驗證已註冊之該網路服務經該服務主動解析模組之解析結果是否與由該服務主動解析模組產生的該註冊資訊相符;以及一文件發佈模組,用以根據該服務主動解析模組之解析結果產生一說明文件。 A network service management system includes: a service registration module for registering a network service; and a service active resolution module for performing program bit code scanning and parsing of the network service to generate a registration information a permission and authorization management module for setting at least one available restriction parameter of the network service; a service verification module for verifying and verifying the registered network service before releasing the network service Whether the analysis result of the service active parsing module is consistent with the registration information generated by the service active parsing module; and a file publishing module for generating a description file according to the parsing result of the service active parsing module. 如申請專利範圍第1項之網路服務管理系統,其更包含一服務註冊資訊資料庫,該服務主動解析模組更將對該網路服務進行程式位元碼掃描及解析所產生的該註冊資訊存入該服務註冊資訊資料庫。 For example, the network service management system of claim 1 further includes a service registration information database, and the service active resolution module further scans and parses the network service to generate the registration code. Information is stored in the service registration information database. 如申請專利範圍第2項之網路服務管理系統,其中在釋出該網路服務前,該服務驗證模組係根據該服務主動解析模組對該網路服務之解析結果,比對存入該服務註冊資訊資料庫之該註冊資訊。 For example, in the network service management system of claim 2, before the release of the network service, the service verification module is based on the analysis result of the service proactive module to the network service, and the comparison is performed. The service registers the registration information of the information database. 如申請專利範圍第1項之網路服務管理系統,其中該說明文件係為HTML(Hyper Text Markup Language)說明文件,且該文件發佈模組係根據該服務主動解析模組對該網路服務進行程式位元碼掃描及解析所得到之一服務註釋資料產生該說明文件。 For example, in the network service management system of claim 1, wherein the description file is an HTML (Hyper Text Markup Language) description file, and the file distribution module performs the network service according to the service active analysis module. The program bit code scans and parses one of the service annotation data obtained to generate the description file. 如申請專利範圍第1項之網路服務管理系統,其中該服務主動解析模組係掃描、解析和比對該網路服務的JAVA位元碼。 For example, in the network service management system of claim 1, wherein the service actively parses the module to scan, parse, and compare the JAVA bit code of the network service. 一種網路服務管理方法,包含:以一服務註冊模組註冊一網路服務;以一服務主動解析模組對該網路服務進行程式位元碼掃描及解析以產生一註冊資訊;以一權限與授權管理模組設定該網路服務的至少一可用限制參數;以一服務驗證模組在釋出該網路服務前驗證,驗證已註冊之該網路服務經該服務主動解析模組之解析結果是否與由該服務主動解析模組產生的該註冊資訊相符;以及以一文件發佈模組根據該服務主動解析模組之解析結果產生一說明文件。 A network service management method includes: registering a network service by using a service registration module; and scanning and parsing a bit code of the network service by a service active resolution module to generate a registration information; And the authorization management module setting at least one available restriction parameter of the network service; verifying by the service verification module before releasing the network service, verifying that the registered network service is parsed by the service active resolution module Whether the result is consistent with the registration information generated by the service active parsing module; and a document is generated by a file publishing module according to the parsing result of the service active parsing module. 如申請專利範圍第6項之網路服務管理方法,其更包含下列步驟:以一服務註冊資訊資料庫儲存由該服務主動解析模組將對該網路服務進行程式位元碼掃描及解析所產生的該註冊資訊。 For example, in the network service management method of claim 6, the method further includes the following steps: storing, by using a service registration information database, the service active parameter module to scan and analyze the bit code of the network service. The registration information generated. 如申請專利範圍第7項之網路服務管理方法,其更包含下列步驟:在釋出該網路服務前,以該服務驗證模組根據該服務主動解析模組對該網路服務之解析結果,比對存入該服務註冊資訊資料庫之該註冊資訊。 For example, the network service management method of claim 7 further includes the following steps: before the release of the network service, the service verification module actively parses the network service analysis result according to the service. The registration information stored in the service registration information database is compared. 如申請專利範圍第6項之網路服務管理方法,其中該說明文件係為HTML(Hyper Text Markup Language)說明文件,且本方法更包含下列步驟:以該文件發佈模組係根據該服務主動解析模組對該網路服務進行程式位元碼掃描及解析所得到之一服務註釋資料產生該說明文件。 For example, in the network service management method of claim 6, wherein the description file is an HTML (Hyper Text Markup Language) description file, and the method further comprises the following steps: the module is released according to the service, and the module is actively parsed according to the service. The module generates the description file by scanning and parsing the bit code of the network service to obtain a service annotation data. 如申請專利範圍第6項之網路服務管理方法,其更包含下列步驟:以該服務主動解析模組係掃描、解析和比對該網路服務的JAVA位元 碼。 For example, the network service management method of claim 6 further includes the following steps: actively parsing, parsing, and comparing JAVA bits of the network service with the service system by using the service code.
TW104128271A 2015-08-28 2015-08-28 Network service management system and method TWI577155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104128271A TWI577155B (en) 2015-08-28 2015-08-28 Network service management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104128271A TWI577155B (en) 2015-08-28 2015-08-28 Network service management system and method

Publications (2)

Publication Number Publication Date
TW201709695A TW201709695A (en) 2017-03-01
TWI577155B true TWI577155B (en) 2017-04-01

Family

ID=58774213

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104128271A TWI577155B (en) 2015-08-28 2015-08-28 Network service management system and method

Country Status (1)

Country Link
TW (1) TWI577155B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020120685A1 (en) * 1999-06-01 2002-08-29 Alok Srivastava System for dynamically invoking remote network services using service descriptions stored in a service registry
CN101976188A (en) * 2010-05-26 2011-02-16 天津大学 OpenApi data automatic loading system oriented to AJAX protocol
US8856735B2 (en) * 2012-07-25 2014-10-07 Oracle International Corporation System and method of generating REST2REST services from WADL
TWI476621B (en) * 2010-08-27 2015-03-11 Alibaba Group Holding Ltd Method, system and device for realizing network service based on open application programming interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020120685A1 (en) * 1999-06-01 2002-08-29 Alok Srivastava System for dynamically invoking remote network services using service descriptions stored in a service registry
CN101976188A (en) * 2010-05-26 2011-02-16 天津大学 OpenApi data automatic loading system oriented to AJAX protocol
TWI476621B (en) * 2010-08-27 2015-03-11 Alibaba Group Holding Ltd Method, system and device for realizing network service based on open application programming interface
US8856735B2 (en) * 2012-07-25 2014-10-07 Oracle International Corporation System and method of generating REST2REST services from WADL

Also Published As

Publication number Publication date
TW201709695A (en) 2017-03-01

Similar Documents

Publication Publication Date Title
CN106599321B (en) Plug-in for generation and analysis of DWG file annotation and signature and use method thereof
US8527954B2 (en) Method for automatically creating a behavior pattern of a computer program for model-based testing techniques
CN111158674B (en) Component management method, system, device and storage medium
CN109308285A (en) Database script management method, device, computer equipment and storage medium
CN104794048B (en) A kind of UI automated testing methods and system
WO2013112417A1 (en) Document template licensing
US20090307137A1 (en) Managing provenance of digitally signed data in user editable records
CN108257226A (en) Barcode scanning ticket checking method, system, device, computer equipment and storage medium
CN106155661B (en) Control access method and device
JP2007011512A (en) Test-recording method, test-recording device, and test-recording program
CN103561040A (en) File downloading method and system
US20210133903A1 (en) Digitized contract generation with colocation security
CN107015911A (en) The code review method and device of continuous integrating
CN109324958B (en) REST unified verification method, device, equipment and readable storage medium
CN104750463B (en) A kind of developing plug method and system
CN104111919A (en) Certificate compilation method for measuring and testing service system
US20150032489A1 (en) Methods for facilitating the preparation of construction bid documents and devices thereof
CN104318164B (en) A kind of checking method of application program
TWI577155B (en) Network service management system and method
CN105656856A (en) Resource management method and device
KR20090002032A (en) Executing module for playing ui plug-in in universal web browser, ui plug-in development apparatus and method thereof
KR100981757B1 (en) Method and system for providing contents-certified service
CN108259487B (en) information interaction method and computer readable medium
CN116489056A (en) Intelligent gateway production test method and system and intelligent gateway
CN109634865B (en) Code transfer testing method and device and transfer testing terminal

Legal Events

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