CN102866895B - Method for quickly positioning function customizing entrance - Google Patents

Method for quickly positioning function customizing entrance Download PDF

Info

Publication number
CN102866895B
CN102866895B CN201210370494.3A CN201210370494A CN102866895B CN 102866895 B CN102866895 B CN 102866895B CN 201210370494 A CN201210370494 A CN 201210370494A CN 102866895 B CN102866895 B CN 102866895B
Authority
CN
China
Prior art keywords
function
item
user
customization
icon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210370494.3A
Other languages
Chinese (zh)
Other versions
CN102866895A (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.)
Guangdong Electronic Industry Institute Co Ltd
Original Assignee
Guangdong Electronic Industry Institute 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 Guangdong Electronic Industry Institute Co Ltd filed Critical Guangdong Electronic Industry Institute Co Ltd
Priority to CN201210370494.3A priority Critical patent/CN102866895B/en
Publication of CN102866895A publication Critical patent/CN102866895A/en
Application granted granted Critical
Publication of CN102866895B publication Critical patent/CN102866895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to the technical field of cloud computation, and in particular relates to a method for quickly positioning a function customizing entrance. According to the invention, the method comprises the following steps: first, performing centralized management through function names, and associating authority control through the function names, predefining functional items which can be used for customization, and enabling a terminal user to select from items of which the user has authority and customizing a quick entrance functional item, so as to achieve the purpose of quickly realizing a function; defining a functional module through page code scattering and associating to a quick entrance function collection, and displaying icons on a page according to function names; and when the user clicks and triggers, searching the quick entrance function collection to find and call the associated functional module, and finally achieving the purpose of quick positioning. The invention solves the problem that the user does not know how to find the function because of too many system functions, and meets the requirement that users with different business demands customize different shortcut functional items. The method is applicable to quickly positioning function customizing entrances.

Description

