Event transfer method and device, medium and product

By passing the view object data in the event response chain between view objects and combining the data dependencies, the difficulties in maintaining the hierarchical relationship between view and view controller and the low efficiency of event delivery in the prior art are solved, and the rapid transmission and accurate processing of events are achieved.

CN119668606APending Publication Date: 2025-03-2158 CHANG LIFE (BEIJING) INFORMATION TECH CO LTD
0 Cites 0 Cited by

Patent Information

Application Number
CN202411750790.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

In the prior art, application developers need to pre-maintain the hierarchical relationship between the view and the view controller, resulting in large code storage space and heavy burden on developers, and low event delivery efficiency.

Method used

By obtaining the interactive operation-related view object data from the data collection point of the first view, and using the event response chain to carry the view object data for event transmission, combined with the data dependency, the view object data does not depend on the preamble view object data when the tail view object is processed, and the rapid transmission of events is achieved.

Benefits of technology

Without relying on the hierarchical relationship between view objects pre-maintained by developers, event delivery is more efficient. The tail view object can handle event based on accurate view object data, further realizing the rapid transmission of events.

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

Abstract

The embodiment of the invention provides an event transfer method and device, a medium and a product. In the method, view object data related to interaction operation can be obtained from a data collection burying point of a first view; determining a response chain branch having a response relationship with the first view from the event response chain to form a view object sequence; according to the data dependency relationship between the view controller and the views, when it is judged that the tail view object in the view object sequence processes the interaction event without depending on the view object data of the preorder view object, the interaction event and the view object data of the first view are transmitted to the tail view object. Through the mode, the event response chain can be utilized to carry the view object data to carry out event transmission, and the tail view object can carry out event processing more accurately according to the view object data instead of depending on a hierarchical relationship among view objects pre-maintained by developers; in the event transfer process, the rapid transfer of the event can be further realized in combination with the data dependency relationship.
Need to check novelty before this filing date? Find Prior Art