Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Detailed permission control method, system, device and medium based on front end

A technology of authority control and details, applied in the computer field, can solve the problems of narrow scope of application, unclickable buttons, low efficiency of authority control, etc., to achieve the effect of increasing the scope of application, improving stability, and improving efficiency

Active Publication Date: 2021-03-19
福州智象信息技术有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Traditionally, the permission control for the user interface is realized through the routing table, that is, the permission control is performed by obtaining the current user's permission and comparing the permissions on the routing table. However, the traditional method has the following disadvantages: 1. The routing table needs to be compared in the 2. When the user does not have the permission of a button in the left menu bar, the button cannot be clicked, and the corresponding page cannot be jumped to, resulting in the inability to control the button on the page. Perform authority control, that is, it is impossible to achieve detailed authority control, and the scope of application is narrow

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Detailed permission control method, system, device and medium based on front end
  • Detailed permission control method, system, device and medium based on front end
  • Detailed permission control method, system, device and medium based on front end

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] This embodiment provides a front-end-based detailed permission control method, such as figure 1 shown, including the following steps:

[0046] Step S10, setting the jump page corresponding to each first-level control in the left menu bar and the corresponding request and request parameters of each second-level control on each jump page;

[0047] Step S20, after the web page receives the trigger signal of the first control, it directly jumps to the corresponding jump page; after receiving the trigger signal of the first control through the front-end web page, it directly jumps to the corresponding jump page Page, that is, do not set permissions for the first control, and directly control the detailed permissions of the second control on the jump page, avoiding the traditional shortcomings of not being able to display the jump page due to lack of permissions for the first control, which greatly improves The applicable scope of authority control is defined.

[0048] The ...

Embodiment 2

[0059] This embodiment provides a front-end-based detailed authority control system, such as figure 2 As shown, the following modules are included:

[0060] The association module is used to set the jump page corresponding to each first-level control in the left menu bar and the corresponding request and request parameters of each second-level control on each jump page;

[0061] The first trigger module is used to directly jump to the corresponding jump page after the webpage receives the trigger signal of the first control; after receiving the trigger signal of the first control through the front-end webpage, directly jump to The corresponding jump page, that is, does not set permissions for the first control, and directly controls the detailed permissions of the second control on the jump page, avoiding the traditional disadvantage of not being able to display the jump page because it does not have the permissions of the first control. The scope of application of authority...

Embodiment 3

[0074] This embodiment provides a front-end-based detailed authority control device, such as image 3 As shown, it includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, any implementation manner in Embodiment 1 can be realized.

[0075] Since the electronic device introduced in this embodiment is the device used to implement the method in Embodiment 1 of this application, based on the method described in Embodiment 1 of this application, those skilled in the art can understand the electronic device of this embodiment. Specific implementation methods and various variations thereof, so how the electronic device implements the method in the embodiment of the present application will not be described in detail here. As long as a person skilled in the art implements the equipment used by the method in the embodiment of the present application, it all belongs to the protection scop...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a detail permission control method, system, device and medium based on a front end in the field of computers. The method comprises the steps that S10, skipping pages corresponding to all first-level controls of a left menu bar and requests and request parameters corresponding to all second-level controls on all the skipping pages are set; s20, after receiving the trigger signal of the first control, the webpage skips to a corresponding skipping page; s30, after the webpage receives a trigger signal of the second control, a request and a request parameter corresponding tothe secondary control are sent to the server; s40, the server stores the stored comparison table, the received request and the request parameter and sends the corresponding key value pair to the webpage; s50, the webpage receives the key value pairs returned by the server and preprocesses the key value pairs; and S60, the webpage executes a corresponding operation based on the preprocessed key value pair and performs page display. The authority control method has the advantages that the authority control efficiency is greatly improved, and the application range is greatly widened.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a front-end-based detailed authority control method, system, equipment and media. Background technique [0002] With the advancement of science and technology, computers have become an indispensable office and entertainment tool in people's lives. When using a computer, it is necessary to perform related operations through a user interface, such as clicking the button on the menu bar of the home page of the browser to trigger the corresponding page jump and other operations. In order to manage users, it is necessary to control the detailed authority of each button . [0003] Traditionally, the permission control for the user interface is realized through the routing table, that is, the permission control is performed by obtaining the current user's permission and comparing the permissions on the routing table. However, the traditional method has the following disadvantages: 1. T...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/958G06F21/60
CPCG06F16/958G06F21/604Y02P90/02
Inventor 陈云胥超华
Owner 福州智象信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products