A kind of method of fast positioning function customization entrance
Technical field
The present invention relates to field of cloud computer technology, particularly a kind of method of fast positioning function customization entrance.
Background technology
The order of cloud computing system bookkeeping is more, also causes front end management platform to need comparatively multifunction module; And functional structure level is comparatively dark sometimes, causes user must take a long time to find functional module entrance and Trigger Function.In order to reduce the time as far as possible, reach the object of quick position; Need a kind of method not affecting the special customization entrance of primary code structure.
Summary of the invention
The technical matters that the present invention solves is to provide a kind of fast positioning function to customize the method for entrance, solve because systemic-function causes user not know how to find the problem of function too much, and the shortcut function item that the customization meeting different business demand is different.
The technical scheme that the present invention solves the problems of the technologies described above is: comprise the steps,
The first step, predefine customizable functionality item, comprising function title, functional description, icon title, function privilege item title;
Second step, obtains the function items that user has customized, and adopts corresponding mode to generate page code and be presented on the page to select for user according to customization mode and function items attribute;
3rd step, user preserves its customization selected after selecting the function items that need customize;
4th step, is presented on the page according to function items property value after customization success, arranges displaying in order;
5th step, is associated with the position of specific implementation function by customization function item, to trigger representing of concrete function;
6th step, user's click function item button Trigger Function also calls;
During predefine customizable functionality item, setting is identical with function title when icon is called sky with associated permissions name, then, asks rear end to obtain whole customizable function items and filter the item of lack of competence by AJAX; Main flow is: Front End is by AJAX mode request msg to the back-end, rear end program reads whole customization data from database, then one by one comparison check active user whether have permission operation this, remove the item of lack of competence, and remaining item is packaged into JSON packet returns to Front End process;
Obtaining the main flow of function items that user customized is: Front End returns by previous step same way request rear end program the function items JSON data that user customized, and resolve, contrast the data that obtain of previous step one by one, the function items met is labeled as and customizes state; Then generate front end page code by a kind of mode in following two kinds of modes item by item, and the merging of the code of every generation is represented front end page for user's selection; A kind of mode is increase mode, and namely skip flag is the item having customized state, the multiselect frame identification code that each generation can be chosen by other; Another kind of mode is whole installation mode, all generates by each the multiselect frame identification code that can choose, and will be labeled as the item default setting that customizes state for selection mode, and can supply that user is counter be selected.
The main flow of the 3rd step is: user clicks save button after front end page chooses the function items of needs, and Front End trigger data is submitted request to and data are sent to rear end routine processes; Rear end routine data to be saved in customization data and to return saving result state and reason; If preserve unsuccessfully, directly point out user to preserve failure and failure cause, if preserves successfully, point out successful information and will to generate in previous step and the page code represented removes and refreshes customization list.
4th step main flow is: front end sends request, rear end returns active user's customization function item packet, resolve and process the rear page code generating front end and show item by item, wherein processing logic is: judge whether to arrange icon attribute, if do not arranged, title is used as icon title, and judges whether icon exists; If do not exist, use default icon to replace, describe attribute if had, the event that increases points out descriptor when user checks, event of finally adding triggers when user clicks this icon.
5th step main flow is: Front End pre-defines a power function set, by repertoire item handling function predefine to herein, concrete operations associate with the item in predefine set by the operation increasing by one section of association in the place that power function realizes, and are directly targeted to functional realiey module when user triggers by this incidence relation.
Method of the present invention is adopted to have following beneficial effect:
1, support by user management control authority: support the function items of lack of competence to filter during customization, the function only providing authority selects customization to user; Scope check is supported before trigger function module after customization completes;
2, fast locate: conveniently can to navigate to after customization in the functional module of association and to automatically perform;
3, various ways flexible customization: support newly-increased one or more function items customization and configure all customization function items two kinds of modes to customize;
4, the completely isolated function that do not affect normally uses: the method only needs function items to be associated with functional module, and the normal operation not affecting its function uses;
5, independent operating does not affect by concrete function: the method independent operating, not by the impact of its specific implementation function, only need associate the position of customization to its functional realiey, if a not associated yet prompt facility is not supported temporarily, not affect normal use.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is customizing functions process flow diagram of the present invention;
Fig. 2 is that function of the present invention represents design sketch.
Embodiment
As shown in Figure 1, the flow process of fast positioning function customization entry method of the present invention is;
The first step, predefine customizable functionality item, comprising function title, functional description, icon title, function privilege item title etc., is defined as follows:
INSERT INTO cus_items VALUES (' 1 ', ' createVM ', ' establishment virtual machine ', null, null);
INSERT INTO cus) items VALUES (' 2 ', ' addUser ', ' Add User ', null, null);
During definition, setting is identical with function title when icon is called sky with associated permissions name, and when in namely as above recording, the icon of " establishment virtual machine " item is empty, automatic the target icon is createVM.
Then, ask rear end to obtain whole customizable function items by AJAX and filter the item of lack of competence.Main process is: Front End is by AJAX mode request msg to the back-end, rear end program reads whole customization data from database, then one by one comparison check active user whether have permission operation this, remove the item of lack of competence, and remaining item is packaged into JSON packet returns to Front End process.
Second step, the function items that acquisition user has customized, and generate page code in different ways and according to function items attribute according to customization mode difference and be presented on the page for user's selection.Main process is: Front End returns by previous step same way request rear end program function items JSON data that user customized and resolves the data contrasting previous step one by one and obtain, the function items met is labeled as and customizes state, then item by item by following two kinds of modes wherein a kind of mode generate front end page code, and by the code of every generation merge represent front end page for user select.Two kinds of modes are below:
1, increase mode, namely skip flag is the item having customized state, the multiselect frame identification code that each generation can be chosen by other.
2, whole installation mode, all generates by each the multiselect frame identification code that can choose, and will be labeled as the item default setting that customizes state for selection mode, and can select for user is counter.
3rd step, user preserves its customization selected after selecting the function items that need customize.Main process is: user clicks save button after front end page chooses the function items of needs, Front End trigger data is submitted request to and data is sent to rear end routine processes, rear end routine data to be saved in customization data and to return saving result (success or failure) state and reason, if preserve unsuccessfully, directly point out user to preserve failure and failure cause, preserves successfully then prompting successful information will to generate in previous step and the page code represented removes and refreshes customization list else if.
4th step, is presented on the page according to function items property value after customization success, arranges displaying in order.Main process is: front end sends request rear end and returns active user and customized at function items packet, resolve and process item by item and generate the page code of showing front end, wherein processing logic is as follows: judge whether to arrange icon attribute, if do not arranged, title is used as icon title, and judge whether icon exists, if do not exist, default icon is used to replace, describe attribute if had, the event that increases points out descriptor when user checks, event of finally adding triggers when user clicks this icon.
5th step, is associated with the position of specific implementation function by customization function item, to trigger representing of concrete function.Main process is: Front End pre-defines a power function set, by repertoire item handling function predefine to herein, concrete operations associate with the item in predefine set by the operation increasing by one section of association in the place that power function realizes, and are directly targeted to functional realiey module when user triggers by this incidence relation.As:
GC.View.QuickLinks.CreateVM=GC.instance.createVm;
GC.View.QuickLinks.ChangePasswd=GC.User.ChangePassword;
Finally, user's click function item button Trigger Function calling.
Fig. 2 is the effect schematic diagram after fast positioning function of the present invention customization entrance; Adopt method of the present invention can practical function customization entrance quick position.

