Method for processing array information, method and device of controlling information to enter arrays

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

Active Publication Date: 2014-01-29
HONOR DEVICE CO LTD
View PDF5 Cites 14 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 queu...

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
  • Method for processing array information, method and device of controlling information to enter arrays
  • Method for processing array information, method and device of controlling information to enter arrays
  • Method for processing array information, method and device of controlling information to enter arrays

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 some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

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

[0057] Step 201: receiving a message 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 message may be any message under the operatin...

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

An embodiment of an invention discloses a method for processing array information, a method and a device of controlling the information to enter arrays. The method for processing the array information includes that information required to be processed is received; the information is classified based on dependence relations, the classified information is placed in corresponding processing array groups, the processing array groups include a parallel processing array group and a serial processing array group; head node linked lists in the processing array groups are obtained, the head node linked lists are linked lists which are connected together by nodes of information linked lists corresponding to each different moment in corresponding processing array groups; the head node linked lists include a parallel head node linked list of the parallel processing array group and a serial head node linked list of the serial processing array group; when processing moment of corresponding nodes in the head node linked lists is reached, information linked lists of the nodes in the head node linked lists are processed. By the aid of the method, information is processed in parallel in a double array linked list manner, and processing timeliness of the information is improved.

Description

technical field [0001] The 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 entering a 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, a message queue is a message storage queue in a message processing class (Looper). In the message listening method in the Looper, the message is taken out first, and then the message distribution processing method of the Handler is called to process the message. In the message enqueuing method of the Handler class, messages are put into the message queue. The loop method fetches messages from the head of the message storage queue every time. For messages that need to be processed at the same time, in the message enqueuing method of the Handler class, the message is placed...

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