Front-end request processing method, device and equipment and readable storage medium
A technology for request processing and storage media, which is applied in the field of devices, equipment and readable storage media, and front-end request processing methods, and can solve problems such as complex processing logic, low efficiency, and high maintenance costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] Please refer to figure 1 , figure 1 It is a flow chart of a front-end request processing method in an embodiment of the present application, and the method can be applied to a gateway (also called a gateway or a protocol converter). The specific relationship between the gateway, the front-end page and the background service is as follows: figure 2 shown. That is, a gateway is added between the front-end requests generated by the existing front-end pages and the back-end services, and the gateway is used as the middle layer to distribute them to different business back-end services according to the rules. Specifically, including:
[0049] The first layer: the front-end convergence page, different businesses do not need to be differentiated;
[0050] The second layer: the gateway handles it uniformly, and forwards it to different business backend services according to different rules;
[0051] The third layer: each background service processes the received front-end...
Embodiment 2
[0097] Corresponding to the above method embodiment, the embodiment of the present application also provides a front-end request processing device, which can be applied to a gateway. The front-end request processing device described below and the front-end request processing method described above can be referred to in correspondence .
[0098] see Figure 4 As shown, the device includes the following modules:
[0099] Front-end request acquisition module 101, configured to acquire the front-end request generated by the front-end page;
[0100] A service identifier acquisition module 102, configured to acquire the service identifier carried by the front-end request;
[0101] The service query module 103 is used to determine the target background service corresponding to the service identifier by using routing rules;
[0102] The front-end request forwarding module 104 is configured to forward the front-end request to the target background service, so as to use the target ba...
Embodiment 3
[0112] Corresponding to the above method embodiment, the embodiment of the present application also provides a front-end request processing device. The front-end request processing device described below and the front-end request processing method described above can be referred to in correspondence.
[0113] see Figure 5 As shown, the front-end request processing equipment includes:
[0114] memory D1 for storing computer programs;
[0115] The processor D2 is configured to implement the steps of the front-end request processing method in the above method embodiment when executing the computer program.
[0116] Specifically, please refer to Figure 6 , is a specific structural diagram of a front-end request processing device provided in this embodiment. The front-end request processing device may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPUs) ) 322 (eg, one or more processors) ...
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