Message sending method and device

A message sending and message technology, which is applied in the field of communication, can solve the problems of time-consuming, etc., and achieve the effect of improving sending efficiency, improving efficiency, and shortening time-consuming sending

Inactive Publication Date: 2018-06-29
CHINA UNIONPAY
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a message sending method and device to solve the technical problem in the prior art that it takes a long time to send again after the message sending fails

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0056] figure 1An exemplary structural diagram of a message sending system provided in an embodiment of the present invention is shown, and the system architecture is suitable for running a message sending method provided in an embodiment of the present invention. The system architecture includes a message generating device 101 , a message receiving device 102 , a message receiving device 103 , a message store and forward device 104 , and ...

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 discloses a message sending method and device. The method comprises the steps of obtaining a first message from a message queue according to a first period, and obtaining a second message from a first database according to a second period; then, sending the first message and the second message to a client side separately, if it is determined that sending of the first message fails, storing the first message into a first database. The messages are sent in two different ways at the same time, through the message queue and the first database, and therefore the efficiency of the whole message sending process can be improved; furthermore, the messages which are not sent successfully in the message queue are stored into the first database, the first database is responsible for sending the messages which are not sent successfully in the message queue, and the problem that the sending speed of other messages in the message queue is affected when the messages which are not sent successfully in the message queue are stored into the message queue again in the prior art can be avoided.

Description

technical field [0001] The present invention relates to the technical field of communications, in particular to a message sending method and device. Background technique [0002] With the increase of business volume and the diversification of business scenarios, the applications deployed by existing application servers are becoming increasingly large and difficult to maintain. In order to simplify the system architecture and improve processing efficiency, the processing method of message queue is widely used. In the maintained message queue mechanism, when a user initiates a request, the response thread generates and delivers a message to the queue according to the needs of the business scenario, and the processing thread extracts the message from the queue and performs the next step of business processing, thereby realizing the decoupling of the business service layer. [0003] However, the existing message queue mechanism is generally single-queue and single-thread process...

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 CHINA UNIONPAY
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