Multi-control refreshing method and device, equipment and storage medium

A sub-control, refresh instruction technology, applied in multi-programming device, program control design, software engineering design and other directions, can solve the problems of slow refresh display, not supporting AMR64CPU instructions, etc., to achieve the effect of fast processing speed

Pending Publication Date: 2022-05-27
东莞市旭田电子有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a multi-control refresh method, device, equipment and storage medium to solve the problems of too slow refresh display and no support for AMR64 CPU instructions due to the large number of controls

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
  • Multi-control refreshing method and device, equipment and storage medium
  • Multi-control refreshing method and device, equipment and storage medium
  • Multi-control refreshing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] figure 1 It is a flowchart of a multi-control refresh method provided in Embodiment 1 of the present invention. This embodiment can be applied to the situation of keyboard refresh. The method can be executed by a multi-control refresh device, and the multi-control refresh device can use hardware and / or Or realized in the form of software, the multi-control refresh device can be configured in a computer. like figure 1 As shown, the method includes:

[0062] S110. Create a key management parent class, where the key management parent class includes an image buffer.

[0063] Among them, the buffer, also known as the cache, is a part of the memory space. The image buffer refers to a certain storage space reserved in the memory space. These storage spaces are used to buffer image data. This part of the reserved space is called the image buffer. . Creating a key management parent class is to create a key group management class as a parent class, so that the same GDI (graph...

Embodiment 2

[0080] figure 2 This is a flow chart of a multi-control refresh method provided in Embodiment 2 of the present invention. This embodiment is applicable to the situation of keyboard refresh. The method can use a sub-control class as the execution body, and the method can be executed by a multi-control refresh device. , the multi-control refresh device can be implemented in the form of hardware and / or software, and the multi-control refresh device can be configured in a computer. like figure 2 As shown, the method includes:

[0081] S210. Obtain the refresh instruction sent by the key management parent class.

[0082] The refresh instruction refers to an instruction instructing the key to perform refresh and how to refresh.

[0083] S220. Draw an image in the image buffer based on the refresh instruction, and after the drawing is completed, enable the key management parent class to display the drawn image.

[0084] Among them, since the image is drawn in the image buffer, ...

Embodiment 3

[0087] image 3 This is a flowchart of a multi-controller refresh method provided in Embodiment 3 of the present invention. This embodiment is improved on the basis of Embodiment 2, and the refresh instruction carries a drawing message; based on this, as image 3 As shown, the method includes:

[0088] S310. Acquire a refresh instruction sent by the key management parent class, where the refresh instruction carries a drawing message.

[0089] S320. Draw an image in the image buffer based on the drawing message, and after the drawing is completed, enable the key management parent class to display the drawn image.

[0090] The drawing message includes at least one of setting a background image, setting a display text, setting a font, setting an alignment, setting a text offset, setting a composite color, and setting a prompt box.

[0091] The drawing message refers to a message indicating a specific form of drawing. For example, the drawing message includes at least one of set...

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 multi-control refreshing method and device, equipment and a storage medium. The multi-control refreshing method comprises the following steps: creating a key management mother class, wherein the key management mother class comprises an image buffer area; inserting a target number of sub-control classes; obtaining a refreshing instruction; the refreshing instruction is sent to the corresponding sub-control class; the corresponding sub-control class draws an image in the image buffer area based on the refreshing instruction; and displaying the drawn image. By adopting the scheme, the refreshing of a plurality of keys is realized, so that the processing speed is extremely high. The problem that refreshing display is too slow when the number of the controls is large is solved; the problem that the CPU instruction of the AMR64 is not supported is also solved; meanwhile, a control extension class: a key management mother class is made, so that the problem of additional dynamic library is solved. After the key management mother class is adopted, the problem that refreshing display is too slow is well solved, and the refreshing display speed can be controlled to be within 2 ms.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of control refresh, and in particular, to a multi-control refresh method, apparatus, device, and storage medium. Background technique [0002] When making a keyboard driver, the entire interface is often picture-style; when the keys of the keyboard are customized and set to other functions, the display color of the keys will be changed; in addition, sometimes the game keyboard keys will be displayed synchronously with the current keyboard. Lighting effect. [0003] In general, an ordinary keyboard has 104 keys, which corresponds to 104 controls. If the lighting effects of the display keys need to be refreshed separately for these 104 controls, the 104 controls need to interact with the graphics card separately, so the refresh display is relatively slow. The delay is about 104ms; if it is such a large delay, the lighting effect seen will be stuck or delayed. [0004] In order to solve ...

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): G06F8/38G06F9/54
CPCG06F8/38G06F9/544
Inventor 江旺明柳中国皮盛波
Owner 东莞市旭田电子有限公司
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