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

Cache optimizing method for multi-touch of embedded equipment

An embedded device, cache optimization technology, applied in the direction of program control design, multi-programming device, input/output process of data processing, etc. To improve efficiency, avoid the lag of touch screen effect, and solve the effect of memory explosion

Active Publication Date: 2018-09-04
XIAMEN YEALINK NETWORK TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This situation is relatively common on devices with good performance, but on embedded devices with limited devices, when the contact processing time is longer than the reporting time, the following problems will occur when continuously sliding on the touch screen: 1. A large number of The contact sliding information is accumulated in the message loop, and the memory will continue to increase, causing a large amount of memory to be occupied; 2. In the UI library with a limited message queue size, the message queue will explode, and at least it will cause contact information errors (If other contacts are pressed or lifted during the sliding process, if the pressed or lifted information is lost, it will cause an error in the UI state), and if it is serious, it will cause a message loop error and stop the operation; 3. A large number of contacts are accumulated, Then queue up and execute one by one, the sliding UI performance will appear sluggish, and the experience will be greatly reduced
However, on embedded devices with limited performance, the time fluctuation of business processing is relatively large, which will cause a relatively large error in the calculated sliding speed
If you use this speed to implement gestures or animations, the smoothness of the UI effect will be relatively poor.
If you upload all the reported timestamps (64 bits), the quantity will be large, and the existing message structures in some UI libraries do not support extensions to carry additional data

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
  • Cache optimizing method for multi-touch of embedded equipment
  • Cache optimizing method for multi-touch of embedded equipment
  • Cache optimizing method for multi-touch of embedded equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Such as figure 1 As shown, the present invention discloses a buffer optimization method for multi-touch embedded devices, which uses a contact processing thread to read contact information, uses a queue of contacts to be processed to report the contact information, and uses a queue of contacts to be recovered. The point queue recycles the contact objects. When the processing of the contact information fails to keep up with the reporting of the contact information, the newly reported contact information is merged into the pending contact information according to the merging strategy.

[0027] Such as Figure 2 to Figure 4 As shown, the caching optimization method of embedded device multi-touch of the present invention specifically includes the following steps:

[0028] Step 1. Use the contact processing thread to read the contact information;

[0029] Step 1.1, read the bottom contact information, and process it into the upper contact information;

[0030] Step 1.2, a...

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 relates to a cache optimizing method for multi-touch of embedded equipment. According to the method, cache management is carried out on contact information to ensure that when the contact information is used in a normal scene, memory allocating and memory releasing are not needed to be frequently applied for and the efficiency is increased; meanwhile, the contact information is reported by using a to-be-processed contact queue and a contact object is recovered by using a to-be-recovered contact queue after the contact object is processed by a UI (User Interface) thread to guarantee the orderly processing and recovery of the contact object; and when the processing of the contact information fails to catch up with the reporting of the contact information, the newly-reported contact information is merged with the to-be-processed contact information according to a merging strategy to ensure that the contact queue and a message queue do not explode and the lag of the touch screen effect, which is caused by contact accumulation, is avoided.

Description

technical field [0001] The invention relates to the field of multi-touch technology, in particular to a buffer optimization method for multi-touch embedded devices. Background technique [0002] Multi-touch, that is, multi-touch technology, refers to a technology that allows users to control a graphical interface through multiple fingers at the same time. Common application products such as: smart phones (iPhone, Android), iPad, etc. With the popularity of smart phones, more and more smart devices have joined the army of touch screens. At present, many products are directly equipped with the Android system to meet the needs of multi-touch, and there are also stable UI libraries to achieve multi-touch functions (such as: Qt library). The Android system provides a complete touch screen solution, but the space and memory usage of the Android system are relatively large, which is not suitable for some embedded devices with limited hardware. [0003] In the development of embed...

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): G06F3/0488G06F9/48
CPCG06F3/0488G06F9/4843
Inventor 陈智松毕永建叶永建
Owner XIAMEN YEALINK NETWORK TECH