Message passing method and message passing system between middleware and user interfaces
A user interface and message delivery technology, applied in electrical components, image communication, selective content distribution, etc., can solve the problems of unification of message processing, message conflict and coverage, and increase in the number of messages, so as to solve the problem of message conflict and coverage. , The effect of orderly delivery steps and simple management methods
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0066] Reference figure 1 , The present invention provides a message transfer method between middleware and user interface, which includes the steps:
[0067] S1. After receiving multiple messages delivered by the middleware, obtain the message configuration table corresponding to each message;
[0068] S2. Process the message according to the filter mode in the message configuration table corresponding to each message, and then transfer the message to the corresponding user interface and / or cache;
[0069] S3. For each cached message, process it according to the priority in the message configuration table corresponding to the message, and finally deliver all cached messages to the user interface in the order of priority;
[0070] S4. For all messages delivered by the middleware, delete them according to the delete mode in the message configuration table corresponding to each message.
[0071] Preferably, the step S2 specifically includes sub-steps S21 to S23:
[0072] S21: Perform S22 a...
Embodiment 2
[0103] Reference figure 2 , A message transfer system between middleware and user interface, used to implement a message transfer method between middleware and user interface, including:
[0104] The message configuration module is used to store a plurality of message configuration tables corresponding to messages one-to-one, and the message configuration tables include message identification, priority, deletion mode, filtering mode and menu list; refer to Figure 4 , The structure of the message configuration table is as follows:
[0105] Message configuration table items (message identification, priority, delete mode, filter mode, menu list);
[0106] That is, the structure of the message configuration module is:
[0107] Message configuration table item 1 (message identification 1, priority, delete mode, filter mode, menu list);
[0108] Message configuration table item 2 (message identification 2, priority, delete mode, filter mode, menu list);
[0109] …
[0110] Message configurat...
Embodiment 3
[0133] This embodiment is a special case of the first embodiment:
[0134] Assuming that the currently used programming environment is C language, it already includes the ui_xxx.c file representing the interface layer and the mid_xxx.c file representing the middleware. The message of the middleware is transmitted to the interface layer through the message pipeline, and the message transmission of the present invention is added. Method msg_proc.c, and the following data structure has been predefined:
[0135] / / --------Define the message identifier------------
[0136] typedef enum
[0137] {
[0138] UI_MSG_STATUS_USB_INSERTED, / / USB device inserted
[0139] UI_MSG_STATUS_SIGNAL_UNLOCKED, / / Signal is out of lock
[0140] }MsgType_t;
[0141] / / --------Define the message configuration table------------
[0142] MsgConfigTable_t MsgConfigTable[] =
[0143] {
[0144] / / ---------------Message 1------signal lockout ---------------------- --Message configuration table item 1
[0145] {UI_MSG_...
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