Unlock instant, AI-driven research and patent intelligence for your innovation.

Distributed asynchronous remote service arrangement and calling technology

A remote service and distributed technology, applied in the Internet field, can solve the problems of not receiving response results immediately, low system processing capacity, blocking and waiting for results, etc., to improve compatibility and execution efficiency, improve service utilization, and improve throughput volume effect

Inactive Publication Date: 2019-12-31
TONGCHENG NETWORK TECH
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the above-mentioned prior art solutions, after the program requester sends a request, the response result is often not received immediately, and the result needs to be synchronously blocked to wait for the result, and during the waiting period, the thread cannot do anything else, resulting in It reduces the waste of system resources and makes the processing capacity of the system lower.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed asynchronous remote service arrangement and calling technology
  • Distributed asynchronous remote service arrangement and calling technology
  • Distributed asynchronous remote service arrangement and calling technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] refer to figure 1 , is a distributed asynchronous remote service orchestration and invocation system disclosed in the present invention, including a control center 1 , multiple application containers 2 and multiple service gateways 3 . The control center 1 is used to arrange several service processes, each service process corresponds to a corresponding service, and each service process includes at least two service nodes. The application container 2 has a one-to-one correspondence with the service nodes, and when the application container 2 is started, it will automatically register the corresponding service node with the control center 1 . The service gateway 3 has a one-to-one correspondence with the service process and is bound to the corresponding service process. After the service process binding is completed, the service gateway 3 can call the corresponding service process.

[0055] refer to figure 1 , the control center 1 includes a service aggregation module 1...

Embodiment 2

[0058] refer to image 3 The difference between this embodiment and Embodiment 1 is that each service process includes a first node 4 and a second node 5, the first node 4 is the starting service node, and the second node 5 is the terminating service node. The service process shares the first node 4 and the second node 5 , that is, each service request enters the corresponding service process from the first node 4 and outputs response data from the second node 5 . Wherein, the first node 4 and the second node 5 are any two of the service nodes. In this embodiment, the service node a is the first node 4 , and the service node g is the second node 5 .

Embodiment 3

[0060] refer to figure 1 , the difference between this embodiment and the first embodiment is that the application container 2 is divided into a first-class characteristic container 23 and a second-type characteristic container 24, and each second-type characteristic container 24 corresponds to a spare container 6, and each spare container 6 corresponds to a A backup node with the same function as the service node of the corresponding type-two feature container 24 . Among them, the first type of feature container 23 is the application container 2 whose use frequency is less than the set value, and the second type of feature container 24 is the application container 2 whose use frequency is greater than the set value. When the standby container 6 is started, it will also automatically register its standby node to the control center 1. When the service process associated with the corresponding service node reaches the set threshold and the service process needs to use the functi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a distributed asynchronous remote service arrangement and calling technology, and relates to the technical field of the Internet. According to the technical scheme, the methodand system are included, the system comprises a control center used for arranging a plurality of service processes, wherein each service process corresponds to a corresponding service, and each service process comprises at least two service nodes; a plurality of application containers in one-to-one correspondence with the service nodes, wherein the application containers can automatically registerthe corresponding service nodes to the control center when being started; and a plurality of service gateways which are in one-to-one correspondence with the service flows and are bound with the corresponding service flows, wherein the service gateways are used for calling the corresponding service flows. Iin each service process, each service node is asynchronously executed on different threads,and a service request enters from the first service node of the corresponding service process and outputs response data from the last service node of the corresponding service process, so that the technology has the advantages of saving system resources and improving system processing capacity.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a distributed asynchronous remote service arrangement and invocation technology. Background technique [0002] Service orchestration refers to selecting some services from containers and arranging them sequentially according to a certain strategy. Remote Procedure Call (Remote Procedure Call) is a protocol that requests services from remote computer programs through the network without the need to understand network technology. [0003] In the prior art, with the rapid development of the Internet system, there are more and more remote service calling frameworks, and the program communicates through the remote service framework, which avoids the failure risk of the stand-alone system and improves the processing capacity of the system. However, the service provided by the program is a single function, and the caller of the program needs to hard-code the organization service c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06H04L29/08
CPCH04L67/10H04L67/133H04L67/01
Inventor 李亚州李智慧刘杨杨少亮
Owner TONGCHENG NETWORK TECH