Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Intersystem call method and device

An application system and method invocation technology, applied in the computer field, can solve the problems of increasing system cost, implementation complexity, and system transformation too large, and achieve the effect of improving the efficiency of problem location.

Active Publication Date: 2017-02-22
ADVANCED NEW TECH CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to avoid tracing and locating the application system level by level, there is a proposal to provide a transfer service through a third-party system such as a message bus, and each time the next-level application system is called, the calling method and the passed method parameter object are sent to Message bus, the message bus obtains and records the context information corresponding to the passed method parameter object based on calling the method, and the next-level application system can obtain the context information corresponding to the passed method parameter object through the message bus, but this method needs to introduce additional messages Bus, which increases system cost and implementation complexity, and is too large to modify the existing system

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
  • Intersystem call method and device
  • Intersystem call method and device
  • Intersystem call method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Such as figure 1 As shown, it is a flow chart of the intersystem call method provided in Embodiment 1 of the present application, including the following steps:

[0044] S101: When the first application system determines that it needs to call the second application system, configure context information for the method parameter object to be transmitted by the first application system based on the RPC framework.

[0045] In business processing involving multiple system calls, after the first application system completes business logic processing, it needs to pass the method parameter object obtained after processing to the second application system for further processing, that is, through the RPC framework of the first application system , initiate a request to the RPC framework of the second application system to call the second application system, so as to call the business method of the second application system to continue the business logic processing.

[0046] Here...

Embodiment 2

[0056] Such as figure 2 As shown, the flow chart of the intersystem call method provided in Embodiment 2 of the present application includes the following steps:

[0057] S201: When the first application system needs to call the second application system, it detects through the RPC framework whether the method parameter object to be transmitted has a context information configuration indicator, and if so, proceeds to S203; otherwise, proceeds to S202.

[0058] In specific implementation, it is possible to pre-set which classes, methods, or attributes need to configure context information, and add context information configuration indication signs, such as @HoldContext, at the setting position of the class / method / attribute name where context information needs to be configured; After performing business logic processing to obtain the relevant method parameter object, usually check whether there is a context information configuration indicator at the setting position of the clas...

Embodiment 3

[0068] Such as image 3 As shown, it is a flow chart of the inter-system call method provided in Embodiment 3 of the present application, Figure 4 It is a schematic diagram of inter-system calls corresponding thereto, and the third embodiment includes the following steps:

[0069] S301: When the first application system determines that it needs to call the second application system, configure context information for the method parameter object to be transmitted by the first application system based on the RPC framework.

[0070] Such as Figure 4 As shown, firstly, the developer can add a context information configuration indicator, such as @HoldContext, to the setting position of the class / attribute / method that needs to keep the context through the development interface of the first application system.

[0071] After receiving the instruction to call the second application system, the RPC framework of the first application system detects whether there is a corresponding co...

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 present invention relates to the computer technology field, and especially to an intersystem call method and device. On the premise that a third-party system such as a message bus is not introduced, the problem location efficiency in the distributed multi-system configuration is improved. The intersystem call method provided by the embodiment of the invention comprises: when a first application system determines to require calling a second application system, the contextual information is configured for the method parameter object to be transmitted of the first application system based on RPC (Remote Procedure Call Protocol) frame; and the first application system performs serialization processing of the method parameter object and the configured contextual information based on the RPC frame and then transmit the processed method parameter object and the configured contextual information to the second application system.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a method and device for calling between systems. Background technique [0002] In the information technology (Information Technology, IT) system of a large enterprise or the large-scale system architecture of the Internet, based on the requirements of system scalability and stability, it is often necessary to deploy a large-scale system into a distributed multi-system architecture. [0003] In the distributed multi-system architecture, based on the requirements of business logic, different application systems need to implement interface data communication based on Remote Procedure Call Protocol (RPC). When a business request requires the cooperation of multiple application systems, each level of application system will process the passed method parameter object according to its own needs, and pass the processed method parameter object to the next level of applicat...

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/06G06F9/54H04L29/08
CPCH04L67/10G06F9/547H04L67/133
Inventor 孙波
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products