CN101436130A - Method and system for generating user interface - Google Patents
Method and system for generating user interface Download PDFInfo
- Publication number
- CN101436130A CN101436130A CNA2008101827726A CN200810182772A CN101436130A CN 101436130 A CN101436130 A CN 101436130A CN A2008101827726 A CNA2008101827726 A CN A2008101827726A CN 200810182772 A CN200810182772 A CN 200810182772A CN 101436130 A CN101436130 A CN 101436130A
- Authority
- CN
- China
- Prior art keywords
- interface
- item
- user
- association attributes
- user 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.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a system for generating user interfaces, wherein the method comprises the steps of obtaining setting information of a user for the metadata of editable interface related attribute items, structuring the interface related attribute items according to the setting information and utilizing the interface related attribute items to generate a user interface. As the method provided by the embodiment of the invention does not require the user to master any programming language, and can generate the user interface directly by changing the values of the metadata of the interface related attribute items, the method is simple, flexible and high in efficiency. In addition, the method provided by the embodiment of the invention can change the user interface without hard-coding and can be finished by the self of the user, thereby saving a large number of manpower cost.
Description
Technical field
The present invention relates to software technology field, relate in particular to user interface creating method and system.
Background technology
User interface is user's the most direct user oriented and maximum software ingredient of user interactions in the process of using software.Traditional user interface creating method is, carries out the customized development of hard coded form at requirement of client, i.e. program development realizes the user interface of customer requirement by writing code arbitrarily.Generally can not change again after in a single day this traditional user interface is succeeded in developing.
The inventor is by discovering prior art, generally can not change again after in a single day traditional user interface is succeeded in developing, very flexible if the client wishes user interface made modification on the interface that does not influence its function in practical application, makes the interface more meet the use habit of oneself, can only go to develop by the pattern of hard coded by special program development personnel, speed is slow, inefficiency, in addition, can expend great deal of labor like this, improve the development cost of software.
Summary of the invention
In view of this, the purpose of the embodiment of the invention is to provide user interface creating method and system, provides user interface for the client flexible and efficiently.
For achieving the above object, the embodiment of the invention provides following technical scheme:
A kind of user interface creating method, described user interface comprise at least one editable interface association attributes item, and this method comprises:
Obtain the configuration information of user to the metadata of described interface association attributes item;
Constitute interface association attributes item according to described configuration information;
Utilize described interface association attributes item to generate user interface.
This method also comprises:
Be described UI Preferences identifier.
This method also comprises:
For described UI Preferences uses rank.
This method also comprises:
Described user interface is preserved.
Described interface association attributes item comprises interface item and interface property item.
A kind of user interface generation system comprises:
First storage unit is used to store at least one editable interface association attributes item;
Acquiring unit is used for obtaining the configuration information of the metadata of the interface association attributes item that the user stores described storage unit;
Constitute the unit, the configuration information that is used for the metadata of the interface association attributes item stored according to the storage unit that described acquiring unit obtains constitutes interface association attributes item;
Generation unit is used to utilize by the described interface association attributes item that constitutes the unit generate user interface.
This system also comprises:
Second storage unit is used to store the user interface that is generated by described generation unit.
This system also comprises:
First is provided with the unit, the UI Preferences identifier that is used to described generation unit to generate.
This system also comprises:
Second is provided with the unit, and the UI Preferences that is used to described generation unit to generate uses rank.
Described interface association attributes item comprises: interface property item and interface item
As seen, in embodiments of the present invention, obtain the configuration information of user to the metadata of editable interface association attributes item; Constitute interface association attributes item according to described configuration information; Utilize described interface association attributes item to generate user interface, the method that the embodiment of the invention provided need not the user and grasps any program language, the value of directly passing through the metadata of change interface association attributes item gets final product, simple and flexible, the efficient height, in addition, because the method that the embodiment of the invention provided need not the change that hard coded just can be realized user interface, user self just can finish, so saved great deal of labor.
Description of drawings
Fig. 1 is the process flow diagram of the method that one embodiment of the invention provided;
Fig. 2 is the structural representation of the system that one embodiment of the invention provided.
Embodiment
The embodiment of the invention provides user interface creating method and system, for making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further detail.
Referring to Fig. 1, in one embodiment of the invention, realize that the method that the embodiment of the invention provided may further comprise the steps:
Step 101: obtain the configuration information of user to the metadata of described interface association attributes item.
Metadata is the data about data, is the description to the data attribute, can be by coming this to become the occurrence of a certain attribute of a certain data to dynamic change of metadata.When metadata was used to describe the different attribute of different pieces of information, pairing data type may be different, also may be identical.
In embodiments of the present invention, association attributes item in interface comprises interface item and interface property item.
Wherein, the interface property item is described the attribute of user interface self by metadata.The interface property item comprises the interface title, interface size and interface location or the like attribute, and when describing these attributes with metadata, corresponding just have interface title metadata, interface size metadata and an interface location metadata etc.
When metadata is used to describe the interface title, its corresponding data types is generally character type, and metadata is when describing interface size or interface location, its attribute is generally integer, this shows, during the attribute of the data that metadata description is different, its concrete data type is determined by the attribute of the data of its description.
Interface item is the description to each functional unit of interface display, for example, in the user interface of a document process software, can comprise the document numbered cell, professional date unit or the like.And the attribute of each functional unit can be described with metadata.
For example, the document numbered cell comprises attributes such as the position, size, enabled state of this unit, and when coming with metadata when described, corresponding have location metadata, big or small metadata and an enabled state metadata.
Because metadata has editability, can be by coming this to become the occurrence of a certain attribute of a certain data to dynamic change of metadata, when the user wishes the autonomous Design user interface, at first, need obtain the configuration information of user to the metadata of described interface association attributes item.
Described configuration information is the value of a concrete metadata of user's setting.
Below, be example still with the document process software, referring to table 1, comprise interface property, document numbering and professional date three interfaces association attributes item.These three interface association attributes Xiang Douyong metadata descriptions.As can be seen from Table 1, each interface association attributes item all can have initial value, and the user can be provided with these interface association attributes items again by changing the metadata of describing such interface association attributes item.
The user can reset all editable interface association attributes items, also can only select own interested interface association attributes item to be provided with.
For some concrete interface association attributes items, the user can reset all metadata of describing this interface association attributes item, also can only select part wherein to reset, concrete method to set up determines that according to the use needs of oneself the present invention does not do qualification to this by the user.
Table 1:
Step 102: constitute interface association attributes item according to described configuration information.
After having obtained the configuration information of user, just can constitute new interface association attributes item according to described configuration information to interface association attributes item.For example in the table 1, compare with initial value, the page properties title is rearranged into newly-increased purchase order by original purchase order; Size is rearranged into 1024*768px (wherein, px is expressed as pixel unit) by original 800*600px.The position is by original top-100px; Left-100px has become top; Left by to the resetting of three metadata of interface property, has constituted a diverse interface of initial interface.
Accordingly, also make these two interface item that variation has taken place to document variation and professional resetting of these two interface item of date.
Need to prove that the some or all of attribute that has just changed these attribute items of resetting to the metadata of interface association attributes item can't exert an influence to its function itself.
Step 103: utilize described interface association attributes item to generate user interface.
Interface association attributes item is the fundamental element that generates user interface, after interface association attributes item constitutes, just can utilize the attribute item that has constituted to generate user interface.
By the method that the embodiment of the invention provided, make the user that the metadata of interface association attributes item can be set according to the use needs of self, constitute new interface association attributes item from this, utilize new interface association attributes item to generate to meet the user interface of self needs, this method need not the user and grasps any program language, the value of directly passing through the metadata of change interface association attributes item gets final product, simple and flexible, the efficient height, in addition, because the method that the embodiment of the invention provided need not the change that hard coded just can be realized user interface, user self just can finish, so saved great deal of labor.
In another embodiment of the present invention, the described method of Fig. 1 also comprises:
Be described UI Preferences identifier.
By described identifier a newly-generated user interface and initial user interface or other existing user interfaces are distinguished.
This identifier can be an optional network specific digit, perhaps a specific title.
Certainly, the title in the interface property of the title in the interface property of this user interface and other user interfaces not simultaneously can not be with the identifier of this title as this user interface.
Preferably, can also use rank for described UI Preferences.
By this UI Preferences is used rank, make the user who meets the rank requirement can share a certain particular user interface, when making a specific user interface realize sharing, user to this user interface screens again, has further improved the dirigibility that user interface is used.
In another embodiment, can also preserve described user interface.
After a certain user interface generates, by preservation, make the user when using a certain software next time, to be reused to the user interface in the storage to user interface, the process of having avoided each use all user interface to be reset has improved user's service efficiency.
Also be provided for the system that user interface generates with the corresponding the present invention of method embodiment, referring to Fig. 2, this system comprises:
Interface association attributes item comprises interface item and interface property item.
Wherein, the interface property item is described the attribute of user interface self by metadata.The interface property item comprises the interface title, interface size and interface location or the like attribute, and when describing these attributes with metadata, corresponding just have interface title metadata, interface size metadata and an interface location metadata etc.
When metadata is used to describe the interface title, its corresponding data types is generally character type, and metadata is when describing interface size or interface location, its attribute is generally integer, this shows, during the attribute of the data that metadata description is different, its concrete data type is determined by the attribute of the data of its description.
Interface item is the description to each functional unit of interface display, for example, in the user interface of a document process software, can comprise the document numbered cell, professional date unit or the like.And the attribute of each functional unit can be described with metadata.
For example, the document numbered cell comprises attributes such as the position, size, enabled state of this unit, and when coming with metadata when described, corresponding have location metadata, big or small metadata and an enabled state metadata.
Acquiring unit 202 is used for obtaining the configuration information of the metadata of the interface association attributes item that the user stores described first storage unit.
Constitute unit 203, the configuration information that is used for the metadata of the interface association attributes item stored according to described first storage unit that described acquiring unit obtains constitutes interface association attributes item.
In another embodiment of the present invention, the described system of Fig. 2 also comprises:
First is provided with unit 205, the UI Preferences identifier that is used to described generation unit to generate.
By described identifier a newly-generated user interface and initial user interface or other existing user interfaces are distinguished.
This identifier can be an optional network specific digit, perhaps a specific title.
Certainly, the title in the interface property of the title in the interface property of this user interface and other user interfaces not simultaneously can not be with the identifier of this title as this user interface.
Preferably, the described system of Fig. 2 also comprises:
Second is provided with unit 206, and the UI Preferences that is used to described generation unit to generate uses rank.
By this UI Preferences is used rank, make the user who meets the rank requirement can share a certain particular user interface, when making a specific user interface realize sharing, user to this user interface screens again, has further improved the dirigibility that user interface is used.
For fear of the process all user interface reset of each use, improve the service efficiency at user to user interface, system shown in Figure 2 also comprises:
It will be understood by those skilled in the art that and to use many different technologies and in the technology any one to come expression information, message and signal.For example, the message of mentioning in the above-mentioned explanation, information can be expressed as voltage, electric current, electromagnetic wave, magnetic field or magnetic particle, light field or above combination in any.
The professional can also further should be able to recognize, the unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in the above description.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each specific should being used for, but this realization should not thought and exceeds scope of the present invention.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use the software module of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form 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 the technical field.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined herein General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.
Claims (10)
1, a kind of user interface creating method is characterized in that, described user interface comprises at least one editable interface association attributes item, and this method comprises:
Obtain the configuration information of user to the metadata of described interface association attributes item;
Constitute interface association attributes item according to described configuration information;
Utilize described interface association attributes item to generate user interface.
2, method according to claim 1 is characterized in that, also comprises:
Be described UI Preferences identifier.
3, method according to claim 1 is characterized in that, also comprises:
For described UI Preferences uses rank.
4, method according to claim 1 is characterized in that, also comprises:
Described user interface is preserved.
According to any described method of claim 1~4, it is characterized in that 5, described interface association attributes item comprises interface item and interface property item.
6, a kind of user interface generation system is characterized in that, comprising:
First storage unit is used to store at least one editable interface association attributes item;
Acquiring unit is used for obtaining the configuration information of the metadata of the interface association attributes item that the user stores described storage unit;
Constitute the unit, the configuration information that is used for the metadata of the interface association attributes item stored according to the storage unit that described acquiring unit obtains constitutes interface association attributes item;
Generation unit is used to utilize by the described interface association attributes item that constitutes the unit generate user interface.
7, system according to claim 6 is characterized in that, also comprises:
Second storage unit is used to store the user interface that is generated by described generation unit.
8, system according to claim 6 is characterized in that, also comprises:
First is provided with the unit, the UI Preferences identifier that is used to described generation unit to generate.
9, system according to claim 6 is characterized in that, also comprises:
Second is provided with the unit, and the UI Preferences that is used to described generation unit to generate uses rank.
According to any described system of claim 6~9, it is characterized in that 10, described interface association attributes item comprises: interface property item and interface item.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101827726A CN101436130A (en) | 2008-12-04 | 2008-12-04 | Method and system for generating user interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101827726A CN101436130A (en) | 2008-12-04 | 2008-12-04 | Method and system for generating user interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101436130A true CN101436130A (en) | 2009-05-20 |
Family
ID=40710579
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008101827726A Pending CN101436130A (en) | 2008-12-04 | 2008-12-04 | Method and system for generating user interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101436130A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103097972A (en) * | 2010-09-10 | 2013-05-08 | 格里森计量系统股份有限公司 | Remote operator pendant for a metrology machine tool |
CN106294430A (en) * | 2015-05-26 | 2017-01-04 | 阿里巴巴集团控股有限公司 | Page display method and page presentation device |
-
2008
- 2008-12-04 CN CNA2008101827726A patent/CN101436130A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103097972A (en) * | 2010-09-10 | 2013-05-08 | 格里森计量系统股份有限公司 | Remote operator pendant for a metrology machine tool |
CN106294430A (en) * | 2015-05-26 | 2017-01-04 | 阿里巴巴集团控股有限公司 | Page display method and page presentation device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103092612B (en) | Realize method and the electronic installation of Android operation system 3D desktop pinup picture | |
CN102609256A (en) | Motion chart generating method based on webpages | |
CN100444163C (en) | Configuration method for webpage display | |
US20080052707A1 (en) | Method, system, and program product for composing a virtualized computing environment | |
CN105450586A (en) | Information pushing method and system, server and client | |
CN103019693A (en) | System and method for generating user interface | |
CN110309461B (en) | Page display method and device | |
CN104063495A (en) | Form extension method and form extension device | |
CN106940721B (en) | Data processing method and system for user-defined selection box | |
CN106407239A (en) | Methods and apparatuses used for recommending information and assisting in recommending information | |
CN105389184A (en) | Configuration method and apparatus for product interface information | |
CN104239067B (en) | The preparation method and device of miniature client | |
CN105447200A (en) | Data processing method and data processing apparatus | |
CN101436130A (en) | Method and system for generating user interface | |
CN107239212A (en) | Segmentation selection view rendering method, device and user terminal | |
US9230022B1 (en) | Customizable result sets for application program interfaces | |
CN113268288B (en) | Shared file configuration method and device | |
CN109614189A (en) | A kind of system, method and device for realizing APP icon dynamically load animation | |
CN107247594B (en) | Logic system, implementation method thereof, computing device and computer-readable storage medium | |
CN103034468B (en) | A kind of method and device showing text | |
CN110968679A (en) | Data query method and device | |
CN112162731B (en) | Data expansion method, device, storage medium and electronic device | |
CN107977459A (en) | Report form generation method and device | |
CN104156209A (en) | Cross-platform application interface modeling method and device | |
CN109376554B (en) | Multi-terminal electronic document examination and signature method and system based on labels and views |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20090520 |