External request processing method and related device

A technology for external requests and processing methods, applied in software design and other directions, can solve security problems and other issues, and achieve the effect of improving security and avoiding illegal calls

Pending Publication Date: 2020-01-07
上海客佳信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide an external request processing method, system, device and computer-readable storage medium to solve how to avoid security problems caused by API openness

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
  • External request processing method and related device
  • External request processing method and related device
  • External request processing method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0043] The embodiment of the present invention discloses an external request processing method, system, device and computer-readable storage medium, so as to solve how to avoid security problems caused by API opening.

[0044] see figure 1 , an external request processing method provided by an embodiment of the present invention, specifically includes:

[0045] S101. Receive request information transmitted by an external requester using a preset interface; wherein...

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 external request processing method and a related device. On the condition that universal interface class is inherited, only the interface corresponding to the requester is opened for the external requester instead of opening all interfaces to the outside, so that the request information transmitted by the external requester through the preset interface corresponding to the external requester is received firstly, then the implementation method corresponding to the preset interface is called to process the request information, and the processing result is returned to the external requester. Therefore, the interface is only pertinently opened for an external requester, all the interfaces are not opened to all the external request parties, so that the external request parties without the opened interfaces cannot call any interface, the external request parties with the opened interfaces can only call the corresponding interfaces, illegal calling of the interfacescan be avoided, and the safety is improved. Besides, the external requester can only call the corresponding interface without selecting from all the interfaces, so that the external requester is morefriendly to the external requester.

Description

technical field [0001] The present invention relates to request processing technology, and more specifically, to an external request processing method, system, device and computer-readable storage medium. Background technique [0002] Spring is an open source design-level framework. It solves the problem of loose coupling between the business logic layer and other layers, so it uses interface-oriented programming ideas throughout the entire system application. Spring is a lightweight Java development framework that emerged in 2003, created by Rod Johnson. Simply put, Spring is a layered JavaSE / EE full-stack (one-stop) lightweight open source framework. [0003] In the traditional Java development under the Spring framework, multiple APIs are defined in the controller class for external access. When an external request needs to access an API, all APIs of the controller class are opened to the requester. In order for the external requester to call the required API to complet...

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/20
CPCG06F8/24
Inventor 白露
Owner 上海客佳信息科技有限公司
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