API (Application Program Interface) authority management and API calling method and related device

An API interface and permission management technology, applied in the field of API interface management, can solve the problems of high modification cost, high maintenance cost, large labor cost, etc., and achieve the effect of reducing development and maintenance costs and maintenance costs.

Inactive Publication Date: 2022-01-07
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, the traditional page multi-scenario solution is to call separately after making judgments at the calling place of the business end
However, the maintenance cost of the traditional API interface rights management scheme is huge, and once the interface is changed, it will consume a lot of labor costs
Since there are more and more API interface calls on a single page, and each scene has its own set of API interface calls in multiple scenarios, the traditional solution may require scene judgment calls at each API interface call in the page. At this time, if a new scene is added, the modification cost is huge, and new problems may be introduced due to negligence

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
  • API (Application Program Interface) authority management and API calling method and related device
  • API (Application Program Interface) authority management and API calling method and related device
  • API (Application Program Interface) authority management and API calling method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The core of this application is to provide a method for API interface authority management and API interface calling, which can reduce development and maintenance costs, and can reduce the possibility of problems introduced by modification. Another core of the present application is to provide a device, device, and computer-readable storage medium for API interface authority management and API interface calling, all of which have the above-mentioned technical effects.

[0050] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained ...

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 an API (Application Program Interface) authority management and API calling method. The method comprises the following steps: creating an API file; creating a first object in the API file, wherein the key name of the first object is the page authority, and the key value of the first object is an array formed by the APIs called by the page authority; carrying out API interface authority management according to the first object; creating a second object in the API file, wherein the key name of the second object is a scene identifier, the key value of the second object is a third object, the key name of the third object is an API calling name, and the key value of the third object is an API called by the scene; and calling the API interface according to the second object. According to the method, the development and maintenance cost can be reduced, and the possibility of modifying an introduction problem can be reduced. The invention further discloses an API authority management and API calling device and equipment and a computer readable storage medium which all have the technical effects.

Description

technical field [0001] The present application relates to the technical field of API interface management, in particular to a method for API interface authority management and API interface calling; and also relates to an API interface authority management and API interface calling device, equipment and computer-readable storage medium. Background technique [0002] With the continuous development of front-end technology, the complexity of front-end projects has gradually increased. A front-end project may have dozens or hundreds of pages and hundreds or thousands of interfaces. Faced with many pages and interfaces, the traditional API (Application Programming Interface, Application Programming Interface) interface authority management method is to manage by manually creating corresponding relationships. In addition, the traditional page multi-scenario solution is called separately after judgment is made at the calling place of the business side. However, the maintenance c...

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 & AuthorityApplications(China)
IPC IPC(8): G06F9/54G06F21/51
CPCG06F9/547G06F21/51
Inventor孙方正苗春雨厉智豪范渊
OwnerHANGZHOU ANHENG INFORMATION TECH CO LTD