Interface routing forwarding method and system, computer equipment and readable storage medium
A forwarding method and interface technology, applied in the computer field, can solve the problems of high development cost, code redundancy, and low system security.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 2 A flow chart of an interface routing and forwarding method according to Embodiment 1 of the present invention is schematically shown. It can be understood that the flowchart in this method embodiment is not used to limit the sequence of execution steps. An exemplary description is given below taking the computer device 2 as the execution subject.
[0032] like figure 2 As shown, the interface routing and forwarding method may include steps S200-S210, wherein:
[0033] Step S200, receiving the request sent by the front end through the unified interface path layer.
[0034] After the unified interface path layer receives the request sent by the front end, it can perform one or more of the following operations on the request: parameter verification, converting objects, assembling returned objects, and exception handling. Take parameter verification as an example:
[0035] (1) parsing the request to obtain multiple service parameters;
[0036] (2) Check wheth...
Embodiment 3
[0058] Figure 4 Schematically shows a block diagram of an interface routing and forwarding system according to Embodiment 3 of the present invention, the interface routing and forwarding system can be divided into one or more program modules, one or more program modules are stored in a storage medium, and are composed of Executed by one or more processors to implement the embodiments of the present invention. The program modules referred to in the embodiments of the present invention refer to a series of computer program instruction segments capable of accomplishing specific functions. The following description will specifically introduce the functions of each program module in this embodiment.
[0059] like Figure 4 As shown, the interface routing and forwarding system 400 may include a first receiving module 410, a sending module 420, a generating module 430, a second receiving module 440 and a calling module 450, wherein:
[0060] The first receiving module 410 is confi...
Embodiment 4
[0079] The present invention also provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by the processor in the following steps: receiving the request sent by the front end through the unified interface path layer; The layer sends the first preset business parameter in the request to the factory class; the factory class generates a business realization class object based on the first preset business parameter and returns the business realization class object; through the The unified interface path layer receives the service implementation class object returned by the factory class; and calls the unified interface layer through the unified interface path layer, so as to call the service method of the service implementation class object through the unified interface layer.
[0080] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for exam...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com