Method for interacting messages of network page end and desktop application program

A desktop application program and message interaction technology, applied in the field of communication, can solve problems such as increased input costs, limited number of database connections, and limited concurrency, and achieve the effects of large concurrent messages, saving resources and costs, and increasing efficiency

Inactive Publication Date: 2011-08-31
XIAMEN KUAISHANGTONG TECH CORP LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since the above-mentioned client desktop application program and the webpage terminal exchange messages by repeatedly querying the message to be interacted with the server at intervals, the efficiency of message transmission is seriously affected; and the message interaction between the two parties must use the database as the medium

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for interacting messages of network page end and desktop application program
  • Method for interacting messages of network page end and desktop application program
  • Method for interacting messages of network page end and desktop application program

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0015] The present invention is a method for message interaction between a web page and a desktop application program, which specifically includes the following:

[0016] Such as image 3 As shown, the web page 1 submits the message to the WEB server 2 integrated with the SOCKET application through HTTP, the WEB server 2 sends the message to the SOCKET server 3 through the SOCKET, and the desktop application 4 integrated with the SOCKET receives the message instantly through the SOCKET server 3;

[0017] Such as Figure 4 As shown, the SOCKET-integrated desktop application 4 sends a message to the SOCKET server 3 through SOCKET, and the WEB server 2 of the integrated SOCKET application receives the message from the SOCKET server 3 through SOCKET. The WEB server 2 of the integrated SOCKET application uses JMS technology to The message is sent to the JMS server 5, and the web page 1 cyclically obtains the message from the JMS server 5 through AJAX using JMS technology.

[0018] In the...

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

PUM

No PUM Login to view more

Abstract

The invention discloses a method for interacting messages of a network page end and a desktop application program. The method is as follows: the network page end submits a message to a WEB server integrated with an SOCKET application in a hyper text transport protocol (HTTP) mode, wherein the WEB server sends the message through SOCKET, and the desktop application program integrated with SOCKET timely receives the message through the SOCKET; through the SOCKET, the desktop application program integrated with the SOCKET sends the message to the SOCKET server, the WEB server integrated with the SOCKET application receives the message through the SOCKET, then sends the message to a Java message server (JMS) by utilizing a JMS technique, the network page end acquires the message from the JMS server by utilizing the JMS technique circularly through AJAX (asynchronous JavaScript and XML); and the message of the desktop application program is received by the SOCKET, once the network page end sends the message, the desktop application program can receive the message timely, and the message interaction of the network page end and the desktop application program is carried out by the SOCKET and JMS technique in stead of a database as a medium, thereby increasing the efficiency of the data transmission and saving the resources and cost of the hardware and software of the server.

Description

Technical field [0001] The invention is a method for message interaction between a web page terminal and a desktop application program, which belongs to the field of communication. Background technique [0002] The traditional webpage end-to-client desktop application message interaction process is as follows figure 1 As shown, the web page submits the message to the WEB server through HTTP, and the WEB server stores the message in the database. The client desktop application actively sends a request for obtaining the message to the WEB server through HTTP at intervals, and the WEB server goes The database retrieves whether there is a message that needs to be sent to the client. If so, the WEB server extracts the message from the database and returns it to the client desktop application through HTTP. [0003] The message interaction process from the traditional client desktop application to the web page is as follows figure 2 As shown, the client desktop application submits the me...

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
IPC IPC(8): H04L29/08H04L12/58
Inventor 肖龙源邓仁超黄景霖
Owner XIAMEN KUAISHANGTONG TECH CORP 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