Distributed WEB application and remote equipment message communication method

A remote device, distributed technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as limiting the scope of application, increasing database consumption, increasing communication uncertainties, etc., to reduce coupling and ensure reliability. Sexual and real-time effects

Inactive Publication Date: 2012-04-04
CASIC SIMULATION TECHNOLOGY CO LTD
View PDF2 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The application of the C / S architecture is the desktop application, which tightly couples the user interaction interface and the remote device interaction interface in one application, and realizes the message transmission between the user and the remote device through tight coupling, and then the tightly coupled structure makes the system function Module division is not clear, which is not conducive to collaborative development and system maintenance and upgrade; the advantage of B / S architecture over C / S architecture is that the user interaction interface and remote device interaction interface are relatively independent, and the database is used as the link between the two layers. The message transmission medium realizes the transmission of command and response messages between the two parties by reading and writing the database. The disadvantage of this communication method is that both parties rely on scanning the frequency of the database to obtain command and response data in time, and the real-time performance of communication cannot be guaranteed. Moreover, the database, as a third party, joins the communication process between the user and the remote device, which increases the uncertainty of communication and the performance consumption of the database.
In addition, the biggest disadvantage of the application based on the windows platform is that it can only run on the windows system, which seriously limits the scope of application

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed WEB application and remote equipment message communication method
  • Distributed WEB application and remote equipment message communication method
  • Distributed WEB application and remote equipment message communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific examples.

[0024] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0025] The application scenarios of the present invention are as figure 1 As shown, the user operates the WEB interface and sends an action command to the remote device. The WEB application encapsulates the command object COMMAND as a JMS message object in a synchronous manner and sends it to the JMS queue; the data center obtains the JMS message object from the JMS queue and extracts Output the command object COMMAND, save the temporary queue information for response return in it, put the command object COMMAND into the command pool, parse it into a byte stream according to the communication protocol, and send it t...

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

PUM

No PUM Login to view more

Abstract

The invention relates to a distributed WEB application and remote equipment message communication method, comprising the following steps: firstly, initialize a JMS (Java Message Service) queue, an application command manger and GPRS (General Packet Radio Service) of a WEB application system; secondly, a user sends an operation command to remote equipment through a WEB user interactive layer to initiate a session process and build a temporary JMS queue; thirdly, the interactive layer of the remote equipment resolves a command object into byte streams and transmits the byte streams to the remote equipment through a public network according to the agreed communication protocol after receiving the forwarded JMS message command; fourthly, the interactive layer of the remote equipment receives a response message at the appointed time and resolves the byte streams into a response message object to match the corresponding command in a command queue, and then transmits the response back to the WEB user interactive layer through the temporary JMS queue. In the invention, a high-efficiency, accurate and reliable message communication mode can be built between the command sending and the response receiving, the application coupling factor is reduced and the reliability and the real-time performance for communication can be ensured.

Description

technical field [0001] The invention belongs to the field of computer network applications, in particular to a message communication method between a distributed WEB application system based on a Java EE technology platform and a remote device. Background technique [0002] With the development of embedded technology and network technology, the automation level of remote monitoring equipment has been continuously improved. Not only can unattended automatic data collection and automatic reporting, but also remote control can be achieved. Data acquisition and control and other fields have been more and more widely used. [0003] Most of the traditional data centers that communicate with remote devices are based on the Windows platform, and there are two main architectures of C / S and B / S. The application of the C / S architecture is the desktop application, which tightly couples the user interaction interface and the remote device interaction interface in one application, and re...

Claims

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L12/56
Inventor 杨方廷赵龙军谭越涂颖倪娜
Owner CASIC SIMULATION TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products