TW201719442A - Digital service data exchanging method shortening the time of establishing composite digital service quality assurance data and increasing repetitions of the digital services - Google Patents

Digital service data exchanging method shortening the time of establishing composite digital service quality assurance data and increasing repetitions of the digital services Download PDF

Info

Publication number
TW201719442A
TW201719442A TW104139853A TW104139853A TW201719442A TW 201719442 A TW201719442 A TW 201719442A TW 104139853 A TW104139853 A TW 104139853A TW 104139853 A TW104139853 A TW 104139853A TW 201719442 A TW201719442 A TW 201719442A
Authority
TW
Taiwan
Prior art keywords
service
format
event
module
source data
Prior art date
Application number
TW104139853A
Other languages
Chinese (zh)
Other versions
TWI617922B (en
Inventor
Ting-Che Chuang
Kai-Sheng Hsu
Chien-Wen Yang
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 TW104139853A priority Critical patent/TWI617922B/en
Publication of TW201719442A publication Critical patent/TW201719442A/en
Application granted granted Critical
Publication of TWI617922B publication Critical patent/TWI617922B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This invention provides a digital service data exchanging method which is characterized by assembling different application services and network services to present quality assurance information of a digital service, shortening the time of establishing composite digital service quality assurance data by means of a defined data encapsulation format and a data exchanging method as well as a digital service organization object, and increasing repetitions of the digital services.

Description

數位服務資料交換方法 Digital service data exchange method

本發明係關於一種數位服務資料交換方法,特別封裝服務品質相關之測量指標與事件以及統一資料交換的標準,提高資料的可再利用性之數位服務資料交換方法。 The invention relates to a digital service data exchange method, in particular to a package service quality-related measurement index and event and a unified data exchange standard, and a digital service data exchange method for improving data reusability.

目前資料交換技術中,各系統間存在者不同的資料模型,開發新功能時由於資料介面不同而需要花費較多時間開發,並且大多以設備面角度做資料的交換。因此於處理服務管理方面而言,封裝服務需要的資訊制定研發共同的資料交換標準,並且透過共通服務組構物件中取得服務的組成架構組裝服務,描述服務之間的關係,並可再利用定義過的子服務,而不用重新開發,藉以提高服務的可再利用性以及縮短新服務監控系統的開發時間。 At present, in the data exchange technology, different data models exist between systems. When developing new functions, it takes more time to develop due to different data interfaces, and most of them exchange data by device angle. Therefore, in terms of processing service management, the information required for the encapsulation service is developed to develop a common data exchange standard, and the composition of the service is assembled through the common service organization object, and the relationship between the services is described, and the definition can be reused. Sub-services, without redevelopment, to improve the reusability of services and shorten the development time of new service monitoring systems.

由此可見,上述現有方式仍有諸多缺失,仍有改善空間,亟待加以改良。 It can be seen that there are still many shortcomings in the above existing methods, and there is still room for improvement, which needs to be improved.

發明人鑑於上述習用方式所衍生的各項缺點,乃亟思加以改良創新,並經多年苦心孤詣潛心研究後,終於成功研發完成本發明一種數 位服務資料交換方法。 In view of the shortcomings derived from the above-mentioned conventional methods, the inventors have improved and innovated, and after years of painstaking research, they finally succeeded in researching and developing a number of the present invention. Bit service data exchange method.

本發明提供一種數位服務資料交換方法,步驟包含: 一資料介接模組於外部取得一來源資料格式,並判斷該來源資料格式是否為一預設封裝格式,其中該預設封裝格式係為XML格式;當該來源資料格式為非預設封裝格式時,一服務封裝模組則對該來源資料格式進行轉換格式之邏輯;該服務封裝模組內之一封裝監測指標模組建立監控指標之規則轉換,係定義該來源資料格式進行轉換格式之邏輯之監測指標代碼、類型,並取得該來源資料格式之數值、文字說明;該服務封裝模組內之一服務事件模組將一事件資料包含於該來源資料格式內;該服務封裝模組內之一服務運作狀態規則設定模組係一事件之嚴重程度判斷出一自訂規則,或藉由一監測指標之數值判斷出該自訂規則後,進行該來源資料格式的封裝;以及當該來源資料格式為預設封裝格式時,進行該來源資料格式的封裝。 The invention provides a digital service data exchange method, and the steps include: A data interface module obtains a source data format externally, and determines whether the source data format is a preset package format, wherein the preset package format is an XML format; and when the source data format is a non-preset package format When a service package module converts the format of the source data format, the packaged monitoring indicator module of the service package module establishes a rule conversion of the monitoring index, and is a logic for defining the source data format for converting the format. Monitoring the indicator code and type, and obtaining the numerical value and textual description of the source data format; one service event module in the service package module includes an event data in the source data format; a service operation status rule setting module determines whether a custom rule is determined by the severity of an event, or determines the custom data by a value of a monitoring indicator; and when the source data is encapsulated; When the format is a preset package format, the source data format is encapsulated.

本發明提供另一種數位服務資料交換方法,步驟包含:於一服務封裝模組內之一服務事件模組設定一子服務事件;一資料介接模組於外部取得複數個來源資料格式,並判斷各該來源資料格式是否為一預設封裝格式,其中該預設封裝格式係為XML格式;當各該來源資料格式為非預設封裝格式時,該服務封裝模組依據該子服務事件對非預設封裝格式之各該來源資料格式進行子服務封裝;將經子服務封裝後之非預設封裝格式之各該來源資料格式,及為預設格式 之各該來源資料格式,利用該服務封裝模組內之一封裝監測指標模組建立監控指標之規則轉換,係定義各該來源資料格式進行轉換格式之邏輯之監測指標代碼、類型,並取得各該來源資料格式之數值、文字說明;該服務封裝模組內之該服務事件模組將一事件資料包含於各該來源資料格式內;以及該服務封裝模組內之一服務運作狀態規則設定模組係一事件之嚴重程度判斷出一自訂規則,或藉由一監測指標之數值判斷出該自訂規則後,進行各該來源資料格式的封裝。 The present invention provides another digital service data exchange method, which comprises: setting a sub-service event in a service event module in a service package module; and a data interface module obtaining a plurality of source data formats externally and determining Whether the source data format is a preset package format, wherein the preset package format is an XML format; and when each of the source data formats is a non-preset package format, the service package module is based on the sub-service event Each of the source data formats of the preset encapsulation format is sub-service encapsulation; each of the source data formats of the non-preset encapsulation format encapsulated by the sub-services is a preset format Each of the source data formats utilizes a package monitoring indicator module in the service package module to establish a rule conversion of the monitoring index, and is a logic monitoring indicator code and type that defines each of the source data formats for conversion format, and obtains each The value of the source data format and the text description; the service event module in the service package module includes an event data in each of the source data formats; and a service operation state rule setting mode in the service package module The severity of the event is judged by a severity of the event, or after the custom rule is determined by the value of a monitoring indicator, the encapsulation of each source data format is performed.

其中子服務封裝更進一步包含: 該封裝監測指標模組建立監控指標之規則轉換,係定義各該來源資料格式進行轉換格式之邏輯之監測指標代碼、類型,並取得各該來源資料格式之數值、文字說明;該服務事件模組將該事件資料包含於各該來源資料格式內;以及該服務封裝模組內之該服務運作狀態規則設定模組係該事件之嚴重程度判斷出該自訂規則,或藉由該監測指標之數值判斷出該自訂規則後,進行各該來源資料格式的封裝,完成子服務封裝。 The subservice package further includes: The package monitoring indicator module establishes a rule conversion of the monitoring index, and is a logic monitoring indicator code and type that defines the conversion format of each source data format, and obtains the numerical value and text description of each source data format; the service event module Include the event data in each of the source data formats; and the service operation status rule setting module in the service package module determines the custom rule according to the severity of the event, or the value of the monitoring indicator After determining the custom rule, the encapsulation of each source data format is performed, and the sub-service encapsulation is completed.

其中該事件資料係為資料事件ID、事件類型、事件發生時 間、事件嚴重程度、事件描述、是否影響服務、服務個體ID、來源系統代碼及事件類型代碼。 The event data is the data event ID, the event type, and the event occurrence. Interval, event severity, event description, service impact, service individual ID, source system code, and event type code.

本發明提供一種數位服務資料交換方法之查詢,步驟包含: 一組構解析模組依據複數個服務個體ID於一共用組構元件資料庫取出對應複數個子服務個體ID; 判斷是否為一複合型封裝服務;若為該複合型封裝服務,則查找取得對應一子服務之指標及事件;透過該複合型封裝服務時之規則,分析出對應各該服務個體ID的服務運作狀態、監測指標及服務影響事件,以XML格式提供;以及若非為該複合型服務,則向外部之服務來源取得對應一來源資料格式進行轉換格式後,以XML格式提供。 The invention provides a query for a digital service data exchange method, and the steps include: The set of parsing module extracts the corresponding plurality of sub-service individual IDs according to the plurality of service individual IDs in a common fabric component database; Determining whether it is a composite encapsulation service; if the composite encapsulation service is used, searching for an indicator and an event corresponding to a sub-service; analyzing the service operation corresponding to each service individual ID through the rules of the composite encapsulation service Status, monitoring indicators, and service impact events are provided in XML format; and if not for the composite service, the corresponding source data format is obtained from the external service source and converted into an XML format.

本發明之數位服務資料交換方法相較於現有技術具有一下特色: The digital service data exchange method of the present invention has the following features compared with the prior art:

1.本發明封裝了服務品質相關之測量指標與事件以及,統一資料交換的標準,提高資料的可再利用性。 1. The present invention encapsulates measurement indicators and events related to service quality and standards for unified data exchange, and improves data reusability.

2.本發明透過共通服務組構物件組裝服務,可以重複利用已經開發過的數位服務,讓開發人員能夠縮短新服務開發的時程。 2. The present invention can reuse the digital services that have been developed through the common service organization object assembly service, so that developers can shorten the time course of new service development.

3.可以接收來自第三方開發者依據相同格式封裝好的服務,使服務品質的掌握更全面性。 3. It can receive services encapsulated by third-party developers according to the same format, so that the quality of service is more comprehensive.

121‧‧‧第一服務個體 121‧‧‧First service individual

122‧‧‧第二服務個體 122‧‧‧Second service individual

124‧‧‧第三服務個體 124‧‧‧ third service individual

124‧‧‧第四服務個體 124‧‧‧ fourth service individual

1211‧‧‧第一服務個體識別碼 1211‧‧‧First Service Individual Identification Number

1221‧‧‧第二服務個體識別碼 1221‧‧‧Second Service Individual Identification Number

1231‧‧‧第三服務個體識別碼 1231‧‧‧ Third Service Individual Identification Number

1241‧‧‧第四服務個體識別碼 1241‧‧‧ Fourth Service Individual Identification Number

1212‧‧‧第一服務個體特徵值 1212‧‧‧ first service individual eigenvalue

1222‧‧‧第二服務個體特徵值 1222‧‧‧Second service individual eigenvalue

1232‧‧‧第三服務個體特徵值 1232‧‧‧ Third service individual eigenvalue

1242‧‧‧第四服務個體特徵值 1242‧‧‧ fourth service individual eigenvalue

111‧‧‧第一服務類型 111‧‧‧First service type

112‧‧‧第二服務類型 112‧‧‧Second service type

113‧‧‧第三服務類型 113‧‧‧ Third service type

114‧‧‧第四服務類型 114‧‧‧Fourth service type

200‧‧‧數位服務物件 200‧‧‧ digital service objects

210‧‧‧數位服務運作狀態 210‧‧‧Digital service operation status

220‧‧‧數位服務監測指標 220‧‧‧Digital Service Monitoring Indicators

230‧‧‧數位服務事件 230‧‧‧Digital service events

31‧‧‧使用者 31‧‧‧Users

32‧‧‧數位服務資料交換系統 32‧‧‧Digital Service Data Exchange System

33‧‧‧共用組構元件資料庫 33‧‧‧Community component library

34‧‧‧服務提供者 34‧‧‧Service Provider

321‧‧‧服務封裝模組 321‧‧‧Service Package Module

322‧‧‧組構解析模組 322‧‧‧Commercial analysis module

323‧‧‧資料介接模組 323‧‧‧Data Interface Module

3211‧‧‧封裝監測指標模組 3211‧‧‧Package Monitoring Indicator Module

3212‧‧‧服務事件模組 3212‧‧‧Service Event Module

3213‧‧‧服務運作狀態規則設定模組 3213‧‧‧Service Operation Status Rule Setting Module

S410~S460‧‧‧步驟流程 S410~S460‧‧‧Step process

S510~S590‧‧‧步驟流程 S510~S590‧‧‧Step process

S610~S670‧‧‧步驟流程 S610~S670‧‧‧Step process

71‧‧‧ITS智慧運輸數位服務 71‧‧‧ITS Smart Transport Digital Service

72‧‧‧行動VPN 72‧‧‧Action VPN

73‧‧‧固網VPN專線 73‧‧‧ Fixed network VPN line

74‧‧‧ITS車機 74‧‧‧ITS car machine

75‧‧‧派遣服務平台 75‧‧‧ dispatch service platform

711‧‧‧X車隊 711‧‧‧X Racing Team

721‧‧‧APN-X 721‧‧‧APN-X

731‧‧‧專線A 731‧‧‧Line A

732‧‧‧專線B 732‧‧‧Special line B

741‧‧‧車機 741‧‧‧Car machine

742‧‧‧車機 742‧‧‧Car machine

743‧‧‧車機 743‧‧‧Car machine

751‧‧‧AP服務平台 751‧‧‧AP service platform

752‧‧‧DB服務平台 752‧‧‧DB service platform

753‧‧‧WEB服務平台 753‧‧‧WEB service platform

圖1 係為本發明之數位服務組構物件之關係圖。 1 is a diagram of the relationship between the digital service fabric objects of the present invention.

圖2係為本發明之數位服務資料交換方法的XMI資料格式之示意圖。 2 is a schematic diagram of an XMI data format of the digital service data exchange method of the present invention.

圖3係為本發明之數位服務資料交換系統之架構圖。 3 is a block diagram of the digital service data exchange system of the present invention.

圖4係為本發明之數位服務資料交換方法之流程圖。 4 is a flow chart of a digital service data exchange method of the present invention.

圖5係為本發明之數位服務資料交換方法之流程圖。 FIG. 5 is a flow chart of the digital service data exchange method of the present invention.

圖6係為本發明之服務狀態查詢之流程圖。 6 is a flow chart of the service status query of the present invention.

圖7係為本發明之數位服務資料交換方法實際應用之示意圖。 FIG. 7 is a schematic diagram of the practical application of the digital service data exchange method of the present invention.

以下將參照相關圖式,說明依本發明之數位服務資料交換方法之實施例,為使便於理解,下述實施例中之相同元件係以相同之符號標示來說明。 The embodiments of the digital service data exchange method according to the present invention will be described below with reference to the related drawings. For the sake of understanding, the same components in the following embodiments are denoted by the same reference numerals.

本發明之目的即建立一種數位服務資料交換方法,如圖1所示,為本發明之數位服務組構物件之關係圖,首先透過定義好的數位服務組構物件來描述數位服務之間的關係,將定義好的資料儲存於共用組構元件資料庫,其中第一服務個體121包含了第一服務個體識別碼1211、第一服務個體特徵值1212以及第一服務類型111,第二服務個體122包含了第二服務個體識別碼1221、第二服務個體特徵值1222以及第二服務類型112,第三服務個體123包含了第三服務個體識別碼1231、第三服務個體特徵值1232以及第三服務類型113,第四服務個體124包含了第四服務個體識別碼1241、第四服務個體特徵值1242以及第四服務類型114,。其次,提供Http RESTFul介面,讓使用者可以根據輸入的數位服務個體ID查詢服務,取得本發明之XML資料格式,如圖2所示之本發明之種數位服務資料交換方法的XML資料格式之示意圖,其中數位服務物件200,內容包含數位服務運作狀態210(state)、數位服務監測指標220(metric)以及數位服務事件230(failure)。數位服務運作狀態210包含服務正常、服務異常、服務可執行但有錯誤、未知,透過封裝服務運作狀態資訊,使用者收到資料時可以節省判斷服務狀態所需要的時間。數位服務監測指標220,描述一些數位 服務相關的監測數據或資料,如伺服器主機的CPU使用率,提供使用者建立監控數據系統時所需要的資料。數位服務事件230影響服務的事件,包含影響服務之事件清單,讓使用者了解服務受影響之原因。透過一致的交換介面,當需要新的複合型數位服務時,可以重複使用已經包裝好的數位服務減少開發人員開發的時程。 The object of the present invention is to establish a digital service data exchange method, as shown in FIG. 1 , which is a relationship diagram of the digital service fabric object of the present invention, firstly describing the relationship between digital services through a defined digital service fabric object. And storing the defined data in the shared fabric component database, wherein the first service individual 121 includes a first service individual identifier 1211, a first service individual feature value 1212, and a first service type 111, and the second service entity 122 The second service individual identification code 1221, the second service individual feature value 1222, and the second service type 112 are included, and the third service individual 123 includes the third service individual identification code 1231, the third service individual feature value 1232, and the third service. Type 113, the fourth service individual 124 includes a fourth service individual identification code 1241, a fourth service individual feature value 1242, and a fourth service type 114. Secondly, the Http RESTFul interface is provided, so that the user can obtain the XML data format of the present invention according to the input digital service individual ID query service, and the schematic diagram of the XML data format of the digital service data exchange method of the present invention as shown in FIG. The digital service object 200 includes a digital service operating state 210 (status), a digital service monitoring indicator 220 (metric), and a digital service event 230 (failure). The digital service operation status 210 includes the service normal, the service exception, the service executable but error, unknown, through the package service operation status information, the user can save the time required to judge the service status when receiving the data. Digital Service Monitoring Indicator 220, describing some digits Service-related monitoring data or data, such as the CPU usage of the server host, provides the information the user needs to establish a monitoring data system. The digital service event 230 affects the event of the service, including a list of events affecting the service, and letting the user know why the service is affected. Through a consistent exchange interface, when a new composite digital service is needed, the already packaged digital service can be reused to reduce the development time of the developer.

請參閱圖3,如圖所示,為本發明之種數位服務資料交換系 統之架構圖,其中包含使用者31、數位服務資料交換系統32、共用組構元件資料庫33、服務提供者34,其中數位服務資料交換系統32包含服務封裝模組321、組構解析模組322、資料介接模組323,其中服務封裝模組321更包含封裝監測指標模組3211、服務事件模組3212、服務運作狀態規則設定模組3213。 Please refer to FIG. 3, which is a digital service data exchange system of the present invention. The architecture diagram includes a user 31, a digital service data exchange system 32, a shared fabric component database 33, and a service provider 34. The digital service data exchange system 32 includes a service package module 321 and a fabric analysis module. 322. The data interface module 323, wherein the service package module 321 further comprises a package monitoring indicator module 3211, a service event module 3212, and a service operation state rule setting module 3213.

本發明之數位服務資料交換方法可分為單一數位服務與複 合型數位服務,如下所示。 The digital service data exchange method of the present invention can be divided into a single digital service and complex The combined digital service is as follows.

請參閱圖4,係為本發明之種數位服務資料交換方法之流程 圖,係為利用單一數位服務封裝流程制定如何將來源資料轉換成本發明之資料交換格式:步驟S410:首先資料介接模組取得來源資料格式;步驟S420:判斷是否為符合之XML格式(如圖2所示),若是,進行步驟S460來源資料格式的封裝服務;步驟S430:若否,服務封裝模組內之封裝監測指標模組建立監控指標之規則轉換,定義出服務所需要之監測指標代碼、類型,取得來源資料之包含數值、文字說明; 步驟S440:服務封裝模組內之服務事件模組轉換事件,必須包含下列欄位資料事件ID、事件類型、事件發生時間、事件嚴重程度、事件描述、是否影響服務、服務個體ID、來源系統代碼及事件類型代碼;步驟S450:服務封裝模組內之服務運作狀態規則設定模組,設定服務狀態可以具服務事件之嚴重程度判斷或者藉由監測指標之數值判斷出自訂之規則;以及步驟S460:進行來源資料格式的封裝服務。 Please refer to FIG. 4, which is a flow chart of a digital service data exchange method of the present invention. The figure is a data exchange format for converting the source data into the invention by using a single digital service packaging process: step S410: firstly, the data interface module obtains the source data format; step S420: determining whether the XML format is conformed (as shown in the figure) 2)), if yes, performing the encapsulation service of the source data format in step S460; step S430: if not, the package monitoring indicator module in the service encapsulation module establishes a rule conversion of the monitoring index, and defines a monitoring indicator code required by the service. , type, and the source code contains the numerical values and text descriptions; Step S440: The service event module conversion event in the service encapsulation module must include the following field data event ID, event type, event occurrence time, event severity, event description, whether the service is affected, the service individual ID, and the source system code. And the event type code; step S450: the service operation status rule setting module in the service package module, the setting service status may be judged by the severity of the service event or the custom rule is determined by the value of the monitoring indicator; and step S460: Encapsulation services for source data formats.

