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

Web application message pushing method and system

A technology that uses messages and messages, applied in the field of communication, can solve problems such as the need to improve accuracy, and achieve the effect of reducing message loss and improving accuracy

Pending Publication Date: 2022-01-25
BEIJING CHINA POWER INFORMATION TECH +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the accuracy of message push using AMQP protocol and RabbitMQ message push technology still needs to be improved

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
  • Web application message pushing method and system
  • Web application message pushing method and system
  • Web application message pushing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0055] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0056] figure 1 Shown is a flow chart of Embodiment 1 of a web application message push method provided by the present application. The method is based on establishing an AMQP connection between the message producer and the RabbitMQ mes...

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 provides a web application message pushing method and system. The method comprises the steps that a message production end obtains a callback function; if the acknowledgement character in the callback function is failure, a message which fails to be sent is sent to the retransmission queue; and the RabbitMQ message middleware obtains the web application message from the retransmission queue, and retransmits the obtained web application message. The message which fails to be sent is retransmitted, and the accuracy of message pushing is improved. In addition, the target web application message is processed through a message consumption end; if the processing is abnormal, the target web application message is stored to a buffer queue; and the RabbitMQ message middleware obtains the target web application message from the buffer queue, and sends the target web application message to the actual consumption queue, so that the message consumption end obtains the target web application message again. Message loss can be reduced, so that the accuracy of message pushing is improved.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular to a method and system for pushing web application messages. Background technique [0002] Today, when information is updated rapidly, users hope to obtain information changes in real time. However, in the traditional "request-response" mode, the HTTP protocol is a one-way communication protocol. The client sends a request first, and the server returns a response after receiving the request. Data, in this way, the efficiency of pushing messages is low, resulting in low efficiency of obtaining information. [0003] However, using the AMQP protocol and RabbitMQ message push technology, the server can actively push the updated data to the client to solve the above problems. [0004] However, the accuracy of message push implemented by AMQP protocol and RabbitMQ message push technology still needs to be improved. Contents of the invention [0005] In order to ...

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/54G06F16/958H04L67/55
CPCG06F9/546G06F16/958G06F2209/548
Inventor 胡学勇王瑞杰于海亮张立新赵章赵蕾宗雨骆智鹏王蓓
Owner BEIJING CHINA POWER 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