TWI756831B - Network service decentralized data transmission system and method thereof - Google Patents

Network service decentralized data transmission system and method thereof Download PDF

Info

Publication number
TWI756831B
TWI756831B TW109132378A TW109132378A TWI756831B TW I756831 B TWI756831 B TW I756831B TW 109132378 A TW109132378 A TW 109132378A TW 109132378 A TW109132378 A TW 109132378A TW I756831 B TWI756831 B TW I756831B
Authority
TW
Taiwan
Prior art keywords
service
node
business
service node
lightweight
Prior art date
Application number
TW109132378A
Other languages
Chinese (zh)
Other versions
TW202213963A (en
Inventor
陳龍
Original Assignee
英業達股份有限公司
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW109132378A priority Critical patent/TWI756831B/en
Application granted granted Critical
Publication of TWI756831B publication Critical patent/TWI756831B/en
Publication of TW202213963A publication Critical patent/TW202213963A/en

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

A network service decentralized data transmission system and a method thereof are provided. Profession service node establishes connection with profession lite agent. Consumption service node establishes connection with consumption lite agent. Profession lite agent establishes connection with consumption lite agent. Service node is registered and changed through lite agent. Request and response are transferred through lite agent for service node. Request and response can still be transferred through another lite agent for service node. Therefore, the efficiency of decentralized data transmission with network service may be achieved.

Description

網路服務去中心化的資料傳輸系統及其方法Network service decentralized data transmission system and method

一種資料傳輸系統及其方法,尤其是指一種透過輕量代理與服務節點提供的網路服務去中心化的資料傳輸系統及其方法。A data transmission system and method thereof, in particular, a data transmission system and method for decentralization of network services provided by lightweight agents and service nodes.

隨著微服務設計方法的推廣,服務之間的通訊越來越多、越來越頻繁,服務如何配置服務節點將是必須考量的問題,為了解決上述問題,現有技術是提出使用網域名稱系統(Domain Name System,DNS)服務,服務通過功能變數名稱訪問服務節點,當服務節點變更網際網路協定位址時需要管理員及時變更網域名稱系統解析配置,並且在此過程中存在網域名稱系統緩存刷新間隔具有中斷服務的可能性。With the promotion of the microservice design method, the communication between services is becoming more and more frequent, and how to configure service nodes for services will be a problem that must be considered. In order to solve the above problems, the existing technology proposes to use the domain name system (Domain Name System, DNS) service, the service accesses the service node through the function variable name. When the service node changes the Internet protocol address, the administrator needs to change the domain name system resolution configuration in time, and the domain name exists in the process. The system cache flush interval has the potential to disrupt service.

當服務節點的架構支援集群化後,通常的做法是使用API閘道模式(API Gateway)進行負載均衡,將請求轉發給當前可用的服務節點,此時不論API閘道模式自身是否是高可用部署仍屬於中央節點,網域名稱系統工作異常會導致所有相關服務無法正常工作。When the architecture of the service node supports clustering, the usual practice is to use the API Gateway mode for load balancing and forward requests to the currently available service nodes, regardless of whether the API Gateway mode itself is a high-availability deployment. Still belonging to the central node, the abnormal operation of the domain name system will cause all related services to fail to work properly.

現有解決上述問題的做法是導入服務網路(Service Mesh)框架,是利用訊息佇列、共用資料庫實現服務的註冊與發現,並進行細化治理。但這樣的方案仍會引入中央節點,不論是訊息佇列還是共用資料庫,如果這些中央節點失能時,所有服務節點將處於無法工作的狀態。The existing solution to the above problems is to import the Service Mesh framework, which uses message queues and shared databases to realize service registration and discovery, and to carry out detailed management. However, such a scheme will still introduce central nodes, whether it is a message queue or a shared database. If these central nodes fail, all service nodes will be in a state of inoperability.

綜上所述,可知先前技術中長期以來一直存在現有網路服務仍存在中心化服務節點在中央節點失能時導致所有服務節點將無法工作的問題,因此有必要提出改進的技術手段,來解決此一問題。To sum up, it can be seen that there has been a long-standing problem in the prior art that existing network services still have the problem that when the central node fails, all service nodes will not work, so it is necessary to propose improved technical means to solve the problem. this question.

有鑒於先前技術存在現有網路服務仍存在中心化服務節點在中央節點失能時導致所有服務節點將無法工作的問題,本發明遂揭露一種網路服務去中心化的資料傳輸系統及其方法,其中:In view of the prior art that the existing network services still have the problem that all the service nodes will be unable to work when the centralized service node is disabled when the central node is disabled, the present invention discloses a network service decentralized data transmission system and method thereof, in:

本發明所揭露的網路服務去中心化的資料傳輸系統,其包含:業務服務節點、業務服務輕量代理(Lite Agent,LA)、消費服務節點以及消費服務輕量代理。The network service decentralization data transmission system disclosed in the present invention comprises: a business service node, a business service light agent (Lite Agent, LA), a consumption service node and a consumption service light agent.

業務服務節點啟動時提供業務服務節點的管理資訊,業務服務節點接收網路參數並生成與網路參數對應的服務響應,業務服務節點反饋服務響應。The business service node provides management information of the business service node when it is started, the business service node receives the network parameters and generates a service response corresponding to the network parameter, and the business service node feeds back the service response.

業務服務輕量代理與業務服務節點建立連線,以自業務服務節點接收業務服務節點的管理資訊,業務服務輕量代理將業務服務節點的管理資訊進行註冊程序以更新服務清單列表,業務服務輕量代理對服務清單列表進行同步操作。The business service lightweight agent establishes a connection with the business service node to receive the management information of the business service node from the business service node. The business service lightweight agent registers the management information of the business service node to update the service list list. The volume agent synchronizes the service inventory list.

消費服務節點是用以傳送業務服務節點的節點名稱以及網路參數,消費服務節點接收反饋的服務響應。The consumer service node is used to transmit the node name and network parameters of the business service node, and the consumer service node receives the feedback service response.

消費服務輕量代理與業務服務輕量代理建立連線,消費服務輕量代理自業務服務輕量代理同步取得服務清單列表,消費服務輕量代理與消費服務節點建立連線,以自消費服務節點接收業務服務節點的節點名稱以及網路參數,消費服務輕量代理依據業務服務節點的節點名稱自服務清單列表查詢出對應的業務服務節點的網際網路協定位址(Internet Protocol Address,IP Address),消費服務輕量代理依據業務服務節點的網際網路協定位址將網路參數傳送至對應的業務服務節點,消費服務輕量代理自業務服務節點接收反饋的服務響應,消費服務輕量代理傳送反饋的服務響應至消費服務節點。The consumption service lightweight agent establishes a connection with the business service lightweight agent, the consumption service lightweight agent obtains the service list list synchronously from the business service lightweight agent, and the consumption service lightweight agent establishes a connection with the consumption service node to self-consumption service node. After receiving the node name and network parameters of the business service node, the consumer service lightweight agent queries the Internet Protocol Address (IP Address) of the corresponding business service node from the service list according to the node name of the business service node. , the consumer service lightweight agent transmits the network parameters to the corresponding business service node according to the Internet protocol address of the business service node, the consumer service lightweight agent receives the feedback service response from the business service node, and the consumer service lightweight agent transmits The feedback service responds to the consuming service node.

本發明所揭露的網路服務去中心化的資料傳輸方法,其包含下列步驟:The data transmission method for network service decentralization disclosed in the present invention comprises the following steps:

首先,業務服務節點與業務服務輕量代理建立連線;接著,消費服務節點與消費服務輕量代理建立連線;接著,業務服務輕量代理與消費服務輕量代理建立連線;接著,業務服務節點啟動時提供業務服務節點的管理資訊至業務服務輕量代理;接著,業務服務輕量代理將業務服務節點的管理資訊進行註冊程序以更新服務清單列表;接著,業務服務輕量代理將服務清單列表同步至消費服務輕量代理;接著,消費服務節點接收業務服務節點的節點名稱以及網路參數;接著,消費服務節點傳送業務服務節點的節點名稱以及網路參數至消費服務輕量代理;接著,消費服務輕量代理依據業務服務節點的節點名稱自服務清單列表查詢出對應的業務服務節點的網際網路協定位址;接著,消費服務輕量代理依據業務服務節點的網際網路協定位址將網路參數傳送至對應的業務服務節點;接著,業務服務節點生成與網路參數對應的服務響應;接著,業務服務節點反饋服務響應至消費服務輕量代理;最後,消費服務輕量代理反饋服務響應至消費服務節點。First, the business service node establishes a connection with the business service lightweight agent; then, the consumer service node establishes a connection with the consumer service lightweight agent; then, the business service lightweight agent establishes a connection with the consumer service lightweight agent; then, the business When the service node is started, the management information of the business service node is provided to the business service lightweight agent; then, the business service lightweight agent registers the management information of the business service node to update the service list list; then, the business service lightweight agent will serve The list list is synchronized to the consumer service lightweight proxy; then, the consumer service node receives the node name and network parameters of the business service node; then, the consumer service node transmits the business service node's node name and network parameters to the consumer service lightweight proxy; Next, the consumer service lightweight agent queries the Internet protocol address of the corresponding business service node from the service list list according to the node name of the business service node; Then, the business service node generates a service response corresponding to the network parameters; then, the business service node feeds back the service response to the consumer service lightweight proxy; finally, the consumer service lightweight proxy The feedback service responds to the consuming service node.

本發明所揭露的系統及方法如上,與先前技術之間的差異在於業務服務節點與業務服務輕量代理建立連線,消費服務節點與消費服務輕量代理建立連線,業務服務輕量代理與消費服務輕量代理建立連線,透過輕量代理實現服務節點的註冊與變更,以及服務節點透過輕量代理實現請求與響應的資料傳輸,在部分輕量代理的連線出現問題時,仍可透過其他的輕量代理實現請求與響應的資料傳輸。The system and method disclosed in the present invention are as above, and the difference between the system and the prior art is that the business service node establishes a connection with the business service lightweight agent, the consumer service node establishes a connection with the consumer service lightweight agent, and the business service lightweight agent establishes a connection with the business service lightweight agent. The consumer service lightweight proxy establishes a connection, realizes the registration and change of the service node through the lightweight proxy, and the service node realizes the request and response data transmission through the lightweight proxy. Request and response data transfer through other lightweight proxies.

透過上述的技術手段,本發明可以達成具備網路服務去中心化的資料傳輸的技術功效。Through the above technical means, the present invention can achieve the technical effect of data transmission with network service decentralization.

以下將配合圖式及實施例來詳細說明本發明的實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The embodiments of the present invention will be described in detail below with the drawings and examples, so as to fully understand and implement the implementation process of how the present invention applies technical means to solve technical problems and achieve technical effects.

以下首先要說明本發明所揭露的網路服務去中心化的資料傳輸系統,並請參考「第1圖」以及「第2圖」所示,「第1圖」繪示為本發明網路服務去中心化的資料傳輸系統的系統方塊圖;「第2圖」繪示為本發明網路服務去中心化的資料傳輸的資料流向圖。The following first describes the decentralized data transmission system of the network service disclosed in the present invention, and please refer to "Fig. 1" and "Fig. 2". "Fig. 1" shows the network service of the present invention. System block diagram of the decentralized data transmission system; "Figure 2" shows the data flow diagram of the decentralized data transmission for the network service of the present invention.

本發明所揭露的網路服務去中心化的資料傳輸系統,其包含:業務服務節點11、業務服務輕量代理(Lite Agent,LA)12、消費服務節點31以及消費服務輕量代理32。The network service decentralization data transmission system disclosed in the present invention includes: a business service node 11 , a business service light agent (Lite Agent, LA) 12 , a consumption service node 31 and a consumption service light agent 32 .

在本發明的說明中,是以單一業務服務節點11、單一業務服務輕量代理12、單一消費服務節點31以及單一消費服務輕量代理32作為說明,事實上的網路服務架構是具備多個業務服務節點11、多個業務服務輕量代理12、多個消費服務節點31以及多個消費服務輕量代理32,每一個業務服務輕量代理12以及每一個消費服務輕量代理32彼此之間都會建立連線以建構為網狀連線的架構。In the description of the present invention, a single business service node 11, a single business service lightweight proxy 12, a single consumer service node 31 and a single consumer service lightweight proxy 32 are used as examples. In fact, the network service architecture has multiple A business service node 11, a plurality of business service light-weight agents 12, a plurality of consumption service nodes 31, and a plurality of consumption service light-weight agents 32, each of the business service light-weight agents 12 and each of the consumption service light-weight agents 32 are among each other Connections are created to construct a mesh-connected architecture.

業務服務節點11與業務服務輕量代理12建立連線,消費服務節點31與消費服務輕量代理32建立連線,業務服務輕量代理12與消費服務輕量代理32建立連線。The business service node 11 establishes a connection with the business service lightweight agent 12 , the consumption service node 31 establishes a connection with the consumption service lightweight agent 32 , and the business service lightweight agent 12 establishes a connection with the consumption service lightweight agent 32 .

值得注意的是,業務服務輕量代理12是透過預先建立的連線配置或是使用者資料包協定(User Datagram Protocol,UDP)與消費服務輕量代理32建立長連線(HTTP persistent connection)的連接。It is worth noting that the business service lightweight proxy 12 establishes a persistent connection (HTTP persistent connection) with the consumer service lightweight proxy 32 through a pre-established connection configuration or a User Datagram Protocol (UDP) connect.

業務服務節點11在啟動時提供業務服務節點11的管理資訊51至業務服務輕量代理12,前述的業務服務節點11的管理資訊51包含業務服務節點11的節點名稱例如是:ServiceA、業務服務節點11的網際網路協定位址、業務服務節點11的最新訪問頻率、業務服務節點11的節點狀態以及業務服務節點11的響應時間,在此僅為舉例說明之,並不以此侷限本發明的應用範疇。The business service node 11 provides the management information 51 of the business service node 11 to the business service lightweight agent 12 at startup. The aforementioned management information 51 of the business service node 11 includes the node name of the business service node 11, for example: ServiceA, business service node 11, the latest access frequency of the business service node 11, the node status of the business service node 11, and the response time of the business service node 11 are only examples here, and are not intended to limit the invention. application area.

業務服務輕量代理12即可自業務服務節點11接收業務服務節點11的管理資訊51,接著,業務服務輕量代理12將業務服務節點11的管理資訊51進行註冊程序以更新服務清單列表52。The business service lightweight agent 12 can receive the management information 51 of the business service node 11 from the business service node 11 , and then the business service lightweight agent 12 registers the management information 51 of the business service node 11 to update the service list list 52 .

接著,業務服務輕量代理12對服務清單列表52進行同步操作,即業務服務輕量代理12將服務清單列表52同步至消費服務輕量代理32,當消費服務節點31傳送業務服務節點11的節點名稱53為“ServiceA”以及網路參數54為“status”,消費服務輕量代理32即可自消費服務節點31接收業務服務節點11的節點名稱53為“ServiceA”以及網路參數54為“status”。Next, the business service lightweight proxy 12 performs a synchronization operation on the service list list 52, that is, the business service lightweight proxy 12 synchronizes the service list list 52 to the consuming service lightweight proxy 32. When the consuming service node 31 transmits the node of the business service node 11 The name 53 is "ServiceA" and the network parameter 54 is "status", the consumer service lightweight agent 32 can receive the node name 53 of the business service node 11 from the consumer service node 31 as "ServiceA" and the network parameter 54 is "status" ".

消費服務輕量代理32依據業務服務節點11的節點名稱53為“ServiceA”自服務清單列表52查詢出對應的業務服務節點11的網際網路協定位址(Internet Protocol Address,IP Address)。The consumer service lightweight agent 32 queries the Internet Protocol Address (IP Address) of the corresponding service service node 11 from the service list 52 according to the node name 53 of the service service node 11 as "ServiceA".

消費服務輕量代理32依據業務服務節點11的網際網路協定位址將網路參數54為“status”傳送至對應的業務服務節點11,業務服務節點11在自消費服務輕量代理32接收網路參數54為“status”後,業務服務節點11即可生成與網路參數54為“status”對應的服務響應55。The consumer service lightweight agent 32 transmits the network parameter 54 as "status" to the corresponding business service node 11 according to the Internet Protocol address of the business service node 11, and the business service node 11 receives the network from the consumer service lightweight agent 32. After the network parameter 54 is "status", the service service node 11 can generate a service response 55 corresponding to the network parameter 54 being "status".

在業務服務節點11生成與網路參數54為“status”對應的服務響應55時,業務服務節點11即可反饋服務響應55至消費服務輕量代理32,消費服務輕量代理32即可自業務服務節點11接收反饋的服務響應55。When the business service node 11 generates a service response 55 corresponding to the network parameter 54 being "status", the business service node 11 can feed back the service response 55 to the consumer service lightweight agent 32, and the consumer service lightweight agent 32 can The service node 11 receives the feedback service response 55 .

消費服務輕量代理32在自業務服務節點11接收服務響應55時,消費服務輕量代理32即可反饋服務響應55至消費服務節點31,消費服務節點31即可自消費服務輕量代理32接收服務響應55。When the consumer service lightweight proxy 32 receives the service response 55 from the business service node 11, the consumer service lightweight proxy 32 can feed back the service response 55 to the consumer service node 31, and the consumer service node 31 can receive the service response from the consumer service lightweight proxy 32. The service responds with 55.

消費服務輕量代理32進一步紀錄由消費服務輕量代理32依據業務服務節點11的網際網路協定位址將網路參數54為“status”傳送至對應的業務服務節點11,再由業務服務節點11反饋服務響應55至消費服務輕量代理32的響應時長。The consumer service lightweight agent 32 further records that the consumer service lightweight agent 32 transmits the network parameter 54 as "status" to the corresponding business service node 11 according to the Internet protocol address of the business service node 11, and then the business service node 11. 11. Feedback service response 55 to the response duration of the consuming service lightweight proxy 32.

消費服務輕量代理32將業務服務節點11的響應時長更新於服務清單列表52中的業務服務節點的響應時間,並將更新後的服務清單列表52進行同步操作,即消費服務輕量代理32將更新後的服務清單列表52同步至業務服務輕量代理12。The consumption service lightweight agent 32 updates the response time of the business service node 11 with the response time of the business service node in the service list list 52, and performs a synchronization operation on the updated service list list 52, that is, the consumption service lightweight agent 32 The updated service manifest list 52 is synchronized to the business service lightweight agent 12 .

請參考「第3圖」所示,「第3圖」繪示為本發明網路服務去中心化的資料傳輸的資料流向圖,若消費服務輕量代理32依據業務服務節點11的節點名稱53為“ServiceA”自服務清單列表52查詢出對應的業務服務節點11的網際網路協定位址,消費服務輕量代理32依據業務服務節點11的網際網路協定位址將網路參數54為“status”傳送至對應的業務服務節點11。Please refer to "Fig. 3", "Fig. 3" shows the data flow diagram of the decentralized data transmission of the network service of the present invention. If the consumer service lightweight agent 32 is based on the node name 53 of the business service node 11 For "ServiceA", the Internet protocol address of the corresponding business service node 11 is queried from the service list list 52, and the consumer service lightweight agent 32 sets the network parameter 54 to "" according to the Internet protocol address of the business service node 11 status” is transmitted to the corresponding service service node 11.

在消費服務輕量代理32未能於預定時間內自業務服務節點11接收反饋的服務響應55時,消費服務輕量代理32會將業務服務節點11的管理資訊自服務清單列表52中移除,並且消費服務輕量代理32對服務清單列表52進行同步操作,即消費服務輕量代理32將服務清單列表52同步至輕量代理22,輕量代理22與服務節點21建立連線,藉以使得其他的輕量代理22可同步在服務清單列表52中移除業務服務節點11的管理資訊,藉以避免輕量代理選擇時選到無法進行連線的服務節點。When the consumer service lightweight agent 32 fails to receive the feedback service response 55 from the business service node 11 within a predetermined time, the consumer service lightweight agent 32 will remove the management information of the business service node 11 from the service list list 52, And the consuming service lightweight agent 32 performs a synchronization operation on the service list list 52, that is, the consuming service lightweight agent 32 synchronizes the service list list 52 to the lightweight agent 22, and the lightweight agent 22 establishes a connection with the service node 21, so that other The lightweight agent 22 can synchronously remove the management information of the business service node 11 from the service list list 52, so as to avoid selecting a service node that cannot be connected when the lightweight agent is selected.

接著,以下將說明本發明的運作方法,並請同時參考「第4A圖」至「第4C圖」所示,「第4A圖」至「第4C圖」繪示為本發明網路服務去中心化的資料傳輸方法的方法流程圖。Next, the operation method of the present invention will be described below, and please refer to "Fig. 4A" to "Fig. 4C" at the same time. The method flow chart of the data transmission method of the transformation.

首先,業務服務節點與業務服務輕量代理建立連線(步驟101);接著,消費服務節點與消費服務輕量代理建立連線(步驟102);接著,業務服務輕量代理與消費服務輕量代理建立連線(步驟103);接著,業務服務節點啟動時提供業務服務節點的管理資訊至業務服務輕量代理(步驟104);接著,業務服務輕量代理將業務服務節點的管理資訊進行註冊程序以更新服務清單列表(步驟105);接著,業務服務輕量代理將服務清單列表同步至消費服務輕量代理(步驟106);接著,消費服務節點接收業務服務節點的節點名稱以及網路參數(步驟107);接著,消費服務節點傳送業務服務節點的節點名稱以及網路參數至消費服務輕量代理(步驟108);接著,消費服務輕量代理依據業務服務節點的節點名稱自服務清單列表查詢出與對應的業務服務節點的網際網路協定位址(步驟109);接著,消費服務輕量代理依據業務服務節點的網際網路協定位址將網路參數傳送至對應的業務服務節點(步驟110);接著,業務服務節點生成與網路參數對應的服務響應(步驟111);接著,業務服務節點反饋服務響應至消費服務輕量代理(步驟112)最後,消費服務輕量代理反饋服務響應至消費服務節點(步驟113)。First, the business service node establishes a connection with the business service lightweight proxy (step 101); then, the consumer service node establishes a connection with the consumer service lightweight proxy (step 102); then, the business service lightweight proxy and the consumer service lightweight proxy The agent establishes a connection (step 103); then, when the business service node starts, it provides the management information of the business service node to the business service lightweight agent (step 104); then, the business service lightweight agent registers the management information of the business service node The procedure is to update the service list list (step 105); then, the business service lightweight proxy synchronizes the service list list to the consumer service lightweight proxy (step 106); then, the consumer service node receives the node name and network parameters of the business service node (step 107 ); then, the consumer service node transmits the node name and network parameters of the business service node to the consumer service lightweight agent (step 108 ); then, the consumer service lightweight agent lists the service list from the service list according to the node name of the business service node Query the Internet protocol address of the corresponding business service node (step 109); then, the consumer service lightweight agent transmits the network parameters to the corresponding business service node according to the Internet protocol address of the business service node ( Step 110); then, the business service node generates a service response corresponding to the network parameters (step 111); then, the business service node feeds back the service response to the consumer service lightweight proxy (step 112) Finally, the consumer service lightweight proxy feeds back the service Response to the consuming service node (step 113).

綜上所述,可知本發明與先前技術之間的差異在於業務服務節點與業務服務輕量代理建立連線,消費服務節點與消費服務輕量代理建立連線,業務服務輕量代理與消費服務輕量代理建立連線,透過輕量代理實現服務節點的註冊與變更,以及服務節點透過輕量代理實現請求與響應的資料傳輸,在部分輕量代理的連線出現問題時,仍可透過其他的輕量代理實現請求與響應的資料傳輸。To sum up, it can be seen that the difference between the present invention and the prior art is that the business service node establishes a connection with the business service lightweight agent, the consumer service node establishes a connection with the consumer service lightweight agent, and the business service lightweight agent and the consumer service establish a connection. The lightweight proxy establishes a connection, realizes the registration and change of the service node through the lightweight proxy, and the service node realizes the request and response data transmission through the lightweight proxy. The lightweight proxy implements request and response data transfer.

藉由此一技術手段可以來解決先前技術所存在現有網路服務仍存在中心化服務節點在中央節點失能時導致所有服務節點將無法工作的問題,進而達成具備網路服務去中心化的資料傳輸的技術功效。This technical means can solve the problem that the existing network services in the prior art still have the problem that all the service nodes will not work when the central node fails, so as to achieve the decentralized data of the network service. Technical efficacy of transmission.

雖然本發明所揭露的實施方式如上,惟所述的內容並非用以直接限定本發明的專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露的精神和範圍的前提下,可以在實施的形式上及細節上作些許的更動。本發明的專利保護範圍,仍須以所附的申請專利範圍所界定者為準。Although the embodiments disclosed in the present invention are as above, the above-mentioned contents are not used to directly limit the scope of the patent protection of the present invention. Anyone with ordinary knowledge in the technical field to which the present invention pertains can make some changes in the form and details of the implementation without departing from the spirit and scope of the present invention. The scope of patent protection of the present invention shall still be defined by the scope of the appended patent application.

11:業務服務節點 12:業務服務輕量代理 21:服務節點 22:輕量代理 31:消費服務節點 32:消費服務輕量代理 51:管理資訊 52:服務清單列表 53:節點名稱 54:網路參數 55:服務響應 步驟 101:業務服務節點與業務服務輕量代理建立連線 步驟 102:消費服務節點與消費服務輕量代理建立連線 步驟 103:業務服務輕量代理與消費服務輕量代理建立連線 步驟 104:業務服務節點啟動時提供業務服務節點的管理資訊至業務服務輕量代理 步驟 105:業務服務輕量代理將業務服務節點的管理資訊進行註冊程序以更新服務清單列表 步驟 106:業務服務輕量代理將服務清單列表同步至消費服務輕量代理 步驟 107:消費服務節點接收業務服務節點的節點名稱以及網路參數 步驟 108:消費服務節點傳送業務服務節點的節點名稱以及網路參數至消費服務輕量代理 步驟 109:消費服務輕量代理依據業務服務節點的節點名稱自服務清單列表查詢出對應的業務服務節點的網際網路協定位址 步驟 110:消費服務輕量代理依據業務服務節點的網際網路協定位址將網路參數傳送至對應的業務服務節點 步驟 111:業務服務節點生成與網路參數對應的服務響應 步驟 112:業務服務節點反饋服務響應至消費服務輕量代理 步驟 113:消費服務輕量代理反饋服務響應至消費服務節點 11: Business service node 12: Business Service Lightweight Proxy 21: Service Node 22: Lightweight Proxies 31: Consumer service node 32: Lightweight proxy for consumer services 51: Management Information 52: List of Service Checklists 53: Node name 54: Network parameters 55: Service Response Step 101: Establish a connection between the business service node and the business service lightweight agent Step 102: The consumer service node establishes a connection with the consumer service lightweight agent Step 103: Establish a connection between the business service lightweight proxy and the consumer service lightweight proxy Step 104: When the business service node is started, the management information of the business service node is provided to the business service lightweight agent Step 105: The business service lightweight agent registers the management information of the business service node to update the service list list Step 106: The business service lightweight proxy synchronizes the service list list to the consumer service lightweight proxy Step 107: The consumer service node receives the node name and network parameters of the business service node Step 108: The consumer service node transmits the node name and network parameters of the business service node to the consumer service lightweight proxy Step 109: The consumer service lightweight agent queries the Internet Protocol address of the corresponding business service node from the service list list according to the node name of the business service node Step 110: The consumer service lightweight agent transmits the network parameters to the corresponding business service node according to the Internet Protocol address of the business service node Step 111: The service service node generates a service response corresponding to the network parameters Step 112: The business service node feeds back the service response to the consumer service lightweight proxy Step 113: The consumer service lightweight proxy feeds back the service response to the consumer service node

第1圖繪示為本發明網路服務去中心化的資料傳輸系統的系統方塊圖。 第2圖以及第3圖繪示為本發明網路服務去中心化的資料傳輸的資料流向圖。 第4A圖至第4B圖繪示為本發明網路服務去中心化的資料傳輸方法的方法流程圖。 FIG. 1 is a system block diagram of the data transmission system for the decentralization of network services according to the present invention. FIG. 2 and FIG. 3 are the data flow diagrams of the decentralized data transmission of the network service of the present invention. FIGS. 4A to 4B are method flowcharts of the data transmission method for the decentralization of network services according to the present invention.

11:業務服務節點 11: Business service node

12:業務服務輕量代理 12: Business Service Lightweight Proxy

31:消費服務節點 31: Consumer service node

32:消費服務輕量代理 32: Lightweight proxy for consumer services

Claims (10)

一種網路服務去中心化的資料傳輸系統,其包含: 一業務服務節點,所述業務服務節點啟動時提供所述業務服務節點的管理資訊,所述業務服務節點接收一網路參數並生成與所述網路參數對應的一服務響應,所述業務服務節點反饋所述服務響應; 一業務服務輕量代理(Lite Agent,LA),所述業務服務輕量代理與所述業務服務節點建立連線,以自所述業務服務節點接收所述業務服務節點的管理資訊,所述業務服務輕量代理將所述業務服務節點的管理資訊進行註冊程序以更新一服務清單列表,所述業務服務輕量代理對所述服務清單列表進行同步操作; 一消費服務節點,用以傳送所述業務服務節點的節點名稱以及網路參數,所述消費服務節點接收反饋的所述服務響應;及 一消費服務輕量代理,所述消費服務輕量代理與所述業務服務輕量代理建立連線,所述消費服務輕量代理自所述業務服務輕量代理同步取得所述服務清單列表,所述消費服務輕量代理與所述消費服務節點建立連線,以自所述消費服務節點接收所述業務服務節點的節點名稱以及網路參數,所述消費服務輕量代理依據所述業務服務節點的節點名稱自所述服務清單列表查詢出對應的所述業務服務節點的網際網路協定位址(Internet Protocol Address,IP Address),所述消費服務輕量代理依據所述業務服務節點的網際網路協定位址將所述網路參數傳送至對應的所述業務服務節點,所述消費服務輕量代理自所述業務服務節點接收反饋的所述服務響應,所述消費服務輕量代理傳送反饋的所述服務響應至所述消費服務節點。 A decentralized data transmission system for network services, which includes: A business service node, the business service node provides management information of the business service node when it is started, the business service node receives a network parameter and generates a service response corresponding to the network parameter, the business service node The node feeds back the service response; A business service light agent (Lite Agent, LA), the business service light agent establishes a connection with the business service node, so as to receive the management information of the business service node from the business service node, the business service The service lightweight agent performs a registration procedure on the management information of the business service node to update a service list list, and the business service lightweight agent performs a synchronization operation on the service list list; a consuming service node for transmitting the node name and network parameter of the business service node, and the consuming service node receives the feedback of the service response; and A consumption service lightweight agent, the consumption service lightweight agent establishes a connection with the business service lightweight agent, the consumption service lightweight agent obtains the service list list synchronously from the business service lightweight agent, and the The consumption service lightweight agent establishes a connection with the consumption service node to receive the node name and network parameters of the business service node from the consumption service node, and the consumption service lightweight agent is based on the business service node. Query the corresponding Internet Protocol Address (Internet Protocol Address, IP Address) of the business service node from the service list list, and the consumption service lightweight agent is based on the Internet The consuming service lightweight proxy receives the feedback service response from the service service node, and the consuming service lightweight proxy transmits the feedback The service responds to the consuming service node. 如請求項1所述的網路服務去中心化的資料傳輸系統,其中所述業務服務輕量代理是透過預先建立的連線配置或是使用者資料包協定(User Datagram Protocol,UDP)與所述消費服務輕量代理建立長連線(HTTP persistent connection)的連接。The data transmission system for network service decentralization according to claim 1, wherein the business service light-weight agent communicates with all services through a pre-established connection configuration or a User Datagram Protocol (UDP). The consumer service lightweight proxy establishes a connection with a persistent connection (HTTP persistent connection). 如請求項1所述的網路服務去中心化的資料傳輸系統,其中所述業務服務節點的管理資訊包含所述業務服務節點的節點名稱、所述業務服務節點的網際網路協定位址、所述業務服務節點的最新訪問頻率、所述業務服務節點的節點狀態以及所述業務服務節點的響應時間。The network service decentralized data transmission system according to claim 1, wherein the management information of the business service node includes the node name of the business service node, the Internet Protocol address of the business service node, The latest access frequency of the business service node, the node status of the business service node, and the response time of the business service node. 如請求項1所述的網路服務去中心化的資料傳輸系統,其中所述消費服務輕量代理更包含紀錄由所述消費服務輕量代理將所述網路參數傳送至對應的所述業務服務節點再由所述業務服務節點反饋所述服務響應至所述消費服務輕量代理的響應時長。The data transmission system for network service decentralization according to claim 1, wherein the consumption service light-weight agent further comprises a record that the consumption service light-weight agent transmits the network parameters to the corresponding business The service node then feeds back the response duration of the service response to the consuming service lightweight proxy from the business service node. 如請求項4所述的網路服務去中心化的資料傳輸系統,其中所述消費服務輕量代理將所述業務服務節點的響應時長更新於所述服務清單列表中的所述業務服務節點的響應時間,並將更新後的所述服務清單列表進行同步操作。The network service decentralized data transmission system according to claim 4, wherein the consumer service lightweight agent updates the response duration of the business service node to the business service node in the service list list the response time, and synchronize the updated service list list. 一種網路服務去中心化的資料傳輸方法,其包含: 一業務服務節點與一業務服務輕量代理(Lite Agent,LA)建立連線; 一消費服務節點與一消費服務輕量代理建立連線; 所述業務服務輕量代理與所述消費服務輕量代理建立連線; 所述業務服務節點啟動時提供所述業務服務節點的管理資訊至所述業務服務輕量代理; 所述業務服務輕量代理將所述業務服務節點的管理資訊進行註冊程序以更新一服務清單列表; 所述業務服務輕量代理將所述服務清單列表同步至所述消費服務輕量代理; 所述消費服務節點接收所述業務服務節點的節點名稱以及網路參數; 所述消費服務節點傳送所述業務服務節點的節點名稱以及所述網路參數至所述消費服務輕量代理; 所述消費服務輕量代理依據所述業務服務節點的節點名稱自所述服務清單列表查詢出對應的所述業務服務節點的網際網路協定位址(Internet Protocol Address,IP Address); 所述消費服務輕量代理依據所述業務服務節點的網際網路協定位址將所述網路參數傳送至對應的所述業務服務節點; 所述業務服務節點生成與所述網路參數對應的一服務響應; 所述業務服務節點反饋所述服務響應至所述消費服務輕量代理;及 所述消費服務輕量代理反饋所述服務響應至所述消費服務節點。 A data transmission method for network service decentralization, comprising: A business service node establishes a connection with a business service Lite Agent (LA); A consumer service node establishes a connection with a consumer service lightweight agent; establishing a connection between the business service lightweight agent and the consumer service lightweight agent; When the business service node is started, the management information of the business service node is provided to the business service lightweight agent; The business service lightweight agent performs a registration procedure on the management information of the business service node to update a service list list; The business service lightweight proxy synchronizes the service list list to the consumer service lightweight proxy; The consumer service node receives the node name and network parameters of the business service node; The consumer service node transmits the node name of the business service node and the network parameter to the consumer service lightweight proxy; The consumer service lightweight agent queries the corresponding Internet Protocol Address (IP Address) of the business service node from the service list list according to the node name of the business service node; The consumer service lightweight agent transmits the network parameter to the corresponding business service node according to the Internet Protocol address of the business service node; generating, by the business service node, a service response corresponding to the network parameter; the business service node feeds back the service response to the consuming service lightweight proxy; and The consuming service lightweight proxy feeds back the service response to the consuming service node. 如請求項6所述的網路服務去中心化的資料傳輸方法,其中所述業務服務輕量代理是透過預先建立的連線配置或是使用者資料包協定(User Datagram Protocol,UDP)與所述消費服務輕量代理建立長連線(HTTP persistent connection)的連接。The data transmission method for network service decentralization according to claim 6, wherein the business service light-weight proxy communicates with all the services through a pre-established connection configuration or a User Datagram Protocol (UDP). The consumer service lightweight proxy establishes a connection with a persistent connection (HTTP persistent connection). 如請求項6所述的網路服務去中心化的資料傳輸方法,其中所述業務服務節點的管理資訊包含所述業務服務節點的節點名稱、所述業務服務節點的網際網路協定位址、所述業務服務節點的最新訪問頻率、所述業務服務節點的節點狀態以及所述業務服務節點的響應時間。The data transmission method for network service decentralization according to claim 6, wherein the management information of the business service node includes the node name of the business service node, the Internet Protocol address of the business service node, The latest access frequency of the business service node, the node status of the business service node, and the response time of the business service node. 如請求項6所述的網路服務去中心化的資料傳輸方法,其中所述消費服務輕量代理更包含紀錄由所述消費服務輕量代理將所述網路參數傳送至對應的所述業務服務節點再由所述業務服務輕量代理反饋所述服務響應至所述消費服務輕量代理的響應時長。The data transmission method for network service decentralization according to claim 6, wherein the consuming service lightweight agent further comprises a record of transmitting the network parameters to the corresponding service by the consuming service lightweight agent The service node then feeds back the response duration from the service response to the consuming service lightweight proxy from the business service lightweight proxy. 如請求項9所述的網路服務去中心化的資料傳輸方法,其中所述消費服務輕量代理將所述業務服務節點的響應時長更新於所述服務清單列表中的所述業務服務節點的響應時間,並將更新後的所述服務清單列表進行同步操作。The data transmission method for network service decentralization according to claim 9, wherein the consumer service lightweight agent updates the response duration of the business service node to the business service node in the service list list the response time, and synchronize the updated service list list.
TW109132378A 2020-09-18 2020-09-18 Network service decentralized data transmission system and method thereof TWI756831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109132378A TWI756831B (en) 2020-09-18 2020-09-18 Network service decentralized data transmission system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109132378A TWI756831B (en) 2020-09-18 2020-09-18 Network service decentralized data transmission system and method thereof

Publications (2)

Publication Number Publication Date
TWI756831B true TWI756831B (en) 2022-03-01
TW202213963A TW202213963A (en) 2022-04-01

Family

ID=81710954

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109132378A TWI756831B (en) 2020-09-18 2020-09-18 Network service decentralized data transmission system and method thereof

Country Status (1)

Country Link
TW (1) TWI756831B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI327002B (en) * 2006-11-08 2010-07-01 Inst Information Industry Web service management systems and methods, and machine readable medium thereof
TWM566363U (en) * 2018-04-13 2018-09-01 苗華斌 Intermediary system for lending consumption based on blockchain
TWI636415B (en) * 2017-08-22 2018-09-21 台新金融控股股份有限公司 Decentralization know your customer (kyc) system based on blockchain smart contract and method thereof
CN111344690A (en) * 2017-11-14 2020-06-26 通用电气公司 Hierarchical data exchange management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI327002B (en) * 2006-11-08 2010-07-01 Inst Information Industry Web service management systems and methods, and machine readable medium thereof
TWI636415B (en) * 2017-08-22 2018-09-21 台新金融控股股份有限公司 Decentralization know your customer (kyc) system based on blockchain smart contract and method thereof
CN111344690A (en) * 2017-11-14 2020-06-26 通用电气公司 Hierarchical data exchange management system
TWM566363U (en) * 2018-04-13 2018-09-01 苗華斌 Intermediary system for lending consumption based on blockchain

Also Published As

Publication number Publication date
TW202213963A (en) 2022-04-01

Similar Documents

Publication Publication Date Title
US7859992B2 (en) Router redundancy in data communication networks
EP1659762B1 (en) System and method for a distributed address allocation server for peer-to-peer networks
JP4897884B2 (en) ZIGBEE / IP gateway
US8897311B2 (en) Dynamic discovery mechanisms via inter-domain routing protocol
US9019956B2 (en) Self-forming VoIP network
RU2431184C2 (en) Inter-proximity communication within rendezvous federation
US7340530B2 (en) Methods, for providing data from network secure communications in a cluster computing environment
EP3123667B1 (en) Method for monitoring a status in form of presence and/or absence of a network entity
US8838831B2 (en) Populating location wiremap databases
EP2537103B1 (en) Client routing in a peer-to-peer overlay network
JP2007513528A (en) Serverless and switchless internet protocol telephone systems and methods
US10389463B2 (en) Synchronization of routing information in an edge system cluster
MXPA04007647A (en) Method and apparatus for parameter borrowing for network address translator configuration.
EP2706737B1 (en) Method, device, and system for obtaining address of sip registration server
TWI756831B (en) Network service decentralized data transmission system and method thereof
WO2015003420A1 (en) Resource deployment method for cloud computing environment
US11196807B1 (en) Data transmission system with network service decentralization and method thereof
US20230199683A1 (en) Clock synchronization mode indication method and communication apparatus
US20140207933A1 (en) Naming system layer
JP2006171917A (en) Protocol for radio multi-hop ad hoc network
JP2001230788A (en) MULTIPLEXED DHCP (Dynamic Host Configuration Protocol) SERVER
JP4242752B2 (en) Address table management method and terminal
WO2014179925A1 (en) Method and apparatus for processing control rules
JP2012114714A (en) Communication system
CN117692427A (en) Traffic redirection method and system based on domain name