請參閱圖5,係為本發明之種數位服務資料交換方法之流程 圖,係為利用複合型數位服務程制定如何將來源資料轉換成本發明之資料交換格式:步驟S510:設定相關子服務;步驟S520:取得來多個來源資料格式;步驟S530:判斷各個來源資料格式是否為符合之XML格式(如圖2所示),若是,進行步驟S550判斷是否還有其他數位服務;步驟S540:若否,進行封裝子數位服務;步驟S550:判斷是否還有其他數位服務,若是,進行步驟S520;步驟S560:若否,進行建立新的複合型服務監控指標,如統計子服務的數量產生出新監測指標;步驟S570:進行障礙根源分析規則,由子服務事件推導出複合型服務異常原因事件;步驟S580:根據事件及指標判斷出服務運作狀態;以及步驟S590:進行來源資料格式的封裝服務。 Please refer to FIG. 5, which is a flow chart of a digital service data exchange method of the present invention. The figure is a data exchange format for converting the source data into the invention by using the composite digital service process: step S510: setting the related sub-service; step S520: obtaining multiple source data formats; and step S530: judging each source data format Whether it is a conforming XML format (as shown in FIG. 2), if yes, proceeding to step S550 to determine whether there are other digital services; step S540: if not, performing a package sub-digit service; step S550: determining whether there are other digital services, If yes, proceed to step S520; step S560: if not, establish a new composite service monitoring indicator, such as the number of statistical sub-services to generate a new monitoring indicator; step S570: perform a barrier root cause analysis rule, and derive a composite type from the sub-service event The service abnormal cause event; step S580: determining the service operation state according to the event and the indicator; and step S590: performing the encapsulation service of the source data format.

