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

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. For some functions, the menu must be opened, and then the implementation interface of some functions in the menu must be opened, and customized page development must be carried out for different roles, and some functions in the menu cannot be opened through general configuration.

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

Embodiment Construction

[0046] Certain terms are used, for example, in the description and claims to refer to particular components. Those skilled in the art should understand that hardware manufacturers may use different terms to refer to the same component. The specification and claims do not use the difference in name as a way to distinguish components, but use the difference in function of components as a criterion for distinguishing. As mentioned throughout the specification and claims, "comprising" is an open term, so it should be interpreted as "including but not limited to". "Approximately" means that within an 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 may be directly elect...

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
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More