The content of the invention
A kind of system interface content is provided in the embodiment of the present invention control method and device are presented, to solve prior art
The problem of task corresponding to all roles of operator is presented and causes task choosing and performs delay.
In order to solve the above-mentioned technical problem, 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 control method is presented, including:Obtain multiple accounts
Number and multiple role categories;It is determined that it is respectively belonging to all task definitions of each role category;Established according to account authority every
Individual account and the first corresponding relation of at least one role category;Each account and respective corresponding role are established according to account authority
Second corresponding relation of task definition in classification, and editing authority is configured for task definition, the editing authority includes:It is read-only and
Editable;Login account is received, the target roles class corresponding with the login account is determined according to first corresponding relation
Not;Searched according to second corresponding relation in target roles classification in the goal task corresponding with the login account
Hold;The goal task content, the authority of the goal task content and the authority phase of the login account are presented in interface
Matching.
It is true according to first corresponding relation with reference in a first aspect, in first aspect in the first possible implementation
The fixed target roles classification corresponding with the login account, including:The login account is judged according to first corresponding relation
Whether role category corresponding to number is unique;When role category corresponding to the login account is unique, by the login account
Corresponding role category is defined as target roles classification;When role category corresponding to the login account is not unique, stepping on
Record role's option of interface display all role categories corresponding with the login account;User is received to multiple role's options
Selection operation, the role category corresponding with the selection operation is defined as target roles classification.
The first possible implementation with reference to first aspect, in second of possible implementation of first aspect,
Role's option of all role categories is shown on login interface in a manner of being displayed side by side or with drop-down menu display mode.
With reference in a first aspect, in first aspect in the third possible implementation, by the goal task content according to
Default layout type is presented at interface, and the default layout type includes:Goal task content is shown with tabular form
Or the multiple regions of goal task content point are shown.
With reference to first aspect, first aspect the first possible second of possible implementation of implementation first aspect
Or first aspect the third possible implementation, in the 4th kind of possible implementation of first aspect, in addition to:According to institute
State the first corresponding relation and judge whether role category corresponding to the login account is unique;When angle corresponding to the login account
When color classification is not unique, role category switching command is received, the second target roles are carried in the role category switching command
Classification;Second mesh corresponding with the login account is searched in the second target roles classification according to second corresponding relation
Mark task definition;The second goal task content is presented according to default layout type at interface, second goal task
The authority of content and the authority of the login account match.
With reference to the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, connect
Role category switching command is received, including:Role's choosing of all role categories corresponding with the login account is shown in interface
;User is received to the handover operation of role's option, the role category relative with the handover operation is defined as second
Target roles classification.
Second aspect, the embodiment of the present application disclose a kind of system interface content and control device are presented, including:Obtain single
Member, for obtaining multiple role categories and multiple accounts;Belong to determining unit, for determining to be respectively belonging to each role category
All task definitions;Corresponding relation establishes unit, for establishing each account and at least one role class according to account authority
Other first corresponding relation, and establish second corresponding relation of each account with task definition in respective corresponding role category;
Authority configuration unit, for being that each goal task content configures editing authority according to account authority, the editing authority includes:
Read-only and editable;Receiving unit, for receiving login account;Target roles classification determination unit, for according to described first
Corresponding relation determines the target roles classification corresponding with the login account;Searching unit, for according to second correspondence
Relation searches the goal task content corresponding with the login account in target roles classification;Control unit is presented, is used for
The goal task content, the authority of the goal task content and the authority phase of the login account is presented in control in interface
Matching.
With reference to second aspect, in second aspect in the first possible implementation, the target roles classification determines single
Member includes:First judging unit, it is for role category corresponding to judging the login account according to first corresponding relation
No is unique;First determination subelement, for when role category corresponding to the login account is unique, by the login account
Corresponding role category is defined as target roles classification;Option display control unit, for when corresponding to the login account
When role category is not unique, role's option of all role categories corresponding with the login account is shown in login interface;The
One operation receiving unit, for receiving selection operation of the user to multiple role's options;Second determination subelement, used for receiving
The role category corresponding with the selection operation is defined as target roles class by family to the selection operation of multiple role's options
Not.
The first possible implementation with reference to second aspect, in second of possible implementation of second aspect, institute
Stating option display control unit includes:Control unit is displayed side by side, for will all role class corresponding with the login account
Do not shown in a manner of being displayed side by side;Or, drop down menu control display unit, for will all angles corresponding with the login account
Color classification is shown with drop-down menu display mode.
With reference to second aspect, the first possible second of possible realization side of implementation or second aspect of second aspect
Formula, in second aspect in the third possible implementation, described device also includes:Second judging unit, for according to
First corresponding relation judges whether role category corresponding to the login account is unique;Instruction reception unit, for acceptance angle
Color classification switching command, the second target roles classification is carried in the role category switching command;The searching unit is also used
Second mesh corresponding with the login account is searched in the second target roles classification according to second corresponding relation in working as
Mark task definition;The presentation control unit is additionally operable to control and is presented the second goal task content in interface, and described the
The authority and the authority of the login account of two goal task contents match.
The third possible implementation with reference to second aspect, in the 4th kind of possible implementation of second aspect, institute
Stating instruction reception unit includes:Menu control display unit, for when role category corresponding to the login account is not unique,
All role's options corresponding to the login account are shown in the interface;Second operation receiving unit, for receiving user
To the handover operation of role's option;3rd determination subelement, for the role category relative with the handover operation is true
It is set to the second target roles classification.
The third aspect, the embodiment of the present application also disclose a kind of data system, including control dress is presented in system interface content
Put, display device and storage device, wherein, the display device is used for display system interface;The system interface content is presented
Control device includes:Acquiring unit, for obtaining multiple role categories and multiple accounts;Belong to determining unit, for determining to divide
All task definitions of each role category are not belonged to;Corresponding relation establishes unit, each for being established according to account authority
Account and the first corresponding relation of at least one role category, and establish each account and task in respective corresponding role category
Second corresponding relation of content;Authority configuration unit, for being that each goal task content configures right of compilation according to account authority
Limit, the editing authority include:Read-only and editable;Receiving unit, for receiving login account;Target roles classification determines single
Member, for determining the target roles classification corresponding with the login account according to first corresponding relation;Searching unit, use
In searching the goal task content corresponding with the login account in target roles classification according to second corresponding relation;
Control unit is presented, the goal task content, the target are presented in the system interface of the display device for controlling
The authority of task definition and the authority of the login account match;The storage device is used for store tasks content, role class
Not, account, the first corresponding relation and the second corresponding relation.
With task corresponding using all roles of user in the prior art as guiding, user is shown in display interface during login
The mode that all roles correspond to task is compared, and control method is presented directly using role category as guiding in the system interface content,
When user logs in, is presented according to this subtask directly in display interface and the task definition of this subtask reciprocal role classification,
And the task definition unrelated with role category, then no longer all it is shown on interface content, without user in display interface
Repeatedly selected in interior various task definition, save the operating time, the selection and execution of task can be accelerated.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present invention, and make of the invention real
Apply the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention
Case is described in further detail.
Fig. 1 is the schematic flow sheet that control method is presented in a kind of system interface content that the embodiment of the present application provides.The party
Method can apply to data system, such as:Operation management system, monitoring data management system etc..
As shown in figure 1, this method includes:S101:Obtain multiple accounts and multiple role categories.
Account is the mark for identifying user, and in the embodiment of the present application, account can be Arabic numerals, English words
Female or Chinese character etc..Role category typically refers to the function that data system can be realized, such as:In operation management system,
Role category can include:System administration, financial management, the management of product, service management or customer service etc..
In the embodiment of the present application function, account and role category can acquire by way of user inputs, in addition,
The function that can also be realized according to system in systems, prestores multiple role categories.
S102:It is determined that it is respectively belonging to all task definitions of each role category.
Task definition refers to specific data link or data content in data system, wherein, data link can be number
According to the level-two menu option in system, three-stage menu option etc., such as:Under management of product role category, can have each specific
The menu option of the details of product;Data content can be the specific data of refinement, such as:Each specific product is detailed
Data, or, record more detailed logging of operation etc..
Each role category can have multiple tasks content.In addition, there is the role category of overlapping management for some, together
One task definition can also belong to different role categories, such as:Some specific client under customer service role category
Service log in, can also have the detailed data of some product that the client uses.
It is determined that each role category task definition when, can be according to the function that each role category is realized to data system
The task definition prestored in system is divided.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, while determining
The task definition and the attaching relation of role category newly increased.
S103:The first corresponding relation of each account and at least one role category is established according to account authority.
The authority of each account is different, and its corresponding role category is also likely to be different, such as:Fortune described above
Management system is sought, system manager can be set can be to system administration, financial management, the management of product, service management or client
Service has operating right, and for contact staff, then only there is the authority operated to the task definition in customer service.
S104:Second corresponding pass of each account with task definition in respective corresponding role category is established according to account authority
System, editing authority is configured for each task definition.
It disclosed, different according to authority, role category corresponding to different accounts is different, in addition, even if two accounts
Number the task definition in some role category can be operated, but the exercisable task definition of each account may also
Differ.So in this step, it is determined that after role category corresponding with account, it is also predefined in the role category and account
Number corresponding task definition.Also, after account is established with the second corresponding relation of task definition in corresponding role category, need
To be that the corresponding task definition of each account configures editing authority, editing authority includes according to the authority of account:It is read-only and can
Editor, such as:For the task definition under catalogue role category, common research staff may only be had access in existing product
Hold, and only researching and developing supervisor can just modify to existing product content, or, superseded product content is deleted
Remove.
As shown in Fig. 2 the corresponding relation schematic diagram between account and role category and account and task definition.In figure
There are tri- accounts of A, B and C, wherein, straight line is account A corresponding relation, and dotted line is account B corresponding relation, and chain-dotted line is account
Number C corresponding relation.Account A authority only has a role category as we can see from the figure:" system administration ", and only pair
Task definition M1, M2 and M3 in " system administration " have authority, and account B authority has three role categories:" system pipes
Reason ", " management of product " and " customer service ", account C authority have two role categories:" management of product " and " customer service ".
S105:Receive login account.
By the configuration of above several steps, will can be established between all accounts and role category and task definition pair
It should be related to, log in and prepare for subsequent user.
S106:The target roles classification corresponding with the login account is determined according to first corresponding relation.
Login account for only corresponding to a role category, can be by corresponding role category role class by default
Not, the account A such as in Fig. 2, its role category given tacit consent to is " system administration ".For the login account of multiple role categories,
When receiving login account, corresponding target roles classification can also be received simultaneously, such as:The target that can be inputted by user
Role category, or, the option of operation of input, target roles classification is obtained using option of operation.
S107:The mesh corresponding with the login account is searched in target roles classification according to second corresponding relation
Mark task definition.
, can be with target roles classification using the second corresponding relation above established when it is determined that after target roles classification
Directly find the goal task content corresponding with login account.
S108:The goal task content is presented in interface.
When being presented, multiple goal task contents can be presented in a manner of list, and list can be with
It is ranked up in particular order, such as:Initial is ranked up according to English alphabet.Furthermore it is also possible to according in task
The correlation of appearance is classified to task definition, and interface is carried out into region division, and goal task is presented in different zones
Content.Such as:Target roles classification is the management of product, when being shown, can have login account and check the more of authority
Task definition is shown respectively in different regions corresponding to individual product.In the embodiment of the present application, goal task content can be with
Including:The log recording that user operates to task definition in the role category, to facilitate user to have a clear understanding of historical operation.Separately
Outside, can be with the operating frequency of goal task content in comparison object role category, and according to operation when goal task is presented
Frequency is ranked up to goal task content, when goal task is presented, from high to low can be appointed target according to operating frequency
Business content arranges from top to bottom, or, according to operating frequency from high to low by goal task content in viewing area from top to bottom
Arranged in domain.
In the embodiment of the present application, the authority of the goal task content shown in interface and the authority phase of the login account
Matching, such as:The task definition that can be edited shows that read-only task definition is then only able to display in text box.
From above technical scheme, control method is presented in the system interface content that the embodiment of the present application provides, by institute
There is task definition to be sorted out according to role category, then according to account authority establish account and role category, account with it is corresponding
The corresponding relation of task definition in role category, and then when user logs in, purpose role class can be determined according to login account
Not, and in the target roles classification goal task content corresponding with login account, the target that will finally find are searched
Task definition is presented in interface.
With task corresponding using all roles of user in the prior art as guiding, user is shown in display interface during login
The mode that all roles correspond to task is compared, and control method is presented directly using role category as guiding in the system interface content,
When user logs in, is presented according to this subtask directly in display interface and the task definition of this subtask reciprocal role classification,
And the task definition unrelated with role category, then no longer all it is shown on interface content, without user in display interface
Repeatedly selected in interior various task definition, save the operating time, the selection and execution of task can be accelerated.
As shown in figure 3, in the embodiment of the present application, it is determined that the target roles classification corresponding with the login account
When, step S106 can include:
S201:Whether role category is unique according to corresponding to first corresponding relation judges the login account.
When role category corresponding to the login account is unique, S202 is carried out;As role corresponding to the login account
When classification is not unique, S203 is carried out.
S202:The corresponding role category of the login account is defined as target roles classification.
In specific application, when role category corresponding to the login account is unique, that is, think that the login account is present
Default objects role category, such as the account A in Fig. 2, its role category given tacit consent to is " system administration ".So it can log in
Interface does not show any information on role category, as shown in Figure 4 so that user can directly log in, and after login
Interface is exactly task definition in the corresponding unique objects role category of the user account, such as:M1, M2 and M3.
S203:Role's option of all role categories corresponding with the login account is shown in login interface.
Because role category corresponding to login account is not unique, i.e., user can be selected in multiple role categories,
So in the embodiment of the present application, all angles corresponding with login account can be shown in a manner of being displayed side by side on login interface
Role's option of color classification, as shown in figure 5, receiving the selection operation of user, and then determine the target corresponding with login account
Role category.
In another embodiment of the application, as shown in fig. 6, can also be pulled down on login interface menu mode show with
Role's option of all role categories corresponding to login account.The selection operation of user is received, it is determined that corresponding with login account
Target roles classification.
Can also be that each account sets one to write from memory in addition, in the mode of display role's option shown in Fig. 5 and Fig. 6
The role category recognized, and one condition of setting out is set for the role category of acquiescence, such as:After user inputs login account,
More than the non-selected role's option of predetermined time period, then enter in the role category of acquiescence.
The mode of role's option is shown for above-mentioned Fig. 5 and Fig. 6, can be with when the role category of login account is unique
Unique role category is arranged to optional option, and other role categories are arranged to not optional option, although i.e. user
It can be seen that all role categories, but role category only corresponding with its account is optional.
S204:Selection operation of the user to multiple role's options is received, by the role class corresponding with the selection operation
It is not defined as target roles classification.
In addition, in the application other embodiment, as shown in fig. 7, the text of role category can also be shown in login interface
This input frame, directly receives the title of the role category of user's input, and then determines target roles classification.
Fig. 8 is the schematic flow sheet that control method is presented in another system interface content that the embodiment of the present application provides.
On the basis of embodiment illustrated in fig. 1, control method, which is presented, in the system interface content to include:
S301:Whether role category is unique according to corresponding to first corresponding relation judges the login account.
When role category corresponding to the login account is not unique, S302 is carried out, otherwise, is terminated.
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, the step can include:
S3021:Role's option of all role categories corresponding with the login account is shown in interface.
As shown in Figure 10, obtained interface content schematic diagram is finally presented for method shown in the embodiment of the present application Fig. 1.Scheming
Upper right side in 9 can set role's option of all role categories corresponding with login account, and role's option can be side by side
Set, can also be set in a manner of drop-down menu etc..
S3022:Handover operation of the user to role's option is received, by the role category relative with the handover operation
It is defined as the second target roles classification.
S303:Searched according to second corresponding relation in the second target roles classification corresponding with the login account
The second goal task content;
S304:The second goal task content is presented according to default layout type at interface, second target is appointed
The authority and the authority of the login account for content of being engaged in match.
Control method is presented in the system interface content that the embodiment of the present application provides, first using role category as guiding, control
System shows the content of user's this subtask relative role classification when user logs in interface, and works as user according to task
When needing to have changed tower role category, next role category can be directly selected in current interface, by next role class
Not corresponding task definition is user-friendly in interface display.
The description of embodiment of the method more than, it is apparent to those skilled in the art that the present invention can
Realized by the mode of software plus required general hardware platform, naturally it is also possible to by hardware, but in many cases the former
It is more preferably embodiment.Based on such understanding, technical scheme substantially makes tribute to prior art in other words
The part offered can be embodied in the form of software product, and the computer software product is stored in a storage medium, bag
Some instructions are included to cause a computer equipment(Can be personal computer, server, or network equipment etc.)Perform
The all or part of step of each embodiment methods described of the present invention.And foregoing storage medium includes:Read-only storage
(ROM), random access memory(RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Control device is presented in a kind of system interface content that the embodiment of the present application also provides.Control is presented in the system interface content
Device processed is applied in data system, and as shown in figure 11, the device includes:
Acquiring unit 11, for obtaining multiple accounts and multiple role categories;
Belong to determining unit 12, all task definitions of each role category are respectively belonging to for determination;
Corresponding relation establishes unit 13, for establishing the of each account and at least one role category according to account authority
One corresponding relation, and establish second corresponding relation of each account with task definition in respective corresponding role category;
Authority configuration unit 14, for being that each goal task content configures editing authority, the volume according to account authority
Collecting authority includes:Read-only and editable;
Receiving unit 15, for receiving login account;
Target roles classification determination unit 16, it is relative with the login account for being determined according to first corresponding relation
The target roles classification answered;
Searching unit 17, for being searched according to second corresponding relation in target roles classification and the login account
Corresponding goal task content;
Control unit 18 is presented, the goal task content, the goal task content are presented in interface for controlling
Authority and the authority of the login account match.
Wherein, as shown in figure 12, target roles classification determination unit 16 includes:
First judging unit 161, for role class corresponding to judging the login account according to first corresponding relation
Not whether to be not unique;
First determination subelement 162, for when role category corresponding to the login account is unique, by the login account
Number corresponding role category is defined as target roles classification;
Option display control unit 163, for when role category corresponding to the login account is not unique, logging in boundary
Face shows role's option of all role categories corresponding with the login account;
First operation receiving unit 164, for receiving selection operation of the user to multiple role's options;
Second determination subelement 165, for receiving selection operation of the user to multiple role's options, it will be grasped with the selection
Make corresponding role category and be defined as target roles classification.
Wherein, option display control unit 163 includes:Control unit is displayed side by side, for will be with the login account phase
Corresponding all role categories are shown in a manner of being displayed side by side;Or, drop down menu control display unit, for will be with the login account
Number corresponding all role categories are shown with drop-down menu display mode.
As shown in figure 13, the system interface content is presented control device and can also included:
Second judging unit 21, for role category corresponding to judging the login account according to first corresponding relation
Whether it is unique;
Instruction reception unit 22, for receiving role category switching command, carried in the role category switching command
Second target roles classification.
Searching unit 17 be additionally operable to when searched according to second corresponding relation in the second target roles classification with it is described
The second corresponding goal task content of login account;Presentation control unit 18 is additionally operable to control and described second is presented in interface
Goal task content, the authority and the authority of the login account of the second goal task content match.
As shown in figure 14, the hardware configuration signal of control device is presented for the system interface content that the embodiment of the present application provides
Figure.Control device, which is presented, in the system interface content to include:Input equipment 1, memory 2 and microprocessor 3, wherein:
Input equipment 1 is used to receive 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, first can be stored with memory 2
Corresponding relation and the second corresponding relation;Memory 2 can be the storage mediums such as hard disk or mobile hard disk;
Processor 3 is used to perform following procedure:
Obtain multiple role categories and multiple accounts;It is determined that it is respectively belonging to all task definitions of each role category;
The first corresponding relation of each account and at least one role category is established according to account authority;Established according to account authority each
Second corresponding relation of account and task definition in respective corresponding role category, and be task definition configuration editing authority, it is described
Editing authority includes:Read-only and editable;Login account is received, is determined and the login account according to first corresponding relation
Corresponding target roles classification;Searched and the login account phase in target roles classification according to second corresponding relation
Corresponding goal task content;Be presented the goal task content in interface, the authority of the goal task content with it is described
The authority of login account matches.
A kind of data system that the embodiment of the present application also provides.As shown in figure 15, the data system includes:In system interface
Hold and control device 100 and display device 200 is presented, wherein,
Display device 200 is used for display system interface;System interface content is presented control device 100 and is used for according to role class
It is other that task definition is classified, and controlled according to login account in being shown in display device 200 in system interface for task
Hold.The detailed description of control device 100 is presented on system interface content, reference can be made to the description in above-described embodiment, herein not
Repeat again.
The system can control and the target related to the user this subtask is presented directly in interface when user logs in
Task definition, with the prior art using the role of user as guiding, and log in when show that the mode of user role is compared, without
Task groups are selected according to user role, the operating time is saved, the selection and execution of task can be accelerated.
It is understood that the present invention can be used in numerous general or special purpose computing system environments or configuration.Such as:It is individual
People's computer, server computer, handheld device or portable set, laptop device, multicomputer system, based on microprocessor
The system of device, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer including to take up an official post
DCE of what system or equipment etc..
The present invention can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these DCEs, by
Task is performed and connected remote processing devices by communication network.In a distributed computing environment, program module can be with
In the local and remote computer-readable storage medium including storage device.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those
Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Other identical element also be present in process, method, article or equipment including the key element.
Described above is only the embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.