每個數位服務最後都會封裝提供兩種介面:Http RESTFul 介面與JMS介面。Http RESTFul介面封裝成本發明之XML格式給使用者查詢服務的個體狀態,而JMS介面是數位服務間為了加速查詢之效能,以物件方式傳遞。 Each digital service will eventually provide two interfaces: Http RESTFul Interface and JMS interface. The Http RESTFul interface encapsulates the XML format of the invention to the user to query the individual status of the service, and the JMS interface is an object-based transfer between the digital services in order to speed up the query.

如圖6所示,係為本發明之服務狀態查詢之流程圖,步驟如 下:步驟S610:使用者輸入數位服務的服務個體ID後;步驟S620:組構解析模組先透過查找公用組構元件資料庫取出所有相關的子服務個體ID;步驟S630:判斷查詢流程是否為複合型的服務;步驟S640:當查詢流程是複合型的服務時,則透過內部查找方式取得子服務之指標及事件後,執行步驟S660進行封裝轉換;步驟S650:當查詢流程為非複合型的服務時,則向服務來源者取得資料;步驟S660:進行封裝服務;以及步驟S670:以XML格式資料提供。 As shown in FIG. 6, it is a flowchart of the service status query of the present invention, and the steps are as follows. Next: Step S610: After the user inputs the service individual ID of the digital service; Step S620: The fabric analysis module first retrieves all relevant sub-service individual IDs by searching the common fabric component database; Step S630: determining whether the query process is a service of the composite type; step S640: when the query process is a composite service, after obtaining the indicators and events of the sub-services through the internal search mode, step S660 is performed to perform the package conversion; and step S650: when the query process is non-composite At the time of service, the data is obtained from the service source; step S660: performing the encapsulation service; and step S670: providing the data in XML format.

