Page processing method and device, electronic equipment and storage medium
By generating call information and writing it to a message queue in a single-page application, the problem of mutual interference when different page components communicate is solved, enabling independent updates and accurate display of component content.
CN114490126BActive Publication Date: 2026-07-24BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING BAIDU NETCOM SCI & TECH CO LTD
- Filing Date
- 2022-01-19
- Publication Date
- 2026-07-24
Smart Images

Figure CN114490126B_ABST
Abstract
The present disclosure provides a page processing method and device, electronic equipment and storage medium, and relates to the fields of intelligent search, natural language processing and the like. The specific implementation scheme is: in the case that a first component in a target page monitors a target event, an event identifier and an event parameter of the target event are acquired, and first calling information is generated according to the event identifier and the event parameter and a page identifier of the target page; the first global method is called according to the first calling information, so as to write the event parameter in the first calling information into a first message queue corresponding to the page identifier and the event identifier; the first message queue is used for a second component in the target page paying attention to the first message queue, and the second component performs component content updating and display according to the event parameter written in the first message queue. Thus, when the first component in the target page monitors the target event, the second component can be notified to perform component content updating according to the event parameter of the target event in the form of calling the global method.
Need to check novelty before this filing date? Find Prior Art