Claims (5)

1. a method for fast positioning function customization entrance, is characterized in that: comprise the steps,
The first step, predefine customizable functionality item, comprising function title, functional description, icon title, function privilege item title;
Second step, obtains the function items that user has customized, and adopts corresponding mode to generate page code and be presented on the page to select for user according to customization mode and function items attribute;
3rd step, user preserves its customization selected after selecting the function items that need customize;
4th step, is presented on the page according to function items property value after customization success, arranges displaying in order;
5th step, is associated with the position of specific implementation function by customization function item, to trigger representing of concrete function;
6th step, user's click function item button Trigger Function also calls;
During predefine customizable functionality item, setting is identical with function title when icon is called sky with associated permissions name, then, asks rear end to obtain whole customizable function items and filter the item of lack of competence by AJAX; Main flow is: Front End is by AJAX mode request msg to the back-end, rear end program reads whole customization data from database, then one by one comparison check active user whether have permission operation this, remove the item of lack of competence, and remaining item is packaged into JSON packet returns to Front End process;
Obtaining the main flow of function items that user customized is: Front End returns by previous step same way request rear end program the function items JSON data that user customized, and resolve, contrast the data that obtain of previous step one by one, the function items met is labeled as and customizes state; Then generate front end page code by a kind of mode in following two kinds of modes item by item, and the merging of the code of every generation is represented front end page for user's selection; A kind of mode is increase mode, and namely skip flag is the item having customized state, the multiselect frame identification code that each generation can be chosen by other; Another kind of mode is whole installation mode, all generates by each the multiselect frame identification code that can choose, and will be labeled as the item default setting that customizes state for selection mode, and can supply that user is counter be selected.
2. the method for positioning function customization entrance according to claim 1, it is characterized in that: the main flow of the 3rd step is: user clicks save button after front end page chooses the function items of needs, Front End trigger data is submitted request to and data is sent to rear end routine processes; Rear end routine data to be saved in customization data and to return saving result state and reason; If preserve unsuccessfully, directly point out user to preserve failure and failure cause, if preserves successfully, point out successful information and will to generate in previous step and the page code represented removes and refreshes customization list.
3. the method for positioning function customization entrance according to claim 1, it is characterized in that: the 4th step main flow is: front end sends request, rear end returns active user's customization function item packet, resolve and process the rear page code generating front end and show item by item, wherein processing logic is: judge whether to arrange icon attribute, if do not arranged, title is used as icon title, and judges whether icon exists; If do not exist, use default icon to replace, describe attribute if had, the event that increases points out descriptor when user checks, event of finally adding triggers when user clicks this icon.
4. the method for positioning function customization entrance according to claim 2, it is characterized in that: the 4th step main flow is: front end sends request, rear end returns active user's customization function item packet, resolve and process the rear page code generating front end and show item by item, wherein processing logic is: judge whether to arrange icon attribute, if do not arranged, title is used as icon title, and judges whether icon exists; If do not exist, use default icon to replace, describe attribute if had, the event that increases points out descriptor when user checks, event of finally adding triggers when user clicks this icon.
5. the method for the positioning function customization entrance according to any one of Claims 1-4, it is characterized in that: the 5th step main flow is: Front End pre-defines a power function set, by repertoire item handling function predefine to herein, concrete operations associate with the item in predefine set by the operation increasing by one section of association in the place that power function realizes, and are directly targeted to functional realiey module when user triggers by this incidence relation.
CN201210370494.3A 2012-09-27 2012-09-27 Method for quickly positioning function customizing entrance Active CN102866895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210370494.3A CN102866895B (en) 2012-09-27 2012-09-27 Method for quickly positioning function customizing entrance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210370494.3A CN102866895B (en) 2012-09-27 2012-09-27 Method for quickly positioning function customizing entrance