請參閱圖7,係為本發明之數位服務資料交換方法實際應用 之示意圖,以ITS智慧運輸數位服務71為例,此複合型服務由四個子服務組成,行動VPN 72、固網VPN專線73、ITS車機74及派遣服務平台75,其中行動VPN 72服務個體為一個存取點(APN,Access Point Name),特徵值為存取點名稱,固網VPN專線73服務個體為一條專線,特徵值為專線名稱,ITS車機74服務個體為一台車機裝置,特徵值為車機代號,派遣服務平台75服務個體為一平台,特徵值為平台名稱,如DB平台、AP平台,ITS 智慧運輸數位服務71服務個體以車隊為主,特徵值包含車隊名稱、車隊代碼,以及所包含的子服務,如圖7中X車隊711所使用之存取點APN-X 721,使用固網VPN專線73的專線A 731、專線B 732,所屬車機741、車機742、車機743,派遣服務平台75的AP服務平台751、DB服務平台752與WEB服務平台753所支撐服務,並將以各模組上的資料存入共用組構元件資料庫。 Please refer to FIG. 7 , which is a practical application of the digital service data exchange method of the present invention. The schematic diagram is taken as an example of the ITS Smart Transport Digital Service 71. The composite service consists of four sub-services, a mobile VPN 72, a fixed network VPN line 73, an ITS car machine 74, and a dispatch service platform 75, wherein the mobile VPN 72 service entity is An access point (APN, Access Point Name), the feature value is the access point name, the fixed network VPN line 73 service individual is a dedicated line, the characteristic value is the private line name, and the ITS car machine 74 serves as a vehicle device, characteristic The value is the car code, and the service platform 75 serves as a platform. The characteristic value is the platform name, such as DB platform, AP platform, ITS. The intelligent transportation digital service 71 service individual is mainly composed of the team. The characteristic value includes the team name, the fleet code, and the included sub-services. As shown in Figure 7, the access point APN-X 721 used by the X team 711 uses the fixed network VPN. Dedicated line 73 special line A 731, special line B 732, belonging car 741, car machine 742, car machine 743, dispatch service platform 75 AP service platform 751, DB service platform 752 and WEB service platform 753 support services, and will The data on each module is stored in the shared fabric component database.

