Webpage processing method and device, electronic equipment and program product

By constructing a mapping table between namespaces and event listeners, event listeners are automatically managed, solving the problem of low efficiency in component event handling in single-page web applications and improving development efficiency and application stability.

CN122086706APending Publication Date: 2026-05-26INDUSTRIAL AND COMMERCIAL BANK OF CHINA +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Filing Date
2026-02-13
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In the development of single-page applications, the large number of page components and the repetitive nature of event listener processing for these components lead to low development efficiency and a high risk of errors. Existing technologies lack systematic solutions for this problem.

Method used

By constructing a mapping table between namespaces and event listeners, the registration and unbinding of event listeners are automatically managed. The namespace is used to automatically locate and execute target event listeners, ensuring the accuracy of event handling and the timely reclamation of resources.

Benefits of technology

It improves development efficiency, avoids errors caused by repetitive coding and human negligence, enhances the stability and interactive experience of web applications, and optimizes the event handling process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122086706A_ABST
    Figure CN122086706A_ABST
Patent Text Reader

Abstract

The invention discloses a webpage processing method and device, electronic equipment and a program product, and relates to the technical field of computer software and the field of financial science and technology, and the method comprises the following steps: determining a plurality of components contained in a target webpage; determining a first namespace corresponding to each component in the plurality of components, and determining a first event monitor corresponding to each component according to the component information of each component; constructing a mapping relation between the first namespace and the first event monitor, and determining a mapping relation table according to the mapping relation; and determining a target event monitor according to the second namespace corresponding to the target event and the mapping relation table, and executing a callback function corresponding to the target event monitor to respond to the target event. Through the method and the device, the problem that in the related technology, in the process that developers develop webpage single-page applications, due to the fact that the number of page components is large, the process of processing event monitors corresponding to the components is high in repetition and extremely prone to making mistakes, the development efficiency is low is solved.
Need to check novelty before this filing date? Find Prior Art