CN1937550A - Message middleware based on digital home network - Google Patents

Message middleware based on digital home network Download PDF

Info

Publication number
CN1937550A
CN1937550A CNA2006100366634A CN200610036663A CN1937550A CN 1937550 A CN1937550 A CN 1937550A CN A2006100366634 A CNA2006100366634 A CN A2006100366634A CN 200610036663 A CN200610036663 A CN 200610036663A CN 1937550 A CN1937550 A CN 1937550A
Authority
CN
China
Prior art keywords
message
home network
queue
digital home
module
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.)
Pending
Application number
CNA2006100366634A
Other languages
Chinese (zh)
Inventor
罗笑南
彭斌斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CNA2006100366634A priority Critical patent/CN1937550A/en
Publication of CN1937550A publication Critical patent/CN1937550A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a message middleware based on digital home network, arranged between operating system of digital home equipment and application program, comprising application programming interface providing united programming interface for upper layer application programs, message queue, queue manager, message detector, storage manager, basic module, system management module and message transmission agent module. And it abstracts a logic communication function from different hardware system structures, operating systems, network accesses and communication standards of various message home appliances, providing a series of services for upper layer home network application programs to help build and configure distributed applications in home network and compose important members of digital home network.

Description

A kind of message-oriented middleware based on digital home network
Technical field
The invention belongs to the digital home network technical field, particularly relate to a kind of message-oriented middleware based on digital home network.
Technical background
Digital home network is to implement the space with the family, is objective for implementation with household PC and other digital home appliance, realizes networking, accomplish to interconnect, home intelligence, and by the Internet at acquired information, prolong with the wider Shen of aspects such as the people exchanges work.From network topology and application scenarios, all electronic products are connected to an equity or single net of master-slave mode or bunch network system by a certain communication protocol with star-like, annular etc. in the digital home network, this system can support two-way communication, the user can use terminal monitoring equipment such as mobile phone or the Internet to monitor the operating position of all household electrical appliances, household electrical appliances also can " oppositely active transmission ", meeting the monitor terminal that initiatively tame electrical information is sent to the user under the condition of setting.
Digital home network is a dynamic environment, and in the use, equipment can be brought in constant renewal in, and new equipment joins in the digital home network, can be by other recognition of devices in network, and it also can find miscellaneous equipment simultaneously, and co-ordination mutually; So the equipment of digital home network is numerous and diverse various,, must guarantee that same application can move on the household electrical appliances that adopt different embedded OSs for the convenience of using.It is also remarkable to address these problems, because the resource in the home network environment constitutes very complicated, the equipment that adopts different operating system and hardware systems is not only arranged, there is the software member that can be used in the network in addition, even the people also can become the resource part of network, so just the developer to design information household electrical appliances and home network member has caused very big difficulty, how to make the developer can ignore the bottom-up information of various distinct devices, how to use the use general-purpose interface, become the big problem that this area will face at design family network distribution type.
The middleware of active computer technology is meant between operating system, hardware and lower floor's communication system and application program, for upper layer application provides a cover unified DLL (dynamic link library), and has with lower floor's software and compares the more system of strong functions.The development of middleware is in order to solve interaction problems to a great extent, it has shielded the complexity and the non-same sex of time layer system to upper layer application, for application provides a cover unified development interface and consistent data access capabilities, make upper layer application needn't consider to use the feature of the following layer system of operation.Middleware is a kind of software of application layer, it is a kind of key member of application integration, a good middleware product should be able to solve the variety of issue that digital home's interconnection brings, as supports various communications protocol, various Communications service patterns, transmit various data contents, the data format translation, flow control, data encryption, data compression etc., name Service is provided, security control, concurrent control, reliability guarantees, efficient guarantees, abundant application and development interface based on different platform is provided, support popular developing instrument, support popular heterogeneous interconnects interface standard or the like.
So, can in digital home network, adopt middleware Technology, make middleware in digital home network as data " flexible bus ", various heterogeneous systems can organically be combined into an integral body by middleware.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of message-oriented middleware that makes things convenient for the application programming of digital home network is provided.
In order to realize the foregoing invention purpose, the technical scheme of employing is as follows:
A kind of message-oriented middleware based on digital home network, be arranged between the operating system and application program of digital family equipment, being included as upper level applications provides the message-oriented middleware API of unified DLL (dynamic link library), message queue, queue management device, message detector, storage manager, basic module, system management module and message transport agents module.
Described message queue comprises reception formation, work queue, transmit queue, delayed delivery formation.
Described message queue according to priority height sorts to message.
Described queue management device is connected with message queue.
Described message detector internally is connected with message queue and message transport agents module, externally is connected with application program.
Interconnect by point-to-point communication between the described message transport agents module.
Described storage manager is deposited the link path information with information client side.
In the technique scheme, described queue management device is a core component of the present invention, and it is responsible for creating and the deletion formation, and the priority of the behavior of control formation and adjustment formation mainly contains compositions such as message queue, theme formation, message access, theme server.
Described message detector monitors message queue has or not message, and monitoring has message in the transmit queue, and notification message transmission agency sends message, and monitoring the reception formation has message, and notification application is handled this message.
The communication mechanism that described message transport agents module utilizes network to provide is responsible for message dilivery to other message queues, and simultaneously can also the detection network fault and recover from fault, guarantees that message safety arrives the destination reliably.
Among the present invention, nodes of all services of giving information are symmetrical, and the queue management device on the different nodes can carry out the take second place point-to-point communication of branch of dereliction.Each node in the distributed system of transmitting based on message all has the function that receives and send message, is system's communication service that gives information.This service itself is independently, and it is as the forwards submodule, ensure end-to-end between information exchange reliably.The service that the message transport agents module is provided is reliable transmission of messages service.Make the forwarding of message between node can guarantee that safety, reliable and single can reach, and can utilize technology such as data compression, breakpoint transmission to improve the efficient of transmission.
The message transport agents modular design will realize that objectives transmit, ensure the reliable transmission that single can reach, the Restoration Mechanism that gives information guarantees message that message sends for the message that point-to-point is provided, comprise the breakpoint transmission under the network failure, the condition of information of joining the team under the node failure is recovered.
The message transport agents module provides information exchange reliably between node as the module of forwards.On the one hand, it sends to long-range destination message transport agents module with the message in the local transmit queue; On the other hand, the message that its receiving remote message transport agents module is sent, and it is sent to message queue in the local message queue manager.
Described basic module provides infrastructure service, as name Service, compression, safety, journal function, mainly is made up of compression module, security module, name Service and log services etc., and this module mainly supplies other module invokes.
Described system management module makes the use of system manager's energy interactively, maintenance and management middleware, and administrative messag middleware system parameter, the static input of nodal information, subject information input, theme subscriber information, name Service management and maintenance, generation preservation, node that RSA key is right can reach functions such as situation.System management module also is responsible for all message that can not lose and critical events of record in activity log.After the activity log record was full, system management module copied it in archive log to.
Advantage of the present invention is as follows:
1, because the present invention passes through message transport agents module messaging, and between the message transport agents module point-to-point communication, so any one node breaks down, can not influence other internodal intercommunication mutually, can not cause mortal injury to whole system.Overcome in the transmission of messages mode that with the message server is the center, the normal operation of the main reliance server of system robustness, if server breaks down, no matter whether each node normally moves the problem that whole system is all paralysed.
2, has the high efficiency of transmission function, because message queue height according to priority sorts, so the message that priority is high can be by prioritised transmission and Priority Service, deposit the link path of client by storage manager, and the present invention also reduces the network data amount by data compression technique, improve transmission of messages efficient by the breakpoint transmission technology, improved efficiency of transmission.
3, transmission of messages is safe and reliable, because the present invention provides protecting data encryption by basic module, can adopt new data encryption standard, has proposed based on RSA hybrid network transmission data encipher scheme, and it is close to make the realization granularity of data encryption can be respiration one.
4, flexible communications pattern, the present invention supports the point-to-point communication of the message two kinds of patterns of communicating by letter with publish/subscribe.Publish/subscribe then is a kind of new distribution applications communication pattern, and the publish/subscribe communication pattern then provides certain anonymity for the application program of communication.
Description of drawings
Fig. 1 is enforcing location figure of the present invention;
Fig. 2 is a system assumption diagram of the present invention;
Fig. 3 is modular structure figure of the present invention;
Fig. 4 is message transmission flow figure of the present invention.
Embodiment
The present invention is described further below in conjunction with accompanying drawing.
Of the present invention be applied in the digital home network the position as shown in Figure 1, it is between the operating system of application program and digital family network appliance, operate on the operating system of household electrical appliances, the function of using operating system to provide, different hardware architecture from various Internet appliance products, operating system, a kind of communication function in logic that takes out in network insertion and the communication standard, for the home network application program on upper strata provides a series of services, be used for helping to set up and dispose the Distributed Application of home network, constitute the important composition member of digital home network.
Architecture of the present invention comprises message-oriented middleware API APIs, message queue, queue management device, message detector, storage manager, basic module, system management module and message transport agents module as shown in Figure 2.The message transport agents module utilizes the TCP/IP communications protocol of network to carry out point-to-point communication.
Modular structure figure of the present invention as shown in Figure 3, queue management device is responsible for creating and the deletion formation, the behavior of control formation and adjust the priority of formation mainly contains the write queue of message queue and reads compositions such as formation, theme formation, theme server.
Described message detector monitors message queue has or not message, and monitoring has message in the transmit queue, and notification message transmission agency sends message, and monitoring the reception formation has message, and notification application is handled this message.
The communication mechanism that described message transport agents module utilizes network to provide, be responsible for message dilivery to other message queues, and simultaneously can also the detection network fault and from fault, recover, guarantee that message safety arrives the destination reliably, mainly contain that message compression is encrypted, data are cut apart and synthesize, compositions such as packet transmitter, receiver, it is by calling the basic module realization.
Also pass through the operation information of the log pattern recording messages middleware of system management module.
Message transmission flow of the present invention as shown in Figure 4, whether the transmit queue of at first judging message is empty, according to priority height order when judging, if message send queue non-NULL, then from transmit queue, take out a piece of news, from buffering, search the existence that links that whether has with this message sink client again, if being arranged, the link of existence just uses this link, otherwise create a link again, when these data send end, a client link buffering area is put in this link and waited for next the use.When message center can't be set up with linking of destination client, message center was just put into the delayed delivery formation to this message, and the message in the delayed delivery formation is to attempt this message is resend away according to certain time interval.If message center is set up successfully with linking of destination client, message center just sends this message, if send successfully then get back to starting point, takes out the message that sends once more and send from transmit queue.If fail when message center sends message to client, message center is also put into the delayed delivery formation to this message.
At message center, reception formation except administrative messag, work queue, outside the transmit queue, also has a delayed delivery formation, described work queue is a buffer queue, when the reception program is put into this buffer queue to the message that receives in the formation to it through after the preliminary treatment, the wait matcher is handled it, if the match is successful then the message in this formation is moved on to transmit queue, message in the delayed delivery formation is those message that can't in time send to client, message center can judge whether the message in this formation has crossed the term of validity every the regular hour, if crossed the term of validity this Message Record in error log, do not resend to client if surpass the term of validity then this message put in the transmit queue.
In sending Message Processing, system sets up a buffering area that links with client, keeps the link of transmission recently.When sending message, at first inquire about this buffering area, see the link that whether has this destination client, if exist then directly use this link to save the time of setting up link.When message center started, message center can keep and the linking of other message centers always, and this is because the communication between the message center is more frequent, so the link between the reservation message center can improve the performance of system significantly.