進行封裝數位服務: 行動VPN 72視行動網路服務的狀態,於資料介接模組向服務提供者蒐集相關影響行動網路服務的事件,此服務定義無監測指標,將影響行動網路服務的事件轉換成定義之格式,根據事件來設定服務運作狀態規則。如只是局部測點(某個市區)的行動網路連不到查詢之存取點則判斷為服務可執行但有錯誤,而全部測點測出完全無法連線的事件則為服務異常;固網VPN專線73針對服務平台到客戶端服務中間的服務專線狀態,做一個封裝,於資料介接模組向服務提供者蒐集相關專線的事件,此服務定義無監測指標,將影響行動網路服務的事件轉換成定義之格式,根據事件來設定服務運作狀態規則,若有事件則判斷為服務異常;ITS車機74於資料介接模組向服務提供者蒐集車輛之狀態,定義服務指標派車狀態,如可派車、派車中、失聯、未開機等資訊,此服務無事件,依據車機狀態設定服務狀態規則,如當車機狀態為可派車、派車中,在此封裝為服務正常,而服務失聯等狀態為服務異常;派遣服務平台75,係提供支撐服務的伺服器主機群的健康度,於資料介接模組向服務提供者蒐集各相關主機之告警事件,此服務定義無監測指標, 將相關的事件轉換成定義之格式。最後進行服務運作狀態規則設定,一個平台是由多台主機支撐服務,當其中一台主機有告警事件則服務狀態封裝成服務可執行但有錯誤,若所有支撐之主機都有障礙時,則封裝為服務異常。 To package digital services: The action VPN 72 regards the status of the mobile network service, and the data interface module collects relevant events affecting the mobile network service from the service provider. The service defines no monitoring indicators, and converts events affecting the mobile network service into definitions. Format, set the service operation status rule according to the event. If the mobile network of a local measurement point (a certain urban area) cannot connect to the access point of the query, it is judged that the service is executable but has an error, and the event that all the measurement points detect that it is completely unconnectable is a service exception; The fixed network VPN line 73 provides a package for the service line status between the service platform and the client service, and collects related line events from the data interface module to the service provider. This service defines no monitoring indicators and will affect the mobile network. The service event is converted into a defined format, and the service operation status rule is set according to the event. If there is an event, the service is abnormal; the ITS vehicle 74 collects the status of the vehicle from the data interface module and defines the service indicator. Vehicle status, such as dispatching a car, sending a car, losing the connection, not booting, etc. This service has no events, and the service status rules are set according to the state of the car, such as when the car is in the state of dispatching a car or sending a car. The package is service normal, and the service is disconnected and the status is service abnormality; the dispatch service platform 75 provides the health of the server host group that supports the service, and the service interface module serves Donor collect relevant alarm event host, the definition of this service without monitoring indicators, Convert related events into a defined format. Finally, the service operation status rule is set. One platform is supported by multiple hosts. When one of the hosts has an alarm event, the service status is encapsulated into a service executable but there is an error. If all the supported hosts have obstacles, then the package is encapsulated. The service is abnormal.

