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

Method for realizing functions of programmable reusable control

A technology of control functions and implementation methods, applied in the computer field, can solve the problems of high implementation complexity, difficulty in modification by users, and time-consuming, etc., and achieve the effects of simplifying the implementation process, improving scalability, and saving operation time

Active Publication Date: 2013-10-16
SHENZHEN TENDZONE INTELLIGENT TECH
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For a device with a large number of multiplexed controls, this traditional implementation method requires conditional judgment every time the control is triggered, which not only consumes a lot of time, but also requires high implementation complexity; it also needs to modify the properties of the control. It needs to be modified throughout the software, which is quite complicated, making it difficult for users to modify to meet different needs

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 for realizing functions of programmable reusable control
  • Method for realizing functions of programmable reusable control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0033] see figure 2 As shown, in this embodiment, the method for realizing the function of the reusable control includes the following steps:

[0034] 201. Define a control function configuration table, each table item includes a control name and a control task, and the control task is composed of a function number and a function array. Wherein, the function array includes one or more control functions, and the number of functions refers to the number of control functions included in the function array.

[0035] In practical applications, there may be only one control function configuration tabl...

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 provides a method for realizing the functions of a programmable reusable control. The method is characterized by comprising the following steps: defining a control function configuration table, wherein each table item comprises a control name and a control task, and the control task consists of at least one control function; generating a control function mapping table according to the control function configuration table, wherein each table item comprises a control name and a control function pointer, the pointer points at the control task of the corresponding control in the control function configuration table; and when monitoring that the control is triggered, executing the corresponding control task according to the corresponding control function pointer in the control function mapping table. In the embodiment of the invention, a one-to-one mapping mode is adopted, so the realizing process is simplified, the operation complexity is greatly reduced and the operation time is saved; the programmable and self-defining functions of the user level are realized, configuration can be modified randomly, and the method is convenient, saves time and labor; the control function configuration table can be relatively independent of an executive program, so the extendibility of the executive program in different products is greatly improved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method for implementing programmable reusable control functions. Background technique [0002] As digital audio processing devices and other devices become more and more powerful, in order to save resources, reusable controls (such as buttons) are usually used, and one control controls multiple control targets (such as a switch button for console lights and curtain opening / closing). Such as figure 1 As shown, the function realization method of the traditional reusable control is: monitor the trigger source; each time the control is detected to be triggered, the condition judgment is performed, and the corresponding operation is executed after determining the current control target of the control. [0003] For a device with a large number of multiplexed controls, this traditional implementation method requires conditional judgment every time the control is triggered, which n...

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/44
Inventor 袁永平熊悦
Owner SHENZHEN TENDZONE INTELLIGENT TECH
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