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

A message processing method and apparatus

A message processing and message technology, applied in the field of communication, can solve problems such as inconsistency between CPU time and system time, abnormal logic, and high CPU usage, so as to avoid system performance bottlenecks, accurately and timely process, and increase efficiency.

Active Publication Date: 2019-01-15
SUNELL TECH CORP
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present invention provides a message processing method to solve the inconsistency between the CPU time and the system time in the prior art, which may generate abnormal logic, resulting in inaccurate read time
Moreover, obtaining time through system calls is an operation that consumes system performance relatively. Frequent use of system calls to obtain time leads to a bottleneck in system performance, which makes the CPU usage rate too high, resulting in the failure of the scheduled burning function.

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
  • A message processing method and apparatus
  • A message processing method and apparatus
  • A message processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0033] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0034] It ...

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 is applicable to the field of communication technology, and provides a message processing method and a device thereof. The method comprises the following steps: receiving a message and obtaining a first sleep time of a preset thread of a current processor; calculating the second sleep times of the processor preset thread corresponding to the preset message elimination time length according to the preset sleep time length; if the number of sleep times of the processor preset thread reaches the third sleep times, the message is eliminated; the third number of dormancies is equal tothe first number of dormancies plus the second number of dormancies. As the processor thread sleeps, this allows the thread to relinquish the use of the processor, the invention improves the efficiency of the processor, avoids the bottleneck problem of the system performance caused by the high-frequency system call acquisition time in the prior art, and overcomes the problem that the message cannot be burned delayed due to the system time error in the prior art, or the message can not be burned immediately without displaying in time, or the burned time is too different from the design time.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a message processing method and device. Background technique [0002] In the field of communication message processing, the message timing burning function is widely used. Most of the existing technologies set the preset duration of receiving the message in advance and then burn the message. By reading the CPU time when receiving the message, When the CPU time reaches the preset duration of message burning, the message is burned. Although the CPU time does not change with the modification of the system time, in many cases the CPU time is inconsistent with the system time, and abnormal logic may occur, resulting in inaccurate read time. Moreover, obtaining time through system calls is an operation that consumes system performance relatively. Frequent use of system calls to obtain time leads to a bottleneck in system performance, which makes the CPU usage too hig...

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/48G06F9/50G06F9/4401
CPCG06F9/4418G06F9/4856G06F9/5027
Inventor 吴玲黄敏强
Owner SUNELL TECH CORP