CN106227785A - The display packing of a kind of page object and device - Google Patents

The display packing of a kind of page object and device Download PDF

Info

Publication number
CN106227785A
CN106227785A CN201610569490.6A CN201610569490A CN106227785A CN 106227785 A CN106227785 A CN 106227785A CN 201610569490 A CN201610569490 A CN 201610569490A CN 106227785 A CN106227785 A CN 106227785A
Authority
CN
China
Prior art keywords
page
mark
identification
function identification
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610569490.6A
Other languages
Chinese (zh)
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.)
Hangzhou Dt Dream Technology Co Ltd
Original Assignee
Hangzhou Dt Dream Technology 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 Hangzhou Dt Dream Technology Co Ltd filed Critical Hangzhou Dt Dream Technology Co Ltd
Priority to CN201610569490.6A priority Critical patent/CN106227785A/en
Publication of CN106227785A publication Critical patent/CN106227785A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention provides display packing and the device of a kind of page object, and the method includes: receives the accessing page request from user, and parses ID from described accessing page request;Determine the Function Identification that described ID is corresponding, and utilize the Function Identification being pre-configured with and the corresponding relation of page object mark, determine the page object mark that described Function Identification is corresponding;Obtain the page object that described page object mark is corresponding;The page comprising described page object is shown to described user.Pass through technical scheme, corresponding relation by maintenance function mark with page object mark, after determining the Function Identification that ID is corresponding, the page object of correspondence can be got, and the page comprising this page object is shown to user, such that it is able to based on user right Dynamic Announce page object, it is possible to promote Consumer's Experience, increase the process that user is mutual, improve authority models further.

Description

