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

Method and device for managing information array

A technology of message queue and management method, which is applied in the field of embedded systems, can solve problems such as message queue queue failure to send messages, and achieve the effects of improving the success rate of sending messages, improving message processing capabilities, and reducing response timeouts

Inactive Publication Date: 2009-12-09
ZTE CORP
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention is made in consideration of the above problems. Therefore, the main purpose of the present invention is to provide a message queue management mechanism to solve the problem of failure to send messages to the queue caused by the message queue in the related art because the message queue is easily full.

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 and device for managing information array
  • Method and device for managing information array
  • Method and device for managing information array

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] method embodiment

[0024] In this embodiment, a message queue management method is provided. In order to solve the problem that the ability of the system to process messages is reduced due to the failure of sending messages due to the full message queue in the embedded system.

[0025] Such as figure 1 As shown, the message queue management method according to this embodiment includes: step S102, setting one or more thresholds for the number of messages in the message queue; step S104, adjusting the priority of the message receiving task for receiving messages in the message queue according to the threshold .

[0026] In the case of setting only one threshold, the process of adjusting the priority of the message receiving task is as follows: when the number of messages in the message queue is greater than the threshold, the priority of the message receiving task is increased according to predetermined rules; or the priority of the message receiving task in the messag...

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 method and a device for managing an information array. The method comprises the following steps: step S102, setting one or a plurality of thresholds of information in the information array; step S104, receiving a priority level of an information receiving task in the information array according to adjustment of the thresholds. By adopting the invention, the success ratio of sending information can be improved so that the performance of the system cannot be reduced due to information resending; response timeover is reduced so as to improve the response speed of the system and the information processing ability of embedded system information.

Description

technical field [0001] The present invention relates to the field of embedded systems, and in particular, to a message queue management method and device. Background technique [0002] Because the message queue has the characteristics of transmitting messages of different lengths and the message boundary does not need to be managed by the user, many tasks of embedded devices use the message queue to communicate. [0003] However, in the case of using a message queue for communication, you must specify the maximum number of messages stored in the message queue when creating the message queue, and if the number of messages has reached the maximum value, sending a message to the message queue will return failure information. When the number of messages reaches the maximum value, the sending task will not be sent successfully until the task receiving the message takes away the message so that the number of messages in the message queue is less than the maximum value. [0004] ...

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): H04L29/08H04L29/06H04L12/56G06F9/46G06F11/14H04L12/863
Inventor 陈锦威
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products