Publications (2)

Publication Number Publication Date
CN102866895A CN102866895A (en) 2013-01-09
CN102866895B true CN102866895B (en) 2015-06-17

Family

ID=47445777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210370494.3A Active CN102866895B (en) 2012-09-27 2012-09-27 Method for quickly positioning function customizing entrance

Country Status (1)

Country Link
CN (1) CN102866895B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335132B (en) * 2014-06-13 2020-03-24 阿里巴巴集团控股有限公司 Method, device and system for customizing application program function
CN109711921A (en) * 2018-11-08 2019-05-03 深圳市顺丰物业管理有限公司 Customization of two-dimension code management method, device, system and storage medium
CN113554409A (en) * 2021-06-15 2021-10-26 杭州控客信息技术有限公司 BOM system-based production testing tool materialization method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6133915A (en) * 1998-06-17 2000-10-17 Microsoft Corporation System and method for customizing controls on a toolbar
CN101179673A (en) * 2006-11-06 2008-05-14 深圳Tcl新技术有限公司 Method of customizing common function interface of television
CN101261583A (en) * 2008-04-18 2008-09-10 深圳国人通信有限公司 System function rapid calling method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7159181B2 (en) * 2003-10-01 2007-01-02 Sunrise Medical Hhg Inc. Control system with customizable menu structure for personal mobility vehicle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6133915A (en) * 1998-06-17 2000-10-17 Microsoft Corporation System and method for customizing controls on a toolbar
CN101179673A (en) * 2006-11-06 2008-05-14 深圳Tcl新技术有限公司 Method of customizing common function interface of television
CN101261583A (en) * 2008-04-18 2008-09-10 深圳国人通信有限公司 System function rapid calling method

Also Published As

Publication number Publication date
CN102866895A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
CN110417988B (en) Interface display method, device and equipment
US9417793B2 (en) Global keyboard shortcuts management for web applications
CN107066188B (en) A kind of method and terminal sending screenshot picture
WO2017124023A1 (en) Managing delivery of code and dependent data using application containers
EP3504619B1 (en) Apparatus and method for managing notification
CN106951140A (en) The icon replacing options and electronic equipment of application program
CN106325675B (en) Icon placing method and terminal equipment
CN104639721A (en) Method and device for providing application information in mobile terminal device
CN109062467A (en) Split screen application switching method, device, storage medium and electronic equipment
CN103354990B (en) The system and method for the virtual machine in process cloud platform
CN102866895B (en) Method for quickly positioning function customizing entrance
CN102163156A (en) Mobile terminal icon replacing method and mobile terminal
CN105074652B (en) For remotely providing the method and computer system of application function to printer
CN107908679B (en) Script statement conversion method and device and computer readable storage medium
CN113268182B (en) Application icon management method and electronic device
CN107015722A (en) page display method and device
CN109343831A (en) A kind of management method and device of HTML component
CN100466827C (en) New message of short message presenting method
CN106484104A (en) A kind of operation method of application program and terminal
CN102819421A (en) Method and system for managing App
CN108521460A (en) Information-pushing method, device, mobile terminal and computer readable storage medium
CN107291698B (en) Information correction method, information correction device, storage medium and electronic equipment
CN105912217A (en) Multi-file operation method and device based on fingerprint information, and terminal equipment
CN106293460A (en) A kind of method and terminal preventing from touching maloperation
CN106412268A (en) Method and device for displaying calculator application of mobile phone

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