CN102467375A - Method and device for generating client interface - Google Patents

Method and device for generating client interface Download PDF

Info

Publication number
CN102467375A
CN102467375A CN2010105382466A CN201010538246A CN102467375A CN 102467375 A CN102467375 A CN 102467375A CN 2010105382466 A CN2010105382466 A CN 2010105382466A CN 201010538246 A CN201010538246 A CN 201010538246A CN 102467375 A CN102467375 A CN 102467375A
Authority
CN
China
Prior art keywords
control
client end
end interface
attribute information
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.)
Granted
Application number
CN2010105382466A
Other languages
Chinese (zh)
Other versions
CN102467375B (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 CN201010538246.6A priority Critical patent/CN102467375B/en
Publication of CN102467375A publication Critical patent/CN102467375A/en
Application granted granted Critical
Publication of CN102467375B publication Critical patent/CN102467375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for generating a client interface. The method comprises the following steps of: receiving access request information of the client interface, and assembling each control of the client interface; and presenting each assembled control in the client interface. The embodiment of the invention further provides a device for generating the client interface. With the embodiment of the invention, the flexibility of control definition in the generation process of the client interface is improved.

Description

A kind of method and device that generates client end interface
Technical field
The present invention relates to the business treatment technique field, particularly relate to a kind of method and device that generates client end interface.
Background technology
In software development work, generating user interface is an important content.User interface is software the most direct user oriented and maximum software ingredient of user interactions in being employed process.Generally, user interface comprises a large amount of controls and the entities field of binding.This control can comprise tables of data, input frame, drop-down list box, check box etc.
The existing method that generates user interface is, all controls that comprise through this user interface of code definition in the development phase of user interface, and each control defined.Control is defined, comprise the establishment control object, control name is set, the controls tab name is set, the field of control binding etc. is set.
The inventor is through to the discovering of prior art, the definition of the control of prior art all is in the process of user interface development, to accomplish through code definition.Therefore, existing user interface creating method makes control define underaction.Particularly when need revising the information of the control that has defined,, just need the code of user interface development be made amendment like tag name, row name, the field of binding etc.; Control item on interpolation or the deletion user interface also need be revised code if desired.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method and device that generates client end interface, can strengthen the dirigibility of control definition in the client end interface generative process.
For realizing above-mentioned purpose, the invention provides following scheme: a kind of method that generates client end interface, said method comprises:
Receive the accessing request information of client end interface, each control that said client end interface comprises is assembled;
Each control after the assembling is presented in the said client end interface.
Preferably, said each control that said client end interface is comprised is assembled and is comprised:
Obtain the essential information of all controls that said client end interface comprises;
Each control on the said client end interface is carried out attribute information respectively to be bound;
From database, extract the corresponding respectively solid data of each control, be filled to each control.
Preferably, the said essential information of obtaining all controls that said client end interface comprises is specially:
Move the corresponding interface file of said client end interface, obtain the essential information of all controls that comprise on the said client end interface; Wherein, comprise in the said essential information: the memory address of the control name of control and the attribute information of this control.
Preferably, saidly each control on the said client end interface is carried out attribute information respectively bind and to comprise:
According to the memory address of the attribute information of each control, find each control corresponding controls attribute information file respectively;
Search said control property message file, obtain the attribute information corresponding with the control name of each control;
The attribute information that each control is corresponding with this control is bound.
Preferably, the attribute information of each control comprises: the data field name that each control is bound respectively;
The said corresponding respectively solid data of each control that from database, extracts is filled to each control and comprises:
According to the data field name that each control is bound, the corresponding solid data of data field name of extraction and each control is filled to each control from database.
The present invention also provides a kind of device that generates client end interface, and said device comprises:
The control Knockdown block is used to receive the accessing request information of client end interface, and each control that said client end interface comprises is assembled;
Control represents module, is used for each control after the assembling is presented in said client end interface.
Preferably, said control Knockdown block comprises:
Information acquisition unit is used to obtain the essential information of all controls that said client end interface comprises;
Bind the unit, be used for that each control on the said client end interface is carried out attribute information respectively and bind;
The data filler cells is used for extracting the corresponding respectively solid data of each control from database, is filled to each control.
Preferably, said information acquisition unit is specially: move the corresponding interface file of said client end interface, obtain the essential information of all controls that comprise on the said client end interface; Wherein, comprise in the said essential information: the memory address of the control name of control and the attribute information of this control.
Preferably, said attribute is bound the unit and is comprised:
The ff subelement is used for the memory address according to the attribute information of each control, finds each control corresponding controls attribute information file respectively;
Attribute obtains subelement, is used to search said control property message file, obtains the attribute information corresponding with the control name of each control;
Attribute is bound subelement, is used for the attribute information that each control is corresponding with this control and binds.
Preferably, the attribute information of each control comprises: the data field name that each control is bound respectively;
Said data filler cells is specially: according to the data field name that each control is bound, the corresponding solid data of data field name of extraction and each control is filled to each control from database
According to specific embodiment provided by the invention, the invention discloses following technique effect:
All controls that said method of the embodiment of the invention and device, client end interface comprise and the pairing attribute information of each control are stored respectively.Only when receiving the client end interface accessing request information of user's transmission, all controls that just this client end interface comprised are assembled.Make that thus in the embodiment of the invention one said method, the definition of the control that client end interface is comprised is more flexible.Concrete, in the time need making amendment, need not make amendment to the corresponding code in interface to the information of certain control, only need to revise corresponding control information and get final product; When needs add or delete the control item on the interface, also only need to revise the control message file and get final product.
Description of drawings
Fig. 1 is the method flow diagram of the generation client end interface of the embodiment of the invention one;
Fig. 2 is the method flow diagram of the generation client end interface of the embodiment of the invention two;
Fig. 3 is the structure drawing of device of the generation client end interface of the embodiment of the invention.
Embodiment
In view of this, the object of the present invention is to provide a kind of method and device that generates client end interface, can strengthen the dirigibility of control definition in the client end interface generative process.
For make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing and embodiment the present invention done further detailed explanation.
With reference to Fig. 1, be the method flow diagram of the generation client end interface of the embodiment of the invention one.This method may further comprise the steps:
Step S101: receive the accessing request information of client end interface, each control that this client end interface comprises is assembled;
Step S102: each control after will assembling is presented in the said client end interface.
Control is meant each interface element that constitutes client end interface, can comprise: list box (list), data form (table), check box (checkbox), button (button) etc.A client end interface can be made up of one or more controls.
Each control assembled be meant: be that each control is bound corresponding property information, and related corresponding solid data.
In the embodiment of the invention one said method, all controls that client end interface comprises and the pairing attribute information of each control are stored respectively.Only when receiving the client end interface accessing request information of user's transmission, all controls that just this client end interface comprised are assembled.Make that thus in the embodiment of the invention one said method, the definition of the control that client end interface is comprised is more flexible.Concrete, in the time need making amendment, need not make amendment to the corresponding code in interface to the information of certain control, only need to revise corresponding control information and get final product; When needs add or delete the control item on the interface, also only need to revise the control message file and get final product.
With reference to Fig. 2, be the method flow diagram of the generation client end interface of the embodiment of the invention two.This method may further comprise the steps:
Step S201: receive the accessing request information of client end interface, the runnable interface file obtains the essential information of all controls that this client end interface comprises;
Be specially: move the corresponding interface file of said client end interface, obtain the essential information of all controls that comprise on the said client end interface; Wherein, comprise in the said essential information: the memory address of the control name of control and the attribute information of this control.
Need to prove that client end interface is made up of one or more controls.The essential information of all controls that said client end interface comprises just is meant: all constitute the essential information of the control of this client.Specifically can include but not limited to: the memory address of the control name of the quantity of the control that comprises on this client end interface and the type of each control, each control and the attribute information of this control.
For client end interface, the control that need to show on it pre-sets, write with the form of code, and with the stored in form of interface file on server.
Generally speaking, the different client side interface, the control that is provided with on it is inequality, so its corresponding interface file also is inequality.One client end interface is corresponding one by one with an interface file.
When receiving the accessing request information of client end interface, move the interface file corresponding with this client end interface, load and write each fixed control in this interface file.
Step S202: each control on the said client end interface is carried out attribute information respectively bind;
Be specially, obtain the corresponding respectively attribute information of each control that this client end interface comprises, the attribute information that each control is corresponding with it is bound.To each control on the said client end interface carry out respectively attribute information bind can but be not limited to may further comprise the steps:
Step S2021:, find each control corresponding controls attribute information file respectively according to the memory address of the attribute information of each control;
Step S2022: search said control property message file, obtain the attribute information corresponding with the control name of each control;
Step S2023: the attribute information that each control is corresponding with this control is bound.
Following to the above-mentioned steps specific explanations:
For each control on the client end interface, need carry out certain attribute to it and set.Said attribute is set and is appreciated that to setting the data field that this control need be bound.The solid data of storing in this data field and the database is corresponding.Carrying out attribute set to be exactly in order to set up related between the solid data in each control and the database, so that the extraction solid data corresponding with each control is filled on each control from database.
In routine techniques, set for the attribute of control and in code, to write in advance.Be specially, in the code compiling process of client end interface, when the included control of this client end interface is set, just set the corresponding attribute information of each control, write in the corresponding interface file of this client with code form.For example, be that example describes with the table control.For routine techniques; When writing the client end interface code, when this client end interface of setting comprised a table control, the attribute to this table control defined simultaneously; Set its corresponding data objects name " entries "; The data field that its first row need to bind is id, and the data field that secondary series need be bound is name, and foregoing is write interface file with code form together.
The said method of the embodiment of the invention, for each control on the client end interface, its corresponding respectively attribute information is storage separately.Concrete, when writing the client end interface code, only in interface file, write the quantity of the control that fixed this client end interface comprises and the type of each control, but do not write the corresponding attribute information of fixed each control.The corresponding respectively attribute information of each control is kept in the database with the form of control property message file.At this moment, in the code (being interface file) of client end interface, the memory address (being the memory address of said control property message file) that only need write the corresponding attribute information of each control difference exactly gets final product.
When receiving the access request of client end interface, when starting this client end interface, move the interface file corresponding with this client end interface; Load each control that this client end interface comprises; According to the memory address of the corresponding attribute information of each control, search said control property message file simultaneously, extract the corresponding attribute information of each control; Each control is carried out attribute information bind, can accomplish the attribute binding procedure of the control that this client end interface is comprised.
For different controls, its attribute information that need bind is different.For example, row of the option of the tag name of button control, list control, table control etc.At this, be that example describes only with the table control.Suppose to hope that the table that finally on client, shows is as shown in table 1.
Table 1
id name
1001 Zhang San
1002 Li Si
1003 The king five
In the corresponding interface file of this client end interface, to write fixed this client end interface and comprise a table control, the control of this table control is called " myTable1 ", and the memory address of writing the attribute of fixed this table control simultaneously is the control property message file.
Then, in said control property message file, put down in writing the attribute information of this table control for this table control.Concrete; The attribute information that this table control is corresponding is: its control is called " myTable1 ", and controls tab is " sample table ", its corresponding data objects name " entries "; Its first row binding data field is " id ", and secondary series binding data field is " name ".
In the method for the invention; In the control property message file, preserve the above-mentioned attribute information of table control; Simultaneously; In the code (interface file) of client end interface, write fixed this client end interface and comprise a table control, its corresponding controls is called myTable1, and the memory address of the attribute information that it is corresponding is the memory address of said control property message file.
Thus; Set up related between each control that client end interface comprises and the corresponding attribute information of each control; When starting this client end interface, loading table control; Memory address through the attribute information corresponding with said myTable1 control finds said control property message file, obtains the corresponding attribute information of myTable1 control, is tied to the myTable1 control.
Wherein, Said control name and this control are write fixed control name in interface file identical; Related between the attribute information that is used to set up this control and the interface file is so that can find the corresponding attribute information of this control through said control name from said control property message file.For example, possibly include two table controls on the client end interface, in interface file, write a fixed table control " myTable1 " by name, another table control is called " myTable2 "; In said control property message file, put down in writing the attribute information of two table controls equally.Concrete; The attribute information of one table control is: its control is called " myTable1 ", and controls tab is " sample table 1 ", its corresponding data objects name " entries "; Its first row binding data field is " id ", and secondary series binding data field is " name "; The attribute information of another table control is: its control is called " myTable2 "; Controls tab is " sample table 2 "; Its corresponding data objects name " entries ", its first row binding data field is " name ", secondary series binding data field is " age ".Thus; When starting this client end interface; Two table controls that this client end interface is comprised carry out attribute respectively when binding, and only need the control name according to each table control, obtain the corresponding attribute information of each table control from said control property message file respectively and bind and get final product.
Also need to prove simultaneously; The solid data of storing in said data object name and the corresponding database of this control is corresponding; Related between the attribute information that is used to set up this control and the solid data is so that can find the solid data corresponding with this control through said data object name from database.Concrete binding procedure about control and solid data is specifically introduced in next step.
Step S203: from database, extract the corresponding solid data of each control that comprises with this client end interface, be filled to each control;
Be specially, according to the data field name that each control is bound, the corresponding solid data of data field name of extraction and each control is filled to each control from database.
The front has said that the attribute information of each control comprises the data field name that each control is bound respectively.Each control is carried out attribute set and to be appreciated that to setting the data field that this control need be bound, the solid data of storing in this data field and the database is corresponding.Each control that comprises for client end interface, after it had been bound attribute information, the attribute information that can bind according to each control extracted the corresponding solid data of attribute information of each control in the database, and the solid data that extracts is filled in each control.
Concrete, be that example describes still with the control of table shown in the table 1.In abovementioned steps S202, bound attribute information for this table control " myTable1 "; Bind its corresponding data objects " entries " by name; And specifically set this table control first row binding data field for " id ", secondary series binding data field is " name ".
Through searching database, find the source data table of data object " entries " by name, the source data table entries that stores in the tentation data storehouse is as shown in table 2.
Table 2
id name age
1001 Zhang San 30
1002 Li Si 40
1003 The king five 50
Thus it is clear that, in source data table entries, comprise three association field: id, name, age.But; The table control of table 1 example has only been bound two association field: id, the name among this source data table entries; Therefore, only extract data field id and the corresponding solid data of name among this source data table entries, be filled in " myTable1 " control.
So far, accomplished the assembling of the table control of this control " myTable1 " by name.
Same; For among the step S202 for the example table control " myTable2 " of lifting, its corresponding data objects name also is " entries ", but its first row binding data field is " name "; Secondary series binding data field is " age "; At this moment, only need extract the corresponding solid data of data field name and age among this source data table entries, be filled in this " myTable2 " control and get final product.
But for other controls that this client end interface comprises, its assembling process is same as described above, is not giving unnecessary details one by one at this.
Step S204: each control that will fill solid data is presented in the said client end interface.
To each control of client end interface, be the assembling of having accomplished each control after having filled solid data, each control of accomplishing assembling is presented on this client end interface, represent to the user.
In the embodiment of the invention two said methods; All controls that client end interface comprises and the pairing attribute information of each control are stored respectively; The quantity of the control that client end interface is comprised and the type of each control write the interface file storage with code form; Simultaneously that each control is corresponding respectively attribute information writes the control property message file and stores separately, and sets up the association between the solid data three in interface file, control property message file and the database.When receiving the client end interface accessing request information of user's transmission; All controls that this client end interface is comprised carry out the assembling of control information; From said interface file, obtain all controls that this client end interface comprises, and from said control property message file, obtain the corresponding respectively attribute information of each control that this client end interface comprises, realize the binding of each control and attribute information; Simultaneously; The corresponding respectively solid data of each control in the database is extracted in the definition of the attribute information of each control that comprises according to this client end interface, is filled to each control; So far accomplish assembling, and each control after will assembling is shown to the user to each control on this client.
Can know by above-mentioned introduction; In the said method of the embodiment of the invention; All controls that said client end interface comprises and the pairing attribute information of each control are stored respectively; Therefore, when the control that comprises on need be to client end interface or each control were deleted, added or revise, only need make amendment to corresponding interface file or control property message file got final product.
For example, in the time need certain control on the client end interface being deleted, only need in interface file, delete the corresponding code of this control and get final product; Equally, when needs add certain control on client end interface, only need in interface file, increase the corresponding code of this control and get final product.Certainly, above-mentioned interpolation and deletion and conventional scheme to control is basic identical, still need make amendment to the code at interface.
The difference part of the method for the invention is: the attribute to control is made amendment.For conventional method, when the attribute of certain control changes, need to revise the code of putting down in writing in the corresponding interface file of this client end interface.But in the method for the invention, only need make amendment to the attribute information that this control is corresponding in the said control property message file gets final product.
Concrete, still describe with " myTable1 " noted earlier control.Suppose and to make amendment to this control; The data field that its secondary series is bound changes " age " into; Need not make amendment to the interface file of this client end interface this moment, and the data field that the secondary series in the attribute information that only need " myTable1 " control in the control property message file is corresponding is bound is revised as " age " by " name " and gets final product.
Make that thus in the embodiment of the invention two said methods, the definition of the control that client end interface is comprised more thus.Concrete, in the time need making amendment, need not make amendment to the corresponding code in interface to the attribute information of certain control, only need to revise the attribute information that this control is corresponding in the control property message file and get final product; When needs add or delete the control item on the interface, also only need to revise interface file and get final product.
Compare with conventional method, the method for the invention also has an outstanding advantage.For routine techniques, when from client end interface deletion one control, corresponding, need from interface file, delete all corresponding codes of this control, comprise the definition and the corresponding attribute information of this control of this control.When needs again when client end interface adds this control, just need write all codes relevant again with this control, comprise the attribute information of this control correspondence.But,, only need the code of this control of deletion definition in interface file get final product when on this client end interface of needs deletions during a control for the embodiment of the invention.But the attribute information corresponding about this control still is kept in the said control property message file.When needs add this control again in client end interface; Then only need this control of definition in said interface file; And write in the control name of specifying this control and the said control property message file that fixed control name is identical to get final product, do not need to write again the more corresponding attribute information of this control.
Simultaneously, for routine techniques,, all need respectively it to be defined and writes the corresponding attribute information of this control for each control.Even two identical controls that comprise on two identical controls that comprise on the same client end interface or different two client end interfaces also all need define and write attribute information respectively to each control.For example, suppose, need in the corresponding respectively interface file of two client end interfaces, define this control respectively and set the corresponding attribute information of this control respectively so for " myTable1 " control that includes on two client end interfaces in the aforementioned exemplary.
But; For the method for the invention; The attribute information that only needs to be somebody's turn to do " myTable1 " control writes in the said control property message file; In the corresponding respectively interface file of two client end interfaces, define this control respectively and get final product, in the corresponding interface file of two client end interfaces, writing fixed memory address of being somebody's turn to do the attribute information of " myTable1 " control simultaneously is said control property message file, and its control " myTable1 " by name gets final product.
This shows, adopt the said method of the embodiment of the invention, make that the exploitation of development interface of user interface is more flexible, easy, can avoid the duplication of labour of developer.
The method of the generation client end interface that provides corresponding to the embodiment of the invention, the embodiment of the invention also provides a kind of device that generates client end interface.With reference to shown in Figure 3, be the structure drawing of device of the generation client end interface of the embodiment of the invention.Said device can comprise:
Control Knockdown block 10 is used to receive the accessing request information of client end interface, and each control that said client end interface comprises is assembled;
Control represents module 20, is used for each control after the assembling is presented in said client end interface.
Need to prove that 10 pairs of each controls of said control Knockdown block are assembled and are meant: for each control is bound corresponding property information, and related corresponding solid data.
In the said device of the embodiment of the invention, all controls that client end interface comprises and the pairing attribute information of each control are stored respectively.Only when receiving the client end interface accessing request information of user's transmission, all controls that control Knockdown block 10 just comprises this client end interface are assembled.Make that thus in the embodiment of the invention, the definition of the control that client end interface is comprised is more flexible.Concrete, in the time need making amendment, need not make amendment to the corresponding code in interface to the information of certain control, only need to revise corresponding control information and get final product; When needs add or delete the control item on the interface, also only need to revise the control message file and get final product.
Preferably, said control Knockdown block 10 comprises:
Information acquisition unit 110 is used to obtain the essential information of all controls that said client end interface comprises.
Concrete, said information acquisition unit 110 is moved the corresponding interface file of said client end interface, obtains the essential information of all controls that comprise on the said client end interface; Wherein, comprise in the said essential information: the memory address of the control name of control and the attribute information of this control.
Bind unit 120, be used for that each control on the said client end interface is carried out attribute information respectively and bind.
Be specially, said binding unit 120 obtains the corresponding respectively attribute information of each control that this client end interface comprises, the attribute information that each control is corresponding with it is bound.
Preferably, said binding unit 120 can but be not limited to comprise:
The ff subelement is used for the memory address according to the attribute information of each control, finds each control corresponding controls attribute information file respectively.
Attribute obtains subelement, is used to search said control property message file, obtains the attribute information corresponding with the control name of each control.
Attribute is bound subelement, is used for the attribute information that each control is corresponding with this control and binds.
Data filler cells 130 is used for extracting the corresponding respectively solid data of each control from database, is filled to each control.
Need to prove that the attribute information of each control comprises: the data field name that each control is bound respectively;
Concrete, the data field name that said data filler cells 130 is bound according to each control, the corresponding solid data of data field name of extraction and each control is filled to each control from database.
In the said device of the embodiment of the invention; All controls that client end interface comprises and the pairing attribute information of each control are stored respectively; The quantity of the control that client end interface is comprised and the type of each control write the interface file storage with code form; Simultaneously that each control is corresponding respectively attribute information writes the control property message file and stores separately, and sets up the association between the solid data three in interface file, control property message file and the database.When receiving the client end interface accessing request information of user's transmission; All controls that this client end interface is comprised carry out the assembling of control information; From said interface file, obtain all controls that this client end interface comprises, and from said control property message file, obtain the corresponding respectively attribute information of each control that this client end interface comprises, realize the binding of each control and attribute information; Simultaneously; The corresponding respectively solid data of each control in the database is extracted in the definition of the attribute information of each control that comprises according to this client end interface, is filled to each control; So far accomplish assembling, and each control after will assembling is shown to the user to each control on this client.
Can know by above-mentioned introduction; In the said method of the embodiment of the invention; All controls that said client end interface comprises and the pairing attribute information of each control are stored respectively; Therefore, when the control that comprises on need be to client end interface or each control were deleted, added or revise, only need make amendment to corresponding interface file or control property message file got final product.
More than to a kind of method and device that generates user interface provided by the present invention; Carried out detailed introduction; Used concrete example among this paper principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, part all can change on embodiment and range of application.In sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method that generates client end interface is characterized in that, said method comprises:
Receive the accessing request information of client end interface, each control that said client end interface comprises is assembled;
Each control after the assembling is presented in the said client end interface.
2. method according to claim 1 is characterized in that, said each control that said client end interface is comprised is assembled and comprised:
Obtain the essential information of all controls that said client end interface comprises;
Each control on the said client end interface is carried out attribute information respectively to be bound;
From database, extract the corresponding respectively solid data of each control, be filled to each control.
3. method according to claim 2 is characterized in that, the said essential information of obtaining all controls that said client end interface comprises is specially:
Move the corresponding interface file of said client end interface, obtain the essential information of all controls that comprise on the said client end interface; Wherein, comprise in the said essential information: the memory address of the control name of control and the attribute information of this control.
4. method according to claim 3 is characterized in that, saidly each control on the said client end interface is carried out attribute information respectively binds and to comprise:
According to the memory address of the attribute information of each control, find each control corresponding controls attribute information file respectively;
Search said control property message file, obtain the attribute information corresponding with the control name of each control;
The attribute information that each control is corresponding with this control is bound.
5. method according to claim 4 is characterized in that, the attribute information of each control comprises: the data field name that each control is bound respectively;
The said corresponding respectively solid data of each control that from database, extracts is filled to each control and comprises:
According to the data field name that each control is bound, the corresponding solid data of data field name of extraction and each control is filled to each control from database.
6. a device that generates client end interface is characterized in that, said device comprises:
The control Knockdown block is used to receive the accessing request information of client end interface, and each control that said client end interface comprises is assembled;
Control represents module, is used for each control after the assembling is presented in said client end interface.
7. the device of generation client end interface according to claim 6 is characterized in that, said control Knockdown block comprises:
Information acquisition unit is used to obtain the essential information of all controls that said client end interface comprises;
Bind the unit, be used for that each control on the said client end interface is carried out attribute information respectively and bind;
The data filler cells is used for extracting the corresponding respectively solid data of each control from database, is filled to each control.
8. the device of generation client end interface according to claim 7 is characterized in that, said information acquisition unit is specially: move the corresponding interface file of said client end interface, obtain the essential information of all controls that comprise on the said client end interface; Wherein, comprise in the said essential information: the memory address of the control name of control and the attribute information of this control.
9. the device of generation client end interface according to claim 8 is characterized in that, said attribute is bound the unit and comprised:
The ff subelement is used for the memory address according to the attribute information of each control, finds each control corresponding controls attribute information file respectively;
Attribute obtains subelement, is used to search said control property message file, obtains the attribute information corresponding with the control name of each control;
Attribute is bound subelement, is used for the attribute information that each control is corresponding with this control and binds.
10. the device of generation client end interface according to claim 9 is characterized in that, the attribute information of each control comprises: the data field name that each control is bound respectively;
Said data filler cells is specially: according to the data field name that each control is bound, the corresponding solid data of data field name of extraction and each control is filled to each control from database.
CN201010538246.6A 2010-11-09 2010-11-09 Method and device for generating client interface Active CN102467375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010538246.6A CN102467375B (en) 2010-11-09 2010-11-09 Method and device for generating client interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010538246.6A CN102467375B (en) 2010-11-09 2010-11-09 Method and device for generating client interface

Publications (2)

Publication Number Publication Date
CN102467375A true CN102467375A (en) 2012-05-23
CN102467375B CN102467375B (en) 2015-06-10

Family

ID=46071051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010538246.6A Active CN102467375B (en) 2010-11-09 2010-11-09 Method and device for generating client interface

Country Status (1)

Country Link
CN (1) CN102467375B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092629A (en) * 2013-02-25 2013-05-08 用友软件股份有限公司 Interface packaging system and interface packaging method
CN104699488A (en) * 2015-03-31 2015-06-10 北京奇虎科技有限公司 Method, equipment and system for acquiring APP (application) interface control data dynamically
CN105242922A (en) * 2015-09-25 2016-01-13 卡斯柯信号有限公司 Property tag based data display method
CN105426448A (en) * 2015-11-06 2016-03-23 广州华多网络科技有限公司 Method, device and system for interface display
CN107273113A (en) * 2017-05-05 2017-10-20 广东网金控股股份有限公司 The binding of page control and entity, to entity assignment and the method for page control assignment
CN107390983A (en) * 2017-04-28 2017-11-24 阿里巴巴集团控股有限公司 Service order performs method, client and storage medium
CN108153886A (en) * 2017-12-28 2018-06-12 北京恒泰实达科技股份有限公司 User-defined visual methods of exhibiting of the real time data in web applications
CN110427233A (en) * 2019-06-26 2019-11-08 北京三快在线科技有限公司 Back-end data binding method, device, electronic equipment and storage medium
CN116107686A (en) * 2023-04-13 2023-05-12 福建自贸试验区厦门片区Manteia数据科技有限公司 Interface processing method and device of medical software, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067786A (en) * 2007-07-02 2007-11-07 华为技术有限公司 Generation method and apparatus for report condition inputting interface
US20090083310A1 (en) * 2007-09-20 2009-03-26 Mario Ballerini Dynamic system for creating and managing a database
CN101510210A (en) * 2009-03-30 2009-08-19 腾讯科技(深圳)有限公司 Method and apparatus for controlling display popup web page
CN101697123A (en) * 2009-10-20 2010-04-21 金蝶软件(中国)有限公司 Method and device for modifying interface layout in ERP system and ERP system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067786A (en) * 2007-07-02 2007-11-07 华为技术有限公司 Generation method and apparatus for report condition inputting interface
US20090083310A1 (en) * 2007-09-20 2009-03-26 Mario Ballerini Dynamic system for creating and managing a database
CN101510210A (en) * 2009-03-30 2009-08-19 腾讯科技(深圳)有限公司 Method and apparatus for controlling display popup web page
CN101697123A (en) * 2009-10-20 2010-04-21 金蝶软件(中国)有限公司 Method and device for modifying interface layout in ERP system and ERP system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092629A (en) * 2013-02-25 2013-05-08 用友软件股份有限公司 Interface packaging system and interface packaging method
CN103092629B (en) * 2013-02-25 2015-12-23 用友网络科技股份有限公司 Interfacial assembly system and interfacial assembly method
CN104699488A (en) * 2015-03-31 2015-06-10 北京奇虎科技有限公司 Method, equipment and system for acquiring APP (application) interface control data dynamically
CN105242922A (en) * 2015-09-25 2016-01-13 卡斯柯信号有限公司 Property tag based data display method
CN105426448A (en) * 2015-11-06 2016-03-23 广州华多网络科技有限公司 Method, device and system for interface display
CN105426448B (en) * 2015-11-06 2019-04-16 广州华多网络科技有限公司 Interface display method, apparatus and system
CN107390983A (en) * 2017-04-28 2017-11-24 阿里巴巴集团控股有限公司 Service order performs method, client and storage medium
CN107273113A (en) * 2017-05-05 2017-10-20 广东网金控股股份有限公司 The binding of page control and entity, to entity assignment and the method for page control assignment
CN108153886A (en) * 2017-12-28 2018-06-12 北京恒泰实达科技股份有限公司 User-defined visual methods of exhibiting of the real time data in web applications
CN110427233A (en) * 2019-06-26 2019-11-08 北京三快在线科技有限公司 Back-end data binding method, device, electronic equipment and storage medium
CN116107686A (en) * 2023-04-13 2023-05-12 福建自贸试验区厦门片区Manteia数据科技有限公司 Interface processing method and device of medical software, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN102467375B (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN102467375A (en) Method and device for generating client interface
CN102521416B (en) Data correlation query method and data correlation query device
CN101739453B (en) Method and device for carrying out condition query on database table
CN104182484B (en) A kind of method and apparatus for realizing HBase data and the mapping of Java field object
CN103019693A (en) System and method for generating user interface
CN103995854A (en) Equipment cross-version upgrading method and device
CN102520967A (en) Method, system and mobile terminal for creating and using mobile platform plug-in component
CN105389186A (en) Hot deployment method and system for Java application
CN103902562B (en) A kind of terminal database upgrade method and relevant apparatus
CN109582302A (en) Establishment of item system and automation projects creation method
CN201402459Y (en) Test case management device
CN108037967A (en) A kind of menu loading method and electronic equipment based on more parent-child structures
WO2017036348A1 (en) Method and device for compressing and decompressing extensible markup language document
CN102810115B (en) Method for implementing multi-layer distributed document management system
CN106874357A (en) A kind of Resources Customization method and apparatus of Web applications
CN103123651A (en) Method of rapidly searching multiple same-kind paper, device and mobile equipment
CN103927301B (en) A kind of method and device of utilization theme bag dynamic translation entry
CN106933555A (en) A kind of data framework system
CN105786939A (en) Memory database optimization method and apparatus
CN104331445A (en) Automatic menu loading method of personalized APP (Application) management platforms
CN104462108A (en) Database structure object processing method and device
CN102929850B (en) Report data treating apparatus and method for processing report data
CN113032706B (en) Realization method and system for quickly building webpage
CN105657521A (en) Channel data storage method and device
CN112162731B (en) Data expansion method, device, storage medium and electronic device

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