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

Method and device for generating control object library

A control object and object library technology, which is applied to program control devices, creating/generating source codes, electrical components, etc., can solve problems such as cumbersome operations, single access methods, and inability to implement IM controls, reducing operational complexity and reducing The effect of the time spent in the operation

Active Publication Date: 2009-05-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The method provided by the prior art is cumbersome to operate, and it is impossible for R&D personnel who need to control IM controls to conveniently access various IM controls, and the access method is single

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 generating control object library
  • Method and device for generating control object library
  • Method and device for generating control object library

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0075] The embodiment of the present invention provides a method for generating a control object library. For the convenience of description, this embodiment takes the commonly used object-oriented interpretive computer programming language Python in the IM field to implement the method provided by the embodiment of the present invention as an example. For clarification, see figure 2 , the content of the method is as follows:

[0076] 101: Read a preset object classification configuration file in the object library, and generate a control dictionary, a window list, and a container list according to the read object classification configuration file.

[0077] In order to realize the method provided by the embodiment of the present invention, the IM controls are divided into three categories according to their different attributes: control object class, window class and container class; wherein,

[0078] The so-called control object class refers to the physical control that com...

Embodiment 2

[0111] see image 3 , the embodiment of the present invention provides a device for generating a control object library, the device includes:

[0112] The generation module 301 is used to read the skin file of the interface module, and generate the control object list of the interface module according to the hierarchical relationship configuration file of the interface module;

[0113] The first judging module 302: used to judge whether there is a control identification file in the interface module;

[0114] The first processing module 303 is used to import the control identification file of the interface module into the control object list when the result of the judgment of the first judgment module 302 is yes;

[0115] The second processing module 304 is used to generate the control identification of the control of the interface module when the result of the judgment of the first judgment module 302 is no, obtain the control identification file, and import the obtained cont...

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 generating control object libraries, which belongs to the field of computer internet. The method comprises the following steps of A: reading a skin file of an interface module and generating a control object list of the interface module according to a hierarchical relationship configuration file of the interface module; B: judging whether a control identifier file exists in the interface module, importing the control identifier file of the interface module into the control object list and executing a step C if yes, or generating a control identifier of a control of the interface module, obtaining the control identifier file, importing the obtained control identifier file into the generated control object list and executing the step C if no; and C: outputting the control object list into which the control identifier file is imported in a step B to a object library file. Aiming at widely applied IM software at present, the method automatically converts IM controls into the object library files, provides convenience for research and development personnel need to control the IM controls to use various IM controls, reduces the complexity of using operation, and reduces consumed time of operation.

Description

technical field [0001] The invention relates to the field of computer internet, in particular to a method and device for generating a control object library. Background technique [0002] With the development of communication technology, IM (Instant Messaging, Instant Messaging) technology has become a mainstream application direction on the Internet. It makes communication between people easier and faster, and users no longer need to delay and Worry about expensive long distance calls. [0003] Wherein, each interface module of the IM is composed of a window and various controls attached to the window. For example: the interface module of the startup panel is composed of a window, an account input Edit control, a password input Edit control, a soft keyboard control, a check box control, a Button control and other controls. [0004] The IM skin file includes information such as which controls are on the IM window, which properties of these controls have, and the values ​​c...

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
IPC IPC(8): G06F9/44H04L12/58
CPCG06F8/36
Inventor 谭毅方李志赖勇辉姜宏
Owner TENCENT TECH (SHENZHEN) CO LTD
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