Message processing method and device, electronic equipment and computer readable storage medium
A message processing and message technology, applied in the computer field, can solve problems such as time-consuming, complicated communication between UI lines, and stuck
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0081] Such as Figure 5 As shown, it is one of the flow diagrams of the message processing method of the embodiment of the present invention. The method is based on the multi-layer nested structure introduced above. The multi-layer nested interfaces correspond to the multi-layered control trees respectively. In the control tree corresponding to any layer interface of the current layer interface, it includes the first control node corresponding to the next layer interface embedded in the current layer interface and the second control node corresponding to the single control in the current layer interface; in the terminal interface, Including the second control node corresponding to a single control in the interface of the current layer, the parent node of the root node of the control tree corresponding to the interface of the next layer is the corresponding first control node in the interface of the previous layer.
[0082] Based on the above-mentioned multi-layer nested archi...
Embodiment 2
[0098] Such as Figure 6 As shown, it is one of the schematic structural diagrams of the message processing device of the embodiment of the present invention, which is also based on the multi-layer interface nesting and multi-layer control tree structure in the first embodiment. The unit includes:
[0099] The message acquiring module 11 is configured to acquire interface messages. As described in Embodiment 1, the processing process of obtaining interface messages can be executed in the UI thread, therefore, the message obtaining module 11 can be a program module running in the UI thread, and can also control or initiate the UI thread to perform corresponding processing program module. Specifically, the UI thread reads the IO event message from the message queue, and then performs message conversion on the IO event message to generate an interface message. Wherein, the window handle and / or the coordinate information of the IO event carried in the IO event message and the i...
Embodiment 3
[0110] Such as Figure 7 As shown in , it is a schematic flowchart of a message processing method in an embodiment of the present invention, and the method includes:
[0111] S201: Acquiring interface messages of multi-layer nested interfaces. This step can be performed by the UI thread.
[0112] S202: Obtain a control tree corresponding to a multi-layer nested interface. This step can be performed by the UI thread and the interface processing logic corresponding to the interface of each layer. Specifically, the control tree can be stored in a designated area of the operating system, and the UI thread and the interface processing logic corresponding to the interface of each layer can read controls from this area. Information about the tree.
[0113] S203: According to the multi-layer control tree, route the interface message layer by layer to the interface processing logic corresponding to the end interface or the interface processing logic corresponding to a single contr...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com