Claims (9)
一種網路服務之連線管理方法,包括:複數個網路服務在啟動後向一網路服務平台註冊以產生一服務註冊表,該服務註冊表包括對應該些網路服務之複數個通道識別碼及複數個服務識別碼;利用一收發模組從一用戶端接收一第一服務請求;利用一分配器判斷該第一服務請求對應之一第一網路服務是否在該服務註冊表內;當該第一網路服務在該服務註冊表內,利用該分配器移除該第一服務請求之檔頭為一第一服務資料,並依據在該服務註冊表內對應該第一網路服務的該通道識別碼及該服務識別碼產生一第一服務通道;以及利用該分配器經由該第一服務通道傳送該第一服務資料至一第一服務端。A method for managing connection of a network service includes: after a plurality of network services are registered, registering with a network service platform to generate a service registry, the service registry including a plurality of channel identifiers corresponding to the network services a code and a plurality of service identifiers; receiving, by a transceiver module, a first service request from a client; determining, by a distributor, whether the first service request corresponds to whether the first network service is in the service registry; When the first network service is in the service registry, the first service request is removed from the first service request by using the allocator, and the first network service is corresponding to the service registry. The channel identifier and the service identifier generate a first service channel; and the first service channel is transmitted to the first server via the first service channel by using the identifier.
如申請專利範圍第1項所述之網路服務之連線管理方法,更包括:當該第一網路服務不在該服務註冊表內,利用該分配器通知該用戶端該第一網路服務不被支援。The method for managing the connection of the network service as described in claim 1, further comprising: when the first network service is not in the service registry, using the allocator to notify the user of the first network service Not supported.
如申請專利範圍第1項所述之網路服務之連線管理方法,其中該服務註冊表儲存於一暫存器。The method for managing the connection of the network service according to the first aspect of the patent application, wherein the service registry is stored in a temporary register.
如申請專利範圍第1項所述之網路服務之連線管理方法,更包括:利用該第一服務端運算該第一服務資料而得到第一服務回應,並將該第一服務回應經由該第一服務通道回傳至該分配器;以及利用該分配器增加該檔頭至該第一服務回應而得到一第一服務結果,並利用該收發模組回傳該第一服務結果至該客戶端。The method for managing the connection of the network service according to the first aspect of the patent application, further comprising: using the first server to calculate the first service data to obtain a first service response, and the first service response is Returning the first service channel to the distributor; and using the distributor to increase the header to the first service response to obtain a first service result, and using the transceiver module to return the first service result to the client end.
一種網路服務平台,包括:一收發模組,用以從一用戶端接收一服務請求;以及一分配器,用以判斷該第一服務請求對應之一第一網路服務是否在一服務註冊表內,該服務註冊表包括對應複數個網路服務之複數個通道識別碼及複數個服務識別碼;其中,當該第一網路服務在該服務註冊表內,該分配器移除該第一服務請求之檔頭為一第一服務資料,並依據在該服務註冊表內對應該第一網路服務的該通道識別碼及該服務識別碼產生一第一服務通道以傳送該第一服務資料至一第一服務端。A network service platform includes: a transceiver module for receiving a service request from a client; and an allocator for determining whether the first service request corresponds to whether the first network service is registered in a service In the table, the service registry includes a plurality of channel identifiers and a plurality of service identifiers corresponding to the plurality of network services; wherein, when the first network service is in the service registry, the distributor removes the a service request header is a first service profile, and a first service channel is generated according to the channel identifier corresponding to the first network service in the service registry and the service identifier to transmit the first service Information to a first server.
如申請專利範圍第5項所述之網路服務平台,係為一網路監控設備。For example, the network service platform described in claim 5 is a network monitoring device.
如申請專利範圍第5項所述之網路服務平台,其中當該第一網路服務不在該服務註冊表內,該分配器通知該用戶端該第一網路服務不被支援。The network service platform of claim 5, wherein when the first network service is not in the service registry, the distributor notifies the user that the first network service is not supported.
如申請專利範圍第5項所述之網路服務平台,其中該服務註冊表儲存於一暫存器。The network service platform of claim 5, wherein the service registry is stored in a temporary register.
如申請專利範圍第5項所述之網路服務平台,其中該第一服務端運算該第一服務資料而得到第一服務回應,並將該第一服務回應經由該第一服務通道回傳至該分配器,該分配器增加該檔頭至該第一服務回應而得到一第一服務結果,該收發模組回傳該第一服務結果至該客戶端。The network service platform of claim 5, wherein the first server calculates the first service data to obtain a first service response, and returns the first service response to the first service channel to the first service channel. The allocator adds the header to the first service response to obtain a first service result, and the transceiver module returns the first service result to the client.