Web development front-end and rear-end separation authority control method and system

A technology of authority control, front-end and back-end, which is applied in the field of front-end and back-end separation authority control of web development, to achieve the effect of reducing the complexity of authority control, simplifying the definition of role authority, and simplifying the control method

Pending Publication Date: 2020-02-11
BEIJING BEWINNER COMM CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The authority control method in the prior art is divided into two modules: menu and interface. There is no connection between the two modules. The granularity of menu authority control is relatively coarse, and the granularity of interface authority control is too fine.

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
  • Web development front-end and rear-end separation authority control method and system
  • Web development front-end and rear-end separation authority control method and system
  • Web development front-end and rear-end separation authority control method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0046] For example, certain words are used in the description and claims to refer to specific components. Those skilled in the art should understand that hardware manufacturers may use different terms to refer to the same component. This specification and claims do not use differences in names as a way to distinguish components, but use differences in functions of components as a criterion. If the "include" mentioned in the entire specification and claims is an open term, it should be interpreted as "include but not limited to". "Approximately" means that within the acceptable error range, those skilled in the art can solve the technical problem within a certain error range, and basically achieve the technical effect. In addition, the term "coupled" herein includes any direct and indirect electrical coupling means. Therefore, if it is described that a first device is coupled to a second device, it means that the first device can be directly electrically coupled to the second ...

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 discloses a web development front-end and rear-end separation authority control method and system, and relates to the technical field of web system authority control. The method comprises the steps of creating a role; initializing a service packet and interface data corresponding to the service packet; initializing functions and function interface data corresponding to the functions;initializing a menu and menu functions; initializing a role menu; initializing a role menu function; initializing an interface capable of being called by a role; carrying out role permission controljudgment; when a user calls an interface, the back end acquiring the role of the user; querying an interface list which can be called by the role of the user, and judging whether calling can be carried out or not according to the interface list which can be called by the role of the user. By decoupling the interface service logic and the permission control part, the rear-end interface only needs to realize the service logic, and when the interface needs to be increased or decreased, only the corresponding relationship between the function and the interface needs to be modified, so that the control method of the interface calling permission can be simplified, and the permission control complexity is reduced.

Description

technical field [0001] The present application relates to the technical field of web system authority control, and in particular, relates to a method and system for separating authority control between front and rear ends of web development. Background technique [0002] In web development, the separation of front-end and back-end has become the mainstream technology. By defining interfaces at the back-end, generating js (javascript) scripts and interface documents, the front-end can see all the interfaces provided by the back-end. Therefore, the front-end can call the back-end according to the documents. Any interface, so as to realize the data interaction between the front and back ends. Although the development efficiency can be improved by separating and decoupling the front and back ends, at the same time, for security reasons, when a user calls a back-end interface, it is necessary to determine whether the user has permission to call the interface, that is, it is neces...

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
IPC IPC(8): G06F8/38G06F16/958G06F21/60
CPCG06F8/38G06F16/958G06F21/604
Inventor 许鹏兵曹东
Owner BEIJING BEWINNER COMM CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products