Service choreography method and device

A service orchestration and service interface technology, applied in the field of service orchestration methods and devices, can solve the problems of increasing development costs and delaying product cycles, reducing development costs, saving script compilation time, and improving speed.

Pending Publication Date: 2021-10-22
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The processing of the service and the call chain of the service are all hard-coded, that is, the data is directly written into the code for compilation and development. If the business requirements or services change, the code must be modified to solve the problem, resulting in increased development costs and delayed products. finer cycle

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
  • Service choreography method and device
  • Service choreography method and device
  • Service choreography method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0043] The technical terms involved in the embodiments of the present invention are explained below.

[0044] Service orchestration: It is to arrange and combine some services with single responsibilities to form a large service that can meet business needs.

[0045] RPC: It is the abbreviation of Remote Procedure Call (Remote Procedure Call), which is a protocol that req...

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 service choreography method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: acquiring preset service configuration information according to an interface name and a service input parameter in a calling request; wherein the service configuration information comprises service mapping information, service calling information and a service interface execution sequence; obtaining a corresponding service processing script according to a script address in the service mapping information, grouping service interfaces of the service calling information according to a service interface execution sequence, and generating a task queue by taking the service interfaces belonging to the same group as task nodes; according to a service interface execution sequence of service interfaces in the task nodes, pulling the task nodes from the task queue, and executing the service interfaces of the task nodes to obtain a return result; and assembling the returned result by using the service processing script, and returning an assembling result. According to the method, the flexibility of service calling is improved, the development cost is reduced, and the product updating period is prolonged.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for arranging services. Background technique [0002] With the development of business, different business scenarios usually need to call multiple services to meet business needs. For example, for the business scenario of querying user information, it is necessary to call three services: user basic information query, user account information query, and user level information query. Moreover, when calling a service, a series of processing such as parameter packaging, conversion, and filtering is required. [0003] In the course of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0004] The processing of the service and the call chain of the service are all hard-coded, that is, the data is directly written into the code for compilation and development. If the business requirements ...

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/54G06F9/48
CPCG06F9/547G06F9/4881G06F2209/5018G06F2209/544
Inventor 贾兴武薛高飞卢迅鲍阳
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products