Summary of the invention
Provide a kind of system interface content in the embodiment of the present invention and present control method and device, with solve prior art present task corresponding to all roles of operator and cause task choosing and perform postpone problem.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
On the one hand, the embodiment of the present application discloses a kind of system interface content and presents control method, comprising: obtain multiple account and multiple role category; Determine all task definitions belonging to each role category respectively; The first corresponding relation of each account and at least one role category is set up according to account authority; Set up the second corresponding relation of each account and task definition in respective corresponding role category according to account authority, and be task definition configuration editing authority, described editing authority comprises: read-only and can edit; Receive login account, determine the target roles classification corresponding with described login account according to described first corresponding relation; In target roles classification, the goal task content corresponding with described login account is searched according to described second corresponding relation; In interface, present described goal task content, the authority of described goal task content and the authority of described login account match.
In conjunction with first aspect, in the first possible implementation of first aspect, determine the target roles classification corresponding with described login account according to described first corresponding relation, comprising: judge whether the role category that described login account is corresponding is unique according to described first corresponding relation; When the role category that described login account is corresponding is unique, role category corresponding for described login account is defined as target roles classification; When the role category that described login account is corresponding is not unique, at role's option of login interface display all role category corresponding with described login account; Receive user to operate the selection of multiple role's option, select to operate corresponding role category be defined as target roles classification by with described.
In conjunction with the first possible implementation of first aspect, in the implementation that first aspect the second is possible, with display mode side by side or the role's option showing all role categories with drop-down menu display mode on login interface.
In conjunction with first aspect, in the third possible implementation of first aspect, described goal task content presented at interface according to default layout type, described default layout type comprises: goal task content carried out showing or dividing multiple region to show goal task content with tabular form.
The implementation possible in conjunction with first aspect, the first possible implementation first aspect the second of first aspect or the third possible implementation of first aspect, in first aspect the 4th kind of possible implementation, also comprise: judge whether the role category that described login account is corresponding is unique according to described first corresponding relation; When the role category that described login account is corresponding is not unique, receives role category switching command, in described role category switching command, carry the second target roles classification; In the second target roles classification, the second goal task content corresponding with described login account is searched according to described second corresponding relation; Described second goal task content presented at interface according to default layout type, the described authority of the second goal task content and the authority of described login account match.
In conjunction with first aspect the 4th kind of possible implementation, in first aspect the 5th kind of possible implementation, receive role category switching command, comprising: role's option of all role categories that display is corresponding with described login account in interface; Receive user to the blocked operation of described role's option, the role category relative with described blocked operation is defined as the second target roles classification.
Second aspect, the embodiment of the present application discloses a kind of system interface content and presents control device, comprising: acquiring unit, for obtaining multiple role category and multiple account; Ownership determining unit, for determining all task definitions belonging to each role category respectively; Corresponding relation sets up unit, for setting up the first corresponding relation of each account and at least one role category according to account authority, and sets up the second corresponding relation of each account and task definition in respective corresponding role category; Authority dispensing unit, for being each goal task content configuration editing authority according to account authority, described editing authority comprises: read-only and can edit; Receiving element, for receiving login account; Target roles classification determination unit, for determining the target roles classification corresponding with described login account according to described first corresponding relation; Search unit, for searching the goal task content corresponding with described login account according to described second corresponding relation in target roles classification; Presenting control module, presenting described goal task content for controlling in interface, the authority of described goal task content and the authority of described login account match.
In conjunction with second aspect, in the first possible implementation of second aspect, described target roles classification determination unit comprises: the first judging unit, for judging according to described first corresponding relation whether the role category that described login account is corresponding is unique; First determines subelement, time unique for the role category corresponding when described login account, role category corresponding for described login account is defined as target roles classification; Option indicative control unit, time not unique for the role category corresponding when described login account, at role's option of login interface display all role category corresponding with described login account; First operation receiving element, operates the selection of multiple role's option for receiving user; Second determines subelement, operates the selection of multiple role's option for receiving user, selects to operate corresponding role category be defined as target roles classification by with described.
In conjunction with the first possible implementation of second aspect, in the implementation that second aspect the second is possible, described option indicative control unit comprises: indicative control unit side by side, for being shown with display mode side by side by all role categories corresponding with described login account; Or drop-down menu controls display unit, for being shown with drop-down menu display mode by all role categories corresponding with described login account.
In conjunction with the implementation that second aspect, the first possible implementation of second aspect or second aspect the second are possible, in the third possible implementation of second aspect, described device also comprises: the second judging unit, for judging according to described first corresponding relation whether the role category that described login account is corresponding is unique; Instruction reception unit, for receiving role category switching command, carries the second target roles classification in described role category switching command; Described unit of searching also searches the second goal task content corresponding with described login account for working as according to described second corresponding relation in the second target roles classification; The described control module that presents also presents described second goal task content for controlling in interface, and the described authority of the second goal task content and the authority of described login account match.
In conjunction with the third possible implementation of second aspect, in second aspect the 4th kind of possible implementation, described instruction reception unit comprises: menu control display unit, time not unique for the role category corresponding when described login account, in described interface, show all role's options that described login account is corresponding; Second operation receiving element, for receiving the blocked operation of user to described role's option; 3rd determines subelement, for the role category relative with described blocked operation is defined as the second target roles classification.
The third aspect, the embodiment of the present application also discloses a kind of data system, comprises system interface content and presents control device, display device and memory storage, and wherein, described display device is used for display system interface; Described system interface content presents control device and comprises: acquiring unit, for obtaining multiple role category and multiple account; Ownership determining unit, for determining all task definitions belonging to each role category respectively; Corresponding relation sets up unit, for setting up the first corresponding relation of each account and at least one role category according to account authority, and sets up the second corresponding relation of each account and task definition in respective corresponding role category; Authority dispensing unit, for being each goal task content configuration editing authority according to account authority, described editing authority comprises: read-only and can edit; Receiving element, for receiving login account; Target roles classification determination unit, for determining the target roles classification corresponding with described login account according to described first corresponding relation; Search unit, for searching the goal task content corresponding with described login account according to described second corresponding relation in target roles classification; Presenting control module, presenting described goal task content for controlling in the system interface of described display device, the authority of described goal task content and the authority of described login account match; Described memory storage is used for store tasks content, role category, account, the first corresponding relation and the second corresponding relation.
With in prior art with task corresponding to all roles of user for guiding, the mode showing all roles of user corresponding task during login in display interface is compared, it is directly guide with role category that this system interface content presents control method, when user logs in, in display interface, the task definition with this subtask reciprocal role classification is directly presented according to this subtask, and the task definition irrelevant with role category, then no longer all be presented on interface content, thus without the need to repeatedly selecting in the task definition various in display interface of user, save the running time, selection and the execution of task can be accelerated.
Embodiment
Technical scheme in the embodiment of the present invention is understood better in order to make those skilled in the art person, and enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage become apparent more, below in conjunction with accompanying drawing, technical scheme in the embodiment of the present invention is described in further detail.
Fig. 1 presents the schematic flow sheet of control method for a kind of system interface content that the embodiment of the present application provides.The method can be applied to data system, such as: operation management system, monitor data management system etc.
As shown in Figure 1, the method comprises: S101: obtain multiple account and multiple role category.
Account is the mark for identifying user, and in the embodiment of the present application, account can be arabic numeral, English alphabet or Chinese character etc.Role category typically refers to the function that data system can realize, and such as: in operation management system, role category can comprise: system management, financial management, the management of product, service management or customer service etc.
In the embodiment of the present application function, the mode that account and role category can be inputted by user acquires, and in addition, in systems in which according to the function that system can realize, can also prestore multiple role category.
S102: determine all task definitions belonging to each role category respectively.
Task definition refers to data link concrete in data system or data content, wherein, data link can be level-two menu option, three-stage menu option etc. in data system, such as: under management of product role category, can have the menu option of the details of each specific product; Data content can be the concrete data of refinement, such as: the detailed data of each specific product, or, the more detailed logging etc. of record operation.
Each role category can have multiple task definition.In addition, some are had to the role category of overlapping management, same task definition can also belong to different role categories, such as: in the service log of the some specific clients under customer service role category, and the detailed data of some products that this client can also be had to use.
When determining the task definition of each role category, the function that can realize according to each role category divides the task definition prestored in data system.In actual use, when data system produces new task definition, such as: after new-product development, the task definition corresponding with new product can also be increased in data system, and determine the attaching relation of task definition and the role category newly increased simultaneously.
S103: the first corresponding relation setting up each account and at least one role category according to account authority.
The authority of each account is different, the role category of its correspondence also may be different, such as: at above-described operation management system, system manager can arrange can manage system, financial management, the management of product, service management or customer service have operating right, and for contact staff, then only there is the authority to the task definition operation in customer service.
S104: the second corresponding relation setting up each account and task definition in respective corresponding role category according to account authority is each task definition configuration editing authority.
Disclosed, different according to authority, the role category difference that different accounts is corresponding, in addition, even if two accounts can operate the task definition in some role categories, but the exercisable task definition of each account also may not be identical.So, in this step, after determining the role category corresponding with account, also to determine task definition corresponding with account in this role category.And, when setting up account with after the second corresponding relation of task definition in corresponding role category, need the authority according to account, for the task definition configuration editing authority that each account is corresponding, editing authority comprises: read-only and can edit, such as: for the task definition under products catalogue role category, common research staff is only to have access to existing product content, and only have research and development supervisor just can to modify to existing product content, or, the product content eliminated is deleted.
As shown in Figure 2, be account and role category and corresponding relation schematic diagram between account and task definition.Have A, B and C tri-accounts in figure, wherein, straight line is the corresponding relation of account A, and dotted line is the corresponding relation of account B, and dot-and-dash line is the corresponding relation of account C.The authority of account A only has a role category as we can see from the figure: " system management ", and only have, to task definition M1, M2 and M3 in " system management ", there is authority, and the authority of account B has three role categories: " system management ", " management of product " and " customer service ", the authority of account C has two role categories: " management of product " and " customer service ".
S105: receive login account.
By the configuration of several step above, corresponding relation can be set up by between all accounts and role category and task definition, prepare for subsequent user logs in.
S106: determine the target roles classification corresponding with described login account according to described first corresponding relation.
For the login account of an only corresponding role category, can by the role category of correspondence role category by default, such as, account A in Fig. 2, role category of its acquiescence is " system management ".For the login account of multiple role category, when receiving login account, corresponding target roles classification can also be received simultaneously, such as: the target roles classification that can be inputted by user, or the option of operation of input, utilizes option of operation to obtain target roles classification.
S107: search the goal task content corresponding with described login account according to described second corresponding relation in target roles classification.
After determining target roles classification, the second corresponding relation that utilization is set up above, directly can find the goal task content corresponding with login account in target roles classification.
S108: present described goal task content in interface.
Carrying out, in current, multiple goal task content to be presented in the mode of list, and list can be sorted according to specific order, such as: initial sorts according to English alphabet.In addition, can also classify to task definition according to the correlativity of task definition, and Region dividing is carried out at interface, in zones of different, present goal task content.Such as: target roles classification is the management of product, when showing, login account can be had and checking that the task definition that multiple products of authority are corresponding shows respectively in different regions.In the embodiment of the present application, goal task content can also comprise: user, to the log recording of task definition operation in this role category, has a clear understanding of historical operation to facilitate user.In addition, when presenting goal task, the operating frequency of goal task content in all right comparison object role category, and according to operating frequency, goal task content is sorted, when presenting goal task, from high to low goal task content can be arranged from top to bottom according to operating frequency, or, from high to low goal task content is arranged in viewing area from top to bottom according to operating frequency.
In the embodiment of the present application, the authority of the goal task content shown in interface and the authority of described login account match, and such as: the task definition that can edit shows in text box, read-only task definition then can only show.
From above technical scheme, this system interface content that the embodiment of the present application provides presents control method, all task definitions are sorted out according to role category, then the corresponding relation of account and role category, account and task definition in corresponding role category is set up according to account authority, and then when user logs in, object role category can be determined according to login account, and the goal task content corresponding with login account is searched in this target roles classification, finally the goal task content found is presented in interface.
With in prior art with task corresponding to all roles of user for guiding, the mode showing all roles of user corresponding task during login in display interface is compared, it is directly guide with role category that this system interface content presents control method, when user logs in, in display interface, the task definition with this subtask reciprocal role classification is directly presented according to this subtask, and the task definition irrelevant with role category, then no longer all be presented on interface content, thus without the need to repeatedly selecting in the task definition various in display interface of user, save the running time, selection and the execution of task can be accelerated.
As shown in Figure 3, in the embodiment of the present application, when determining the target roles classification corresponding with described login account, step S106 can comprise:
S201: judge whether the role category that described login account is corresponding is unique according to described first corresponding relation.
When the role category that described login account is corresponding is unique, carry out S202; When the role category that described login account is corresponding is not unique, carry out S203.
S202: role category corresponding for described login account is defined as target roles classification.
When embody rule, when the role category that described login account is corresponding is unique, namely think that this login account exists default objects role category, such as, account A in Fig. 2, the role category of its acquiescence is " system management ".So can not show any information about role category at login interface, as shown in Figure 4, user can directly be logged in, and the interface after logging in is exactly task definition in the corresponding unique objects role category of this user account, such as: M1, M2 and M3.
S203: at role's option of login interface display all role category corresponding with described login account.
The role category corresponding due to login account is not unique, namely user can select in multiple role category, so in the embodiment of the present application, can with role's option of the display of display mode side by side all role categories corresponding with login account on login interface, as shown in Figure 5, receive the selection operation of user, and then determine the target roles classification corresponding with login account.
In another embodiment of the application, as shown in Figure 6, on login interface, role's option of all role categories corresponding with login account can also be shown with drop-down menu mode.Receive the selection operation of user, determine the target roles classification corresponding with login account.
In addition, in the mode of the display role option shown in Fig. 5 and Fig. 6, a role category given tacit consent to can also be set for each account, and for the role category of acquiescence arranges a condition of setting out, such as: after user inputs login account, exceed the non-selected role's option of predetermined time period, then enter into the role category of acquiescence.
Above-mentioned Fig. 5 and Fig. 6 is shown to the mode of role's option, when the role category of login account is unique, this unique role category can also be set to selectable option, and other role category is arranged to not selectable option, although namely user can see all role categories, the role category corresponding with its account is only had to be optional.
S204: receive user and the selection of multiple role's option is operated, select to operate corresponding role category be defined as target roles classification by with described.
In addition, in other embodiments of the application, as shown in Figure 7, the Text Entry of role category can also be shown at login interface, directly receive the title of the role category of user's input, and then determine target roles classification.
Fig. 8 presents the schematic flow sheet of control method for another kind of system interface content that the embodiment of the present application provides.On basis embodiment illustrated in fig. 1, this system interface content presents control method and can also comprise:
S301: judge whether the role category that described login account is corresponding is unique according to described first corresponding relation.
When the role category that described login account is corresponding is not unique, carry out S302, otherwise, terminate.
S302: receive role category switching command.
The second target roles classification is carried in role category switching command.
In the embodiment of the present application, as shown in Figure 9, this step can comprise:
S3021: role's option of all role categories that display is corresponding with described login account in interface.
As shown in Figure 10, for method shown in the embodiment of the present application Fig. 1 finally presents the interface content schematic diagram obtained.Upper right side in fig .9 can arrange role's option of all role categories corresponding with login account, and role's option for being arranged side by side, also can be arranged in modes such as drop-down menus.
S3022: receive user to the blocked operation of described role's option, the role category relative with described blocked operation is defined as the second target roles classification.
S303: search the second goal task content corresponding with described login account according to described second corresponding relation in the second target roles classification;
S304: described second goal task content presented at interface according to default layout type, the described authority of the second goal task content and the authority of described login account match.
This system interface content that the embodiment of the present application provides presents control method, first be guide with role category, control when user logs in, the content of this subtask of user relative role classification to be shown in interface, and when user needs to have changed tower role category according to task, directly can select next role category in current interface, by task definition corresponding for next role category in interface display, user-friendly.
By the description of above embodiment of the method, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: ROM (read-only memory) (ROM), random-access memory (ram), magnetic disc or CD etc. various can be program code stored medium.
A kind of system interface content that the embodiment of the present application also provides presents control device.This system interface content presents control device and is applied in data system, and as shown in figure 11, this device comprises:
Acquiring unit 11, for obtaining multiple account and multiple role category;
Ownership determining unit 12, for determining all task definitions belonging to each role category respectively;
Corresponding relation sets up unit 13, for setting up the first corresponding relation of each account and at least one role category according to account authority, and sets up the second corresponding relation of each account and task definition in respective corresponding role category;
Authority dispensing unit 14, for being each goal task content configuration editing authority according to account authority, described editing authority comprises: read-only and can edit;
Receiving element 15, for receiving login account;
Target roles classification determination unit 16, for determining the target roles classification corresponding with described login account according to described first corresponding relation;
Search unit 17, for searching the goal task content corresponding with described login account according to described second corresponding relation in target roles classification;
Presenting control module 18, presenting described goal task content for controlling in interface, the authority of described goal task content and the authority of described login account match.
Wherein, as shown in figure 12, target roles classification determination unit 16 comprises:
First judging unit 161, for judging according to described first corresponding relation whether the role category that described login account is corresponding is unique;
First determines subelement 162, time unique for the role category corresponding when described login account, role category corresponding for described login account is defined as target roles classification;
Option indicative control unit 163, time not unique for the role category corresponding when described login account, at role's option of login interface display all role category corresponding with described login account;
First operation receiving element 164, operates the selection of multiple role's option for receiving user;
Second determines subelement 165, operates the selection of multiple role's option for receiving user, selects to operate corresponding role category be defined as target roles classification by with described.
Wherein, option indicative control unit 163 comprises: indicative control unit side by side, for being shown with display mode side by side by all role categories corresponding with described login account; Or drop-down menu controls display unit, for being shown with drop-down menu display mode by all role categories corresponding with described login account.
As shown in figure 13, this system interface content presents control device and can also comprise:
Second judging unit 21, for judging according to described first corresponding relation whether the role category that described login account is corresponding is unique;
Instruction reception unit 22, for receiving role category switching command, carries the second target roles classification in described role category switching command.
Search unit 17 and also in the second target roles classification, search the second goal task content corresponding with described login account for working as according to described second corresponding relation; Present control module 18 and also in interface, present described second goal task content for controlling, the described authority of the second goal task content and the authority of described login account match.
As shown in figure 14, the system interface content provided for the embodiment of the present application presents the hardware configuration schematic diagram of control device.This system interface content presents control device and can comprise: input equipment 1, storer 2 and microprocessor 3, wherein:
Input equipment 1 is for receiving task definition, role category, account and login account; In actual applications, input equipment can be keyboard, mouse, touch-screen etc.; Task definition, role category, account, the first corresponding relation and the second corresponding relation can be stored in storer 2; Storer 2 can be the storage medium such as hard disk or portable hard drive;
Processor 3 is for performing following program:
Obtain multiple role category and multiple account; Determine all task definitions belonging to each role category respectively; The first corresponding relation of each account and at least one role category is set up according to account authority; Set up the second corresponding relation of each account and task definition in respective corresponding role category according to account authority, and be task definition configuration editing authority, described editing authority comprises: read-only and can edit; Receive login account, determine the target roles classification corresponding with described login account according to described first corresponding relation; In target roles classification, the goal task content corresponding with described login account is searched according to described second corresponding relation; In interface, present described goal task content, the authority of described goal task content and the authority of described login account match.
A kind of data system that the embodiment of the present application also provides.As shown in figure 15, this data system comprises: system interface content presents control device 100 and display device 200, wherein,
Display device 200 is for display system interface; System interface content presents control device 100 for classifying to task definition according to role category, and according to the task definition shown in system interface in login account control display device 200.Present the detailed description of control device 100 about system interface content, see the description in above-described embodiment, can not repeat them here.
This system is when user logs in, can control directly in interface, to present the goal task content relevant to this this subtask of user, with in prior art with the role of user for guiding, and the mode showing user role when logging in is compared, without the need to selecting task groups according to user role, save the running time, selection and the execution of task can be accelerated.
Be understandable that, the present invention can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, the distributed computing environment comprising above any system or equipment etc. based on microprocessor.
The present invention can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention in a distributed computing environment, in these distributed computing environment, be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The above is only the specific embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.