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

Inactive Publication Date: 2015-04-08
SHENZHEN JIUZHOU ELECTRIC
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on the message pipeline, the messages of the middleware can be reliably delivered to the user interface. However, when the middleware has multiple messages that need to be delivered to the user interface at the same time, there will be message conflicts and overlapping phenomena, for example, in the application of set-top boxes , when the message of "no signal" and the message of "USB device plugged in" are generated at the same time, the problem of message display sequence will be fac

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message passing method and message passing system between middleware and user interfaces
  • Message passing method and message passing system between middleware and user interfaces
  • Message passing method and message passing system between middleware and user interfaces

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0065] Example one

[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...

Example Embodiment

[0102] Example two

[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...

Example Embodiment

[0132] Example three

[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 i...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a message passing method and a message passing system between middleware and user interfaces. The method comprises the following steps of acquiring a message configuration table corresponding to each message after multiple messages passed by the middleware are received; processing the messages according to a filter mode in the message configuration table corresponding to each message, and further passing the messages to the corresponding user interfaces and/or caching; processing each cached message according to the priority in the message configuration table corresponding to the message, and finally, passing all the cached messages to the user interfaces in order of priority; deleting all the messages passed by the middleware according to a delete mode in the message configuration table corresponding to each message. According to the message passing method and the message passing system disclosed by the invention, the passing steps of the messages are more orderly, so processing of the messages is more unified, and moreover, a management method in a passing process is simpler; the message passing method and the message passing system can be widely applied to the field of message passing between various kinds of middleware and the user interfaces.

Description

Technical field [0001] The present invention relates to message transfer technology, in particular to a message transfer method and system between middleware and user interface. Background technique [0002] With the popularity of digital TV, set-top boxes have entered thousands of households, not only have become an indispensable digital TV receiving terminal in people's daily life, but also defined as a carrier of home entertainment centers. With more and more functions, the required user interface becomes more and more complex. Many companies tend to use cross-platform graphical user interface development frameworks to implement their user interfaces, and use middleware software for the realization of business functions. [0003] Middleware is a large category of basic software and belongs to the category of reusable software. It is in the middle of operating system software and application software. It can shield the complexity of the operating system and provide a relatively ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04N21/472H04N21/482
CPCH04N21/47205H04N21/482
Inventor 周林青
Owner SHENZHEN JIUZHOU ELECTRIC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products