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

Message processing method and device, computer terminal and computer-readable storage medium

A computer terminal and message processing technology, applied in computing, multi-programming device, electronic digital data processing, etc., can solve problems such as unprocessed messages, inability to know application queues, and long processing time.

Inactive Publication Date: 2018-08-03
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, the main thread processes messages in the order of first-in-first-out, and the message that enters the queue later may take a long time to process because there are too many messages in the front or a message in the front takes a long time to process. However, the current system does not warn the application developer of this scenario, so that the application developer cannot know how many messages are still unprocessed in the application queue when the message processing is delayed.

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 and device, computer terminal and computer-readable storage medium
  • Message processing method and device, computer terminal and computer-readable storage medium
  • Message processing method and device, computer terminal and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, features and advantages of the present invention more obvious and understandable, 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 The embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0033] figure 1 A structural block diagram of a computer terminal is shown. The message processing method provided by the embodiment of the present invention can be applied to such as figure 1 In the shown computer terminal 10, the android system is installed, and the computer terminal 10 may include, but is not limited to: smart phones, no...

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 embodiment of the invention discloses a message processing method and device, a computer terminal and a computer-readable storage medium. The method includes: receiving a to-be-processed message to place the same to a message queue, wherein time of message sending and set message processing duration are recorded in the message; recording time of message processing completion after a main thread acquires the message from the message queue and completes processing; according to whether a time difference between the time of message sending and the time of message processing completion exceedsthe set message processing duration, judging whether message processing runs out of the time; and presenting a list of messages in the current message queue at a foreground interface of an android system if message processing runs out of the time. According to the technical solution provided by the invention, the list of the messages in the message queue can be presented when message processing runs out of the time, and an application developer is enabled to check how many messages in the message queue are still not processed.

Description

technical field [0001] The invention relates to the field of android system application development, in particular to a message processing method, device, computer terminal and computer-readable storage medium. Background technique [0002] In the android system, the communication between the system and the application is through the binder. The application side sends a message to the main thread and processes the message through the main thread. The application side sends messages to the message queue of the main thread to enqueue, and then the message queue corresponding to the main thread takes out the enqueued messages one by one through the first-in-first-out principle. [0003] In the existing technology, the main thread processes messages in the order of first-in-first-out, and the message that enters the queue later may take a long time to process because there are too many messages in the front or a message in the front takes a long time to process. However, the c...

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/546G06F2209/548
Inventor 吴汝煜
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD