Method and system for message transmission between middleware and user interface

A user interface and message delivery technology, applied in electrical components, image communication, selective content distribution, etc., can solve problems such as difficult unification of message processing, message conflict and coverage, cumbersome message management, etc., to solve the problem of message conflict and coverage , orderly delivery steps and simple management methods

Inactive Publication Date: 2018-10-23
SHENZHEN JIUZHOU ELECTRIC
View PDF5 Cites 0 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 faced. The former is continuous, while the latter is instantaneous. How to restore the continuous message is also an important issue.
Moreover, there are usually many messages in the set-top box, especially after adding the CA function, the number of messages will further increase. In the current technology, it is still impossible to coordinate the delivery steps of each message in an orderly manner, and it is difficult to unify the processing of each message. The management of messages more cumbersome

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
  • Method and system for message transmission between middleware and user interface
  • Method and system for message transmission between middleware and user interface
  • Method and system for message transmission between middleware and user interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] refer to figure 1 , the present invention provides a message delivery method between middleware and user interface, which comprises steps:

[0067] S1. After receiving multiple messages transmitted by the middleware, obtain a message configuration table corresponding to each message;

[0068] S2. Process the message according to the filtering mode in the message configuration table corresponding to each message, and then deliver the message to the corresponding user interface and / or cache it;

[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 the cached messages to the user interface in order of priority;

[0070] S4. For all the messages transmitted by the middleware, delete them respectively according to the deletion mode in the message configuration table corresponding to each message.

[0071] Preferably, the step S2 specifically includes sub-steps S21 ...

Embodiment 2

[0103] refer to figure 2 , a message passing system between middleware and user interface, for implementing a message passing method between middleware and user interface, comprising:

[0104] The message configuration module is used to store a plurality of message configuration tables corresponding to messages one by one, and the message configuration table includes message identification, priority, deletion mode, filter mode and menu list; refer to Figure 4 , the structure of the message configuration table is as follows:

[0105] Message configuration table items (message ID, 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 ID 1, priority, delete mode, filter mode, menu list);

[0108] Message configuration table item 2 (message ID 2, priority, delete mode, filter mode, menu list);

[0109] …

[0110] Message configuration table item n (message ...

Embodiment 3

[0133] This embodiment is a special case of embodiment one:

[0134] Assuming that the currently used programming environment is C language, the ui_xxx.c file representing the interface layer and the mid_xxx.c file representing the middleware have been included, and the messages of the middleware are transmitted to the interface layer through the message pipeline, and the message transmission of the present invention is added The method msg_proc.c has predefined the following data structures:

[0135] / / --------Define the message ID------------

[0136] typedef enum

[0137] {

[0138] UI_MSG_STATUS_USB_INSERTED, / / USB device inserted

[0139] UI_MSG_STATUS_SIGNAL_UNLOCKED, / / signal unlocked

[0140]}MsgType_t;

[0141] / / ---------Define message configuration table------------

[0142] MsgConfigTable_t MsgConfigTable[] =

[0143] {

[0144] / / ---------------Message 1------Signal out of lock------------------- --Message configuration entry 1

[0145] {UI_MSG_STATUS_SIGN...

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 invention relates to message delivery technology, in particular to a message delivery method and system between middleware and a user interface. Background technique [0002] With the popularization of digital TV, set-top boxes have entered thousands of households, not only becoming an indispensable digital TV receiving terminal in people's daily life, but also defined as the carrier of home entertainment center. As more and more functions are added, the required user interface becomes more and more complex. Many companies tend to adopt a cross-platform GUI development framework to realize their user interface, 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 stable hig...

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
Patent Type & Authority Patents(China)
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