A message delivery method and message delivery middleware

A technology of message passing and middleware, applied in the field of computer communication, can solve the problems of large amount of business data, unable to get response, unable to eliminate timeout connections in time, etc., to improve processing efficiency and reduce performance consumption.

Active Publication Date: 2019-05-31
WUXI BUPT SENSING TECH & IND ACADEMY
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the process of implementing this application, the inventor found that there are at least the following problems in the prior art: the existing message delivery method uses a single thread to process all business events of the client, and the data volume of the business in the distributed system may be relatively large. Or the message delivery method of the thread group may cause some events to be judged as timeout because they cannot be responded to for a long time. In addition, each connection needs to be traversed in the process of eliminating timeout connections, which may also result in failure to remove timeout connections in time, resulting in business The efficiency of event processing is low

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
  • A message delivery method and message delivery middleware
  • A message delivery method and message delivery middleware
  • A message delivery method and message delivery middleware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Embodiments of the present application provide a message delivery method and message delivery middleware.

[0025] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0026] figure 1 It is a flow chart of an embodiment of a message delivery method in this application. like figure 1 As shown, the messaging methods shown may include:

[0027] S101: Generate an increase or decrease servic...

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 application discloses a message passing method and message passing middleware. The method comprises: according to a configuration file, a service name increasing or reducing event is generated; according to the service name increasing or reducing event, a service thread group corresponding to the service name is newly established or destroyed; a connecting request event sent by a client is received, information of the connecting request event is recorded, and a first service thread group corresponding to the connection is determined based on the information of the connecting request event; and the connecting request is processed in the first service thread group and a processing result is sent to a message receiving terminal. According to the invention, the processing efficiency of service events can be improved.

Description

technical field [0001] The present application relates to the technical field of computer communication, in particular to a message delivery method and message delivery middleware. Background technique [0002] With the development of computer communication technology, the rapid growth of massive data far exceeds the processing capacity of a single computer, and the method of cutting massive data into small pieces and handing over to multiple computers for processing by relying on distributed computing came into being. [0003] Messaging middleware can play a vital role in distributed systems. Message passing middleware utilizes an efficient and reliable message passing mechanism for platform-independent data exchange, and integrates distributed systems based on data communication. By providing message passing and message queuing models, it can expand inter-process communication in a distributed environment. communication. [0004] The existing method of using message deli...

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 Patents(China)
IPC IPC(8): H04L12/58H04L29/08
Inventor 胡铮唐晓晟郭海川陈汉
Owner WUXI BUPT SENSING TECH & IND ACADEMY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products