CN104320441A - Method of sharing information between wireless communication systems - Google Patents
Method of sharing information between wireless communication systems Download PDFInfo
- Publication number
- CN104320441A CN104320441A CN201410527673.2A CN201410527673A CN104320441A CN 104320441 A CN104320441 A CN 104320441A CN 201410527673 A CN201410527673 A CN 201410527673A CN 104320441 A CN104320441 A CN 104320441A
- Authority
- CN
- China
- Prior art keywords
- communication system
- message
- information
- client
- server
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
Abstract
The invention provides a method of sharing information between wireless communication systems. After an initial configuration file is read, a jms server is started, a client is started for each communication system, messages of different formats in a heterogeneous communication network are unified into a data format through application of XML, and data interaction is carried out by adopting the JMS technology. Thus, information can be shared between communication systems, a message forwarding mechanism is designed, information of each system can be managed in a unified mode, the communication systems can form a unified network, and the sensing range and the application range of each communication system can be greatly expanded.
Description
Technical field
The present invention relates to distribution and the processing method of information between different communication systems in a kind of radio communication.
Background technology
Making a general survey of the construction of various countries' wireless communication system, is all start working from the thought first solved with or without link according to task.Due to the construction year by year of communication system, current situation is made to be various different wireless communication system and to deposit.Each communication system has different system configurations, separate between system, and data structure, data-interface are different, and each interoperability of system difficulty, data can not get efficient sharing, and greatly reduce the usefulness of system, cause waste to information resources.
The current U.S. mainly realizes interconnecting and information sharing function between various communication system by various gateway and data forwarding system.For the developing country that China is such, still do not possess the ability of building the such complex data chain of the U.S., although and the development high-performance data chain terminal that develops into of current electronic technology provides condition, and the cycle of usually developing is relatively long.Therefore, transformation existing communication equipment, makes it have its communication ability, can realize interconnecting and information sharing of each wireless communication system on existing basis, the recent scheme of a kind of China Information System configuration of can yet be regarded as.
Traditional data retransmission gateway is along with the increase of communication network, the quantity of gateway will become growth square doubly, not only implementation is complicated, and the increase of gateway is larger to original systematic influence, therefore a kind of new gateway implementation is needed, the impact that the message format that can shield different communication systems is shared for message, realizes general data access interface.
Summary of the invention
In order to overcome the deficiencies in the prior art, the invention provides the information sharing method between a kind of wireless communication system, devise a kind of processing mode of isomery message, make can share information between each communication system, devise the forwarding mechanism of message, make the information of each system to obtain unified management, make each communication system form Unified Network, thus greatly extend sensing range and the range of application of each communication system.
Between the wireless communication system that this method relates to, information sharing system is by several JMS clients, JMS server, and message resolution module and message-format-conversion module are formed.
Java messenger service (Java Message Service is called for short JMS) is the API of the developer's neutrality for accessing enterprise messaging system.Use the application program of JMS to be called as JMS client, the message system of processing messages route and transmission is called as JMS Provider, and JMS application is then the operation system be made up of multiple JMS client and a JMS Provider.JMS supports 2 standard asynchronous Message Transmission modes: point-to-point (P2P) and publish/subscribe (Pub/Sub).
Wherein publish/subscribe communication pattern is based on theme (Topic) concept.Theme is the issue target (controlled object) of message, and publish/subscribe pattern can have the client computer of multiple transmission message and receipt message, and each theme can have multiple publisher and multiple subscriber.The issue flow process of jms client is the same with the first half process of reception flow process, be establishment one and connect factory's (client is used for creating the object connected), by connecting the connection that factory sets up and jms serves, creating a theme topic, creating session by connecting.At latter half, news release end creates a producer according to session and theme and gives out information, message sink end according to session and theme registered customers, then synchronous on this theme receipt message or asynchronous monitoring information.Connection factory wherein and theme are registered in the JNDI (java name and directory standard interface) of jms server.
The technical solution adopted for the present invention to solve the technical problems comprises the following steps:
1) initial configuration file is read in; Message type information that often kind of communication system needs issue, the correspondence relationship information of communication system and theme, communication system and the subject information being connected the correspondence relationship information of factory, often kind of communication system is subscribed to is comprised in initial configuration file;
2) jms service end is started, according to the connection factory in the good JNDI of the parameter configuration in initialization files and theme;
3) for each communication system all starts client, set up Information issued process and information reception process according to the parameter in initial configuration file, realize the communication with server;
4) client-side information issues flow process:
A. source communication device client is monitored source communication device;
B. having judged whether that message arrives, if any then entering step c, otherwise having returned step a;
C. according to initialization files, source communication device client judges whether this message is the type of message needing to share, and if yes then enter steps d, otherwise returns step a;
D. message conversion is become XML file and type of message together with it leaves in a filebuf by source communication device client, enters step e;
E. producer's object of source communication device client is by XML file and type of message packing and issuing on issuing subject corresponding to server source communication device, returns step a;
5) client-side information receives flow process:
A. object communication system client is monitored server;
B. having judged whether that information arrives, if any then entering step c, otherwise having returned step a;
C. according to initialization files, object communication system client judges whether this information is the theme that oneself is subscribed to, and if yes then enter steps d, otherwise returns step a;
D. object communication system client obtains XML document from server, and XML document is converted to one or more target XML document, enters step e;
E. the message format that target message XML document is reduced into object communication system by object communication system client sends in object communication system, enters step a.
The invention has the beneficial effects as follows:
In existing weaponry and equipment, when standard is not upgraded or changes, by the application of XML, the different-format message of heterogeneous communications network is unified into a kind of data format, makes the mutual of information of can carrying out between each communication system and share.Use unified XML to carry out transmitting the degree of coupling reduced in conventional gateway between different communication systems between each communication system, reduce the impact of increase on gateway of communication system, the amendment alleviating gateway and the impact increased whole system.
In the interactive mode of data, adopt JMS technology, the mode of publish/subscribe message is adopted to share, the information of a communication system issue can have multiple communication system to receive, decrease the hop count of message, save network bandwidth resources, made to need the message shared in multiple communication system to have higher propagation efficiency.
Accompanying drawing explanation
Fig. 1 is present system organigram;
Fig. 2 is process flow figure of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further described, the present invention includes but be not limited only to following embodiment.
Share the method for information between the designed heterogeneous communications network realized of the present invention, by JMS specification, each different Method for Tactics Radio Communication system is connected.For the message needing to share between different communication systems, XML technology is utilized to become XML file by needing the message conversion of carrying out sharing in source communication device, this XML file is issued by JMS server, for the object communication system that have subscribed this type of message, the XML document of this message can be obtained from JMS server.By message-format-conversion module, object communication system this XML document is converted to one or more correspondence XML document.Through resolving, the message that the XML document after these conversions becomes object communication system internal form sends in object communication system.
The present invention includes following steps:
1) initial configuration file is read in.Message type information that often kind of communication system needs issue, the correspondence relationship information (the corresponding theme of a kind of communication system) of communication system and theme, communication system and the correspondence relationship information (corresponding one of a kind of communication system connects factory) being connected factory is comprised, the subject information (communication system can subscribe to multiple theme) of often kind of communication system subscription in initial configuration file.
2) start jms service end, configure the connection factory in JNDI and theme.Method adopts the message system ActiveMQ that increases income.Download and ActiveMQ is installed, corresponding software being copied and realizes, with the integration of tomcat, realizing the configuration to connecting factory and theme in JNDI into tomcat (the servlet container of increasing income, JNDI supplier).
3) for each communication system all starts client, set up Information issued process and information reception process according to the parameter in initial configuration file, realize the communication with server.
Information issued process is set up:
Read in initial configuration file, the communication system number according to oneself obtains the issuing subject of self correspondence and the JNDI name being connected factory.According to the connection factory JNDI name obtained to connection factory object corresponding to JNDI server lookup.Connect factory's object to create with the connection of JMS server with what find and set up session.According to the JNDI name of the issuing subject got to issuing subject object corresponding to JNDI whois lookup, be the issuing subject Object Creation producer found.The producer is to issuing subject object publishing information.
Information reception process is set up:
Read in initial configuration file, the communication system number according to oneself obtains the theme and the JNDI name being connected factory oneself subscribed to.According to the connection factory JNDI name obtained to connection factory object corresponding to JNDI server lookup.Connect factory's object to create with the connection of JMS server with what find and set up session.JNDI name according to the topic of subscription got finds topic of subscription object, is the topic of subscription Object Creation consumer found, then for consumer sets up a monitor.Monitor enters corresponding program OnMessage () after the content listening to the theme that server has oneself to subscribe to.
4) client-side information issues flow process:
A. source communication device client is monitored source communication device;
B. having judged whether that message arrives, if any then entering step c, otherwise having returned step a;
C. according to initialization files, source communication device client judges whether this message is the type of message needing to share, and if yes then enter steps d, otherwise returns step a;
D. source communication device client call message resolution module processes this message, message resolution module adopts DOM as resolver, convert the data structure of this service message in internal memory to an XML document and type of message together with it leaves in a filebuf, enter step e;
E. XML file and type of message are packaged as a TextMessage (plain text) and are published on issuing subject corresponding to server source communication device by producer's object reference publish function of source communication device client, return step a.
5) client-side information receives flow process:
A. object communication system client is monitored server;
B. having judged whether that information arrives, if any then entering step c, otherwise having returned step a;
C. according to initialization files, object communication system client judges whether this information is the theme that oneself is subscribed to, and if yes then enter steps d, otherwise returns step a;
D. object communication system client obtains XML document from server, then enters response function OnMessage process.In response function OnMessage, XML document is passed to message-format-conversion module.Message-format-conversion module be according to different communication systems message between corresponding relation adopt XPath (extend markup language path language) to carry out the software write, a piece of news of a communication system can correspond to one or several message of another communication system.The XML document received is generated one or several target XML document according to message format transformation rule by message-format-conversion module.Enter step e;
E. target message XML document is sent to message resolution module by object communication system client, and the message format still adopting DOM XML document to be reduced into object communication system as resolver sends in object communication system, enters step a.
Below in conjunction with embodiment, the present invention is further described.
Share the method for information between heterogeneous communications network, will be described in detail to embodiments of the present invention below.
Wherein source message format is as follows, message sys1.a1:
Message element 1 |
Message element 2 |
… |
Positional information (longitude, latitude, highly) |
Message element 5 |
Temporal information (time, point, second) |
… |
Table 1 source message format sys1.a1
The following message sys2.b6 of object message format:
Group 1 (message element 1, message element 5) |
Group 2 (longitude, latitude, highly, message element 2) |
Group 3 (time, point, second) |
… |
Table 2 object message format sys2.b6
Its step is as follows:
Step 1:
Read in initial configuration file.Message type information that often kind of communication system needs issue, the correspondence relationship information (the corresponding theme of a kind of communication system) of communication system and theme, communication system and the correspondence relationship information (corresponding one of a kind of communication system connects factory) being connected factory is comprised, the subject information (communication system can subscribe to multiple theme) of often kind of communication system subscription in initial configuration file.
Table 3 initial configuration file
Step 2:
Start jms service end, the connection factory in table 3 and theme are configured at JNDI.
Step 3:
For System1 and System2 starts client.Be that client sets up Information issued process and information reception process according to the initial configuration file of upper table.
Step 4:
Client-side information issues flow process:
A.System1 client monitors System1;
B. judge that network has message to arrive, enter step c;
According to initialization files, c.System1 client judges that this message sys1.a1 is the type of message needing to share, enter steps d;
D.System1 client call message resolution module is to sys.a1 process.Message resolution module adopts DOM to convert sys.a1 to an XML document as resolver and type of message sys1.a1 together with it leaves in a filebuf, then enters step e;
XML file and type of message are packaged as a TextMessage (plain text) and are published on the corresponding theme Sys1Topic of server by producer's object reference publish function of e.System1 client, return step a.
Step 5:
Client-side information receives flow process:
Consumer's object monitoring service device of a.System2 client;
B. there is information to arrive, enter step c;
According to initialization files, c.System2 client judges that this information is the theme Sys1Topic that oneself is subscribed to, enter steps d;
D.System2 client obtains XML document from server, then enters response function OnMessage process.In response function OnMessage, XML document is passed to message-format-conversion module.First message-format-conversion module parses type of message is sys1.a1, according to message conversion rule, article one, sys1.a1 will be converted into a sys2.b6, XPath (extend markup language path language) xml corresponding to sys1.a1 is adopted to change, such as, in xpath, " // positional information " represents all daughter element longitudes of chosen position information, latitude, highly."/message element 2 " represents this root element of selection message element 2, then the xml of sys2.b6 message can be described as following table with the directory information of sys1.a1 message xml:
Table 4 message xml file transform correspondence table
After conversion, generate xml file corresponding to a sys2.b6, enter step e;
The XML document of e.b6 message is sent to the message resolution module of System2 communication system, and the message format still adopting DOM XML document to be reduced into System2 as resolver sends.
Claims (1)
1. an information sharing method between wireless communication system, is characterized in that comprising the steps:
1) initial configuration file is read in; Message type information that often kind of communication system needs issue, the correspondence relationship information of communication system and theme, communication system and the subject information being connected the correspondence relationship information of factory, often kind of communication system is subscribed to is comprised in initial configuration file;
2) jms service end is started, according to the connection factory in the good JNDI of the parameter configuration in initialization files and theme;
3) for each communication system all starts client, set up Information issued process and information reception process according to the parameter in initial configuration file, realize the communication with server;
4) client-side information issues flow process:
A. source communication device client is monitored source communication device;
B. having judged whether that message arrives, if any then entering step c, otherwise having returned step a;
C. according to initialization files, source communication device client judges whether this message is the type of message needing to share, and if yes then enter steps d, otherwise returns step a;
D. message conversion is become XML file and type of message together with it leaves in a filebuf by source communication device client, enters step e;
E. producer's object of source communication device client is by XML file and type of message packing and issuing on issuing subject corresponding to server source communication device, returns step a;
5) client-side information receives flow process:
A. object communication system client is monitored server;
B. having judged whether that information arrives, if any then entering step c, otherwise having returned step a;
C. according to initialization files, object communication system client judges whether this information is the theme that oneself is subscribed to, and if yes then enter steps d, otherwise returns step a;
D. object communication system client obtains XML document from server, and XML document is converted to one or more target XML document, enters step e;
E. the message format that target message XML document is reduced into object communication system by object communication system client sends in object communication system, enters step a.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410527673.2A CN104320441B (en) | 2014-10-09 | 2014-10-09 | Information sharing method between wireless communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410527673.2A CN104320441B (en) | 2014-10-09 | 2014-10-09 | Information sharing method between wireless communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104320441A true CN104320441A (en) | 2015-01-28 |
CN104320441B CN104320441B (en) | 2017-10-27 |
Family
ID=52375610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410527673.2A Active CN104320441B (en) | 2014-10-09 | 2014-10-09 | Information sharing method between wireless communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104320441B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717285A (en) * | 2015-03-02 | 2015-06-17 | 国家电网公司 | Interoperation achieving among heterogeneous systems by means of JMS network middlewares |
CN105407024A (en) * | 2015-09-23 | 2016-03-16 | 中国电子科技集团公司第二十九研究所 | Heterogeneous data intercommunication method and apparatus based on publishing and subscription communication mechanism |
CN105607901A (en) * | 2015-12-11 | 2016-05-25 | Tcl集团股份有限公司 | System memory optimization method and apparatus as well as terminal device |
CN106209468A (en) * | 2016-07-21 | 2016-12-07 | 广东电网有限责任公司中山供电局 | The method and system of synchronizing information are operated between the active and standby dispatch automated system of isomery |
CN106610985A (en) * | 2015-10-23 | 2017-05-03 | 镇江金软计算机科技有限责任公司 | Information release system |
CN108197346A (en) * | 2017-12-06 | 2018-06-22 | 中国南方电网有限责任公司 | A kind of active and standby expansibility mold sync method based on open message bus |
CN109889553A (en) * | 2019-04-18 | 2019-06-14 | 中国电子科技集团公司第二十九研究所 | A kind of structuring message self-adaptive conversion method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466062A (en) * | 2002-06-28 | 2004-01-07 | 明日工作室股份有限公司 | Method and system using wireless platform to share information |
US20040253940A1 (en) * | 2003-06-11 | 2004-12-16 | Andrews Daniel Matthew | Method for controlling resource allocation in a wireless communication system |
CN101151878A (en) * | 2005-03-29 | 2008-03-26 | 索尼爱立信移动通讯股份有限公司 | Method for sharing information between handheld communication devices and handheld communication device therefore |
CN102484795A (en) * | 2009-07-13 | 2012-05-30 | 独立行政法人情报通信研究机构 | Information sharing method in cognitive radio communication, cognitive radio communication device, and cognitive radio communication system |
-
2014
- 2014-10-09 CN CN201410527673.2A patent/CN104320441B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466062A (en) * | 2002-06-28 | 2004-01-07 | 明日工作室股份有限公司 | Method and system using wireless platform to share information |
US20040253940A1 (en) * | 2003-06-11 | 2004-12-16 | Andrews Daniel Matthew | Method for controlling resource allocation in a wireless communication system |
CN101151878A (en) * | 2005-03-29 | 2008-03-26 | 索尼爱立信移动通讯股份有限公司 | Method for sharing information between handheld communication devices and handheld communication device therefore |
CN102484795A (en) * | 2009-07-13 | 2012-05-30 | 独立行政法人情报通信研究机构 | Information sharing method in cognitive radio communication, cognitive radio communication device, and cognitive radio communication system |
Non-Patent Citations (1)
Title |
---|
吴金成: "《异种战术无线通信系统信息的分发与共享》", 《军事通信技术》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717285A (en) * | 2015-03-02 | 2015-06-17 | 国家电网公司 | Interoperation achieving among heterogeneous systems by means of JMS network middlewares |
CN105407024A (en) * | 2015-09-23 | 2016-03-16 | 中国电子科技集团公司第二十九研究所 | Heterogeneous data intercommunication method and apparatus based on publishing and subscription communication mechanism |
CN105407024B (en) * | 2015-09-23 | 2019-04-09 | 中国电子科技集团公司第二十九研究所 | A kind of isomeric data interoperability methods and device based on distribution subscription communication mechanism |
CN106610985A (en) * | 2015-10-23 | 2017-05-03 | 镇江金软计算机科技有限责任公司 | Information release system |
CN105607901A (en) * | 2015-12-11 | 2016-05-25 | Tcl集团股份有限公司 | System memory optimization method and apparatus as well as terminal device |
CN105607901B (en) * | 2015-12-11 | 2019-12-13 | Tcl集团股份有限公司 | Method and device for optimizing system memory and terminal equipment |
CN106209468A (en) * | 2016-07-21 | 2016-12-07 | 广东电网有限责任公司中山供电局 | The method and system of synchronizing information are operated between the active and standby dispatch automated system of isomery |
CN106209468B (en) * | 2016-07-21 | 2019-10-29 | 广东电网有限责任公司中山供电局 | The synchronous method and system of operation information between the active and standby dispatch automated system of isomery |
CN108197346A (en) * | 2017-12-06 | 2018-06-22 | 中国南方电网有限责任公司 | A kind of active and standby expansibility mold sync method based on open message bus |
CN109889553A (en) * | 2019-04-18 | 2019-06-14 | 中国电子科技集团公司第二十九研究所 | A kind of structuring message self-adaptive conversion method and device |
CN109889553B (en) * | 2019-04-18 | 2021-07-13 | 中国电子科技集团公司第二十九研究所 | Structured message self-adaptive conversion method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104320441B (en) | 2017-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104320441B (en) | Information sharing method between wireless communication system | |
US8543646B2 (en) | Subscriber device and subscription management that supports real-time communication | |
JP6275837B2 (en) | Method and apparatus for performing subscription notification | |
CN102255934B (en) | Cloud service dissemination method and cloud service intermediary | |
CN102546794B (en) | Method for directly communicating browser client with back-end server as well as gateway and communication system | |
CN104363291A (en) | Network communication middleware implementation method | |
CN103927218A (en) | Event dispatching method and system | |
CN103795689A (en) | Resource subscription method and device | |
CN110086759B (en) | Method and device for realizing message transmission between heterogeneous systems | |
US20130036167A1 (en) | Automatic synchronization of clipboards | |
WO2012151980A1 (en) | Service processing server, system, and method | |
EP1872527A1 (en) | System and method for enabling group subscription for asynchronous push-based applications on a wireless device | |
CN101938492B (en) | Service agent method and self-service intelligent agent platform | |
CN101339520B (en) | Method for accessing EJB into enterprise service bus | |
CN111124717A (en) | Message delivery method, system and computer storage medium | |
US20050262227A1 (en) | Directory service in an automation system | |
EP3025475B1 (en) | Xmpp based upnp device architecture for cloud computing in a network environment | |
CN105515947B (en) | A kind of method, server and the system of the heterogeneous terminals message intercommunication based on XMPP | |
CN103533001A (en) | Communication method and communication system based on HTTP multi-proxy, and intermediate proxy server | |
CN112688998B (en) | Main data subscription pushing method capable of configuring with permission | |
Ivan | A web based Publish-Subscribe framework for mobile computing | |
JP2019041361A (en) | Communication platform and communication processing method | |
CN115277695A (en) | Method for realizing cross-region production and consumption event | |
Hardin | Interoperable Cloud Networking for a Smarter Grid | |
CN115866286A (en) | Method and system for message service in live broadcast service |
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 |