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

Message subscription method and terminal device

A technology for subscribing messages and configuring messages, applied in program control design, inter-program communication, version control, etc., can solve the problems of heavy workload of message subscription configuration, difficult expansion and maintenance, etc., to reduce configuration code and simplify code maintenance. Effect

Inactive Publication Date: 2019-08-30
XIAMEN KECAN INFORMATION TECH +1
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present invention provides a method and a terminal device for subscribing to messages, aiming to solve the problems in the prior art that the configuration workload of message subscription is heavy and difficult to expand and maintain

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
  • Message subscription method and terminal device
  • Message subscription method and terminal device
  • Message subscription method and terminal device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0036] In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

[0037] An embodiment of the present invention provides a method of subscribing to messages, such as figure 1 As shown, the method includes the following steps:

[0038] Step 101, configure subscription messages.

[0039] When configuring the subscription message, mai...

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 is applicable to the technical field of message monitoring, and provides a message subscription method and a terminal device, and the method comprises the steps: configuring a subscription message; analyzing the configuration class of the subscription message, and obtaining the channel of the subscription message and the receiver class name of the subscription message; instantiatingthe receiver according to the receiver class name to obtain an instantiated receiver; and integrating the instantiation receiver into a monitoring container of the channel subscribed by the message torealize monitoring of the subscribed message, so as to solve the problems of large workload of message subscription configuration and difficulty in expansion and maintenance in the prior art.

Description

technical field [0001] The invention belongs to the technical field of message monitoring, and in particular relates to a method and terminal equipment for subscribing to messages. Background technique [0002] The traditional Springboot-based Redis configuration scheme is relatively simple, because the most basic configuration method of Redis provided by Springboot is a mode in which a single subscription is integrated into the framework. In actual business development, it is often necessary to subscribe to mq (message queue, message queue) of different message types according to different businesses. To deal with it in the traditional way, it is necessary to configure each message subscription one by one in the application, which is extremely inconvenient both for the development workload and subsequent code management. Contents of the invention [0003] In view of this, the embodiments of the present invention provide a method and a terminal device for subscribing to m...

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/54G06F8/71
CPCG06F8/71G06F9/546
Inventor 林琛强王敬卿蒙珊珊
Owner XIAMEN KECAN INFORMATION TECH
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