Authority filter method and authority filter device
AssigneesFuzhou Boe Optoelectronics Technology Co., Ltd., Boe Technology Group Co., Ltd.
InventorChenxu Huang
Life of this patent
Estimating the term…
Abstract
The disclosure relates to an authority filter method which includes: determining an authority of a login user according to information of the login user; determining tags contained in a preset interface when the preset interface is accessed by the login user; executing a code corresponding to the tags to acquire the authority of the login user; determining a function of a target tag, among the tags, contained in the authority of the login user; and displaying a content corresponding to the target tag in the preset interface.
Claims9
An authority filter method, comprising:
- determining an authority of a login user according to information of the login user;
- determining tags contained in a preset interface when the preset interface is accessed by the login user;
- executing a code corresponding to the tags to acquire the authority of the login user;
- determining a function of a target tag, among the tags, contained in the authority of the login user;
- and
- displaying a content corresponding to the target tag in the preset interface,
- wherein before determining the authority of the login user according to information of a user table of the login user, the method further comprises:
- combining a SpringMvc framework and a Mybatis framework into a new system framework, based on Java interface-oriented programming technology and generic and reflection mechanisms,
- wherein the new system framework comprises the user table, a role table, an authority table, an intermediate table of a user role, and an intermediate table of a role authority, the user table is used to record a name of a user and information of the user, the role table is used to record a role and validity of the role, the authority table is used to record identification of authority, a link of the authority, and validity of the authority, the intermediate table of the user role is used to record a correlation between the user and the role, and the intermediate table of the role authority is used to record a correlation between the role and the authority.
An authority filter device, comprising:
- an authority determination module, configured to determine an authority of a login user according to information of the login user;
- a tag determination module, configured to determine tags contained in a preset interface when the preset interface is accessed by the login user;
- an authority acquisition module, configured to execute a code corresponding to the tags to acquire the authority of the login user;
- a function determination module, configured to determine a function of a target tag, among the tags, contained in the authority of the login user;
- a content display module, configured to display a content corresponding to the target tag in the preset interface;
- and
- a framework combination module configured to combine a SpringMvc framework and a Mybatis framework into a new system framework based on Java interface-oriented programming technology and generic and reflection mechanisms,
- wherein the new system framework comprises a user table, a role table, an authority table, an intermediate table of a user role, and an intermediate table of a role authority, the user table is used to record a name of a user and information of the user, the role table is used to record a role and validity of the role, the authority table is used to record identification of authority, a link of the authority, and validity of the authority, the intermediate table of the user role is used to record a correlation between the user and the role, and the intermediate table of the role authority is used to record a correlation between the role and the authority.
An electronic device, comprising:
- a processor;
- and
- a memory, configured to store instructions that are capable of being executed by the processor,
- wherein the processor is configured to execute an authority filter method, comprising:
- determining an authority of a login user according to information of the login user;
- determining tags contained in a preset interface when the preset interface is accessed by the login user;
- executing a code corresponding to the tags to acquire the authority of the login user;
- determining a function of a target tag, among the tags, contained in the authority of the login user;
- and
- displaying a content corresponding to the target tag in the preset interface,
- wherein before determining the authority of the login user according to information of a user table of the login user, the method further comprises:
- combining a SpringMvc framework and a Mybatis framework into a new system framework, based on Java interface-oriented programming technology and generic and reflection mechanisms,
- wherein the new system framework comprises the user table, a role table, an authority table, an intermediate table of a user role, and an intermediate table of a role authority, the user table is used to record a name of a user and information of the user, the role table is used to record a role and validity of the role, the authority table is used to record identification of authority, a link of the authority, and validity of the authority, the intermediate table of the user role is used to record a correlation between the user and the role, and the intermediate table of the role authority is used to record a correlation between the role and the authority.
Dependencies are inferred from the claim text.