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

Method for quickly positioning function customizing entrance Download PDF

Info

Publication number
CN102866895A
CN102866895A CN2012103704943A CN201210370494A CN102866895A CN 102866895 A CN102866895 A CN 102866895A CN 2012103704943 A CN2012103704943 A CN 2012103704943A CN 201210370494 A CN201210370494 A CN 201210370494A CN 102866895 A CN102866895 A CN 102866895A
Authority
CN
China
Prior art keywords
function
item
user
customization
mode
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
CN2012103704943A
Other languages
Chinese (zh)
Other versions
CN102866895B (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

Images

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 the cloud computing technology field, particularly a kind of method of fast positioning function customization entrance.
Background technology
The order of cloud computing system bookkeeping is more, also causes the front end management platform need to be than multifunction module; And the functional structure level is darker sometimes, causes the user must take a long time to find functional module entrance and Trigger Function.In order to try one's best the minimizing time, reach the purpose of quick location; Need a kind of method that does not affect the special customization entrance of former code structure.
Summary of the invention
The technical matters that the present invention solves is to provide a kind of method of fast positioning function customization entrance, solved owing to systemic-function causes the user too much and do not known how to find the problem of function, and satisfied the different shortcut function item of customization of different business demand.
The technical scheme that the present invention solves the problems of the technologies described above is: comprises the steps,
The first step, predefine customizable functionality item is comprising function title, functional description, icon title, function privilege item title etc.;
Second step obtains the function items that the user has customized, and adopts corresponding mode to generate page code and is presented on the page for user selection according to customization mode and function items attribute;
The 3rd step, the customization of its selection of preservation behind the function items that user selection need customize;
The 4th step was presented on the page according to the function items property value after the customization success, arranged in order and showed;
The 5th goes on foot, and the customization function item is associated with the position of specific implementation function, to trigger representing of concrete function
In the 6th step, user's click function item button Trigger Function also calls.
Set during definition customization function item identical with the function title when icon is called sky with the associated permissions name, then, by AJAX ask the rear end to obtain whole customizable function items and filter lack of competence; Main flow process is: Front End passes through to the back-end request msg of AJAX mode, the rear end program is got whole customization data from database read, then one by one the comparison check active user whether have limiting operation this, remove the item of lack of competence, and remaining item is packaged into the JSON packet returns to Front End and process.
The main flow process of obtaining the function items that the user customized is: Front End returns the function items JSON data that the user customized and resolves by previous step same way as request rear end program and contrasts one by one the data that previous step obtains, and the function items that will meet is labeled as the state that customizes; Then generate the front end page code by a kind of mode in the following dual mode item by item, and the code merging of every generation is represented the front end page for user selection; A kind of mode is the increase mode, and namely skip flag is for customizing the item of state, the multiselect frame identification code that each generation can be chosen with other; Another kind of mode is the whole installation mode, is about to each and all generates the multiselect frame identification code that can choose, is selection mode with being labeled as the item default setting that customizes state, and can supply that the user is counter to be selected.
The main flow process in the 3rd step is: the user clicks save button after choosing the function items that needs at the front end page, and the Front End trigger data is submitted request to and data are sent to the rear end routine processes; The rear end routine data is saved in the customization data and returns saving result state and reason; If preserved unsuccessfully directly prompting user preserves and unsuccessfully reaches failure cause, if preserves successfully then points out successful information and generation in the previous step and the page code that represents removed and refresh customization and tabulate.
The 4th step, main flow process was: front end sends request, customization function item packet of active user is returned in the rear end, generate the page code that front end is showed after resolving and processing item by item, wherein processing logic is: judge whether to arrange icon attribute, if do not arrange then title is used as the icon title, and judge whether icon exists; Then do not use default icon to replace if do not exist, if the attribute of description is arranged then the event that increases is pointed out descriptor when the user checks, the event of adding at last triggers when the user clicks this icon.
The 5th step, main flow process was: the pre-defined power function set of Front End, repertoire item handling function predefine is arrived herein, the operation that increases by one section association in the place that power function is realized is related with the item in the predefine set with concrete operations, and is directly targeted to function realization module by this incidence relation when the user triggers.
Adopt method of the present invention to have following beneficial effect:
1, support by the user management control authority: support during customization the function items of lack of competence is filtered, the function that only provides authority customizes to user selection; After finishing, customization supports scope check before the Trigger Function module;
2, quick location: can conveniently navigate in the related functional module after the customization and automatically perform;
3, various ways flexible customization: support newly-increased one or more function items customization and configure all customization function item dual mode customizations;
4, isolation does not affect function and normally uses fully: the method only needs function items to be associated with functional module, and the normal operation that does not affect its function is used;
5, independent operating is not affected by concrete function: the method independent operating, be not subjected to the impact of its specific implementation function, and only need related customization to the position that its function realizes, if the temporarily support of a not associated yet prompt facility does not affect normal use.
Description of drawings
The present invention is further described below in conjunction with accompanying drawing:
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 entrance 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:
CREATE TABLE `cus_items` (
`id` tinyint(8) unsigned not null auto_increment,
`name` char(20) not null,
`desc` char(50) not null,
`icon` char(50) default null,
`func` char(50) default null,
PRIMARY KEY (`id`)
);
INSERT INTO cus_items VALUES (' 1', ' createVM', ' the establishment virtual machine ', null, null);
INSERT INTO cus_items VALUES (' 2', ' addUser', ' Add User ', null, null);
Set identically with the function title when icon is called sky with the associated permissions name during definition, automatic the target icon was createVM when namely as above the icon of " establishment virtual machine " was sky in the record.
Then, obtain whole customizable function items and filter the item of lack of competence by AJAX request rear end.Main process is: Front End passes through to the back-end request msg of AJAX mode, the rear end program is got whole customization data from database read, then one by one the comparison check active user whether have limiting operation this, remove the item of lack of competence, and remaining item is packaged into the JSON packet returns to Front End and process.
Second step obtains the function items that the user has customized, and generates page code and be presented in confession user selection on the page in different ways and according to the function items attribute according to customization mode difference.Main process is: Front End returns the function items JSON data that the user customized and resolves by previous step same way as request rear end program and contrasts one by one the data that previous step obtains, the function items that will meet is labeled as the state that customizes, then item by item by in the following dual mode wherein a kind of mode generate the front end page code, and the code of every generation merged represent the front end page for user selection.Following dual mode is:
1, increase mode, namely skip flag is for customizing the item of state, the multiselect frame identification code that each generation can be chosen with other.
2, whole installation mode is about to each and all generates the multiselect frame identification code that can choose, is selection mode with being labeled as the item default setting that customizes state, and can supply that the user is counter to be selected.
The 3rd step, the customization of its selection of preservation behind the function items that user selection need customize.Main process is: the user clicks save button after choosing the function items that needs at the front end page, the Front End trigger data is submitted request to and data is sent to the rear end routine processes, the rear end routine data is saved in the customization data and returns saving result (success or failure) state and reason, if preserved unsuccessfully directly prompting user preserves and unsuccessfully reaches failure cause, preserves else and if successfully then points out successful information and generation in the previous step and the page code that represents removed and refresh customization and tabulate.
The 4th step was presented on the page according to the function items property value after the customization success, arranged in order and showed.Main process is: front end transmission request rear end is returned the active user and has been customized at the function items packet, resolve and process item by item and generate the page code that front end is showed, wherein processing logic is as follows: judge whether to arrange icon attribute, if do not arrange then title be used as the icon title, and judge whether icon exists, then do not use default icon to replace if do not exist, if have and describe attribute then the event that increases is pointed out descriptor when the user checks, the event of adding at last triggers when the user clicks this icon.
The 5th goes on foot, and the customization function item is associated with the position of specific implementation function, to trigger representing of concrete function.Main process is: the pre-defined power function set of Front End, repertoire item handling function predefine is arrived herein, the operation that increases by one section association in the place that power function is realized is related with the item in the predefine set with concrete operations, and is directly targeted to function realization module by this incidence relation when the user triggers.As:
GC.View.QuickLinks.CreateVM = GC.instance.createVm;
GC.View.QuickLinks.ChangePasswd = GC.User.ChangePassword;
At last, user's click function item button Trigger Function and calling.
Fig. 2 is the effect schematic diagram behind the fast positioning function customization entrance of the present invention; Adopt method of the present invention can practical function the quick location of customization entrance.

Claims (11)

1. the method for fast positioning function customization entrance is characterized in that: comprises the steps,
The first step, predefine customizable functionality item is comprising function title, functional description, icon title, function privilege item title etc.;
Second step obtains the function items that the user has customized, and adopts corresponding mode to generate page code and is presented on the page for user selection according to customization mode and function items attribute;
The 3rd step, the customization of its selection of preservation behind the function items that user selection need customize;
The 4th step was presented on the page according to the function items property value after the customization success, arranged in order and showed;
The 5th goes on foot, and the customization function item is associated with the position of specific implementation function, to trigger representing of concrete function
In the 6th step, user's click function item button Trigger Function also calls.
2. positioning function according to claim 1 customizes the method for entrance, it is characterized in that:
Set during definition customization function item identical with the function title when icon is called sky with the associated permissions name, then, by AJAX ask the rear end to obtain whole customizable function items and filter lack of competence; Main flow process is: Front End passes through to the back-end request msg of AJAX mode, the rear end program is got whole customization data from database read, then one by one the comparison check active user whether have limiting operation this, remove the item of lack of competence, and remaining item is packaged into the JSON packet returns to Front End and process.
3. positioning function according to claim 1 customizes the method for entrance, it is characterized in that: the main flow process of obtaining the function items that the user customized is: Front End returns the function items JSON data that the user customized and resolves by previous step same way as request rear end program and contrasts one by one the data that previous step obtains, and the function items that will meet is labeled as the state that customizes; Then generate the front end page code by a kind of mode in the following dual mode item by item, and the code merging of every generation is represented the front end page for user selection; A kind of mode is the increase mode, and namely skip flag is for customizing the item of state, the multiselect frame identification code that each generation can be chosen with other; Another kind of mode is the whole installation mode, is about to each and all generates the multiselect frame identification code that can choose, is selection mode with being labeled as the item default setting that customizes state, and can supply that the user is counter to be selected.
4. positioning function according to claim 2 customizes the method for entrance, it is characterized in that: the main flow process of obtaining the function items that the user customized is: Front End returns the function items JSON data that the user customized and resolves by previous step same way as request rear end program and contrasts one by one the data that previous step obtains, and the function items that will meet is labeled as the state that customizes; Then generate the front end page code by a kind of mode in the following dual mode item by item, and the code merging of every generation is represented the front end page for user selection; A kind of mode is the increase mode, and namely skip flag is for customizing the item of state, the multiselect frame identification code that each generation can be chosen with other; Another kind of mode is the whole installation mode, is about to each and all generates the multiselect frame identification code that can choose, is selection mode with being labeled as the item default setting that customizes state, and can supply that the user is counter to be selected.
5. customize according to claim 1 the method for entrances to 4 each described positioning functions, it is characterized in that: the main flow process in the 3rd step is: the user clicks save button choose the function items of needs at the front end page after, and the Front End trigger data is submitted to and asked and data are sent to the rear end routine processes; The rear end routine data is saved in the customization data and returns saving result state and reason; If preserved unsuccessfully directly prompting user preserves and unsuccessfully reaches failure cause, if preserves successfully then points out successful information and generation in the previous step and the page code that represents removed and refresh customization and tabulate.
6. customize according to claim 1 the method for entrances to 4 each described positioning functions, it is characterized in that: the 4th step, main flow process was: front end sends request, customization function item packet of active user is returned in the rear end, generate the page code that front end is showed after resolving and processing item by item, wherein processing logic is: judge whether to arrange icon attribute, if do not arrange then title is used as the icon title, and judge whether icon exists; Then do not use default icon to replace if do not exist, if the attribute of description is arranged then the event that increases is pointed out descriptor when the user checks, the event of adding at last triggers when the user clicks this icon.
7. positioning function according to claim 5 customizes the method for entrance, it is characterized in that: the 4th step, main flow process was: front end sends request, customization function item packet of active user is returned in the rear end, generate the page code that front end is showed after resolving and processing item by item, wherein processing logic is: judge whether to arrange icon attribute, if do not arrange then title is used as the icon title, and judge whether icon exists; Then do not use default icon to replace if do not exist, if the attribute of description is arranged then the event that increases is pointed out descriptor when the user checks, the event of adding at last triggers when the user clicks this icon.
8. customize according to claim 1 the method for entrances to 4 each described positioning functions, it is characterized in that: the 5th step, main flow process was: the pre-defined power function set of Front End, repertoire item handling function predefine is arrived herein, the operation that increases by one section association in the place that power function is realized is related with the item in the predefine set with concrete operations, and is directly targeted to function realization module by this incidence relation when the user triggers.
9. positioning function according to claim 5 customizes the method for entrance, it is characterized in that: the 5th step, main flow process was: the pre-defined power function set of Front End, repertoire item handling function predefine is arrived herein, the operation that increases by one section association in the place that power function is realized is related with the item in the predefine set with concrete operations, and is directly targeted to function realization module by this incidence relation when the user triggers.
10. positioning function according to claim 6 customizes the method for entrance, it is characterized in that: the 5th step, main flow process was: the pre-defined power function set of Front End, repertoire item handling function predefine is arrived herein, the operation that increases by one section association in the place that power function is realized is related with the item in the predefine set with concrete operations, and is directly targeted to function realization module by this incidence relation when the user triggers.
11. the method for positioning function customization entrance according to claim 7, it is characterized in that: the 5th step, main flow process was: the pre-defined power function set of Front End, repertoire item handling function predefine is arrived herein, the operation that increases by one section association in the place that power function is realized is related with the item in the predefine set with concrete operations, and is directly targeted to function realization module by this incidence relation when the user triggers.
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 true CN102866895A (en) 2013-01-09
CN102866895B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335132A (en) * 2014-06-13 2016-02-17 阿里巴巴集团控股有限公司 Method, apparatus and system for user-defined application 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 (4)

* 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
US20050076308A1 (en) * 2003-10-01 2005-04-07 Mansell Wayne T. Control system with customizable menu structure for personal mobility vehicle
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

Patent Citations (4)

* 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
US20050076308A1 (en) * 2003-10-01 2005-04-07 Mansell Wayne T. Control system with customizable menu structure for personal mobility vehicle
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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335132A (en) * 2014-06-13 2016-02-17 阿里巴巴集团控股有限公司 Method, apparatus and system for user-defined application function
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

Also Published As

Publication number Publication date
CN102866895B (en) 2015-06-17

Similar Documents

Publication Publication Date Title
CN110099130B (en) Configuration updating method and device and server
CN107066188B (en) A kind of method and terminal sending screenshot picture
EP3541098B1 (en) Processing method for communication identifier binding and terminal
CN106126013A (en) A kind of application management method and mobile terminal
CN103858104A (en) System and method for administering server configurations including GUI navigation, property sheets, and auto-Tab completion
CN106951140A (en) The icon replacing options and electronic equipment of application program
CN104639721A (en) Method and device for providing application information in mobile terminal device
CN103927028B (en) The method for realizing electromagnetic touch side key function
CN107967135A (en) Computing engines implementation method, electronic device and storage medium
US20170339263A1 (en) Call Processing Method and Device
EP2946574A1 (en) Systems and methods for building and using hybrid mobile applications
CN102902580A (en) Program callback method and device
EP2608495A2 (en) Method and Apparatus for Providing a Shortcut Number in a User Device
CN103324478A (en) Mobile terminal and application program management method thereof
CN102819500B (en) A kind of method and device creating peripheral equipment control interface
CN104199691A (en) Method and device for automatically starting APK in turn-on process based on Android platform
CN102866895A (en) Method for quickly positioning function customizing entrance
CN102163156A (en) Mobile terminal icon replacing method and mobile terminal
CN103365524A (en) Application synergy method based on status bar icon and communication terminal
CN110442819A (en) Data processing method, device, storage medium and terminal
CN106201182A (en) The method and device that application subfield is shown
CN108920704A (en) File access pattern method, file restoring device and mobile terminal
CN108363915A (en) unlocking method, mobile terminal and computer readable storage medium
CN109343831A (en) A kind of management method and device of HTML component
CN100466827C (en) New message of short message presenting method

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