CN104506948B - A kind of message delivery method between middleware and user interface and system - Google Patents
A kind of message delivery method between middleware and user interface and system Download PDFInfo
- Publication number
- CN104506948B CN104506948B CN201410821837.2A CN201410821837A CN104506948B CN 104506948 B CN104506948 B CN 104506948B CN 201410821837 A CN201410821837 A CN 201410821837A CN 104506948 B CN104506948 B CN 104506948B
- Authority
- CN
- China
- Prior art keywords
- message
- user interface
- priority
- middleware
- arrangement table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses the message delivery method and system between a kind of middleware and user interface, this method includes:After the multiple message for receiving middleware transmission, the corresponding message arrangement table of each message is obtained;The message is handled according to the filtered model in the corresponding message arrangement table of each message respectively, and then the message transmission to corresponding user interface and/or is cached;For the message of each caching, it is handled according to the priority in the corresponding message arrangement table of the message respectively, the message of all cachings is according to priority finally delivered sequentially to user interface;For all message that middleware transmits, delete processing is carried out to it according to the puncturing pattern in the corresponding message arrangement table of each message respectively.The present invention makes the transmission step of multiple message more orderly, allows the processing of multiple message to become more to unify, and the management method in transmittance process is easier, can be widely applied to various middlewares and the transfer source field of user interface.
Description
Technical field
The present invention relates to the message delivery methods between message transferring technology more particularly to a kind of middleware and user interface
And system.
Background technology
With popularizing for DTV, set-top box enters huge numbers of families, and not only becoming must not in people's daily life
The receiving terminal for digital television that can lack, is even more defined as the carrier of home entertainment center.It is required because function is more and more
User interface also becomes increasingly complex.Many companies tend to realize its use using cross-platform graphic user interface Development Framework
Family interface, and middleware software is then used in the realization of business function.
Middleware is a major class of basic software, belongs to the scope of reusable software, it is in operating system software and answers
With the centre of software, it is capable of the complexity of masking operation system and provides a metastable higher layer applications ring for application program
Border.Middleware can provide a variety of communication mechanisms for application program, in order to keep communication interface general as much as possible, in the prior art
In, what the communication of middleware and user interface was realized generally by message pipeline.
Based on message pipeline, can reliably by the message transmission of middleware to user interface, however when middleware have it is multiple
When message needs while passing to user interface, it will the phenomenon that message collision and covering occur, for example, in the application of set-top box
In, when the message of the message of " without signal " and " USB device insertions " while when generating, it will face asking for message display order
Topic, the former is lasting, and the latter is moment, and how lasting message is restored to be also major issue.Moreover, set-top box disappears
Breath is usually more, and after the function of CA especially is added, message number further increases, and at present in technology, can not also assist in an orderly manner
The transmission step for adjusting each message is also difficult to unification to the processing of each message, and the management of message is relatively complicated.
Invention content
In order to solve the above-mentioned technical problem, multiple message are solved the object of the present invention is to provide a kind of energy and is transferred to use simultaneously
Message delivery method between the middleware and user interface of the message collision and covering problem that occur when the interface of family.
In order to solve the above-mentioned technical problem, multiple message are solved the object of the present invention is to provide a kind of energy and is transferred to use simultaneously
Messaging system between the middleware and user interface of the message collision and covering problem that occur when the interface of family.
The technical solution adopted in the present invention is:
A kind of message delivery method between middleware and user interface comprising step:
S1, after receiving multiple message that middleware transmits, the corresponding message arrangement table of each message is obtained;
S2, according to the filtered model in the corresponding message arrangement table of each message the message is handled respectively, in turn
The message transmission to corresponding user interface and/or is cached;
S3, for the message each cached, respectively according to the priority in the corresponding message arrangement table of the message to its into
Row processing, is finally according to priority delivered sequentially to user interface by the message of all cachings;
S4, all message transmitted for middleware, respectively according to the deletion in the corresponding message arrangement table of each message
Pattern carries out delete processing to it.
Preferably, the step S2 specifically includes sub-step:
S21, respectively according to the particular content of the filtered model in the corresponding message arrangement table of each message, execute respectively
S22 and S23;
S22, for filtered model be by menu list by message, present in the message transmission to menu list
User interface;
Or
It is the message filtered out by menu list, the use that will be not present in the message transmission to menu list for filtered model
Family interface;
S23, it is the message according to priority filtered for filtered model, which is cached;
Or
It is the message not filtered for filtered model, which is transferred directly to all user interfaces.
Preferably, the step S3 specifically includes sub-step:
S31, for the message each cached, according to the priority in the corresponding message arrangement table of the message it is specific in
Hold, the corresponding either step executed in step S32 ~ S34;
S32, it is the message of highest priority for priority, which is transferred to user interface first;
S33, it is the message of default priority for priority, according to the natural order of the corresponding message arrangement table of the message
By the message transmission to user interface;
S34, it is the message of lowest priority for priority, which is finally transferred to user interface.
Preferably, the step S4 specifically includes sub-step:
S41, all message transmitted for middleware, according to the puncturing pattern in the corresponding message arrangement table of each message
Particular content, the corresponding either step executed in step S42 ~ S44;
S42, it is the message being automatically deleted for puncturing pattern, which is directly deleted;
S43, it is the message deleted manually for puncturing pattern, which is retained, it is real-time until receiving user interface
Respective operations are carried out after the control instruction of transmission;
S44, it is the message that do not delete for puncturing pattern, which is retained, until there is new message to cover the message
Lid.
Preferably, it is carried out after receiving the control instruction of user interface real-time delivery described in the step S43 pair
The step of should operating, it is specially:
Message until receiving user interface real-time delivery deletes the message after deleting instruction;
Or
The message is transferred to user interface again after receiving the message retransmission instruction of user interface real-time delivery;
Or
The query result of the message is transferred to use after receiving the information query instruction of user interface real-time delivery
Family interface.
Preferably, further comprising the steps of:
Whether real-time judge receives the instruction of the modification message arrangement table of user interface passes, if so, accordingly right
Message arrangement table is modified;
And/or
Whether real-time judge receives the instruction of the message that empties the cache of user interface passes, if so, by all cachings
Message erasing.
Another technical solution of the present invention is:
A kind of messaging system between middleware and user interface, for implement a kind of middleware and user interface it
Between message delivery method, including:
Message arrangement module, for storing the multiple and one-to-one message arrangement table of message, the message arrangement table packet
Include message identifier, priority, puncturing pattern, filtered model and menu list;
Message processing module, the message for being transmitted middleware according to message arrangement mould message arrangement table in the block carry out
User interface is transferred to after respective handling;
Message managing module, for looking into message configuration module and message processing module progress parameter configuration and/or parameter
It askes.
Preferably, the highest priority priority, default priority and lowest priority, the filtered model include
By menu list by, by menu list filtering, according to priority filter and do not filter, the puncturing pattern include do not delete, from
It is dynamic to delete and delete manually.
Preferably, the message processing module includes:
Input submodule, the message for receiving middleware transmission;
Message Processing submodule, message for being transmitted middleware according to message arrangement mould message arrangement table in the block into
Row respective handling;
Message management spatial cache, for delaying to message during Message Processing submodule carries out Message Processing
It deposits;
Output sub-module, for by Message Processing submodule treated message transmission to user interface.
Preferably, the message managing module include reconfigure function, message empties function, message delete function, message
Retransmit function, information query function.
The beneficial effects of the invention are as follows:
A kind of message delivery method between the middleware and user interface of the present invention receives the multiple of middleware transmission
After message, the corresponding message arrangement table of each message is obtained, then respectively according in the corresponding message arrangement table of each message
Filtered model handles the message, and then the message transmission to corresponding user interface and/or is cached, then is directed to
The message each cached is respectively handled it according to the priority in the corresponding message arrangement table of the message, finally by institute
There is the message of caching to be according to priority delivered sequentially to user interface, is finally directed to all message that middleware transmits, respectively basis
Puncturing pattern in each corresponding message arrangement table of message carries out delete processing to it, allow multiple message transmission step more
Orderly, the processing of multiple message is allowed to become more to unify, and the management method in message process is easier, solves
Multiple message are transferred to the message collision occurred when user interface and covering problem simultaneously.
It the composite can be widely applied to various middlewares and the transfer source field of user interface.
The present invention another advantageous effect be:
A kind of messaging system between the middleware and user interface of the present invention is receiving the more of middleware transmission
After a message, carried out according to the message that message arrangement mould message arrangement table in the block transmits middleware by message processing module
It is transferred to user interface after respective handling, makes the transmission step of multiple message more orderly, the processing of multiple message is allowed to become more
Add unification, and the management method in message process is easier, solves multiple message while being transferred to user interface
When the message collision that occurs and covering problem.
It the composite can be widely applied to various middlewares and the transfer source field of user interface.
Description of the drawings
The specific implementation mode of the present invention is described further below in conjunction with the accompanying drawings:
Fig. 1 is the corresponding flow chart of message delivery method between a kind of middleware and user interface of the present invention;
Fig. 2 is a kind of structural schematic diagram of the messaging system between the middleware and user interface of the present invention;
Fig. 3 is a kind of structural representation of the message processing module of the messaging system between middleware and user interface
Figure;
Fig. 4 is the one of the message arrangement module of the messaging system between a kind of middleware and user interface of the present invention
The structural schematic diagram of message arrangement list item.
Specific implementation mode
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.
Embodiment one
Referring to Fig.1, the present invention provides the message delivery methods between a kind of middleware and user interface comprising step
Suddenly:
S1, after receiving multiple message that middleware transmits, the corresponding message arrangement table of each message is obtained;
S2, according to the filtered model in the corresponding message arrangement table of each message the message is handled respectively, in turn
The message transmission to corresponding user interface and/or is cached;
S3, for the message each cached, respectively according to the priority in the corresponding message arrangement table of the message to its into
Row processing, is finally according to priority delivered sequentially to user interface by the message of all cachings;
S4, all message transmitted for middleware, respectively according to the deletion in the corresponding message arrangement table of each message
Pattern carries out delete processing to it.
Preferably, the step S2 specifically includes sub-step S21 ~ S23:
S21, respectively according to the particular content of the filtered model in the corresponding message arrangement table of each message, execute respectively
S22 and S23;
S22, for filtered model be by menu list by message, present in the message transmission to menu list
User interface;
Or
It is the message filtered out by menu list, the use that will be not present in the message transmission to menu list for filtered model
Family interface;
S23, it is the message according to priority filtered for filtered model, which is cached;
Or
It is the message not filtered for filtered model, which is transferred directly to all user interfaces.
In step S2 because filtered model include by menu list by, by menu list filtering, according to priority filtering and
To have different combinations when not filtering four kinds of patterns, therefore executing, when filtered model be by menu list by and
When the combination according to priority filtered, first carry out by menu list through corresponding processing, then execute according to priority filtering institute it is right
The processing answered first carries out likewise, when filtered model is by menu list filtering and the combination according to priority filtered by menu
Processing corresponding to list filtering, then execute and according to priority filter corresponding processing, and so on.Therefore this step is returned
After receiving, when execution, first carries out step S22 and execute step S23 again, that is, include all executive conditions.
Preferably, the step S3 specifically includes sub-step S31 ~ S34:
S31, for the message each cached, according to the priority in the corresponding message arrangement table of the message it is specific in
Hold, the corresponding either step executed in step S32 ~ S34;
S32, it is the message of highest priority for priority, which is transferred to user interface first;
S33, it is the message of default priority for priority, according to the natural order of the corresponding message arrangement table of the message
By the message transmission to user interface;
S34, it is the message of lowest priority for priority, which is finally transferred to user interface.
Preferably, the step S4 specifically includes sub-step S41 ~ S44:
S41, all message transmitted for middleware, according to the puncturing pattern in the corresponding message arrangement table of each message
Particular content, the corresponding either step executed in step S42 ~ S44;
S42, it is the message being automatically deleted for puncturing pattern, which is directly deleted;
S43, it is the message deleted manually for puncturing pattern, which is retained, it is real-time until receiving user interface
Respective operations are carried out after the control instruction of transmission;
S44, it is the message that do not delete for puncturing pattern, which is retained, until there is new message to cover the message
Lid.
Wherein, it is preferred that until the control instruction for receiving user interface real-time delivery is laggard described in the step S43
The step of row respective operations, it is specially:
Message until receiving user interface real-time delivery deletes the message after deleting instruction;
Or
The message is transferred to user interface again after receiving the message retransmission instruction of user interface real-time delivery;
Or
The query result of the message is transferred to use after receiving the information query instruction of user interface real-time delivery
Family interface.
Preferably, this method is further comprising the steps of:
Whether real-time judge receives the instruction of the modification message arrangement table of user interface passes, if so, accordingly right
Message arrangement table is modified;
And/or
Whether real-time judge receives the instruction of the message that empties the cache of user interface passes, if so, by all cachings
Message erasing.
A kind of message delivery method between the middleware and user interface of the present invention receives the multiple of middleware transmission
After message, it is transferred to user interface after message that middleware transmits is carried out respective handling according to message arrangement table, allows multiple disappear
The transmission step of breath is more orderly, allows the processing of multiple message to become more to unify, and the manager in message process
Method is easier, the message collision and covering problem for solving multiple message while occurring when being transferred to user interface.
It the composite can be widely applied to various middlewares and the transfer source field of user interface.
Embodiment two
With reference to Fig. 2, the messaging system between a kind of middleware and user interface, for implementing a kind of middleware and using
Message delivery method between the interface of family, including:
Message arrangement module, for storing the multiple and one-to-one message arrangement table of message, the message arrangement table packet
Include message identifier, priority, puncturing pattern, filtered model and menu list;With reference to Fig. 4, the structure of message arrangement table is as follows:
Message arrangement list item(Message identifier, priority, puncturing pattern, filtered model, menu list);
That is the structure of message arrangement module is:
Message arrangement list item 1(Message identifier 1, priority, puncturing pattern, filtered model, menu list);
Message arrangement list item 2(Message identifier 2, priority, puncturing pattern, filtered model, menu list);
…
Message arrangement list item n(Message identifier n, priority, puncturing pattern, filtered model, menu list);
Message processing module, the message for being transmitted middleware according to message arrangement mould message arrangement table in the block carry out
User interface is transferred to after respective handling, specifically, the message transmission between a kind of middleware and user interface of embodiment one
The main execution step of method is that message processing module executes;
Message managing module, for looking into message configuration module and message processing module progress parameter configuration and/or parameter
It askes.
Preferably, the highest priority priority, default priority and lowest priority, the filtered model include
By menu list by, by menu list filtering, according to priority filter and do not filter, the puncturing pattern include do not delete, from
Dynamic to delete and delete manually, the menu list is the combination of one or more menu identifications, serial number natural number ascending order, example
Such as menu identification 1, menu identification 2, menu identification 3, menu identification n.
Default priority refers to distributing to the priority of message by the natural ordinal number of message identifier, it is smaller being appointed as ordinal number
Its priority is higher;
Highest priority refers to, no matter the default priority of message, has at first by the feature of message processing module processing;
Lowest priority refers to, no matter the default priority of message, has finally by the feature of message processing module processing.
It does not delete and refers to, message is retained after having been handled by message processing module, until there is new message to cover it;
It is automatically deleted and refers to, message is deleted after having been handled by message processing module;
It deletes manually and refers to, message is retained after having been handled by message processing module, by user interface calls tool function
Delete, retransmit or inquire etc..
It does not filter and refers to, message inside inbound message processing module, is not transmitted directly to user interface;
By menu list by referring to, message be simply sent to the menu list in message arrangement table it is specified within user circle
Face;
It is filtered out by menu list and refers to, message is simply sent to user circle except the menu list in message arrangement table is specified
Face;
According to priority filtering refers to that message to determine to be sent to user circle according to the optimization level specified in message arrangement table
The sequence in face.
Preferably, with reference to Fig. 3, the message processing module includes:
Input submodule, the message for receiving middleware transmission;
Message Processing submodule, message for being transmitted middleware according to message arrangement mould message arrangement table in the block into
Row respective handling;Message Processing submodule is the core component for the message delivery method for executing embodiment one;
Message management spatial cache, for delaying to message during Message Processing submodule carries out Message Processing
It deposits;
Output sub-module, for by Message Processing submodule treated message transmission to user interface.
Preferably, the message managing module include reconfigure function, message empties function, message delete function, message
Function, information query function are retransmitted, function is reconfigured and is reconfigured for carrying out parameter to message configuration module, message empties letter
All message management spatial caches of the number for flush message processing module, message delete function for receiving user interface
Message delete instruction after message is deleted, message retransmission function in the message retransmission for receiving user interface real-time delivery for referring to
Message is transferred to user interface again after order, information query function in the message for receiving user interface real-time delivery for looking into
It askes and the query result of message is transferred to user interface after instructing.
A kind of messaging system between the middleware and user interface of the present invention is receiving the more of middleware transmission
After a message, carried out according to the message that message arrangement mould message arrangement table in the block transmits middleware by message processing module
It is transferred to user interface after respective handling, makes the transmission step of multiple message more orderly, the processing of multiple message is allowed to become more
Add unification, and the management method in message process is easier, solves multiple message while being transferred to user interface
When the message collision that occurs and covering problem.
It the composite can be widely applied to various middlewares and the transfer source field of user interface.
Embodiment three
The present embodiment is a special case of embodiment one:
Assuming that programmed environment used at present is C language, includes the ui_xxx.c files for representing boundary layer, represented
The message of the mid_xxx.c files of middleware, middleware is transferred to boundary layer by message pipeline, and the message of the present invention is added
Transmission method msg_proc.c, and predefined following data structure:
// --- --- -- define message identifier --- --- --- ---
typedef enum
{
UI_MSG_STATUS_USB_INSERTED, //USB device are inserted into
UI_MSG_STATUS_SIGNAL_UNLOCKED, // signal losing lock
}MsgType_t;
// --- --- -- define message arrangement table --- --- --- ---
MsgConfigTable_t MsgConfigTable[] =
{
// --- --- --- --- --- message 1------ signal losing locks --- --- --- --- --- --- --- --- message arrangement
List item 1
{ UI_MSG_STATUS_SIGNAL_UNLOCKED, // message identifier 1
MSG_PRIORITY_DEFAULT, // priority
MSG_DELETE_AUTO, // puncturing pattern
MSG_FILTER_BY_PRIORITY |MSG_FILTER_BY_MENU_ACCEPT, // filtered model
{ UI_VIEW_ID } }, // menu list
// --- --- --- --- --- message 2------USB equipment is inserted into --- --- --- --- --- ----message arrangement table
Item 2
{ UI_MSG_STATUS_USB_INSERTED, // message identifier 2
MSG_PRIORITY_DEFAULT, // priority
MSG_DELETE_AUTO, // puncturing pattern
MSG_FILTER_BY_PRIORITY, // filtered model
{ UI_NONE_ID } }, // menu list
}
Realize that message delivery method of the present invention includes following below scheme:
1. indicating the message UI_MSG_STATUS_USB_INSERTED and indicate disappearing for signal losing lock that USB device is inserted into
Breath UI_MSG_STATUS_SIGNAL_UNLOCKED is transferred to message processing module simultaneously;
2. when message processing module receives above-mentioned two message simultaneously, first according to message identifier in message arrangement table
Middle lookup filtered model;
3. the filtered model of signal losing lock message is MSG_FILTER_BY_PRIORITY | MSG_FILTER_BY_
MENU_ACCEPT, this is indicated according to priority and by menu list by handling message, since priority is arranged to MSG_
PRIORITY_DEFAULT, so the default priority in being defined according to message identifier, UI_MSG_STATUS_ in this example
The default priority ratio UI_MSG_STATUS_USB_INSERTED of SIGNAL_UNLOCKED is low, so signal losing lock message
Step more latter than USB device insertion message reaches user interface layer, and since the menu list of signal losing lock message is set as UI_
VIEW_ID then only VIEW menus can just receive and show the message of signal losing lock, and is inserted into message then for USB device
There is no the limitation of menu.
4. since signal losing lock message is set as MSG_DELETE_AUTO, this expression is automatically deleted, i.e. signal losing lock message
It is sent to after interface and is deleted automatically from message management spatial cache.It is sent to after interface likewise, USB device is inserted into message
Also it is deleted automatically from message management spatial cache.
It is to be illustrated to the preferable implementation of the present invention, but the invention is not limited to the implementation above
Example, those skilled in the art can also make various equivalent variations or be replaced under the premise of without prejudice to spirit of that invention
It changes, these equivalent deformations or replacement are all contained in the application claim limited range.
Claims (8)
1. the message delivery method between a kind of middleware and user interface, which is characterized in that it includes step:
S1, after receiving multiple message that middleware transmits, the corresponding message arrangement table of each message is obtained;
S2, according to the filtered model in the corresponding message arrangement table of each message the message is handled respectively, and then should
Message transmission is to corresponding user interface and/or is cached;
S3, for the message each cached, respectively according to the priority in the corresponding message arrangement table of the message at it
Reason, is finally according to priority delivered sequentially to user interface by the message of all cachings;
S4, all buffered messages transmitted for middleware, respectively according to the deletion in the corresponding message arrangement table of each message
Pattern carries out delete processing to it;
The step S2 specifically includes sub-step:
S21, respectively according to the particular content of the filtered model in the corresponding message arrangement table of each message, execute respectively S22 and
S23;
S22, for filtered model be by menu list by message, by user present in the message transmission to menu list
Interface;
Or
It is the message filtered out by menu list, user circle that will be not present in the message transmission to menu list for filtered model
Face;
S23, it is the message according to priority filtered for filtered model, which is cached;
Or
It is the message not filtered for filtered model, which is transferred directly to all user planes.
2. the message delivery method between a kind of middleware according to claim 1 and user interface, which is characterized in that institute
It states step S3 and specifically includes sub-step:
S31, for the message each cached, it is right according to the particular content of the priority in the corresponding message arrangement table of the message
The either step in step S32~S34 should be executed;
S32, it is the message of highest priority for priority, which is transferred to user interface first;
S33, it is the message of default priority for priority, it should according to the natural order of the corresponding message arrangement table of the message
Message transmission is to user interface;
S34, it is the message of lowest priority for priority, which is finally transferred to user interface.
3. the message delivery method between a kind of middleware according to claim 1 and user interface, which is characterized in that institute
It states step S4 and specifically includes sub-step:
S41, all buffered messages transmitted for middleware, according to the puncturing pattern in the corresponding message arrangement table of each message
Particular content, the corresponding either step executed in step S42~S44;
S42, it is the message being automatically deleted for puncturing pattern, which is directly deleted;
S43, it is the message deleted manually for puncturing pattern, which is retained, until receiving user interface real-time delivery
Control instruction after carry out respective operations;
S44, it is the message that do not delete for puncturing pattern, which is retained, until there is new message to cover the message.
4. the message delivery method between a kind of middleware according to claim 3 and user interface, which is characterized in that institute
It states described in step S43 and the step of progress respective operations, has after receiving the control instruction of user interface real-time delivery
Body is:
Message until receiving user interface real-time delivery deletes the message after deleting instruction;
Or
The message is transferred to user interface again after receiving the message retransmission instruction of user interface real-time delivery;
Or
The query result of the message is transferred to user circle after receiving the information query instruction of user interface real-time delivery
Face.
5. the message delivery method between a kind of middleware according to any one of claims 1 to 4 and user interface, special
Sign is, further comprising the steps of:
Whether real-time judge receives the instruction of the modification message arrangement table of user interface passes, if so, accordingly to message
Allocation list is modified;
And/or
Whether real-time judge receives the instruction of the message that empties the cache of user interface passes, if so, disappearing all cachings
Breath is removed.
6. the messaging system between a kind of middleware and user interface, for implementing such as claim 1 to 5 any one institute
Message delivery method between a kind of middleware stated and user interface, which is characterized in that at message arrangement module, message
Manage module and message managing module;
The message arrangement module is used for:Store the multiple and one-to-one message arrangement table of message, the message arrangement table packet
Include message identifier, priority, puncturing pattern, filtered model and menu list;
The message processing module is for executing following steps:
S1, after receiving multiple message that middleware transmits, the corresponding message arrangement table of each message is obtained;
S2, according to the filtered model in the corresponding message arrangement table of each message the message is handled respectively, and then should
Message transmission is to corresponding user interface and/or is cached;
S3, for the message each cached, respectively according to the priority in the corresponding message arrangement table of the message at it
Reason, is finally according to priority delivered sequentially to user interface by the message of all cachings;
S4, all buffered messages transmitted for middleware, respectively according to the deletion in the corresponding message arrangement table of each message
Pattern carries out delete processing to it;
The step S2 specifically includes sub-step S21~S23:
S21, respectively according to the particular content of the filtered model in the corresponding message arrangement table of each message, execute respectively S22 and
S23;
S22, for filtered model be by menu list by message, by user present in the message transmission to menu list
Interface;
Or
It is the message filtered out by menu list, user circle that will be not present in the message transmission to menu list for filtered model
Face;
S23, it is the message according to priority filtered for filtered model, which is cached;Or
It is the message not filtered for filtered model, which is transferred directly to all user interfaces;
The message managing module is used to carry out parameter configuration to message configuration module and message processing module and/or parameter is looked into
It askes.
7. the messaging system between a kind of middleware according to claim 6 and user interface, which is characterized in that institute
It includes highest priority, default priority and lowest priority to state priority, and the filtered model includes logical by menu list
It crosses, filtered, according to priority filter and do not filtered by menu list, the puncturing pattern is not including deleting, being automatically deleted and manually
It deletes.
8. the messaging system between a kind of middleware according to claim 7 and user interface, the Message Processing
Module includes:
Input submodule, the message for receiving middleware transmission;
Message Processing submodule, the message for being transmitted middleware according to message arrangement mould message arrangement table in the block carry out phase
It should handle;
Message management spatial cache, for being cached to message during Message Processing submodule carries out Message Processing;
Output sub-module, for by Message Processing submodule treated message transmission to user interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410821837.2A CN104506948B (en) | 2014-12-25 | 2014-12-25 | A kind of message delivery method between middleware and user interface and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410821837.2A CN104506948B (en) | 2014-12-25 | 2014-12-25 | A kind of message delivery method between middleware and user interface and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104506948A CN104506948A (en) | 2015-04-08 |
CN104506948B true CN104506948B (en) | 2018-10-23 |
Family
ID=52948652
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410821837.2A Expired - Fee Related CN104506948B (en) | 2014-12-25 | 2014-12-25 | A kind of message delivery method between middleware and user interface and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104506948B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105187929A (en) * | 2015-08-19 | 2015-12-23 | 浪潮软件集团有限公司 | Method for realizing global response message on set-top box |
CN105824710A (en) * | 2015-11-16 | 2016-08-03 | 广东亿迅科技有限公司 | Data processing method |
CN106851411A (en) * | 2016-12-29 | 2017-06-13 | 深圳Tcl数字技术有限公司 | Television set control message transmission method, system and device |
CN108881987A (en) * | 2018-06-13 | 2018-11-23 | 青岛海信宽带多媒体技术有限公司 | Media play controlling method, device, equipment and the storage medium of set-top box |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1635781A (en) * | 2003-12-29 | 2005-07-06 | 北京中视联数字系统有限公司 | A method for uniform processing of digital television receiver middleware messages |
CN100351799C (en) * | 2005-09-12 | 2007-11-28 | 浙江大学 | Telecommunication between tasks based on news objects in embedded real-time operation system |
CN101277426A (en) * | 2008-04-18 | 2008-10-01 | 中兴通讯股份有限公司 | Method and system for transmitting message based on network television system |
CN101957755B (en) * | 2010-09-21 | 2014-01-29 | 用友软件股份有限公司 | Method and device for uniformly managing message |
CN102890631B (en) * | 2012-09-13 | 2016-12-07 | 新浪网技术(中国)有限公司 | Method based on persistent message queue transmission message and massage transmission device |
-
2014
- 2014-12-25 CN CN201410821837.2A patent/CN104506948B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN104506948A (en) | 2015-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104506948B (en) | A kind of message delivery method between middleware and user interface and system | |
CN103312814B (en) | The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user | |
CN103218115B (en) | The optimization display packing of a kind of informing and mobile terminal | |
CN103260087B (en) | Display device and its control method | |
CN104780458A (en) | Method and electronic equipment for loading effects in instant video | |
CN104796390B (en) | The system and method that a kind of electronic whiteboard the whole network is synchronously cancelled and recovered | |
CN105739967A (en) | Method of asynchronously calling native by js in mobile application | |
CN105022627B (en) | A kind of communication means in android system between View | |
WO2019047441A1 (en) | Communication optimization method and system | |
CN104486389B (en) | Communication port method for building up and system between a kind of window management service and APP | |
CN104765641A (en) | Job scheduling method and system | |
CN107682460A (en) | A kind of distributed storage trunked data communication method and system | |
CN101197675B (en) | Accesses control list configuration method and device | |
CN105787300B (en) | A kind of method and system that control software uses | |
CN105847319A (en) | Mobile terminal network request method and system | |
CN109117127A (en) | Program code generation method, device and computer readable storage medium | |
CN103914286B (en) | Management method and manager for tab page in user interface | |
CN107908332A (en) | One kind applies interior text clone method, reproducing unit, storage medium and electronic equipment | |
CN105227984B (en) | Remote controller key distribution method and device | |
CN106293970B (en) | Asynchronous processing method and system between a kind of process based on IPC | |
CN110119429A (en) | Data processing method, device, computer equipment and storage medium | |
CN110012003A (en) | A kind of cloud application grabs screen method and apparatus | |
CN104506331B (en) | A kind of multicast message transmission method and multi-core network device | |
CN101504607A (en) | Window state manager and method, window management system and method | |
CN103150162B (en) | Improve the method for embedded software code degree of share |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181023 Termination date: 20191225 |
|
CF01 | Termination of patent right due to non-payment of annual fee |