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

Pending Publication Date: 2020-06-23
政采云有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method is difficult to form a unified style and user habits, with low efficiency and poor effect; second, unified page processing, judgment in the front-end code, calling different business interfaces, and performing differentiated processing
However, the processing logic of this method is complex, the page display is coupled with different business judgment logic, the maintenance cost is high, and the scalability is poor.
[0004] It can be seen that the existing solutions still have many defects in the differentiated processing of the front-end requests generated by the front-end pages.

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
  • Front-end request processing method, device and equipment and readable storage medium
  • Front-end request processing method, device and equipment and readable storage medium
  • Front-end request processing method, device and equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

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) ...

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 front-end request processing method, device and equipment and a readable storage medium. In the method, a gateway is added between a front-end webpage and a background service to serve as an intermediate layer. The gateway can obtain the front-end requests, determine the target background service corresponding to each front-end request, and forward the front-end requeststo the target background services, so that the target background services process the corresponding front-end requests. Visibly, the front-end page is connected with the background service; compared with the prior art, difference processing does not need to be carried out due to different businesses, an interface, namely a gateway, is unified, so that the background service processes the front-endrequest, decoupling between the front-end page and the background service is realized, the front-end request of the front-end page can be further managed in a unified manner, and the logic complexityof the front-end page is reduced.

Description

technical field [0001] The present application relates to the field of computer application technology, in particular to a front-end request processing method, device, equipment and readable storage medium. Background technique [0002] Web pages exist as a window for users to interact with the background of the website. Web pages in different forms not only present unique features to users, but also bring difficulties to web page development, service / business logic processing, and management. For example, in e-commerce websites, there is often such a situation that the homepages, store pages, and product detail pages of different businesses are different, and the differences are large, making it difficult to converge and deal with them uniformly. [0003] At present, in order to solve the differentiated processing of front-end pages, there are two commonly used solutions: First, each business develops its own page functions. However, this method is difficult to form a unif...

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): G06F16/958G06F16/953
CPCG06F16/958G06F16/953
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