Claims (7)

1, a kind of message-oriented middleware based on digital home network, be arranged between the operating system and application program of digital family equipment, it is characterized in that being included as upper level applications provides the message-oriented middleware API of unified DLL (dynamic link library), message queue, queue management device, message detector, storage manager, basic module, system management module and message transport agents module.
2, the message-oriented middleware based on digital home network according to claim 1 is characterized in that described message queue comprises reception formation, work queue, transmit queue, delayed delivery formation.
3, the message-oriented middleware based on digital home network according to claim 1 and 2 is characterized in that described message queue according to priority just sorts to message.
4, the message-oriented middleware based on digital home network according to claim 3 is characterized in that described queue management device is connected with message queue.
5, the message-oriented middleware based on digital home network according to claim 4 is characterized in that described message detector internally is connected with message queue and message transport agents module, externally is connected with application program.
6, the message-oriented middleware based on digital home network according to claim 5 is characterized in that interconnecting by point-to-point communication between the described message transport agents module.
7, the message-oriented middleware based on digital home network according to claim 6 is characterized in that described storage manager deposits the link path information with information client side.
CNA2006100366634A 2006-07-25 2006-07-25 Message middleware based on digital home network Pending CN1937550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006100366634A CN1937550A (en) 2006-07-25 2006-07-25 Message middleware based on digital home network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006100366634A CN1937550A (en) 2006-07-25 2006-07-25 Message middleware based on digital home network

