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

Method and apparatus for generating program menu

A technology for generating programs and menus, which is applied in the direction of program control devices, etc., can solve the problems of low writing efficiency, increase the burden on programmers, and spend a lot of time, and achieve the effects of high writing efficiency, easy modification, and lightening the burden

Inactive Publication Date: 2012-05-09
GUANGDONG VTRON TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, when the program is displayed on the full screen, the pop-up design method is generally adopted for generating the program menu, that is, the pop-up program menu is displayed at the corresponding position of the program display interface. According to different user needs, secondary developers need to write different Program menu, writing efficiency is low
When designing program operation, programmers must spend a lot of time writing codes for the appearance style designed by interface designers in addition to writing functional codes, which increases the burden on programmers

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 apparatus for generating program menu
  • Method and apparatus for generating program menu
  • Method and apparatus for generating program menu

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0022] The method for generating program menu of the present invention comprises steps, such as figure 1 , S101, read the XML file, the XML file includes a form element, a button element and a function element; wherein the form element includes form size data information and form name information, and the button element includes a background image of a button information and button name information, the functional element includes function name information and function parameter information. The form name information is the keyword information of the form, the button name information is the button keyword information, and the function name information is the function keyword information. In one embodiment, when the system is initialized, the system will read the XML file describing the program menu, and read the element values ​​into the va...

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 for generating program menus and a system thereof. The method includes reading XML files that comprise form elements, push button elements and function elements; analyzing the XML files according to preset rules and generating form controls according to the form elements, push button controls corresponding to the form controls according to the push button elementsand the functions corresponding to the push button controls according to the function elements. In the method and the device, the function elements consist of a function name and a function parameterand therefore the separation of interface design from the function parameter coding is realized. A programmer only needs to compile corresponding function parameters according to the function name, with the load relieved. The code reusability is relatively high and the compiling efficiency is high. Moreover, the program menus are generated by the XML files which can be easily modified. The generated menus are displayed on a screen in a floating way, not affecting the display effect of programs on the full screen.

Description

Technical field [0001] The invention involves the field of computer applications, especially a method and device that generates a program menu. Background technique [0002] When programmers need to perform a full screen display program, an inevitable problem is how to handle the display of the program menu.The purpose of the full -screen display program is to get better display effects.In order to facilitate programmers and secondary developers and users, try to display a reliable operating interface (program menu) while not hindering the main interface display of the program.When configured a large -screen device demonstration program, programmers need a reliable operating interface (program menu) to handle. [0003] When displaying the program in the existing technology, the generating program menu is generally adopted by a pop -up design, that is, the pop -up program menu is displayed in the corresponding position of the program display interface. According to different user ...

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 Patents(China)
IPC IPC(8): G06F9/44
Inventor 司徒健聪周虎
Owner GUANGDONG VTRON TECH CO LTD