The display packing of a kind of page object and device
Technical field
The present invention relates to communication technical field, particularly relate to display packing and the device of a kind of page object.
Background technology
At present, Permission Management Model generally uses RBAC (Role-Based Access Control, the visit of based role Ask control) authority framework, and RBAC is exactly user is associated with authority by role, thus constructs user-role-power Limit mandate model.Concrete, authority is associated with role, by giving suitable role for user, so that this user obtains The authority of this role, thus greatly simplify the management of authority.Wherein, a user has one or more role, each Role has one or more authority.
Role be create to complete various work it can be understood as the set of authority or the carrier of authority.Example As, in a Forum System, super manager, edition owner etc. are roles, and edition owner can manage the model in version, the use in version Families etc., these management functions are exactly authority.In order to authorize these authorities to certain user, it is not necessary to directly authorize use by authority Family, but give this user by this role of edition owner.
After user has certain role, it becomes possible to there is corresponding authority, so, when user accesses certain page, if There are the access rights of this page, it is possible to all the elements of this page are shown to user.But, it practice, user may Only there are the access rights of some content of this page, and not there are the access rights of all the elements, all the elements are all shown During to this user, can bring puzzlement to user, Consumer's Experience is poor.And, it is also possible to content the highest for some confidentiality is shown Show to user, bring potential safety hazard.
Summary of the invention
The present invention provides the display packing of a kind of page object, described method to include:
Receive the accessing page request from user, and parse ID from described accessing page request;
Determine the Function Identification that described ID is corresponding, and utilize the Function Identification being pre-configured with to identify with page object Corresponding relation, determine described Function Identification corresponding page object mark;
Obtain the page object that described page object mark is corresponding;
The page comprising described page object is shown to described user.
The described process determining Function Identification corresponding to described ID, specifically includes:
Utilize the corresponding relation of ID and the role identification being pre-configured with, determine the role that described ID is corresponding Mark;Utilize the corresponding relation of role identification and the Function Identification being pre-configured with, determine the function mark that described role identification is corresponding Know;Or, utilize the ID and the corresponding relation of post mark being pre-configured with, determine the post that described ID is corresponding Mark;Utilize the corresponding relation of post mark and the role identification being pre-configured with, determine role's mark that described post mark is corresponding Know;Utilize the corresponding relation of role identification and the Function Identification being pre-configured with, determine the Function Identification that described role identification is corresponding.
The Function Identification that described utilization is pre-configured with and the corresponding relation of page object mark, determine described Function Identification pair The process of the page object mark answered, specifically includes:
Determine the page iden-tity that described Function Identification is corresponding, and utilize the page iden-tity being pre-configured with to identify with page object Corresponding relation, determine described page iden-tity corresponding all page object mark;
Utilize the corresponding relation of Function Identification and the page object mark being pre-configured with, identify from described all page object In determine corresponding with described Function Identification page object mark.
The described process determining page iden-tity that described Function Identification is corresponding, specifically includes:
Utilize the corresponding relation of Function Identification and the page iden-tity being pre-configured with, determine the page that described Function Identification is corresponding Mark;Or, when the function that the function that described Function Identification is corresponding is on certain page, it is determined that the page mark of the described page Knowing is the page iden-tity that described Function Identification is corresponding.
Described page object mark specifically includes: page assembly mark and/or page menus mark;
Described page object specifically includes: page assembly and/or page menus.
The present invention provides the display device of a kind of page object, described device to include:
Receiver module, for receiving the accessing page request from user;
Parsing module, for parsing ID from described accessing page request;
Determine module, for determining the Function Identification that described ID is corresponding, and utilize the Function Identification being pre-configured with With the corresponding relation of page object mark, determine the page object mark that described Function Identification is corresponding;
Acquisition module, for obtaining the page object that described page object mark is corresponding;
Display module, for being shown to described user by the page comprising described page object.
Described determine module, specifically for during determining the Function Identification that described ID is corresponding, utilize pre- The ID first configured and the corresponding relation of role identification, determine the role identification that described ID is corresponding, and utilize pre- The role identification first configured and the corresponding relation of Function Identification, determine the Function Identification that described role identification is corresponding;Or, utilize The ID being pre-configured with and the corresponding relation of post mark, determine the post mark that described ID is corresponding, and utilize The post mark being pre-configured with and the corresponding relation of role identification, determine the role identification that described post mark is corresponding, and utilize The role identification being pre-configured with and the corresponding relation of Function Identification, determine the Function Identification that described role identification is corresponding.
Described determine module, specifically for corresponding closing utilize that the Function Identification being pre-configured with identifies with page object System, during determining the page object mark that described Function Identification is corresponding, determines the page iden-tity that described Function Identification is corresponding, And utilize the page iden-tity and the corresponding relation of page object mark being pre-configured with, determine all pages that described page iden-tity is corresponding Face object identity;Utilize the corresponding relation of Function Identification and the page object mark being pre-configured with, from described all page object Mark is determined the page object mark corresponding with described Function Identification.
Described determine module, specifically for during determining the page iden-tity that described Function Identification is corresponding, utilize pre- The Function Identification first configured and the corresponding relation of page iden-tity, determine the page iden-tity that described Function Identification is corresponding;Or, work as institute State function corresponding to Function Identification when being the function on certain page, it is determined that the page iden-tity of the described page is described function mark Know corresponding page iden-tity.
Described page object mark specifically includes: page assembly mark and/or page menus mark;
Described page object specifically includes: page assembly and/or page menus.
Based on technique scheme, in the embodiment of the present invention, corresponding with page object mark by maintenance function mark Relation, after determining the Function Identification that ID is corresponding, can get the page object of correspondence, and will comprise this page pair The page of elephant is shown to user rather than all the elements of the page is shown to user, such that it is able to dynamic based on user right Display page object, it is possible to promote Consumer's Experience, increases the process that user is mutual, improves authority models further.It is additionally, since It not that all the elements of the page are shown to user, therefore can avoid content the highest for some confidentiality is shown to user, Improve safety.
Accompanying drawing explanation
In order to the embodiment of the present invention or technical scheme of the prior art are clearly described, below will be to the present invention In embodiment or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, in describing below Accompanying drawing is only some embodiments described in the present invention, for those of ordinary skill in the art, it is also possible to according to these Accompanying drawing obtains other accompanying drawing.
Fig. 1 is the authority configuration diagram of the RBAC in one embodiment of the present invention;
Fig. 2 is the flow chart of the display packing of the page object in one embodiment of the present invention;
Fig. 3 is the authority configuration diagram of the RBAC in another embodiment of the present invention;
Fig. 4 is the hardware structure diagram of the service end in one embodiment of the present invention;
Fig. 5 is the structure chart of the display device of the page object in one embodiment of the present invention.
Detailed description of the invention
In terminology used in the present invention merely for the sake of describing the purpose of specific embodiment, and the unrestricted present invention.This " a kind of ", " described " and " being somebody's turn to do " of singulative used in bright and claims is also intended to include majority form, unless Context clearly shows that other implication.It is also understood that term "and/or" used herein refers to comprise one or more Any or all of the project of listing being associated may combination.
Although should be appreciated that in the present invention possible employing term first, second, third, etc. to describe various information, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.Such as, without departing from In the case of the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depend on linguistic context, additionally, the word used " if " can be construed to " ... time " or " when ... " Or " in response to determining ".
In the authority framework using RBAC, in order to construct the mandate model of user-role-authority, then can safeguard User's table, Jiao Sebiao, authority list, user role contingency table, role-security contingency table etc..Wherein, this user's table is used for recording use Family mark and the corresponding relation of user profile (such as user's name, user mobile phone number, user's sex etc.).This role's table is used for record Role identification and Role Information (such as role's title (such as super manager, edition owner), role's character (such as management, being managed) etc.) Corresponding relation.This authority list is used for recording capability identification and authority information (such as authority name, privilege feature, authority resource etc.) Corresponding relation.This user role contingency table is for recording the corresponding relation of ID and role identification, and an ID Can one or more role identification corresponding.This role-security contingency table is corresponding with capability identification for recording role identification Relation, and a role identification can one or more capability identification corresponding.
In one example, role be create to complete various work it can be understood as the set of authority or The carrier of authority.Such as, in a Forum System, super manager, edition owner etc. are roles, and edition owner can manage in version User etc. in model, version, these management functions are exactly authority.
In one example, authority can be the operation to functional module, upper transmitting file is revised, visit to menu Ask, to the control of certain button on the page, to the observability control etc. of certain picture on the page.
In one example, it is also possible to be function and resource by delineation of power.Wherein, function can be that user is had Function, such as management function, editting function, function of browse, examination & approval function etc..Resource can be the money such as page assembly, page menus Source, this page assembly can be the button in the page, text box, form etc., this page menus can be the navigation bar in the page, Bookmark hurdle, address field, status bar etc..
Wherein, each authority can corresponding various resources, two pages as corresponding in authority, each page comprises Multiple page assembly resources, multiple page menus resources etc..According to the mandate model of above-mentioned user-role-authority, then need Distinguish user is able to access which resource of this authority, as user 1 with accession page 1, but can not allow accession page 2, for Realizing this process, need to carry out relevant configuration in source code, configuration process is extremely complex, and, when user can visit When the resource asked changes, in addition it is also necessary to modify source code, versatility is very poor.In contrast to this, according to user- During the mandate model of role-function-resource, the mapping relations of function and resource can be pre-configured with, and, it is only necessary to for user Configure corresponding function, when user has this function, it is possible to access the resource that this function is corresponding, it is not necessary in source code Carry out relevant configuration, it is only necessary to safeguard the corresponding relation of user-role-function.And, when the resource that user is able to access that When changing, it is not required that source code is modified, as long as adjusting the corresponding relation of user-role-function, general Property is the strongest.
In sum, in the authority framework using RBAC, the mandate mould of user-role-function-resource can be constructed Type, as it is shown in figure 1, be the schematic diagram of this authority framework.In this authority framework, user's table, Jiao Sebiao, function can be safeguarded Table, user role contingency table, role function contingency table, functional resources contingency table.Wherein, this menu identifies for writing function Corresponding relation with function information (such as function title etc.).This role function contingency table is used for recording role identification and Function Identification Corresponding relation, and role identification can one or more Function Identification corresponding.This functional resources contingency table is used for remembering Recording function mark and the corresponding relation of resource identification, and a Function Identification can one or more resource identification corresponding.
In one example, resource namely URL (Uniform Resource Locator, a unified resource Finger URL) resource, and a URL resource just can a corresponding page.Therefore, above-mentioned functions mark corresponding or many Individual resource identification, can be one or more page iden-tity.
In one example, when the page is shown to user, this page can comprise all of page assembly and the page Menu.Such as, the page 1 comprises page assembly 1, page assembly 2, page menus 1, page menus 2, the page 1 is being shown to During user, user is it can be seen that page assembly 1, page assembly 2, page menus 1, page menus 2.Assume that page assembly 1 is one Individual user deletes button, user 1 and user 2 and finally has access to the page 1, and user 1 has administration authority, can delete based on user Except user deleted by button, and user 2 does not have administration authority, it is impossible to enough deleting button based on user deletes user.Based on This, comprise page assembly 1 in the page 1 be shown to user 2, brings puzzlement can to user 2, and Consumer's Experience is poor.
For above-mentioned discovery, proposing the display packing of a kind of page object in the embodiment of the present invention, the method can be applied In service end, as in figure 2 it is shown, the display packing of this page object may comprise steps of:
Step 201, receives the accessing page request from user, and parses user's mark from this accessing page request Know.In one example, this accessing page request can be that user is sent by browser.
Step 202, determines the Function Identification that this ID is corresponding, and utilizes the Function Identification and the page pair being pre-configured with As the corresponding relation of mark, determine the page object mark that this Function Identification is corresponding.
Step 203, obtains the page object that this page object mark is corresponding.
Step 204, is shown to this user by the page comprising this page object.
For step 201, when user needs the URL resource accessing service end offer, can be by browser to service End sends accessing page request, can carry ID in this accessing page request.If user is anonymous access, then the page Access request is carried the ID of acquiescence.If user is not anonymous access, then accessing page request is carried real ID.Service end, after receiving accessing page request, can intercept this accessing page request, and from this page access Request parses ID.
In one example, if user is anonymous access, when service end allows user anonymity to access URL resource, then User authentication success, and perform step 202;When service end does not allow user anonymity to access URL resource, then user authentication loses Lose, be redirected to again login page or send login failure information.
In another example, if user is not anonymous access, then this accessing page request can also carry password Information, and service end can utilize the ID in this accessing page request and encrypted message to be authenticated this user, tool Body verification process repeats no more.If user authentication success, then perform step 202.If user authentication failure, then it is redirected to Again login page or transmission login failure information.
For step 202, during determining the Function Identification that this ID is corresponding, specifically can include but not limit In following manner: the ID that mode one, utilization are pre-configured with and the corresponding relation of role identification, determine this ID pair The role identification answered.Utilize the corresponding relation of role identification and the Function Identification being pre-configured with, determine that this role identification is corresponding Function Identification.Or, the ID that mode two, utilization are pre-configured with and the corresponding relation of post mark, determine that this user marks Know corresponding post mark.Utilize the corresponding relation of post mark and the role identification being pre-configured with, determine that this post mark is right The role identification answered.Utilize the corresponding relation of role identification and the Function Identification being pre-configured with, determine that this role identification is corresponding Function Identification.
The schematic diagram of authority framework as shown in Figure 1, for mode one, in one example, can be in advance at user angle Color contingency table configures the corresponding relation of ID and role identification, as shown in table 1, it is possible to associate at role function in advance Table configures the corresponding relation of role identification and Function Identification, as shown in table 2.Assume the use parsed from accessing page request Family is designated U1, then can inquire about table 1 by U1, and determine that role identification is R1, inquire about table 2 by R1, it may be determined that go out Function Identification is F1.
Table 1
Table 2
Role identification Function Identification
R1 F1
R2 F2、F3
R3 F4、F5、F6
As it is shown on figure 3, be the schematic diagram of the authority framework of another kind of RBAC, for mode two, in one example, permissible The corresponding relation of ID and post mark is configured in advance, as shown in table 3, it is possible to exist in advance in the contingency table of user post Skills for occupation contingency table configures the corresponding relation of post mark and role identification, as shown in table 4, it is possible in advance in role's merit Energy contingency table configures the corresponding relation of role identification and Function Identification, as shown in table 2.Assume to resolve from accessing page request The ID gone out is U1, then can inquire about table 3 by U1, and determine that post is designated P1, inquire about table 4 by P1, then may be used To determine that role identification, as R1, is inquired about table 2 by R1, then be can determine that Function Identification is F1.
Table 3
ID Post identifies
U1 P1
U2 P2、P3
U3 P4、P5、P6
Table 4
Post identifies Role identification
P1 R1
P2 R2
P3 R3
P4 R4、R5、R6、R7
For mode two, in one example, post may be considered role's group, this role include in organizing one or The multiple role of person, and by this role's group, role can be carried out Classification Management.Such as, role can include purchase handler, Clearing handler, finance handler, can configure the post of a handler, and this post includes purchasing handler, clearing warp Do the role such as people, finance handler.
For mode one, it is also possible to safeguard user's table, Jiao Sebiao, menu.For mode two, it is also possible to safeguard user Table, quarter bill, Jiao Sebiao, menu.Wherein, this user's table is used for recording ID with user profile (such as user's name, use Family cell-phone number, user's sex etc.) corresponding relation.This role's table is used for recording role identification with Role Information (such as role's title (such as super manager, edition owner), role's character (as management, be managed) etc.) corresponding relation.This menu is used for writing function Mark and the corresponding relation of function information (such as function title, feature operation etc.).This quarter bill is used for recording post mark and hilllock The corresponding relation of position information (such as post title, post character etc.).For above-mentioned user's table, Jiao Sebiao, menu, quarter bill Detailed content, repeats no more in the embodiment of the present invention, all user profile, Role Information, function information, the content of post information All within scope.
For step 202, utilizing the Function Identification and the corresponding relation of page object mark being pre-configured with, determining this merit During identifying corresponding page object mark, specifically can include but not limited to following manner: determine Function Identification pair The page iden-tity answered, and utilize the page iden-tity and the corresponding relation of page object mark being pre-configured with, determine this page iden-tity Corresponding all page object mark.Utilize the corresponding relation of Function Identification and the page object mark being pre-configured with, from all Page object mark is determined the page object mark corresponding with this Function Identification.Further, this Function Identification pair is determined The process of the page iden-tity answered, specifically can include but not limited to following manner: utilize the Function Identification and the page being pre-configured with The corresponding relation of mark, determines the page iden-tity that this Function Identification is corresponding;Or, when the function that this Function Identification is corresponding is certain During function on the page, it is determined that the page iden-tity of this page is the page iden-tity that this Function Identification is corresponding.
For determining the process of page iden-tity that this Function Identification is corresponding, in one example, can be in advance at page function Configuration feature mark and the corresponding relation of page iden-tity in the contingency table of face, as shown in table 5.After determining that Function Identification is F1, Inquire about table 5 by F1, then can determine that page iden-tity is page1.In another example, determining that Function Identification is F1 After, it is assumed that function corresponding for F1 is the function on page page1, then can determine that page iden-tity is page1.Wherein, each The page can one or more function corresponding, as user's administration page can corresponding management function, it is therefore contemplated that management Function is the function on this user's administration page, based on this, it may be determined that go out the page iden-tity that Function Identification is corresponding.
Table 5
Function Identification Page iden-tity
F1 page1
F2 page2、page3
F3 page4、page5、page6
For the corresponding relation utilizing the page iden-tity being pre-configured with to identify with page object, determine that this page iden-tity is corresponding The process of all page object mark, in one example, can be in advance at page object contingency table (the i.e. page and the page pair The contingency table of elephant) the middle corresponding relation configuring page iden-tity and page object mark, as shown in table 6.Determining page iden-tity After page1, by page1 inquire about table 6, then can determine that all page object mark include Object1, Object2, Object3、Object4。
Table 6
Page iden-tity Page object identifies
page1 Object1、Object2、Object3、Object4
page2 Object5、Object6
page3 Object7、Object8
For utilizing the Function Identification and the corresponding relation of page object mark being pre-configured with, identify from all page object In determine the process of corresponding with this Function Identification page object mark, in one example, can be in advance at functional object The corresponding relation that in contingency table (i.e. function and the contingency table of page object), configuration feature mark identifies with page object, such as table 7 Shown in.After determining that Function Identification is F1, inquire about table 7 by F1, then can determine that page object is designated Object1、Object2、Object3.Further, from corresponding for page1 all page object mark Object1, In Object2, Object3, Object4, determine the page object corresponding with this Function Identification F1 be designated Object1, Object2, Object3, and in the page object mark corresponding with Function Identification F1, do not include that page object identifies Object4。
Table 7
Function Identification Page object identifies
F1 Object1、Object2、Object3
F2 Object5、Object6、Object7
F3 Object9、Object10、Object11
In one example, it is also possible to by the function pages contingency table shown in table 5 and the functional object contingency table shown in table 7 Merge into a functional object page contingency table (i.e. the contingency table of function, page object and the page), as shown in table 8.Determining Go out after Function Identification is F1, inquire about table 8 by F1, then can determine that page iden-tity is page1, and determine page object mark Know for Object1, Object2, Object3.
Table 8
Function Identification Page iden-tity Page object identifies
F1 page1 Object1、Object2、Object3
F2 page2、page3 Object5、Object6、Object7
F3 page4、page5、page6 Object9、Object10、Object11
For step 203, in one example, it is also possible to safeguard page object table, this page object table is used for record page Face object identity and the corresponding relation of page object information (such as page object title etc.), certainly, go back in this page object information Other content can be comprised, as long as page object can be obtained based on this page object information, right in the embodiment of the present invention Repeat no more in other content.Based on this, after obtaining page object mark, it is possible to by query page Object table, To corresponding page object information, then based on the page pair that this page object acquisition of information to this page object mark is corresponding As.
In one example, page object mark specifically can include but not limited to: page assembly mark and/or page dish Single mark.Page object specifically can include but not limited to: page assembly and/or page menus.
In one example, this page assembly can include the button in the page, text box, form etc., this page menus The navigation bar in the page, bookmark hurdle, address field, status bar etc. can be included.
For step 204, in the page that service end displays to the user that, only comprise the page object got rather than Comprise all page object that this page has itself.Such as, when page iden-tity corresponding for Function Identification F1 is page1, logical Cross table 6 it can be seen that all page object that the page corresponding to page1 has be page object mark Object1, Object2, The page object that Object3, Object4 are the most corresponding.In the page that service end displays to the user that, the page object comprised is It is all that the page object of page object mark Object1, Object2, Object3 correspondence respectively rather than this page have Page object.
Corresponding to the above-mentioned example for the page 1, then page object mark Object1, Object2, Object3, Page object corresponding respectively for Object4 can be respectively page assembly 2, page menus 1, page menus 2, page assembly 1, logical Cross the technical scheme using the embodiment of the present invention to provide, when the page 1 is shown to user, be not by page assembly 2, page dish List 1, page menus 2, page assembly 1 are all shown to user, but only page assembly 2, page menus 1, page menus 2 are shown To user.
Assuming that page assembly 1 is that a user deletes button, when user 2 finally has access to the page 1, user 2 does not has Administration authority, and in the page 1 be shown to user 2, the most do not comprise page assembly 1.
In order to realize only page assembly 2, page menus 1, page menus 2 being shown to user, and page assembly 1 is not shown Show to user, the most in one example, the page 1 that service end provides a user with can not comprise page assembly 1.At another In example, the page 1 that service end provides a user with can comprise page assembly 1, but, this page assembly 1 in the page 1 also Do not show.
In one example, above-mentioned each table is (such as user's table, Jiao Sebiao, authority list, menu, user role contingency table, angle Color authority contingency table, role function contingency table, functional resources contingency table, user post contingency table, skills for occupation contingency table, function Page contingency table, page object contingency table, functional object contingency table, functional object page contingency table, page object table etc.) permissible Realized by database table mode, it is also possible to realized by configuration file, in the embodiment of the present invention to this implementation the most in addition Limit.
Based on technique scheme, in the embodiment of the present invention, corresponding with page object mark by maintenance function mark Relation, after determining the Function Identification that ID is corresponding, can get the page object of correspondence, and will comprise this page pair The page of elephant is shown to user rather than all the elements of the page is shown to user, such that it is able to dynamic based on user right Display page object, it is possible to promote Consumer's Experience, increases the process that user is mutual, improves authority models further.And, Xiang Yong The page that family shows only comprises the page object that user can process, and does not comprise the page object that user can not process, Avoid bringing puzzlement to user, promote Consumer's Experience.In user right model, add the process that user is mutual, increase friendship The mutually control of display module, the most perfect authority models.Owing to not being that all the elements of the page are shown to user, therefore Can avoid being shown to content the highest for some confidentiality user, improve safety.
Based on the inventive concept as said method, the embodiment of the present invention also provides for the display dress of a kind of page object Putting, the display device applications of this page object is in service end.The display device of this page object can be realized by software, also Can realize by the way of hardware or software and hardware combining.As a example by implemented in software, as the device on a logical meaning, Being the processor of service end by its place, computer program instructions corresponding in reading non-volatile storage is formed. For hardware view, as shown in Figure 4, the one of the service end at the display device place of the page object proposed for the present invention is hard Part structure chart, in addition to the processor shown in Fig. 4, nonvolatile memory, service end can also include other hardware, as being responsible for Process the forwarding chip of message, network interface, internal memory etc.;From the point of view of from hardware configuration, this service end is it is also possible that distributed set Standby, potentially include multiple interface card, in order to carry out the extension of Message processing at hardware view.
As it is shown in figure 5, the structure chart of display device of the page object proposed for the present invention, this device includes:
Receiver module 11, for receiving the accessing page request from user;
Parsing module 12, for parsing ID from described accessing page request;
Determine module 13, for determining the Function Identification that described ID is corresponding, and utilize the function mark being pre-configured with Know and the corresponding relation of page object mark, determine the page object mark that described Function Identification is corresponding;
Acquisition module 14, for obtaining the page object that described page object mark is corresponding;
Display module 15, for being shown to described user by the page comprising described page object.
In one example, described module 13 is determined, specifically at the Function Identification determining that described ID is corresponding During, utilize the corresponding relation of ID and the role identification being pre-configured with, determine the angle that described ID is corresponding Colour code is known, and utilizes the corresponding relation of role identification and the Function Identification being pre-configured with, and determines the merit that described role identification is corresponding Can mark;Or, utilize the ID and the corresponding relation of post mark being pre-configured with, determine that described ID is corresponding Post mark, and utilize the corresponding relation of post mark and the role identification being pre-configured with, determine described post mark correspondence Role identification, and utilize the corresponding relation of role identification and the Function Identification being pre-configured with, determine that described role identification is corresponding Function Identification.
In one example, described determine module 13, specifically for utilizing the Function Identification and the page pair being pre-configured with As the corresponding relation of mark, during determining the page object mark that described Function Identification is corresponding, determine described Function Identification Corresponding page iden-tity, and utilize the page iden-tity and the corresponding relation of page object mark being pre-configured with, determine the described page All page object mark that mark is corresponding;Utilize the corresponding relation of Function Identification and the page object mark being pre-configured with, from Described all page object mark is determined the page object mark corresponding with described Function Identification.
In one example, described module 13 is determined, specifically in the page iden-tity determining that described Function Identification is corresponding During, utilize the corresponding relation of Function Identification and the page iden-tity being pre-configured with, determine the page that described Function Identification is corresponding Face identifies;Or, when the function that the function that described Function Identification is corresponding is on certain page, it is determined that the page of the described page It is designated the page iden-tity that described Function Identification is corresponding.
In one example, described page object mark specifically includes: page assembly mark and/or page menus mark; Described page object specifically includes: page assembly and/or page menus.
Wherein, the modules of apparatus of the present invention can be integrated in one, it is also possible to separates and disposes.Above-mentioned module can be closed And be a module, it is also possible to it is further split into multiple submodule.
Through the above description of the embodiments, those skilled in the art is it can be understood that can be by the present invention Software adds the mode of required general hardware platform and realizes, naturally it is also possible to by hardware, but a lot of in the case of the former is more Good embodiment.Based on such understanding, prior art is contributed by technical scheme the most in other words Part can embody with the form of software product, and this computer software product is stored in a storage medium, if including Dry instruction is with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs this Method described in each embodiment bright.It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, Module or flow process in accompanying drawing are not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in the device in embodiment can describe according to embodiment to carry out point It is distributed in the device of embodiment, it is also possible to carry out respective change and be disposed other than in one or more devices of the present embodiment.On The module stating embodiment can merge into a module, it is possible to is further split into multiple submodule.The invention described above embodiment Sequence number, just to describing, does not represent the quality of embodiment.
The several specific embodiments being only the present invention disclosed above, but, the present invention is not limited to this, any ability What the technical staff in territory can think change all should fall into protection scope of the present invention.

Claims (10)

1. the display packing of a page object, it is characterised in that described method includes:
Receive the accessing page request from user, and parse ID from described accessing page request;
Determine the Function Identification that described ID is corresponding, and utilize the Function Identification being pre-configured with right with what page object identified Should be related to, determine the page object mark that described Function Identification is corresponding;
Obtain the page object that described page object mark is corresponding;
The page comprising described page object is shown to described user.
Method the most according to claim 1, it is characterised in that
The described process determining Function Identification corresponding to described ID, specifically includes:
Utilize the corresponding relation of ID and the role identification being pre-configured with, determine role's mark that described ID is corresponding Know;Utilize the corresponding relation of role identification and the Function Identification being pre-configured with, determine the Function Identification that described role identification is corresponding; Or, utilize the corresponding relation of ID and the post mark being pre-configured with, determine the post mark that described ID is corresponding Know;Utilize the corresponding relation of post mark and the role identification being pre-configured with, determine the role identification that described post mark is corresponding; Utilize the corresponding relation of role identification and the Function Identification being pre-configured with, determine the Function Identification that described role identification is corresponding.
Method the most according to claim 1, it is characterised in that utilize the Function Identification being pre-configured with to identify with page object Corresponding relation, determine described Function Identification corresponding page object mark, specifically include:
Determine the page iden-tity that described Function Identification is corresponding, and utilize the page iden-tity being pre-configured with right with what page object identified Should be related to, determine all page object mark that described page iden-tity is corresponding;
Utilize the corresponding relation of Function Identification and the page object mark being pre-configured with, from described all page object identify really Make the page object mark corresponding with described Function Identification.
Method the most according to claim 3, it is characterised in that
The described process determining page iden-tity that described Function Identification is corresponding, specifically includes:
Utilize the corresponding relation of Function Identification and the page iden-tity being pre-configured with, determine the page mark that described Function Identification is corresponding Know;Or, when the function that the function that described Function Identification is corresponding is on certain page, it is determined that the page iden-tity of the described page For the page iden-tity that described Function Identification is corresponding.
5. according to the method described in claim 1 or 3, it is characterised in that
Described page object mark specifically includes: page assembly mark and/or page menus mark;
Described page object specifically includes: page assembly and/or page menus.
6. the display device of a page object, it is characterised in that described device includes:
Receiver module, for receiving the accessing page request from user;
Parsing module, for parsing ID from described accessing page request;
Determine module, for determining the Function Identification that described ID is corresponding, and utilize the Function Identification and page being pre-configured with The corresponding relation of face object identity, determines the page object mark that described Function Identification is corresponding;
Acquisition module, for obtaining the page object that described page object mark is corresponding;
Display module, for being shown to described user by the page comprising described page object.
Device the most according to claim 6, it is characterised in that
Described determine module, specifically for during determining the Function Identification that described ID is corresponding, utilize and join in advance The ID put and the corresponding relation of role identification, determine the role identification that described ID is corresponding, and utilization joined in advance The role identification put and the corresponding relation of Function Identification, determine the Function Identification that described role identification is corresponding;Or, utilize in advance The ID of configuration and the corresponding relation of post mark, determine the post mark that described ID is corresponding, and utilize in advance The post mark of configuration and the corresponding relation of role identification, determine the role identification that described post mark is corresponding, and utilize in advance The role identification of configuration and the corresponding relation of Function Identification, determine the Function Identification that described role identification is corresponding.
Device the most according to claim 6, it is characterised in that described determine module, specifically for being pre-configured with in utilization The corresponding relation of Function Identification and page object mark, determine the process of the page object mark that described Function Identification is corresponding In, determine the page iden-tity that described Function Identification is corresponding, and utilize the page iden-tity being pre-configured with right with what page object identified Should be related to, determine all page object mark that described page iden-tity is corresponding;Utilize the Function Identification and the page pair being pre-configured with As the corresponding relation of mark, from described all page object identify, determine the page object mark corresponding with described Function Identification Know.
Device the most according to claim 8, it is characterised in that
Described determine module, specifically for during determining the page iden-tity that described Function Identification is corresponding, utilize and join in advance The Function Identification put and the corresponding relation of page iden-tity, determine the page iden-tity that described Function Identification is corresponding;Or, when described merit When the function of energy mark correspondence is the function on certain page, it is determined that the page iden-tity of the described page is described Function Identification pair The page iden-tity answered.
10. according to the device described in claim 6 or 8, it is characterised in that
Described page object mark specifically includes: page assembly mark and/or page menus mark;
Described page object specifically includes: page assembly and/or page menus.
CN201610569490.6A 2016-07-15 2016-07-15 The display packing of a kind of page object and device Pending CN106227785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610569490.6A CN106227785A (en) 2016-07-15 2016-07-15 The display packing of a kind of page object and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610569490.6A CN106227785A (en) 2016-07-15 2016-07-15 The display packing of a kind of page object and device

Publications (1)

Publication Number Publication Date
CN106227785A true CN106227785A (en) 2016-12-14

Family

ID=57531012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610569490.6A Pending CN106227785A (en) 2016-07-15 2016-07-15 The display packing of a kind of page object and device

Country Status (1)

Country Link
CN (1) CN106227785A (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790060A (en) * 2016-12-20 2017-05-31 微梦创科网络科技(中国)有限公司 The right management method and device of a kind of role-base access control
CN107918548A (en) * 2017-07-25 2018-04-17 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium that business function is realized
CN107943771A (en) * 2017-11-15 2018-04-20 百度在线网络技术(北京)有限公司 Generation method, device, processor and the computer-readable medium of response text
CN108255847A (en) * 2016-12-28 2018-07-06 腾讯科技(深圳)有限公司 Page generation method and device
CN108268433A (en) * 2018-02-26 2018-07-10 杭州数梦工场科技有限公司 Title abstracting method and device based on webpage article
CN108600177A (en) * 2018-03-27 2018-09-28 北京明朝万达科技股份有限公司 A kind of authority control method and device
CN108920693A (en) * 2018-07-13 2018-11-30 北京微播视界科技有限公司 A kind of methods of exhibiting of personal homepage, device, terminal device and storage medium
CN108932146A (en) * 2018-06-14 2018-12-04 万翼科技有限公司 Page display method, device and computer readable storage medium
CN109214207A (en) * 2018-08-22 2019-01-15 郑州云海信息技术有限公司 The management method and device of permission in the network of multi-user access
CN109871211A (en) * 2019-01-28 2019-06-11 平安科技(深圳)有限公司 Information displaying method and device
CN109918876A (en) * 2019-03-18 2019-06-21 京东方科技集团股份有限公司 Permission filter method and permission filter device
CN110225039A (en) * 2019-06-14 2019-09-10 无锡华云数据技术服务有限公司 Authority models acquisition, method for authenticating, gateway, server and storage medium
CN110286907A (en) * 2019-06-25 2019-09-27 北京明略软件系统有限公司 A kind of display methods and device of common button component
CN110443010A (en) * 2019-07-22 2019-11-12 安徽智恒信科技股份有限公司 One kind permission visual configuration control method, device, terminal and storage medium in information system
CN111061471A (en) * 2018-10-17 2020-04-24 福建天泉教育科技有限公司 Method and system for controlling display of interface control element
CN112163206A (en) * 2020-10-30 2021-01-01 平安数字信息科技(深圳)有限公司 Data permission setting method and device, computer equipment and storage medium
CN112333455A (en) * 2020-10-20 2021-02-05 北京达佳互联信息技术有限公司 Signaling issuing method, device, server and storage medium
CN112580095A (en) * 2020-12-15 2021-03-30 文思海辉智科科技有限公司 Data display method and device, computer equipment and storage medium
CN112579236A (en) * 2020-12-17 2021-03-30 文思海辉智科科技有限公司 Function button display method and device, computer equipment and storage medium
CN112818371A (en) * 2021-02-23 2021-05-18 建信金融科技有限责任公司 Resource access control method, system, device, equipment and medium
CN113158217A (en) * 2021-05-20 2021-07-23 湖南快乐阳光互动娱乐传媒有限公司 Authority verification method and device, computer equipment and storage medium
CN113568541A (en) * 2021-08-09 2021-10-29 豆盟(北京)科技股份有限公司 Page function determination method and device, electronic equipment and storage medium
CN113806652A (en) * 2021-09-18 2021-12-17 武汉联影医疗科技有限公司 Page generation method and device, computer equipment and storage medium
WO2023116487A1 (en) * 2021-12-24 2023-06-29 北京字跳网络技术有限公司 Task creation method and apparatus, and electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125219A (en) * 2014-07-07 2014-10-29 四川中电启明星信息技术有限公司 Centralized identity and management method aiming at electric power information system
CN104537488A (en) * 2014-12-29 2015-04-22 中国南方电网有限责任公司 Enterprise-level information system function authority unified management method
CN105550590A (en) * 2015-09-09 2016-05-04 上海赞越软件服务中心 Role-based access control mechanism
CN105653962A (en) * 2014-11-14 2016-06-08 中国科学院沈阳计算技术研究所有限公司 Object-oriented user-role-resource permission model management method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125219A (en) * 2014-07-07 2014-10-29 四川中电启明星信息技术有限公司 Centralized identity and management method aiming at electric power information system
CN105653962A (en) * 2014-11-14 2016-06-08 中国科学院沈阳计算技术研究所有限公司 Object-oriented user-role-resource permission model management method
CN104537488A (en) * 2014-12-29 2015-04-22 中国南方电网有限责任公司 Enterprise-level information system function authority unified management method
CN105550590A (en) * 2015-09-09 2016-05-04 上海赞越软件服务中心 Role-based access control mechanism

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
51BUYHOST: "RBAC模型基于角色-功能-资源的权限控制模型", 《百度文库》 *

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790060A (en) * 2016-12-20 2017-05-31 微梦创科网络科技(中国)有限公司 The right management method and device of a kind of role-base access control
CN108255847A (en) * 2016-12-28 2018-07-06 腾讯科技(深圳)有限公司 Page generation method and device
CN107918548A (en) * 2017-07-25 2018-04-17 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium that business function is realized
CN107943771A (en) * 2017-11-15 2018-04-20 百度在线网络技术(北京)有限公司 Generation method, device, processor and the computer-readable medium of response text
CN108268433A (en) * 2018-02-26 2018-07-10 杭州数梦工场科技有限公司 Title abstracting method and device based on webpage article
CN108268433B (en) * 2018-02-26 2019-06-11 杭州数梦工场科技有限公司 Title abstracting method and device based on webpage article
CN108600177B (en) * 2018-03-27 2020-06-12 北京明朝万达科技股份有限公司 Authority control method and device
CN108600177A (en) * 2018-03-27 2018-09-28 北京明朝万达科技股份有限公司 A kind of authority control method and device
CN108932146A (en) * 2018-06-14 2018-12-04 万翼科技有限公司 Page display method, device and computer readable storage medium
CN108920693A (en) * 2018-07-13 2018-11-30 北京微播视界科技有限公司 A kind of methods of exhibiting of personal homepage, device, terminal device and storage medium
CN109214207A (en) * 2018-08-22 2019-01-15 郑州云海信息技术有限公司 The management method and device of permission in the network of multi-user access
CN111061471A (en) * 2018-10-17 2020-04-24 福建天泉教育科技有限公司 Method and system for controlling display of interface control element
CN111061471B (en) * 2018-10-17 2023-05-23 福建天泉教育科技有限公司 Method and system for controlling display of interface control element
CN109871211B (en) * 2019-01-28 2024-05-07 平安科技(深圳)有限公司 Information display method and device
CN109871211A (en) * 2019-01-28 2019-06-11 平安科技(深圳)有限公司 Information displaying method and device
US11531733B2 (en) 2019-03-18 2022-12-20 Fuzhou Boe Optoelectronics Technology Co., Ltd. Authority filter method and authority filter device
WO2020187001A1 (en) * 2019-03-18 2020-09-24 京东方科技集团股份有限公司 Permission filtering method and permission filtering apparatus
CN109918876A (en) * 2019-03-18 2019-06-21 京东方科技集团股份有限公司 Permission filter method and permission filter device
CN110225039A (en) * 2019-06-14 2019-09-10 无锡华云数据技术服务有限公司 Authority models acquisition, method for authenticating, gateway, server and storage medium
CN110225039B (en) * 2019-06-14 2021-10-26 华云数据控股集团有限公司 Authority model obtaining method, authority authentication method, gateway, server and storage medium
CN110286907A (en) * 2019-06-25 2019-09-27 北京明略软件系统有限公司 A kind of display methods and device of common button component
CN110286907B (en) * 2019-06-25 2022-11-15 北京明略软件系统有限公司 Display method and device of public button assembly
CN110443010A (en) * 2019-07-22 2019-11-12 安徽智恒信科技股份有限公司 One kind permission visual configuration control method, device, terminal and storage medium in information system
CN112333455B (en) * 2020-10-20 2021-10-19 北京达佳互联信息技术有限公司 Signaling issuing method, device, server and storage medium
CN112333455A (en) * 2020-10-20 2021-02-05 北京达佳互联信息技术有限公司 Signaling issuing method, device, server and storage medium
CN112163206A (en) * 2020-10-30 2021-01-01 平安数字信息科技(深圳)有限公司 Data permission setting method and device, computer equipment and storage medium
CN112580095A (en) * 2020-12-15 2021-03-30 文思海辉智科科技有限公司 Data display method and device, computer equipment and storage medium
CN112580095B (en) * 2020-12-15 2024-07-05 文思海辉智科科技有限公司 Data display method, device, computer equipment and storage medium
CN112579236A (en) * 2020-12-17 2021-03-30 文思海辉智科科技有限公司 Function button display method and device, computer equipment and storage medium
CN112818371A (en) * 2021-02-23 2021-05-18 建信金融科技有限责任公司 Resource access control method, system, device, equipment and medium
CN113158217A (en) * 2021-05-20 2021-07-23 湖南快乐阳光互动娱乐传媒有限公司 Authority verification method and device, computer equipment and storage medium
CN113568541A (en) * 2021-08-09 2021-10-29 豆盟(北京)科技股份有限公司 Page function determination method and device, electronic equipment and storage medium
CN113806652A (en) * 2021-09-18 2021-12-17 武汉联影医疗科技有限公司 Page generation method and device, computer equipment and storage medium
CN113806652B (en) * 2021-09-18 2024-09-24 武汉联影医疗科技有限公司 Page generation method, page generation device, computer equipment and storage medium
WO2023116487A1 (en) * 2021-12-24 2023-06-29 北京字跳网络技术有限公司 Task creation method and apparatus, and electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN106227785A (en) The display packing of a kind of page object and device
CN106134143B (en) Method, apparatus and system for dynamic network access-in management
CN110365670A (en) Blacklist sharing method, device, computer equipment and storage medium
US11411959B2 (en) Execution of application in a container within a scope of user-granted permission
CN108293045A (en) Single sign-on identity management between local and remote systems
CN103607416B (en) A kind of method and application system of the certification of network terminal machine identity
CN105357027B (en) Lightweight Data Service Bus systems based on big data
US20230230066A1 (en) Crypto Wallet Configuration Data Retrieval
CN109446259B (en) Data processing method and device, processor and storage medium
CN102571359A (en) Method for certificating cloud desktop based on smart card
US20190347441A1 (en) Patient privacy de-identification in firewall switches forming VLAN segregation
Dib et al. A novel data exploitation framework based on blockchain
CN102469074A (en) Website access method and system
CN105262780A (en) Authority control method and system
Folk et al. The security implications of the Internet of Things
CN104281272A (en) Password input processing method and device
US10909264B2 (en) Personal data providing system, personal data providing method, and information processing apparatus
CN102063431B (en) Information database system and method for controlling systematic access of information database
CN104537317B (en) Control method that tenant is accessed self-defining data storehouse, device and system
Hammood et al. User authentication model based on mobile phone IMEI number: a proposed method application for online banking system
CN109784016B (en) Authority management method, system, electronic device and medium
CN103020542A (en) Technology for storing secret information for global data center
CN105827597A (en) Method for managing internet account number and password
Wang Residential mobility or mobile residentiality? Exploring the effects of place stability and variety in consumer psychology
CN106453273B (en) A kind of information insurance management system and method based on cloud

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161214