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

Service message processing method and device

A business message and processing method technology, applied in the field of business message processing methods and devices, can solve the problems of low scalability of microservice applications, business processing failures, and poor fault tolerance, so as to avoid business processing failures, improve fault tolerance, and improve Expansion effect

Active Publication Date: 2017-09-22
NEW H3C TECH CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Once one of the microservice modules is blocked, the entire business process will fail, and the fault tolerance is poor; and when a microservice application needs to add a microservice module (microservice extension) corresponding to a new function, other microservice modules may depend on For this newly expanded microservice module, the business logic of these microservice modules needs to be changed
With the expansion of microservices, business logic needs to be constantly changed, and the scalability of microservice applications is not strong

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0023] In order to solve the problems in the prior art, the embodiment of the present invention provides a service message processing method and device. A service message processing method provided by an embodiment of the present invention is firstly introduced below.

[0024] It should be noted that the business message processing method and device provided by the embodiments of the present invention are preferably applicable to micro-service modules, wherein the ...

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 message processing method and device, which are applied to micro service modules. A system where the micro service modules are located also includes a message scheduling module and a message bus. The method includes: monitoring a service message published on the message bus; processing the service message according to a message type when the message type of the service message is a message type subscribed by the micro service module on the message bus; and publishing a service message obtained after the processing to the message bus to enable the other micro service modules, which subscribe to the message type of the service message obtained after the processing, to process the above-mentioned service message obtained after the processing when the service message obtained after the processing is monitored, or pushing the service message obtained after the processing to a client when the message scheduling module determines that the service message obtained after the processing is a result type message. The embodiment of the invention can improve the fault tolerance and the expansibility of a micro service application.

Description

technical field [0001] The present invention relates to the technical field of communications, in particular to a method and device for processing business messages. Background technique [0002] A microservice application is an application built by a group of microservice modules. Each microservice module runs in an independent process, that is, each microservice module is deployed independently, and the microservice modules can communicate with each other. [0003] At present, during the processing of business messages by each micro-service module in a micro-service application, each micro-service module mainly uses REST (Representational State Transfer, representational state transfer) and RPC (Remote Procedure Call Protocol, remote procedure call protocol) to communicate. [0004] Take the communication between various microservice modules through REST as an example. Assume that the microservice application includes 4 microservice modules, namely microservice module 1,...

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
CPCG06F9/546
Inventor 王文岩张传金
Owner NEW H3C 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