CN102566994A - System and method for user-defined operation and display - Google Patents
System and method for user-defined operation and display Download PDFInfo
- Publication number
- CN102566994A CN102566994A CN2010105958502A CN201010595850A CN102566994A CN 102566994 A CN102566994 A CN 102566994A CN 2010105958502 A CN2010105958502 A CN 2010105958502A CN 201010595850 A CN201010595850 A CN 201010595850A CN 102566994 A CN102566994 A CN 102566994A
- Authority
- CN
- China
- Prior art keywords
- menu
- button
- display unit
- user
- setting
- 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
- Stored Programmes (AREA)
Abstract
An embodiment of the invention provides a system and a method for user-defined operation and display, which relate to the technical field of computer application. User-defined buttons and/or menus can be realized with on need of modifying program source codes. The system for user-defined operation and display comprises a definition storage unit, an operation processing unit and a display unit. The definition storage unit is used for receiving attribute settings of the buttons and/or menus by users and storing the attribute settings. The operation processing unit is used for receiving executive requests of the users, acquiring the attribute settings of the buttons and/or menus from the definition storage unit to perform corresponding operations to obtain data files displayable in the display unit, and transmitting the data files to the display unit. The display unit is used for displaying the data files on a client. The system and the method for user-defined operation and display are used for program production and maintenance.
Description
Technical field
The present invention relates to the Computer Applied Technology field, relate in particular to a kind of program relevant button and/or the self-defining operation of menu and the system and method for demonstration when making.
Background technology
Along with the development of IT application process, infotech has obtained using widely at industry-by-industry.In Construction of Information System, need effectively manage various information, under the situation of using a certain management software, the user can realize relevant operation through button or the menu clicked on the page.For example click buttons such as " newly-built ", " deletion ", " searching ", " modification " carry out the related service content newly-built, delete, search, operation such as modification.
In the software use, different with backstage computational logic processing module, button on the user oriented page or menu often need be directed against different user, Different software environments for use, change the design of its authority, ordering, grouping etc.This just needs the programmer manually to change the source code of program at program manufacturing or maintenance phase, with attributes such as the authority of change button or menu, ordering, groupings.
But thisly realize revising the method for button and/or menu properties through revising source code, very complicated comparatively on the one hand is to having relatively high expectations of programmer; On the other hand, revise the upgrading that source code is unfavorable for software product release.
Summary of the invention
Embodiments of the invention provide the system and method for a kind of self-defining operation and demonstration, need not the update routine source code and can realize the self-defined of button and/or menu.
For achieving the above object, embodiments of the invention adopt following technical scheme:
The system of a kind of self-defining operation and demonstration comprises:
Define storage units is used to accept the attribute setting of user to button and/or menu, and stores said attribute setting;
The operational processes unit; Be used to receive user's execution request, from said define storage units, obtain the attribute setting of said button and/or menu, carry out corresponding operational processes; Obtain can be in display unit the data presented file, and said data file sent to display unit;
Display unit is used on client, showing said data file.
The method of a kind of self-defining operation and demonstration comprises:
Receive user's execution request;
From define storage units, obtain the button that is provided with in advance and stores and/or the attribute setting of menu;
Carry out corresponding operational processes according to said attribute setting, obtain can be in display unit the data presented file;
Said and data file are sent to said display unit, so that said display unit shows on client.
The self-defining operation that the embodiment of the invention provides and the system and method for demonstration; The attribute of setting and save button and/or menu in define storage units; Initiate to carry out to the operational processes unit then; After the operational processes unit gets access to button and/or menu from define storage units attribute is provided with, carries out corresponding operating and handle, at last process result is shown on client through display unit.Like this; The source code of having avoided in the prior art manually changing button and/or menu through the programmer is realized attribute changes or newly-increased mode; But through independently self-defining operation and display system realize attribute changes or newly-increased; The programmer's who reduces on the one hand work difficulty has guaranteed the stability of program source code to help the upgrading of software product release on the other hand.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The structural representation block diagram of the self-defining operation that Fig. 1 provides for the embodiment of the invention and the system of demonstration;
The structural representation block diagram of the self-defining operation that Fig. 2 provides for another embodiment of the present invention and the system of demonstration;
The FB(flow block) of the self-defining operation that Fig. 3 provides for the embodiment of the invention and the method for demonstration;
The FB(flow block) of the self-defining operation that Fig. 4 provides for another embodiment of the present invention and the method for demonstration.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment one
The self-defining operation that the embodiment of the invention provides and the system of demonstration, as shown in Figure 1, comprising:
Define storage units 101 is used to accept the attribute setting of user to button and/or menu, and stores this attribute setting.
At this, the attribute setting of button and/or menu can be provided with or divide into groups and be provided with or the like for authority setting, the ordering of button and/or menu.
At this, display unit 103 can the data presented file can be forms such as XML (extend markup language) file, HTML (HTML) file or TXT file.
The self-defining operation that the embodiment of the invention provides and the system of demonstration; The attribute of setting and save button and/or menu in the define storage units; The operational processes unit receives the request of execution then; After the operational processes unit gets access to button and/or menu from define storage units attribute is provided with, carries out corresponding operating and handle, last display unit shows process result on client.Like this; The source code of having avoided in the prior art manually changing button and/or menu through the programmer is realized attribute changes or newly-increased mode; But through independently self-defining operation and display system realize attribute changes or newly-increased; The programmer's who reduces on the one hand work difficulty has guaranteed the stability of program source code to help the upgrading of software product release on the other hand.
Embodiment two
The self-defining operation that another embodiment of the present invention provides and the system of demonstration, as shown in Figure 2, comprising:
Custom Actions Management subelement 201 is used to accept the attribute setting of user to button and/or menu.
Further, this Custom Actions Management subelement 201 comprises:
Limiting operation administration module 2011 is used to accept the authority setting of user to button and/or menu.
Sorting operation administration module 2012 is used to accept the ordering setting of user to button and/or menu.
Division operation administration module 2013 is used to accept the grouping setting of user to button and/or menu.
System's storing sub-units 202 is used for storing the button of Custom Actions Management subelement 201 settings and/or the attribute of menu.
Custom Actions Management subelement 201 in the present embodiment has constituted the define storage units 101 among the embodiment one with system's storing sub-units 202.
Operational processes engine subelement 203 is used to receive user's execution request, from system's storing sub-units 202, obtains the attribute setting of button and/or menu, carries out corresponding operational processes, obtains result.
At this, when the user was provided with button and/or menu authority, ordering, packet attributes in Custom Actions Management subelement 201, operational processes engine subelement 203 can carry out authority, ordering, packet transaction respectively, obtains result.
At this, display unit 103 can the data presented file can be forms such as XML (extend markup language) file, HTML (HTML) file or TXT file.
Operational processes engine subelement 203 in the present embodiment has constituted the operational processes unit 102 among the embodiment one with operation output subelement 204.
The self-defining operation that the embodiment of the invention provides and the system of demonstration; The Custom Actions Management subelement is accepted the attribute setting of button and/or menu; And be saved in system's storing sub-units; Operational processes engine subelement receive to be carried out request then, after operational processes engine subelement gets access to button and/or menu from system's storing sub-units attribute is provided with, carries out corresponding operating and handles; And convert the result to display unit displayable data file by operation output subelement, show on client through display unit at last.Like this; The source code of having avoided in the prior art manually changing button and/or menu through the programmer is realized attribute changes or newly-increased mode; But through independently self-defining operation and display system realize attribute changes or newly-increased; The programmer's who reduces on the one hand work difficulty has guaranteed the stability of program source code to help the upgrading of software product release on the other hand.
Embodiment three
The self-defining operation that the embodiment of the invention provides and the method for demonstration are example with the system that adopts embodiment one to provide, and as shown in Figure 3, this method step comprises:
S301, reception user's execution request.
S302, from define storage units, obtain the button that is provided with in advance and stores and/or the attribute setting of menu.This attribute setting can comprise: attribute settings such as authority, ordering, grouping.
S303, carry out corresponding operational processes according to this attribute setting, obtain can be in display unit the data presented file.Equally, this step needs the attribute setting of authority, ordering, grouping of corresponding button and/or menu etc., carries out processing such as authority, ordering, grouping, obtains the file of the forms such as XML form, html format or TXT that display unit can show.
S304, data file is sent to display unit, on client so that display unit shows.
The self-defining operation that the embodiment of the invention provides and the method for demonstration; The attribute of setting and save button and/or menu in define storage units; Initiate to carry out to the operational processes unit then; After the operational processes unit gets access to button and/or menu from define storage units attribute is provided with, carries out corresponding operating and handle, at last process result is shown on client through display unit.Like this; The source code of having avoided in the prior art manually changing button and/or menu through the programmer is realized attribute changes or newly-increased mode; But through independently self-defining operation and display system realize attribute changes or newly-increased; The programmer's who reduces on the one hand work difficulty has guaranteed the stability of program source code to help the upgrading of software product release on the other hand.
Embodiment four
The self-defining operation that another embodiment of the present invention provides and the method for demonstration are example with the system that adopts embodiment two to provide, and as shown in Figure 4, this method step comprises:
S401, the attribute of button and/or menu is set in the Custom Actions Management subelement, and is saved in system's storing sub-units.
Concrete, title that can be through designated button and/or menu, width, highly wait to select button and/or menu.
The Authorization Attributes of button and/or menu is set: in the limiting operation administration module, at first confirm external system role or user's identity, select operable authority then, store into after setting in system's storing sub-units in the limiting operation administration module.
The ordering attribute of button and/or menu is set: in the sorting operation administration module in the sorting operation administration module; The sequencing that can default action adds is the sequencing display order; Also can pull the self-defined ordering of associated button or menu, store into after setting in system's storing sub-units.
The packet attributes of button and/or menu is set: in the division operation administration module in the division operation administration module; Definitions section title at first; Then associated button or menu are dragged in corresponding group as the member of group, store into after setting in system's storing sub-units.
S402, send to carry out request to operational processes engine subelement, operational processes engine subelement obtains the attribute setting of storage from system's storing sub-units, carry out corresponding operational processes and obtain result.
Concrete, operational processes engine subelement obtains whole attribute setting of associated button and/or menu from system's storing sub-units, can be earlier according to the rule of ordering attribute definition to the processing of sorting of the corresponding button and/or menu; According to the rule of packet attributes definition the corresponding button and/or menu are carried out packet transaction again; Check the authority of the corresponding button and/or menu at last, hide back forbidding the corresponding button and/or menu, obtain result after the processing, this result is sent to operation output subelement.
Need to prove that operational processes engine subelement sorts in the present embodiment, the order of grouping, scope check just illustrates, present embodiment is not limited to this, and other processing sequence also can.
S403, operation output subelement carry out assembly unit with the result that operational processes engine subelement obtains, and generate the file of XML form, and this XML file is sent to display unit.
S404, display unit are accomplished in client and are shown.
Concrete, dynamically generate display page through client DOM (DOM Document Object Model) technology, during demonstration the XML file that obtains is resolved, be reduced into the JS operand, generate various display modes according to object then.Under default situations, the display unit acquiescence is supported the demonstration of drop-down menu authority, drop-down menu sequencing display, drop-down menu grouping demonstration, the demonstration of button authority, button sequencing display, button grouping demonstration etc.Can certainly define other display mode according to actual conditions, and there is not any other influence in system.
Need to prove that the output of operation output subelement is the file of XML form in the present embodiment, this is one, and present embodiment is not limited only to this for example, extended formatting can like HTML, TXT etc.
The self-defining operation that the embodiment of the invention provides and the method for demonstration; The attribute of button and/or menu is set in the Custom Actions Management subelement; And be saved in system's storing sub-units; Initiate to carry out to operational processes engine subelement then, after operational processes engine subelement gets access to button and/or menu from system's storing sub-units attribute is provided with, carries out corresponding operating and handle; And convert the result to display unit displayable data file by operation output subelement, show on client through display unit at last.Like this; The source code of having avoided in the prior art manually changing button and/or menu through the programmer is realized attribute changes or newly-increased mode; But through independently self-defining operation and display system realize attribute changes or newly-increased; The programmer's who reduces on the one hand work difficulty has guaranteed the stability of program source code to help the upgrading of software product release on the other hand.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of programmed instruction; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of said claim.
Claims (8)
1. the system of self-defining operation and demonstration is characterized in that, comprising:
Define storage units is used to accept the attribute setting of user to button and/or menu, and stores said attribute setting;
The operational processes unit; Be used to receive user's execution request, from said define storage units, obtain the attribute setting of said button and/or menu, carry out corresponding operational processes; Obtain can be in display unit the data presented file, and said data file sent to display unit;
Display unit is used on client, showing said data file.
2. system according to claim 1 is characterized in that, said define storage units comprises:
The Custom Actions Management subelement is used to accept the attribute setting of user to button and/or menu;
System's storing sub-units is used for storing the said button that said Custom Actions Management subelement is provided with and/or the attribute of menu.
3. system according to claim 2 is characterized in that, said Custom Actions Management subelement comprises:
The limiting operation administration module is used to accept the authority setting of user to button and/or menu;
The sorting operation administration module is used to accept the ordering setting of user to button and/or menu;
The division operation administration module is used to accept the grouping setting of user to button and/or menu.
4. according to claim 2 or 3 described systems, it is characterized in that said operational processes unit comprises:
Operational processes engine subelement is used to receive user's execution request, from said system storing sub-units, obtains the attribute setting of said button and/or menu, carries out corresponding operational processes, obtains result;
Operation output subelement is used for converting said result to said display unit displayable data file, and said data file is sent to said display unit.
5. the method for self-defining operation and demonstration is characterized in that, comprising:
Receive user's execution request;
From define storage units, obtain the button that is provided with in advance and stores and/or the attribute setting of menu;
Carry out corresponding operational processes according to said attribute setting, obtain can be in display unit the data presented file;
Said data file is sent to said display unit, so that said display unit shows on client.
6. method according to claim 5 is characterized in that, carries out corresponding operational processes according to said attribute setting, obtains in display unit, comprising by the data presented file:
Carry out corresponding operational processes according to said attribute setting, obtain result;
Convert said result to display unit displayable data file.
7. according to claim 5 or 6 described methods, it is characterized in that the attribute setting of said button and/or menu comprises:
During the grouping of ordering setting, button and/or the menu of authority setting, button and/or the menu of button and/or menu is provided with one or more.
8. according to claim 5 or 6 described methods, it is characterized in that said data file comprises:
XML formatted file, html format file, TXT formatted file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105958502A CN102566994A (en) | 2010-12-10 | 2010-12-10 | System and method for user-defined operation and display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105958502A CN102566994A (en) | 2010-12-10 | 2010-12-10 | System and method for user-defined operation and display |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102566994A true CN102566994A (en) | 2012-07-11 |
Family
ID=46412509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105958502A Pending CN102566994A (en) | 2010-12-10 | 2010-12-10 | System and method for user-defined operation and display |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102566994A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352569A (en) * | 2020-03-17 | 2020-06-30 | 珠海趣印科技有限公司 | Control method and system of keyboard interface |
CN112507385A (en) * | 2020-12-25 | 2021-03-16 | 北京字跳网络技术有限公司 | Information display method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968371A (en) * | 2005-11-17 | 2007-05-23 | 深圳Tcl新技术有限公司 | Menu editing method for home A/V equipment |
CN101166324A (en) * | 2006-10-19 | 2008-04-23 | 乐金电子(中国)研究开发中心有限公司 | Dynamic setting method for mobile phone menu system |
CN101378393A (en) * | 2007-08-31 | 2009-03-04 | 深圳富泰宏精密工业有限公司 | System and method for customizing human-machine interface function group set |
CN101409787A (en) * | 2007-10-11 | 2009-04-15 | 佛山普立华科技有限公司 | System and method for self-defining screen display interface |
CN101635806A (en) * | 2009-08-25 | 2010-01-27 | 天津三星电子显示器有限公司 | Method and television for realizing functions of custom tool menu |
-
2010
- 2010-12-10 CN CN2010105958502A patent/CN102566994A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968371A (en) * | 2005-11-17 | 2007-05-23 | 深圳Tcl新技术有限公司 | Menu editing method for home A/V equipment |
CN101166324A (en) * | 2006-10-19 | 2008-04-23 | 乐金电子(中国)研究开发中心有限公司 | Dynamic setting method for mobile phone menu system |
CN101378393A (en) * | 2007-08-31 | 2009-03-04 | 深圳富泰宏精密工业有限公司 | System and method for customizing human-machine interface function group set |
CN101409787A (en) * | 2007-10-11 | 2009-04-15 | 佛山普立华科技有限公司 | System and method for self-defining screen display interface |
CN101635806A (en) * | 2009-08-25 | 2010-01-27 | 天津三星电子显示器有限公司 | Method and television for realizing functions of custom tool menu |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352569A (en) * | 2020-03-17 | 2020-06-30 | 珠海趣印科技有限公司 | Control method and system of keyboard interface |
CN112507385A (en) * | 2020-12-25 | 2021-03-16 | 北京字跳网络技术有限公司 | Information display method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017083217A1 (en) | Optimizing content for consistent presentation through collaboration database service | |
US7673245B2 (en) | Converting user interface panels | |
US20150317572A1 (en) | On-Demand Enrichment of Business Data | |
US8170983B2 (en) | Managing data across a semantic data view and a presentation data view | |
JP6002302B2 (en) | Web application generation system, Web application generation system control method, Web application generation system program, Web application generation device, Web application generation device control method, and Web application generation device program | |
US20040194115A1 (en) | Configurable event handling for user interface components | |
CN103984554A (en) | Software design document generating method and device | |
CN102566994A (en) | System and method for user-defined operation and display | |
US20110258578A1 (en) | Interfacing Between Applications Utilizing a Desktop Module | |
US20110258169A1 (en) | Customization of Information Using a Desktop Module | |
US20150220882A1 (en) | Asset creation and utilization using an asset creation tool | |
CN114072787A (en) | System and method for fast data entry to facilitate document review | |
CN115469849A (en) | Service processing system, method, electronic device and storage medium | |
EP3425510B1 (en) | Automated testing method for application program user interface, electronic device, system, and storage medium | |
US8924420B2 (en) | Creating logic using pre-built controls | |
US11301538B1 (en) | Data management in multi-application web pages | |
US11663199B1 (en) | Application development based on stored data | |
CN112988139B (en) | Method and device for developing event processing file | |
CN113138760A (en) | Page generation method and device, electronic equipment and medium | |
US10268730B2 (en) | Focus-driven user interface | |
US8566724B2 (en) | Online customization of information using a site management module | |
CN112948472A (en) | Data processing method, device, equipment and computer readable medium | |
US20190243515A1 (en) | Invoke a Service in an Electronic Document Using a Trigger Entry | |
CN101366030A (en) | Structured data storage | |
CN110609725A (en) | Front-end user behavior prediction method and system |
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 |
Application publication date: 20120711 |