Supercharge Your Innovation With Domain-Expert AI Agents!

Service calling method and device

A technology for service invocation and new services, applied in program control devices, software reuse, data processing applications, etc., can solve problems such as non-expansion, increase transaction logic complexity, increase development workload, etc., to reduce development workload, Realize the effect of differential processing without repeated development

Pending Publication Date: 2021-06-04
CHINA CONSTRUCTION BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing technology writes a set of transaction logic for the old service call and the new service call, which increases the complexity of the transaction logic, and there is a lot of repetitive development work, which increases the development workload; at the same time, because the existing technology is at the transaction level Differential processing of different calling methods, not scalable

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered 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 from the following description for clarity and conciseness.

[0051] figure 1 It is a schematic diagram of main steps of a service invocation method according to an embodiment of the present invention. like figure 1 As shown, the service invocation method according to the embodiment of the present invention mainly includes the following steps:

[0052] Step S101: Query corresponding index information in a database according to the tra...

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 calling method and device, and relates to the technical field of automatic programming. A specific embodiment of the method comprises the following steps: querying corresponding index information in a database according to a transaction element carried by a calling request, wherein the transaction element comprises a transaction identifier defined on the old service, and the index information comprises a service identifier of the new service; determining that index information exists in a database, and searching a corresponding new service interface according to an old service interface corresponding to the transaction identifier and a set interface inheritance relationship, wherein the interface inheritance relationship is used for interface conversion between the old service and the new service; and calling a corresponding new service according to the service identifier and the new service interface. According to the method, the transaction identifier of the old service is carried in the calling request, and the new service interface is determined based on the transaction identifier and the interface inheritance relationship when the new service is determined to be called, so that new service calling is realized, repeated development is not needed, and the development workload is reduced.

Description

technical field [0001] The invention relates to the technical field of automatic program design, in particular to a method and device for invoking a service. Background technique [0002] In the process of structural transformation of the banking system, it is usually upgraded in batches. In this switching mode, there will be transactions under the state of the fusion architecture, and the transaction logic development under the state of the fusion architecture is required, especially when the service integration layer calls downstream atomic services, it needs to take into account both old services and new services. Among them, the functions of the new and old services are the same, but the protocols and specifications adopted are different. During development, application developers need to develop different transaction logics through different calling methods according to the called services. [0003] In the process of realizing the present invention, there are at least...

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): G06F9/448G06F8/36G06Q40/04
CPCG06F8/36G06Q40/04G06F9/449
Inventor 丁陈飞赵立才顾凌唐成山陈军
Owner CHINA CONSTRUCTION BANK
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More