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

A service cooperation method and device applied to a distributed system

A distributed system and service model technology, applied in the field of service collaboration methods and devices, can solve problems such as single RPC interaction mode, and achieve the effect of enriching collaboration modes

Active Publication Date: 2019-06-18
AEROSPACE INFORMATION
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the RPC interaction method is relatively simple, generally in a one-response-one-response mode, and complex protocol exchanges between multiple modules cannot be performed.

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
  • A service cooperation method and device applied to a distributed system
  • A service cooperation method and device applied to a distributed system
  • A service cooperation method and device applied to a distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] refer to figure 1 , shows a flow chart of steps of a service collaboration method applied in a distributed system according to Embodiment 1 of the present application.

[0053] It is worth noting that the steps S101 to S102 described in this application do not represent the order in which they are executed.

[0054] The method of the present embodiment comprises the following steps:

[0055]Step S101: Obtain the application scenario of the distributed system, and organize and model the service mechanism according to the application scenario to obtain a service model.

[0056] In a specific implementation of the present application, the service model includes: at least one of a synchronous service model, a synchronous business change service model, an asynchronous business service model, and an asynchronous business change service model.

[0057] Step S102: Select a service collaboration type that meets the application scenario according to the service model, and use t...

Embodiment 2

[0096] refer to Figure 11 , shows a structural diagram of a service coordination apparatus applied in a distributed system according to Embodiment 2 of the present application.

[0097] The device of this embodiment includes:

[0098] The model building module 111 is configured to obtain the application scenario of the distributed system, and organize and model the service mechanism according to the application scenario to obtain a service model.

[0099] The service implementation module 112 is configured to select a service collaboration type that meets the application scenario according to the service model, and use a collaboration service bus with a message middleware function to realize the transmission of service information.

[0100] In a specific implementation of the present application, the service model includes: at least one of a synchronous service model, a synchronous business change service model, an asynchronous business service model, and an asynchronous bus...

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 embodiment of the invention provides a service cooperation method and device applied to a distributed system, and the method comprises the steps: obtaining an application scene of the distributedsystem, and carrying out the organization and modeling of a service mechanism according to the application scene, and obtaining a service model; and selecting a service cooperation type conforming tothe application scene according to the service model, and realizing transmission of service information by utilizing a cooperation service bus with a message middleware function. According to the embodiment of the invention, more interaction modes are provided, and complex protocol exchange among multiple modules can be carried out.

Description

technical field [0001] The present invention relates to a distributed system, in particular to a service cooperation method and device applied in a distributed system. Background technique [0002] At this stage, distributed services are mostly implemented by RPC (Remote Procedure Call), which is a protocol for requesting services from remote computer programs through the network without knowing the underlying network technology. The RPC protocol assumes the existence of some transport protocol, such as TCP or UDP, to carry information data between communication programs. In the OSI network communication model, RPC spans the transport layer and the application layer. RPC makes it easier to develop applications including network distributed multiprogramming. [0003] RPC adopts the client / server model. A requester is a client, and a service provider is a server. First, the client calling process sends a call message with process parameters to the service process, and then...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54
Inventor 张建光代合鹏邹继文王立群祝洪强高建民乔海东米丽娜李银波
Owner AEROSPACE INFORMATION