Unlock instant, AI-driven research and patent intelligence for your innovation.

Queue message processing method, method and device for controlling message entering queue

A processing method and message technology, applied in the field of information processing, can solve the problem of reducing the timeliness of processing messages, and achieve the effects of reducing the probability of no response, fair message processing timing, and improving processing timeliness

Active Publication Date: 2017-05-10
HONOR DEVICE CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a message queue processing method, a method and a device for controlling messages entering the queue, so as to solve the technical problem in the prior art that the timeliness of processing messages is reduced by post-processing the first-arriving messages

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
  • Queue message processing method, method and device for controlling message entering queue
  • Queue message processing method, method and device for controlling message entering queue
  • Queue message processing method, method and device for controlling message entering queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0056] See figure 2 , figure 2 This is a flowchart of a method for processing a message queue provided by an embodiment of the present invention; the method is applied to the operating system of a mobile terminal, and the method includes:

[0057] Step 201: Receive a message that needs to be processed;

[0058] In this step, the interface of the mobile terminal receives the message and sends the message to the processor. Wherein, the mess...

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

A message queue processing method is provided, which includes receiving messages that need to be processed; classifying the messages according to a dependency relationship between the messages, and placing the classified messages in a corresponding processing queue group, where the processing queue group includes a parallel processing queue group and a serial processing queue group; acquiring a head node linked list in the processing queue group, where the head node linked list is a linked list obtained by connecting nodes of message linked lists corresponding to all different processing times in the corresponding processing queue group; and when a processing time of a corresponding node in the head node linked list arrives, performing processing on a message linked list of the node in the head node linked list.

Description

Technical field [0001] The present invention relates to the technical field of information processing, in particular to a method for processing queue messages, a method and a device for controlling messages to enter the queue. Background technique [0002] The message processing mechanism (Handler) is one of the core design mechanisms of the Android system, and the entire system is driven by messages. For example, the message queue is a message storage queue in the message processing class (Looper). In the message listening method in Looper, the message is first taken out, and then the message distribution processing method of the Handler is called to process the message. In the message enqueue method of the Handler class, put the message into the message queue. The loop method takes the message from the head of the message storage queue every time. For messages that need to be processed at the same time, in the message enqueue method of the Handler class, each time the messag...

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): G06F9/38
CPCG06F9/546G06F9/466
Inventor 高光远
Owner HONOR DEVICE CO LTD