封裝複合型數位服務: ITS智慧運輸數位服務71提供判斷出一個車隊客戶的服務狀態;設定要使用的子服務,包含行動VPN 72,固網VPN專線73,ITS車機74服務,派遣服務平台75;由於子服務都已經進行封裝,在複合型服務中蒐集所提之資料;設定複合型監控指標規則,係根據子服務收集狀態產生新的指標,收集車機服務資訊統計服務個體(如車機741、車機742、車機743之資料),產生出監測指標車隊目前開機車輛數、失聯車輛數、關機車輛數等指標;服務障礙根源分析,係根據納管子服務所有狀態綜合分析事件等級。事件等級簡易定義為服務正常(Normal)、異常(Critical)、可執行但有錯誤(Warning)。以下是各服務等級的調整機制;行動VPN 72依據子服務事件等級不做調整;固網VPN專線73,所屬專線都有事件時告警等級才為臨界值(Critical),否則其中一條有事件的話則調整程度為警告值(Warning)。如X車隊711服務有兩條固網VPN專線(專線A 731、專線B 732),作為互為備援的機制,若兩條專線都有事件時,告警等級才為臨界值(Critical),否則其中一條有事件的話則調整程度為警告值(Warning);車機服務,由於每部會沒有效益,在此根據統計之開機車輛數定義門檻值, 如超過70%以上時,判斷為服務可執行但有錯誤提供給使用者及維護人員作參考及早處理服務異常之原因;派遣服務平台75,依據子服務事件等級不做調整;以及服務運作狀態設定(560),係依據所有事件影響程度最高等級的作服務運作狀態的依據(異常>可執行但有錯誤>服務正常)。 Package composite digital service: The ITS Smart Transport Digital Service 71 provides a service status for determining a fleet customer; the sub-services to be set up include the Mobile VPN 72, the Fixed Network VPN Line 73, the ITS Vehicle 74 Service, and the Service Platform 75; Encapsulation, collecting the proposed data in the composite service; setting the composite monitoring indicator rules, generating new indicators according to the sub-service collection status, collecting the vehicle service information statistical service individual (such as the car machine 741, the car machine 742, The information of the car machine 743), the indicators of the current number of vehicles, the number of lost vehicles, the number of vehicles shut down, etc., which are the monitoring indicators, are generated; the root cause analysis of the service obstacles is based on the comprehensive analysis of the event level according to all the status of the service. The event level is simply defined as normal (Normal), abnormal (Critical), executable, and error (Warning). The following is the adjustment mechanism of each service level; the action VPN 72 does not adjust according to the sub-service event level; the fixed network VPN line 73, the alarm line of the dedicated line has an event value is the critical value (Critical), otherwise one of the events has an event The degree of adjustment is the warning value (Warning). For example, the X team 711 service has two fixed network VPN lines (line A 731, dedicated line B 732), as a mechanism for mutual backup. If there are events on both lines, the alarm level is critical (Critical), otherwise If one of the events has an event, the adjustment level is Warning; the vehicle service, because each unit will have no benefit, here is the threshold value based on the number of counted vehicles. If it exceeds 70%, it is judged that the service is executable but the error is provided to the user and the maintenance personnel for reference. The dispatch service platform 75 is not adjusted according to the sub-service event level; and the service operation status is set. (560), based on the highest level of impact of all events for the operational status of the service (Exception > Executable but error > Service OK).