Publications (1)

Publication Number Publication Date
CN1937550A true CN1937550A (en) 2007-03-28

Family

ID=37954830

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006100366634A Pending CN1937550A (en) 2006-07-25 2006-07-25 Message middleware based on digital home network

Country Status (1)

Country Link
CN (1) CN1937550A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100478896C (en) * 2007-06-08 2009-04-15 北京大学 Method for accessing information service in component operation support platform
CN104076793A (en) * 2014-07-06 2014-10-01 中山大学深圳研究院 Digital household device integrated control method and system based on embedded middleware
CN104933573A (en) * 2015-06-09 2015-09-23 广西家之宝网络科技有限公司 Online retailer system having functions of message buffering and automatic retransmission
CN104933579A (en) * 2015-06-09 2015-09-23 广西家之宝网络科技有限公司 Non-refreshment interaction online retailer system having functions of message buffering and automatic re-transmission
CN104933600A (en) * 2015-06-09 2015-09-23 广西家之宝网络科技有限公司 Non-refresh interaction online retailer system having functions of message buffering and automatic retransmission
CN104965766A (en) * 2015-06-09 2015-10-07 广西家之宝网络科技有限公司 Message caching and automatic retransmitting E-commerce system based on ORM framework
CN105187327A (en) * 2015-08-14 2015-12-23 广东能龙教育股份有限公司 Distributed message queue middleware
CN105516364A (en) * 2016-01-21 2016-04-20 浪潮(北京)电子信息产业有限公司 Heterogeneous message processing method and device for cloud storage
CN105591969A (en) * 2015-11-23 2016-05-18 江苏瑞中数据股份有限公司 Message bus usage method in state grid environment
CN107943602A (en) * 2017-12-15 2018-04-20 北京数码视讯科技股份有限公司 Hardware abstraction plateform system and equipment based on AVS2 codings
CN109547543A (en) * 2018-11-15 2019-03-29 上海赫千电子科技有限公司 The distributed operating system and operation method of vehicle-mounted Ethernet
CN111866148A (en) * 2020-07-23 2020-10-30 浪潮云信息技术股份公司 Message queue flow control system
CN113032492A (en) * 2021-04-21 2021-06-25 新奥数能科技有限公司 Method and device for transmitting and storing edge terminal data

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100478896C (en) * 2007-06-08 2009-04-15 北京大学 Method for accessing information service in component operation support platform
CN104076793A (en) * 2014-07-06 2014-10-01 中山大学深圳研究院 Digital household device integrated control method and system based on embedded middleware
CN104933573A (en) * 2015-06-09 2015-09-23 广西家之宝网络科技有限公司 Online retailer system having functions of message buffering and automatic retransmission
CN104933579A (en) * 2015-06-09 2015-09-23 广西家之宝网络科技有限公司 Non-refreshment interaction online retailer system having functions of message buffering and automatic re-transmission
CN104933600A (en) * 2015-06-09 2015-09-23 广西家之宝网络科技有限公司 Non-refresh interaction online retailer system having functions of message buffering and automatic retransmission
CN104965766A (en) * 2015-06-09 2015-10-07 广西家之宝网络科技有限公司 Message caching and automatic retransmitting E-commerce system based on ORM framework
CN105187327A (en) * 2015-08-14 2015-12-23 广东能龙教育股份有限公司 Distributed message queue middleware
CN105591969A (en) * 2015-11-23 2016-05-18 江苏瑞中数据股份有限公司 Message bus usage method in state grid environment
CN105516364A (en) * 2016-01-21 2016-04-20 浪潮(北京)电子信息产业有限公司 Heterogeneous message processing method and device for cloud storage
CN107943602A (en) * 2017-12-15 2018-04-20 北京数码视讯科技股份有限公司 Hardware abstraction plateform system and equipment based on AVS2 codings
CN109547543A (en) * 2018-11-15 2019-03-29 上海赫千电子科技有限公司 The distributed operating system and operation method of vehicle-mounted Ethernet
CN111866148A (en) * 2020-07-23 2020-10-30 浪潮云信息技术股份公司 Message queue flow control system
CN111866148B (en) * 2020-07-23 2022-05-31 浪潮云信息技术股份公司 Message queue flow control system
CN113032492A (en) * 2021-04-21 2021-06-25 新奥数能科技有限公司 Method and device for transmitting and storing edge terminal data
CN113032492B (en) * 2021-04-21 2024-07-09 新奥数能科技有限公司 Method and device for transmitting and storing data at edge end

