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

Message processing method, computing equipment and storage medium

A computing device and message processing technology, applied in computing, data processing applications, electrical digital data processing, etc., can solve problems such as application program crashes, unstable observer queues, and application program processing message instability, to ensure stability Effect

Pending Publication Date: 2021-08-27
UNIONTECH SOFTWARE TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the process of observers processing notification messages, the observer queue is often unstable, which may easily cause the application to crash
[0005] For this reason, need a kind of message processing method to solve the problem that the application program that exists in the above-mentioned technical scheme is unstable when processing the message

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 processing method, computing equipment and storage medium
  • Message processing method, computing equipment and storage medium
  • Message processing method, computing equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0045]In the prior art, in the design and development of an application program, multiple functional modules are included, and messages are notified between each functional module. At present, a message notification class is mostly designed in the middle layer of the application program. This class maintains two types of queues, one is the notification message queue, and the other is multiple observer queues. Among them, the notific...

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 processing method, computing equipment and a storage medium. The method comprises the steps of generating a notification message in response to a user operation, searching observer queues corresponding to the message type of the generated notification message, accessing one of the searched observer queues, and processing the notification message by using observers in the observer queues, and judging whether a new observer is generated in the process of processing the notification message, if so, adding the new observer into another searched observer queue which is not accessed currently, and if not, continuing to execute the step of judging whether the new observer is generated in the process of processing the notification message. By means of the method, when new observers are generated, the observer queue which is being accessed is staggered, the new observers are stored in the other observer queue corresponding to the notification message type, and the stability of the observer queue in the notification message processing process is guaranteed.

Description

[0001] The present invention is a divisional application of the invention patent 2021103231578 filed on March 26, 2021. technical field [0002] The invention relates to the technical field of message processing, in particular to a message processing system, computing equipment and storage media. Background technique [0003] Application (Application) is a collection of various programming languages ​​that users can use, as well as programs written in various programming languages. The application program can meet the application requirements of different fields and different problems, so the application program is more and more widely used. In the design and development of the application program, multiple functional modules are included, and messages will be notified between each functional module. [0004] At present, a message notification class is mostly designed in the middle layer of the application program. This class maintains two types of queues, one is the notifi...

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/54G06F9/50G06Q10/10H04L12/58
CPCG06F9/546G06F9/5016G06F9/5022G06Q10/107G06F2209/548H04L51/42
Inventor 祁石
Owner UNIONTECH SOFTWARE TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More