查詢服務個體狀態: 使用者使用服務個體ID查詢,如使用X車隊711之服務個體ID查詢複合型服務ITS智慧運輸數為服務狀態,先透過共用組構元件資料庫找出相關的子服務個體ID,蒐集不同子服務的數位服務資料,自行動VPN 72查詢服務個體APN-X 721;自固網VPN專線73查詢專線A 731、專線B 732之狀態;ITS車機74查詢車機741、車機742、車機743之狀態;派遣服務平台75,取得AP服務平台751、DB服務平台752與WEB服務平台753的服務運作狀態;經過在封裝服務中設定好的規則,最後統整回傳XML格式資料(如圖2所示),使用者可以根據服務運作狀態判斷出服務是否正常,在由相關事件中可以找出服務異常之原因,如ITS智慧運輸數位服務71發生大量車機失聯,對應到封裝的資訊有包含行動VPN 72的APN-X 721有嚴重障礙事件,則可以推論出為行動VPN 72導致車機大量失聯,減少後端使用者查找障礙原因之時間。 Query service individual status: The user uses the service individual ID to query, for example, using the service individual ID of the X team 711 to query the composite service ITS smart transportation number as the service status, first find the relevant sub-service individual ID through the shared fabric component database, and collect different sub-services. Digital service data, from the action VPN 72 query service individual APN-X 721; self-fixed network VPN line 73 query line A 731, line B 732 status; ITS car machine 74 query car machine 741, car machine 742, car machine 743 The status of the service platform 75, the AP service platform 751, the DB service platform 752 and the WEB service platform 753 service operation status; after the rules set in the package service, finally back to the XML format data (Figure 2 As shown in the figure, the user can judge whether the service is normal according to the service operation status. In the related event, the cause of the service abnormality can be found. For example, the ITS smart transportation digital service 71 has a large number of lost vehicles, and the information corresponding to the package has If the APN-X 721 containing the mobile VPN 72 has a serious obstacle event, it can be inferred that the action VPN 72 causes a large number of lost vehicles, reducing the time for the back-end users to find the cause of the obstacle.

其他服務應用:欲建立新複合型服務,如MOD服務,方法步驟如同建立ITS智慧運輸數位 服務71,定義服務組構物件,封裝服務(封裝服務規則建立,提供服務查找介面)即可。當中觀察發現有相同的子服務,固網VPN專線73,此時這個子服務就可以重複使用,減少再次封裝服務所需的時間。 Other service applications: To create a new composite service, such as MOD service, the method steps are like establishing an ITS smart transport digital Service 71, which defines the service fabric object, encapsulates the service (encapsulation service rule establishment, provides service lookup interface). It is observed that there is the same sub-service, fixed network VPN line 73, at this time the sub-service can be reused, reducing the time required to re-encapsulate the service.

綜上可見,本發明在突破先前之技術下,確實已達到所欲增進之功效,且也非熟悉該項技藝者所易於思及,其所具之進步性、實用性,顯已符合專利之申請要件,爰依法提出專利申請,懇請 貴局核准本件發明專利申請案,以勵創作,至感德便。 In summary, the present invention has achieved the desired effect under the prior art, and is not familiar with the skill of the art, and its progress and practicality have been consistent with patents. Apply for the requirements, and file a patent application in accordance with the law, and ask your bureau to approve the application for the invention patent, in order to encourage creation, to the sense of virtue.

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

S410~S460‧‧‧步驟流程 S410~S460‧‧‧Step process

Claims (6)

一種數位服務資料交換方法,步驟包含:一資料介接模組於外部取得一來源資料格式,並判斷該來源資料格式是否為一預設封裝格式,其中該預設封裝格式係為XML格式;當該來源資料格式為非預設封裝格式時,一服務封裝模組則對該來源資料格式進行轉換格式之邏輯;該服務封裝模組內之一封裝監測指標模組建立監控指標之規則轉換,係定義該來源資料格式進行轉換格式之邏輯之監測指標代碼、類型,並取得該來源資料格式之數值、文字說明;該服務封裝模組內之一服務事件模組將一事件資料包含於該來源資料格式內;該服務封裝模組內之一服務運作狀態規則設定模組係一事件之嚴重程度判斷出一自訂規則,或藉由一監測指標之數值判斷出該自訂規則後,進行該來源資料格式的封裝;以及當該來源資料格式為預設封裝格式時,進行該來源資料格式的封裝服務。 A digital service data exchange method, the method comprising: a data interface module externally obtaining a source data format, and determining whether the source data format is a preset package format, wherein the preset package format is an XML format; When the source data format is a non-preset package format, a service package module converts the logic of the source data format into a format; and the packaged monitoring indicator module of the service package module establishes a rule conversion of the monitoring index. Defining the source data format to convert the logical format of the monitoring indicator code and type, and obtaining the numerical value and text description of the source data format; one service event module in the service package module includes an event data in the source data Within the format; a service operation status rule setting module in the service package module determines a custom rule based on the severity of an event, or determines the custom rule by using a value of a monitoring indicator to perform the source Encapsulation of the data format; and when the source data format is a preset package format, the source data format is performed Packaging services. 如申請專利範圍第1所述之數位服務資料交換方法,其中該事件資料係為資料事件ID、事件類型、事件發生時間、事件嚴重程度、事件描述、是否影響服務、服務個體ID、來源系統代碼及事件類型代碼。 The method for exchanging digital service data according to claim 1, wherein the event data is a data event ID, an event type, an event occurrence time, an event severity, an event description, an impact service, a service individual ID, and a source system code. And the event type code. 一種數位服務資料交換方法,步驟包含:於一服務封裝模組內之一服務事件模組設定一子服務事件;一資料介接模組於外部取得複數個來源資料格式,並判斷各該來源資料格式是否為一預設封裝格式,其中該預設封裝格式係為XML格式; 當各該來源資料格式為非預設封裝格式時,該服務封裝模組依據該子服務事件對非預設封裝格式之各該來源資料格式進行子服務封裝;將經子服務封裝後之非預設封裝格式之各該來源資料格式,及為預設格式之各該來源資料格式,利用該服務封裝模組內之一封裝監測指標模組建立監控指標之規則轉換,係定義各該來源資料格式進行轉換格式之邏輯之監測指標代碼、類型,並取得各該來源資料格式之數值、文字說明;該服務封裝模組內之該服務事件模組將一事件資料包含於各該來源資料格式內;以及該服務封裝模組內之一服務運作狀態規則設定模組係一事件之嚴重程度判斷出一自訂規則,或藉由一監測指標之數值判斷出該自訂規則後,進行各該來源資料格式的複合型封裝服務。 A digital service data exchange method includes the steps of: setting a sub-service event in a service event module in a service package module; and a data interface module externally obtaining a plurality of source data formats, and determining each source data Whether the format is a preset package format, where the preset package format is an XML format; When the source data format is a non-preset package format, the service package module performs sub-service encapsulation on each of the source data formats of the non-preset package format according to the sub-service event; Setting the source data format of the package format and the source data format of the preset format, using a package monitoring indicator module in the service package module to establish a rule conversion of the monitoring index, and defining each source data format Performing a logical monitoring indicator code and type of the conversion format, and obtaining a numerical value and a textual description of each of the source data formats; the service event module in the service packaging module includes an event data in each of the source data formats; And a service operation status rule setting module in the service package module determines a custom rule based on the severity of an event, or judges the custom rule by using a value of the monitoring indicator, and performs each source data A composite package service in the format. 如申請專利範圍第3所述之數位服務資料交換方法,其中子服務封裝更進一步包含:該封裝監測指標模組建立監控指標之規則轉換,係定義各該來源資料格式進行轉換格式之邏輯之監測指標代碼、類型,並取得各該來源資料格式之數值、文字說明;該服務事件模組將該事件資料包含於各該來源資料格式內;以及該服務封裝模組內之該服務運作狀態規則設定模組係該事件之嚴重程度判斷出該自訂規則,或藉由該監測指標之數值判斷出該自訂規則後,進行各該來源資料格式的封裝,完成子服務封裝。 For example, the digital service data exchange method described in claim 3, wherein the sub-service package further comprises: the package monitoring indicator module establishes a rule conversion of the monitoring index, and is a logic for defining the conversion format of each source data format. An indicator code, a type, and a numerical value and a textual description of each of the source data formats; the service event module includes the event data in each of the source data formats; and the service operation status rule setting in the service package module The module determines the custom rule according to the severity of the event, or determines the custom rule by using the value of the monitoring indicator, and performs encapsulation of each source data format to complete the sub-service encapsulation. 如申請專利範圍第3所述之數位服務資料交換方法,其中該事件資料係為資料事件ID、事件類型、事件發生時間、事件嚴重程度、事件描述、是否影響服務、服務個體ID、來源系統代碼及事件類型代碼。 The method for exchanging digital service data according to claim 3, wherein the event data is a data event ID, an event type, an event occurrence time, an event severity, an event description, an impact service, a service individual ID, and a source system code. And the event type code. 一種數位服務資料交換方法,步驟包含: 一組構解析模組依據複數個服務個體ID於一共用組構元件資料庫取出對應複數個子服務個體ID;判斷是否為一複合型封裝服務;若為該複合型封裝服務,則查找取得對應一子服務之指標及事件;透過該複合型封裝服務時之規則,分析出對應各該服務個體ID的服務運作狀態、監測指標及服務影響事件,以XML格式提供;以及若非為該複合型服務,則向外部之服務來源取得對應一來源資料格式進行轉換格式後,以XML格式提供。 A digital service data exchange method, the steps comprising: The set of parsing module extracts the corresponding plurality of sub-service individual IDs according to the plurality of service individual IDs in a common fabric component database; determines whether it is a composite encapsulation service; if the composite encapsulation service, the search obtains a corresponding one Indicators and events of the sub-service; analyzing the service operation status, monitoring indicators and service impact events corresponding to the individual IDs of the service through the rules of the composite encapsulation service, provided in an XML format; and if not for the composite service, Then, the corresponding source data format is obtained from the external service source and converted into an XML format.
TW104139853A 2015-11-30 2015-11-30 Digital service data exchange method TWI617922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104139853A TWI617922B (en) 2015-11-30 2015-11-30 Digital service data exchange method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104139853A TWI617922B (en) 2015-11-30 2015-11-30 Digital service data exchange method

Publications (2)

Publication Number Publication Date
TW201719442A true TW201719442A (en) 2017-06-01
TWI617922B TWI617922B (en) 2018-03-11

Family

ID=59687383

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104139853A TWI617922B (en) 2015-11-30 2015-11-30 Digital service data exchange method

Country Status (1)

Country Link
TW (1) TWI617922B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI651605B (en) * 2017-08-02 2019-02-21 中華電信股份有限公司 Virtual and real resources universal monitoring system
TWI729464B (en) * 2018-08-21 2021-06-01 聯發科技股份有限公司 Data packaging method and communication device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100372348C (en) * 2004-07-28 2008-02-27 沈逸林 Application and communication method of terminal of network media phone
US8457034B2 (en) * 2008-06-17 2013-06-04 Raytheon Company Airborne communication network
US20110264530A1 (en) * 2010-04-23 2011-10-27 Bryan Santangelo Apparatus and methods for dynamic secondary content and data insertion and delivery
US20140310243A1 (en) * 2010-08-16 2014-10-16 Mr. Steven James McGee Heart beacon cycle

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI651605B (en) * 2017-08-02 2019-02-21 中華電信股份有限公司 Virtual and real resources universal monitoring system
TWI729464B (en) * 2018-08-21 2021-06-01 聯發科技股份有限公司 Data packaging method and communication device
US11096089B2 (en) 2018-08-21 2021-08-17 Mediatek Inc. Data packaging method and communication device

Also Published As

Publication number Publication date
TWI617922B (en) 2018-03-11

Similar Documents

Publication Publication Date Title
US20060026467A1 (en) Method and apparatus for automatically discovering of application errors as a predictive metric for the functional health of enterprise applications
EP3373516B1 (en) Method and device for processing service calling information
US20050216241A1 (en) Method and apparatus for gathering statistical measures
CN102790699B (en) A kind of analysis method and device of network service quality
CN103853627B (en) By the method and system relatively analyzing virtual machine performance issue reason with physical machine
KR101504182B1 (en) Method and system to control M2M devices based on social media services interworking
US7003564B2 (en) Method and apparatus for customizably calculating and displaying health of a computer network
US8874642B2 (en) System and method for managing the performance of an enterprise application
US8156172B2 (en) Monitoring and reporting enterprise data using a message-based data exchange
US20180143891A1 (en) Testing and improving performance of mobile application portfolios
US20160109495A1 (en) System and method for analyzing and monitoring smart meter network communications
CN102752142B (en) A kind of method for supervising of the information system based on Conceptual Modeling and supervisory control system
EP2546789A1 (en) Method and system for distributed and collaborative monitoring
CN109408337A (en) A kind of method and device of interface O&M
EP1819096B1 (en) A method for acquiring network key performance indicators and the key performance indicators groupware thereof
CN110162445A (en) The host health assessment method and device of Intrusion Detection based on host log and performance indicator
TWI617922B (en) Digital service data exchange method
JP5466622B2 (en) Operation monitoring device, operation monitoring method, and operation monitoring program
KR20120119432A (en) Method and apparatus for connecting between devices
US7426502B2 (en) Assessing health of a subsystem or service within a networked system
US20140203948A1 (en) Method and system for optimized monitoring and identification of advanced metering infrastructure device communication failures
CN114172819A (en) Demand resource prediction method, system, electronic device and storage medium for NFV network element
KR101663504B1 (en) Method and system for providing integrated managing service based smart water grid
CN116069540A (en) Acquisition, analysis and processing method and device for running state of software and hardware parts of system
CN105446707B (en) Data conversion method