Similar Documents

Publication Publication Date Title
CN1937550A (en) Message middleware based on digital home network
Veríssimo et al. Intrusion-tolerant middleware: The road to automatic security
US8719780B2 (en) Application server with a protocol-neutral programming model for developing telecommunications-based applications
US11095476B2 (en) Spanning tree protocol enabled n-node link aggregation system
CN101631127A (en) File transfer method and clients
CN103731328A (en) System and method for achieving home gateway data communication based on Linux shared memory
CN105072021A (en) Cross-segment message forwarding method for dispatching automation systems
US6687747B1 (en) System and network interoperations using a MIB-based object-oriented signaling protocol
KR100571520B1 (en) The method of resource sharing in a home network system with unification middleware
KR100489686B1 (en) Method for processing event of softswitch
CN113992740B (en) Middleware based on autonomous control and data transmission method
CN113259404B (en) Industrial communication middleware based on TCP/IP protocol and use method thereof
CN101483566A (en) Middleware oriented to 3C fusion
Mullender Interprocess communication
Ranganathan et al. Mobile streams: A middleware for reconfigurable distributed scripting
Pinte et al. Enabling cross-technology mobile applications with network-aware references
Kwon et al. DDSS: A Communication Middleware based on the DDS for Mobile and Pervasive Systems
Macêdo et al. Coordination of mobile processes with mobile groups
Prnjat et al. Integrity and security of the application level active networks
KR100715144B1 (en) Method comprising a mobile network system consisted of only pda
Ali et al. Decentralized and Fault-tolerant FIPA-compliant Agent Framework Based on. Net
Pinte et al. Network-aware references for pervasive social applications
Anastasi et al. Fault-tolerant support for reliable multicast in mobile wireless systems: design and evaluation
TW202236825A (en) Instant messaging system and method thereof and computer readable medium
Anastasi et al. Fault-tolerant support for reliable multicast in mobile wireless systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication