CN102402429B - Methods and devices for acquiring and decompiling attribute information of graphical user interface (GUI) - Google Patents

Methods and devices for acquiring and decompiling attribute information of graphical user interface (GUI) Download PDF

Info

Publication number
CN102402429B
CN102402429B CN201010282196.XA CN201010282196A CN102402429B CN 102402429 B CN102402429 B CN 102402429B CN 201010282196 A CN201010282196 A CN 201010282196A CN 102402429 B CN102402429 B CN 102402429B
Authority
CN
China
Prior art keywords
user
code
attribute information
interface property
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010282196.XA
Other languages
Chinese (zh)
Other versions
CN102402429A (en
Inventor
郭建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201010282196.XA priority Critical patent/CN102402429B/en
Publication of CN102402429A publication Critical patent/CN102402429A/en
Application granted granted Critical
Publication of CN102402429B publication Critical patent/CN102402429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses methods and devices for acquiring and decompiling attribute information of a graphical user interface (GUI). The method for acquiring the attribute information of the GUI comprises the following steps of: receiving an interface attribute information acquisition instruction sent by a user by performing preset operation; referring to a corresponding relationship between a preset instruction and an interface attribute information acquisition code preset in an interface code or a base class code, and calling the interface attribute information acquisition code; and executing the interface attribute information acquisition code to acquire the attribute information of the GUI. By the methods and the devices for acquiring and decompiling the attribute information of the GUI in the embodiment of the invention, the interface attribute information acquisition code added to the interface code or the base class code is called by performing the preset operation, so that the aim of acquiring the attribute information of the interface by simple operation at the application stage of software is fulfilled, and the problem that the operation process for acquiring the attribute information of the GUI is complicated is solved.

Description

The method of acquisition, decompiling graphic user interface attribute information and device
Technical field
The present invention relates to field of information processing, particularly relate to a kind of acquisition, the method for decompiling graphic user interface attribute information and device.
Background technology
The software of JAVA exploitation mainly contains two kinds of main presentation modes at present, and one is graphic user interface (Graphical User Interface, GUI), and in enterprise's application, usually need to install client could use; One is then WEB interface, namely be may have access to by the mode of IE browser.How obtain the attribute information at above-mentioned interface in the software application stage, for technician concerning software carries out secondary development, tool has very important significance.
For adopting WEB interface to carry out the software shown, technician in this software application stage, by " checking attribute " operation, can obtain the background information that this WEB interface is corresponding.In addition, also can be obtained the source code information of this WEB interface by " checking source file " operation, carry out subsequent development.
And for utilizing GUI to carry out the software shown, technician cannot obtain GUI attribute information by the operation such as " checking attribute " or " checking source file " from client in the software application stage, obtain interface property information to need just can obtain GUI attribute information by developing instrument, operating process is very loaded down with trivial details.
Summary of the invention
In view of this, the invention provides a kind of acquisition, the method for decompiling GUI attribute information and device, to solve in prior art the loaded down with trivial details problem of the process operation that obtains GUI attribute information.Its concrete scheme is as follows:
Obtain a method for graphic user interface attribute information, comprising:
Receive the acquisition interface property information command that user sends by performing predetermined registration operation;
With reference to the corresponding relation between the described acquisition interface property information command that presets and the acquisition interface property message code being pre-set in GUI code or base class code, call described acquisition interface property message code;
Perform described acquisition interface property message code, to obtain described graphic user interface attribute information.
Preferably, the described operation sending acquisition interface property information command performs after the user judging to perform predetermined registration operation has acquisition interface property information authority.
Preferably, judge whether the user of transmission instruction has according to following steps and obtain interface property information authority:
Obtain the IP address of user;
The IP address of described user is searched in the user right tables of data preset;
Judge whether Authorization Attributes field corresponding to the IP address of described user is true, if very, then described user has and obtains interface property information authority, if false, then described user does not have and obtains interface property information authority.
Preferably, described predetermined registration operation comprises: click right operation and/or shortcut operation.
Obtain a device for graphic user interface attribute information, comprising:
Receiving element, for receiving the acquisition interface property information command that user sends by performing predetermined registration operation;
Code call unit, for reference to the corresponding relation between the described acquisition interface property information command that presets and the acquisition interface property message code being pre-set in GUI code or base class code, calls described acquisition interface property message code;
Code performance element, for performing described acquisition interface property message code, to obtain described graphic user interface attribute information.
Preferably, also comprise: authority judging unit, whether the user for judging to perform predetermined registration operation has obtains interface property information authority.
Preferably, described authority judging unit comprises:
IP acquiring unit, for obtaining the IP address of described user;
Search unit, for searching the IP address of described user in the user right tables of data preset;
Determined property unit, for judging whether Authorization Attributes field corresponding to the IP address of described user is true, if very, then described user has and obtains interface property information authority, if false, then described user does not have and obtains interface property information authority.
A method for decompiling graphic user interface attribute information, comprising:
Receive the decompiling interface property information command that user is sent by predetermined registration operation;
Call the decompiler preset;
With reference to the corresponding relation between the described decompiling interface property information command that presets and the acquisition interface property message code being pre-set in GUI code or base class code, call described acquisition interface property message code, obtain described graphic user interface attribute information;
Perform described decompiler, the graphic user interface attribute information obtained described in decompiling, obtain the code corresponding with described graphic user interface attribute information.
Preferably, the operation of described transmission decompiling interface property information command performs after the user judging to perform predetermined registration operation has acquisition interface property information authority.
A device for decompiling graphic user interface attribute information, comprising:
Receiving element, for receiving the decompiling interface property information command that user is sent by predetermined registration operation;
Routine call unit, for calling the decompiler preset;
Graphic user interface attribute information acquiring unit, for with reference to the corresponding relation between the described decompiling interface property information command that presets and the acquisition interface property message code being pre-set in GUI code or base class code, call described acquisition interface property message code, obtain described graphic user interface attribute information;
Decompiling unit, for performing described decompiler, the graphic user interface attribute information obtained described in decompiling, obtains the code corresponding with described graphic user interface attribute information.
As can be seen from above-mentioned technical scheme, the method of the disclosed acquisition of the embodiment of the present invention, decompiling GUI attribute information and device, the acquisition interface property message code added in GUI code or base class code is called by performing predetermined registration operation, thus the application stage realized at software, utilize shirtsleeve operation to obtain interface property information object, solve the problem that the operating process of acquisition GUI attribute information is loaded down with trivial details.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram obtaining GUI attribute information disclosed by the invention;
Fig. 2 is the method flow diagram of another acquisition GUI attribute information disclosed by the invention;
Fig. 3 is the method flow diagram that authority disclosed by the invention judges;
Fig. 4 is a kind of apparatus structure schematic diagram obtaining GUI attribute information disclosed by the invention;
Fig. 5 is the method flow diagram of a kind of decompiling GUI attribute information disclosed by the invention;
Fig. 6 is the apparatus structure schematic diagram of a kind of decompiling GUI attribute information disclosed by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The method of acquisition GUI attribute information disclosed by the invention, the acquisition interface property message code in GUI code or base class code is pre-set at by the operation calls preset, thus realize in the application stage of software, utilize shirtsleeve operation, obtain the object of GUI attribute information.
Its embodiment is as described below:
A kind of method flow obtaining GUI attribute information disclosed by the invention as shown in Figure 1, comprises the following steps:
The acquisition interface property information command that step S11, reception user send by performing predetermined registration operation.
Predetermined registration operation in this step refers in software development process, by the operation of programming setting, such as, clicks right button, or shortcut (as Ctrl+I).By presetting, the function sending acquisition interface property information command being added to and clicks in the predetermined registration operation such as right button or shortcut Ctrl+I.User performs predetermined registration operation (as clicking right button or shortcut Ctrl+I) on interface, then represent the instruction that have sent and obtain interface property information.
Step S12, with reference to the corresponding relation between the described acquisition interface property information command that presets and the acquisition interface property message code being pre-set in GUI code or base class code, call described acquisition interface property message code.
Owing to being responsible for, in the issuing process of the metadata of exposition, the GUI code that GUI is corresponding being generated in GUI.Therefore, at software development phase, acquisition interface property message code being pre-set in GUI code in one embodiment of the present invention, then setting up the interface corresponding with obtaining interface property message code.When described GUI code runs display GUI time, can load simultaneously obtain interface property message code.Then, the interface of user by setting up in advance, call and obtain interface property message code, the application stage that just can be implemented in software obtains the object of the interface property information of its correspondence from the GUI of current display.
Because the GUI code of GUI needs to call the base class code corresponding with it in the process performed, run display with the GUI realizing respective type.Therefore, at software development phase, acquisition interface property message code is added in base class code in another embodiment of the present invention.Described base class code is top code class, usually covers the most frequently used basic methods and function.Obtain interface property message code owing to the addition of in base class code, then just add the function obtaining interface property information in base class code accordingly.Therefore when the GUI code of described GUI calls the base class code being added with and obtaining interface property message code in operational process, can by the interface corresponding with obtaining interface property message code preset, call the acquisition interface property message code in base class code, realize the object obtaining interface property information.
Step S13, perform described acquisition interface property message code, obtain the interface property information of described GUI.
The embodiment of the present invention is disclosed to be obtained in the method for GUI attribute information, with the addition of in GUI code or base class code and obtain interface property message code, and establish the corresponding relation obtained between interface property message code and predetermined registration operation, acquisition interface property message code can be called by performing predetermined registration operation to realize user, the application stage obtaining interface property information and then realize at software, utilize shirtsleeve operation, obtain the object of interface property information, solve the problem that the process operation of acquisition GUI attribute information is loaded down with trivial details.
The method flow of another acquisition GUI attribute information disclosed by the invention as shown in Figure 2, comprising:
Step S21, judge whether user has the authority obtaining interface property information, if so, then perform step S22, if not, then terminate.
The acquisition interface property information command that step S22, reception user send by performing predetermined registration operation.
Step S23, with reference to the corresponding relation between the described acquisition interface property information command that presets and the acquisition interface property message code being pre-set in base class code, call described acquisition interface property message code.
At software development phase, acquisition interface property message code is pre-set in GUI code in one embodiment of the present invention.Acquisition interface property message code in another embodiment of the present invention is arranged in base class code.Due to the software utilizing GUI to carry out showing interface, such as EAS EAS, send out version for a long time, the interface shown has a lot of, each interface correspond to one section of GUI code, if acquisition interface property message code is added to the mode in the GUI code at each interface by employing, its time and efforts consumed is all very large.Due in software running process, show the type at the interface of user to be divided into: filtering interface class, editing interface class, sequence thing thin interface class etc., and each interface type correspond to a base class.So add in all base class by acquisition interface property message code, the acquisition to dissimilar interface property information can be realized equally.And the number of types due to base class will be far smaller than the quantity of the type at interface, so, acquisition interface property message code is added to the method in base class code, greatly simplified implementation procedure, shortened the development time, reduced cost of development.
Step S24, perform described acquisition interface property message code, obtain described GUI attribute information.
Step S25, show the GUI attribute information of described acquisition.
The attribute information of acquisition is presented on interface, is convenient to user and checks.
The present embodiment, on the basis of above-described embodiment, with the addition of the process that user right differentiates, thus ensure that the security of code.
The process that authority disclosed in the present embodiment differentiates as shown in Figure 3, comprising:
The IP address of step S31, acquisition user.
Step S32, in the user right tables of data preset, search the IP address of described user.
In user right tables of data, preset according to the IP address of user the authority that user has, this authority can be realized by different displaying contents.If user has the authority obtaining interface property information, then after its executable operations, corresponding interface there will be the content corresponding with obtaining interface property informational function, or the content of its correspondence can control.If user does not have the authority obtaining interface property information, then after its executable operations, corresponding interface there will not be any content, or the content occurred is uncontrollable, such as, be grey.
Step S33, judge whether Authorization Attributes field corresponding to the IP address of described user is true, if very, then perform step S34, if not, then perform step S35.
In user right tables of data, the corresponding record in IP address of each user, such as, has FLAG field in table.If the FLAG field of the IP address corresponding record of user is 1, then represent that the Authorization Attributes field of this user is true, user can see the content corresponding with obtaining interface property information operating, or the content of its correspondence can control.If the FLAG field of the IP address corresponding record of user is 0, then represent that the Authorization Attributes field of this user is false, user can not see the content corresponding with obtaining interface property information operating, or the content occurred is uncontrollable.
Step S34, judge that described user has and obtain interface property information authority, continue to perform.
Represent that user has the right obtaining interface property information, the acquisition interface property information command that it sends can be accepted.
Step S35, judge that described user does not have and obtain interface property information authority, terminate.
Show that user does not have the right obtaining interface property information, process ends, or also can send lack of competence prompting to user.
It should be noted that, the process that the present embodiment does not limit authority differentiation must be carried out according to above-mentioned flow process, adopts other mode equally also can realize similar effect.Such as, after user's executable operations, send the information of input password to user, prompting user inputs the password obtaining interface property information and need, after receiving the password of user's input, itself and the password preset are compared, if identical, then prove that user has authority, if different, does not then have authority.Meanwhile, in order to further improve security, password can be dynamic password, also can for the periodic cipher carrying out replacing according to certain rule.
In order to those skilled in the art have better understanding to technical solution of the present invention, introduce the embody rule example of the method for acquisition GUI attribute information disclosed by the invention below:
User's click right or after pressing shortcut, system can judge whether user has authority.If have authority, then click right or can be corresponding after pressing shortcut operation popup menu, in menu, correspondence is provided with and obtains the option such as interface property or display interface attribute, these options are optional, user can click according to its actual conditions and obtain interface property or display interface attribute, click after obtaining interface property, system accepts to obtain interface property information command, with reference to the corresponding relation between the described acquisition interface property information command that presets and the acquisition interface property message code being pre-set in base class code, call described acquisition interface property message code, obtain interface property information.Obtaining the subsequent treatment after interface property information can be under interface property information is saved in default path, user-friendly.
If user does not have authority, then click right or the acquisition interface property information command that do not send after pressing shortcut, the operation of its correspondence can be blank, without any display; Or popup menu, but the option of the acquisition interface property information of correspondence or display interface attribute information is grey, can not operate; Or, option operable corresponding in its menu ejected, but reactionless after performing predetermined registration operation; Again or select corresponding option in the menu ejected after, eject dialog box prompting user lack of competence and obtain interface property information.
The present invention discloses a kind of device obtaining GUI attribute information, its structure as shown in Figure 4, comprising: receiving element 41, code call unit 42 and code performance element 43, wherein:
The acquisition interface property information command that receiving element 41 sends by performing predetermined registration operation for receiving user; Code call unit 42, for reference to the corresponding relation between the described acquisition interface property information command that presets and the acquisition interface property message code being pre-set in GUI code or base class code, calls described acquisition interface property message code; Code performance element 43 for performing described acquisition interface property message code, to obtain described GUI attribute information.
The device of acquisition GUI attribute information disclosed by the invention also comprises: authority judging unit 44, whether the user for judging to send instruction has obtains interface property information authority, and described receiving element 41 carries out work when the user that the judged result instruction of described authority judging unit 44 sends instruction has and obtains interface property information authority.Authority judging unit 44 comprises: IP acquiring unit 441, for obtaining the IP address of described user; Search unit 442, for searching the IP address of described user in the user right tables of data preset; Determined property unit 443, for judging whether Authorization Attributes field corresponding to the IP address of described user is true, if very, then described user has and obtains interface property information authority, if false, then described user does not have and obtains interface property information authority.
In this device, the process of unit execution concrete operations is as described below:
Whether the user that authority judging unit 44 judges to send instruction has acquisition interface property information authority, interface property information authority is obtained if had, then receiving element 41 receives the acquisition interface property information command that user sends by performing predetermined registration operation (such as click right, or press shortcut).The described acquisition interface property information command that code call unit 42 presets according to the reference of setting up in advance and the corresponding relation being pre-set in GUI code or base class code between acquisition interface property message code, call described acquisition interface property message code.Code performance element 43 performs invoked acquisition interface property message code, to obtain interface property information.
In addition, the invention also discloses a kind of method of decompiling GUI attribute information, its flow process as shown in Figure 5, comprising:
The decompiling attribute information instruction that step S51, reception user are sent by predetermined registration operation.
This predetermined registration operation can with embodiment illustrated in fig. 1 in predetermined registration operation identical, be similarly click right or shortcut Ctrl+I, during its specific implementation, can decompiling attribute information and acquisition interface property information be arranged in same menu, show by different options.Class file is reduced to java file by the core of decompiling exactly.
Step S52, call the decompiler preset.
By the call relation of the invoke code set up in advance and third party's decompiler, call decompiler.
Step S53, with reference to the corresponding relation between the described decompiling attribute information instruction that presets and the acquisition interface property message code being pre-set in GUI code or base class code, call described acquisition interface property message code, obtain described GUI attribute information.
This step is identical with the process of the acquisition interface property information shown in Fig. 1 or Fig. 2, finally obtains the GUI attribute information of class document form.
Step S54, perform described decompiler, the interface property information obtained described in decompiling, obtain the code of the java form corresponding with it.
The GUI attribute information that decompiling obtains, obtains the code of the java form corresponding with it.
The method of the decompiling GUI attribute information in the present embodiment, acquisition interface property message code adds in GUI code or base class code by same employing, called by the comparatively shirtsleeve operation preset and obtain category information code, perform and obtain interface property message code acquisition GUI attribute information, then the decompiler preset is utilized to carry out decompiling the GUI attribute information of acquisition, thus the application stage realized at software, utilize shirtsleeve operation, GUI attribute information is carried out to the object of decompiling, simplify obtaining step, expand the scope of application of decompiling method.
Can add authority in the method for decompiling GUI attribute information disclosed in the present embodiment equally and differentiate process, its concrete differentiation process can be identical with process shown in Fig. 3, also can be other differentiation form.
The embody rule example of the method for decompiling GUI attribute information disclosed by the invention is as described below: user's click right or press shortcut, system can judge whether user has authority, if have authority, popup menu that can be corresponding after operating, in menu, correspondence is provided with and obtains the option such as interface property information or decompiling interface property information, these options are optional, user can click decompiling attribute information according to its actual conditions, system accepts instruction, with reference to the corresponding relation between the described decompiling interface property information command that presets and the acquisition interface property message code being pre-set in base class code, call described acquisition interface property message code, obtain GUI attribute information, then the decompiler preset is utilized, decompiling GUI attribute information.
If user does not have authority, then may be blank after click right, without any display; Or popup menu, but the option of the acquisition interface property information of correspondence or display interface attribute information is grey, can not operate; Or, option operable corresponding in the menu of ejection, but reactionless after executable operations; Again or, in the menu ejected, eject dialog box after executable operations, prompting user haves no right to carry out this operation.
The present invention further discloses a kind of device of decompiling GUI attribute information, its structure as shown in Figure 6, comprise: receiving element 61, routine call unit 62, GUI attribute information acquiring unit 63 and decompiling unit 64, wherein: receiving element 61, for receiving the decompiling interface property information command that user is sent by predetermined registration operation; Routine call unit 62, for calling the decompiler preset; GUI attribute information acquiring unit 63, for with reference to the corresponding relation between the described decompiling interface property information command that presets and the acquisition interface property message code being pre-set in GUI code or base class code, call described acquisition interface property message code, obtain described GUI attribute information; Decompiling unit 64, for performing described decompiler, the GUI attribute information obtained described in decompiling, obtains the code of the java form corresponding with it.
In this device, the process of unit execution concrete operations is as described below:
The decompiling interface property information command that receiving element 61 receives user's click right or sends after pressing shortcut, routine call unit 62 calls default decompiler, attribute information acquiring unit 63 is simultaneously with reference to the corresponding relation between the described decompiling interface property information command preset and the acquisition interface property message code being pre-set in base class code, call described acquisition interface property message code, obtain interface property information, then decompiling unit 64 utilizes the decompiler preset, decompiling GUI attribute information, finally obtain the code of the java form corresponding with GUI attribute information.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. obtain a method for graphic user interface attribute information, it is characterized in that, comprising:
Receive the acquisition interface property information command that user sends by performing predetermined registration operation;
With reference to the corresponding relation between the described acquisition interface property information command that presets and the acquisition interface property message code being pre-set in GUI code or base class code, call described acquisition interface property message code;
Perform described acquisition interface property message code, to obtain described graphic user interface attribute information.
2. method according to claim 1, is characterized in that, the described operation sending acquisition interface property information command performs after the user judging to perform predetermined registration operation has acquisition interface property information authority.
3. the method for acquisition graphic user interface attribute information according to claim 2, is characterized in that, whether the user judging to send instruction according to following steps has acquisition interface property information authority:
Obtain the IP address of user;
The IP address of described user is searched in the user right tables of data preset;
Judge whether Authorization Attributes field corresponding to the IP address of described user is true, if very, then described user has and obtains interface property information authority, if false, then described user does not have and obtains interface property information authority.
4. according to the method in claim 1-3 described in any one, it is characterized in that, described predetermined registration operation comprises: click right operation and/or shortcut operation.
5. obtain a device for graphic user interface attribute information, it is characterized in that, comprising:
Receiving element, for receiving the acquisition interface property information command that user sends by performing predetermined registration operation;
Code call unit, for reference to the corresponding relation between the described acquisition interface property information command that presets and the acquisition interface property message code being pre-set in GUI code or base class code, calls described acquisition interface property message code;
Code performance element, for performing described acquisition interface property message code, to obtain described graphic user interface attribute information.
6. device according to claim 5, is characterized in that, also comprises: authority judging unit, and whether the user for judging to perform predetermined registration operation has obtains interface property information authority.
7. device according to claim 6, is characterized in that, described authority judging unit comprises:
IP acquiring unit, for obtaining the IP address of described user;
Search unit, for searching the IP address of described user in the user right tables of data preset;
Determined property unit, for judging whether Authorization Attributes field corresponding to the IP address of described user is true, if very, then described user has and obtains interface property information authority, if false, then described user does not have and obtains interface property information authority.
8. a method for decompiling graphic user interface attribute information, is characterized in that, comprising:
Receive the decompiling interface property information command that user is sent by predetermined registration operation;
Call the decompiler preset;
With reference to the corresponding relation between the described decompiling interface property information command that presets and the acquisition interface property message code being pre-set in GUI code or base class code, call described acquisition interface property message code, obtain described graphic user interface attribute information;
Perform described decompiler, the graphic user interface attribute information obtained described in decompiling, obtain the code corresponding with described graphic user interface attribute information.
9. method according to claim 8, is characterized in that, the operation of described transmission decompiling interface property information command performs after the user judging to perform predetermined registration operation has acquisition interface property information authority.
10. a device for decompiling graphic user interface attribute information, is characterized in that, comprising:
Receiving element, for receiving the decompiling interface property information command that user is sent by predetermined registration operation;
Routine call unit, for calling the decompiler preset;
Graphic user interface attribute information acquiring unit, for with reference to the corresponding relation between the described decompiling interface property information command that presets and the acquisition interface property message code being pre-set in GUI code or base class code, call described acquisition interface property message code, obtain described graphic user interface attribute information;
Decompiling unit, for performing described decompiler, the graphic user interface attribute information obtained described in decompiling, obtains the code corresponding with described graphic user interface attribute information.
CN201010282196.XA 2010-09-10 2010-09-10 Methods and devices for acquiring and decompiling attribute information of graphical user interface (GUI) Active CN102402429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010282196.XA CN102402429B (en) 2010-09-10 2010-09-10 Methods and devices for acquiring and decompiling attribute information of graphical user interface (GUI)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010282196.XA CN102402429B (en) 2010-09-10 2010-09-10 Methods and devices for acquiring and decompiling attribute information of graphical user interface (GUI)

Publications (2)

Publication Number Publication Date
CN102402429A CN102402429A (en) 2012-04-04
CN102402429B true CN102402429B (en) 2015-04-15

Family

ID=45884664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010282196.XA Active CN102402429B (en) 2010-09-10 2010-09-10 Methods and devices for acquiring and decompiling attribute information of graphical user interface (GUI)

Country Status (1)

Country Link
CN (1) CN102402429B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3161618A4 (en) * 2014-06-30 2017-06-28 Microsoft Technology Licensing, LLC Code recommendation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101620A (en) * 2007-08-03 2008-01-09 何鸿君 Method for automatically obtaining authorization of user
CN101763282A (en) * 2009-12-25 2010-06-30 中兴通讯股份有限公司 Method and terminal for dynamically managing application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154223B (en) * 2006-09-27 2012-05-02 阿里巴巴集团控股有限公司 Method and system for inspecting source code corresponding to system function

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101620A (en) * 2007-08-03 2008-01-09 何鸿君 Method for automatically obtaining authorization of user
CN101763282A (en) * 2009-12-25 2010-06-30 中兴通讯股份有限公司 Method and terminal for dynamically managing application program

Also Published As

Publication number Publication date
CN102402429A (en) 2012-04-04

Similar Documents

Publication Publication Date Title
EP2990939B1 (en) Wireless communications device and method of adding widget thereof
US9208141B2 (en) Generating and displaying active reports
US9280451B2 (en) Testing device
US20060036569A1 (en) Method and apparatus for changing background screen in gui operating system
US20060248069A1 (en) Method and system for implementing customizable container services as component wireless applications
EP2730054A1 (en) Portable computing device and method of operation of same
JP2011192296A (en) Help utility application program
US20120096438A1 (en) Checkpoint entry insertion during test scenario creation
CN102902580A (en) Program callback method and device
RU2639667C2 (en) Context invitation in trial version of application
EP2068542B1 (en) Method and system for providing a user interface to a call center agent which guides him through the conversation with a caller
CN113961463A (en) Application environment switching method and system, storage medium and electronic equipment
Ostrander Android UI Fundamentals: Develop and Design
JP2023070148A (en) Systems and methods for dynamically binding robotic process automation (RPA) robots to resources
CN102402429B (en) Methods and devices for acquiring and decompiling attribute information of graphical user interface (GUI)
US8578276B2 (en) Dynamic adaptive cross-site custom interface
US8719704B2 (en) Seamless integration of additional functionality into enterprise software without customization or apparent alteration of same
WO2016176159A1 (en) Cross-platform command extensibility
CN111245814A (en) Data auditing method and device, electronic equipment and storage medium
JP2008269515A (en) Method for dynamically generating image layout by parameter
CN106126240A (en) A kind of method and system customizing mobile terminal desktop shortcut icon
WO2001075597A2 (en) Efficient user interface for setting application program user preferences
JP6360179B2 (en) Annotation device, annotation method, and annotation program
CN111766987A (en) Application program management method and device and electronic equipment
CN109358972A (en) Blog management method, device and the computer system of middleware client

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant