Front-end-based request processing method, device, terminal, and storage medium

Through the use of preset scripts and tools to uniformly process Ajax requests of front-end projects, the problems of resource waste and errors in global modifications are solved, and security and efficiency are achieved.

CN118916055BActive Publication Date: 2025-09-16PING AN BANK CO LTD
2 Cites 0 Cited by

Patent Information

Application Number
CN202411060002.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2025-09-16
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

When making global modifications to existing front-end frameworks, especially when adding unified security verification logic or integrating tracking systems, there are problems of resource waste and runtime errors. They cannot be directly defined globally and are prone to duplicate definitions.

Method used

The Ajax method is logically processed through the preset high-order functions of the preset script, including encryption and decryption and embedding of tracking information, generating a unified object and then requesting the method. It is then built using the Esbuild packaging tool and package management tool to generate a compatible library function file.

Benefits of technology

It achieves secure processing of request parameters, efficient construction and loading of resources, simplifies code maintenance, improves code maintainability and scalability, and avoids duplicate definitions and runtime errors.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present invention provides a front-end-based request processing method, device, terminal and storage medium, the method comprising: obtaining a request method for updating a front-end project; performing logical processing on all Ajax methods in the request method through a preset high-order function of a preset script to obtain a processed request method, wherein the preset high-order function includes a first preset function and a second preset function; redefining the processed request method through the preset script to obtain a unified object request method; constructing the unified object request method to generate a corresponding library function file; the present invention realizes secure processing of request parameters, efficient construction and loading of resources, and dynamic function expansion through unified processing, security enhancement and efficient construction process for Ajax requests.
Need to check novelty before this filing date? Find Prior Art