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

Service calling information processing method and device and computer system

An information processing system and service calling technology, applied in the field of service calling information processing and computer systems, can solve business compatibility problems, service calling node information loss, high risk and other problems, and achieve the effect of low transformation cost

Active Publication Date: 2019-08-30
HEMA (CHINA) CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, assuming that there is insufficient inventory in the inventory processing service, so that the inventory deduction fails, if the inventory processing service is not defined in the specification, the returned response information may only have an abnormal call result such as "failure". The prompt information, but the information about the specific failure reasons will not be returned to the service call node, which will cause the service call node to lose information in the case of call failure, and cause the service call node to be unable to accurately judge the specific situation of the current service party. Cannot do further processing, etc.
[0007] In order to solve the above problems, mandatory constraints can be imposed on the output parameters of the services provided by the service provider node. However, for services that have provided relevant service definitions and are running online, this way of redefining the output parameters It will cause a secondary transformation of the service, which is costly and risky, and there are various business compatibility issues during the transition period

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 information processing method and device and computer system
  • Service calling information processing method and device and computer system
  • Service calling information processing method and device and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] First, see figure 2 , Embodiment 1 of the present application firstly provides a service call information processing system, and the system may specifically include:

[0057] The remote service framework middleware 201 is used to provide an application programming interface API;

[0058] The service providing node 202 is configured to output the extension information to the remote service framework middleware by calling the API after being called and obtaining the business processing result;

[0059] The remote service framework middleware 201 is further configured to integrate the business processing result with the extended information, generate a response object, and send it back to the service calling node.

[0060] During specific implementation, the service providing node may be specifically configured to write the extended information into the local thread context of the service providing node by calling the API, and the business processing is also recorded in ...

Embodiment 2

[0069] The second embodiment corresponds to the first embodiment, and provides a method for processing service invocation information from the perspective of remote service framework middleware, see image 3 , the method may specifically include:

[0070] S301: Provide an application programming interface API for the service provider node to output extended information by calling the API after being called and obtaining a business processing result;

[0071] S302: Integrate the business processing result with the extended information to generate a response object;

[0072] S303: Return the response object to the service invocation node

[0073] Wherein, after the API is called, the extended information can be written into the local thread context of the service providing node, and the business processing result is also recorded in the local thread context; at this time, specifically, the When integrating the business processing result with the extended information, the exten...

Embodiment 3

[0077] The third embodiment also corresponds to the first embodiment, and provides a method for processing service invocation information from the perspective of a service provider node, see Figure 4 , the method may specifically include:

[0078] S401: After the service providing node is invoked, determine the business processing result information;

[0079] S402: Output the extended information by calling the API provided by the remote service framework middleware, so as to integrate the business processing result with the extended information, generate a response object, and send it back to the service calling node.

[0080] Since the above-mentioned Embodiment 2 and Embodiment 3 correspond to Embodiment 1, for related specific implementation, please refer to Embodiment 1 and related introductions above, which will not be repeated here.

[0081] Corresponding to Embodiment 2, this embodiment of the present application also provides a service call information processing de...

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 discloses a service calling information processing method and device and a computer system, and the system comprises remote service frame middleware which is used for providing an application programming interface API; a service providing node which is used for outputting the extension information to the remote service framework middleware by calling the API after being called and obtaining a business processing result; and the remote service framework middleware which is also used for integrating the business processing result with the extension information, generating a response object and returning the response object to the service calling node. Through the embodiment of the invention, the service providing node can be supported to return the service processing information for the service calling node to carry out service logic judgment through relatively low transformation cost and transformation risk.

Description

technical field [0001] The present application relates to the technical field of service invocation, in particular to a service invocation information processing method, device and computer system. Background technique [0002] In the online sales system, with the increase of the number of users and website traffic, the number and complexity of application systems also increase sharply. Many front-end systems need to use some common business logic, which is also something that business logic usually has in common, such as obtaining user information or querying product details. If these business logics are implemented inside each system, the development cost and later maintenance cost will be greatly increased. As a result, middleware products such as remote service frameworks came into being. The remote service framework helps each system extract those similar business logics and deploy them separately. When the front-end system needs to call these business logics, it only...

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): H04L29/08
CPCH04L67/2866H04L67/34H04L67/567H04L67/51H04L67/60
Inventor 金勇汪一鸣宣吉
Owner HEMA (CHINA) CO LTD