Dynamic message pushing method and system thereof, server-side, and client

A dynamic message and client-side technology, applied in the field of network communication, can solve the problems of increased data flow, inconvenient use, and the inability of applications to truly use SSL security, etc., to achieve simplification of applications, convenience for users, and avoid port configuration Effect

Active Publication Date: 2015-04-15
NEW SINGULARITY INT TECHN DEV
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] Although the above method satisfies scalability and also solves the problem of caching, usually, the server socket will run on a port other than 80, but if the client's firewall only allows traffic from port 80, it will Port configuration is necessary, making it inconvenient to use
On the other hand, since the above method uses a binary TCP socket, the application program cannot really use the SSL security provided by the HTTPS layer. Therefore, the application program requiring data security may need to provide its own encryption tool to encrypt the data. Encryption, which increases data traffic and complicates data processing

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
  • Dynamic message pushing method and system thereof, server-side, and client
  • Dynamic message pushing method and system thereof, server-side, and client
  • Dynamic message pushing method and system thereof, server-side, and client

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] see figure 1 , which is a flowchart of an embodiment of a method for pushing a dynamic message of the present invention. During specific implementation, the method for pushing a dynamic message specifically includes steps:

[0064] S201. Establish a communication connection with the server through the flash plug-in. In this embodiment, when the user opens a certain website through the client, the flash plug-in needs to be loaded in advance, and then a network communication connection is established with the server through the flash plug-in. For specific implementation, see figure 2 , the step S201 specifically includes steps:

[0065] S2011, the client page preloads the flash plug-in.

[0066] S2013, the flash plug-in automatically sends a communication connection request to the server. In this embodiment, the flash plug-in automatically sends a socket connection request to the server, and the socket connection request includes an ID that uniquely identifies the cli...

Embodiment 2

[0072] Furthermore, in order to ensure data security, the Push message automatically sent by the server needs to be encrypted, and when the client flash plug-in receives the encrypted Push message sent by the server, it needs to decrypt the encrypted Push message , to get the content of the message. Therefore, see image 3 In this embodiment, in addition to steps S201 to S205 in the first embodiment, the dynamic message push method further includes the steps after receiving the Push message sent by the server, that is, after executing step S203 and before executing step S205. :

[0073] S207. Decrypt the encrypted Push message sent by the server. During specific implementation, the flash plug-in of the client calls the js method to decrypt the encrypted Push message.

Embodiment 3

[0075] see Figure 4 , is a flow chart of another embodiment of a method for pushing a dynamic message of the present invention. During specific implementation, the method for pushing a dynamic message in this embodiment specifically includes steps:

[0076] S301. Establish a communication connection with the client through the flash plug-in of the client. In this embodiment, the flash plug-in is pre-loaded by the client page, and the flash plug-in automatically initiates a communication connection request. For specific implementation, see Figure 5 , the step S301 specifically includes steps:

[0077] S3011. Receive a communication connection request automatically sent by the flash plug-in of the client. In this embodiment, the flash plug-in of the client automatically sends the communication connection request to request the server to return the socket strategy and the channel identifier, thereby establishing a communication connection between the client and the server, 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 discloses a dynamic message pushing method and a system thereof, a client, and a server-side. The dynamic message pushing method comprises steps: establishing communication connection through a flash plug-in and a server-side; receiving a Push message sent by the server-side through the flash plug-in, the Push message being generated by the lasted word stored by the server-side; and resolving the Push message and controlling page display. The flash is used for the function of socket, and the method establishes real-time connection between the client and the server-side, preventing a problem of port configuration. The client does not need to install any additional plug-in, so as to provide convenience for users to use to the largest extent. During a leisure period, the connection is just a quiet heartbeat connection, and does not waste bandwidth. In addition, through encrypting Push messages, a self-encryption tool of an application program is not needed, so the application program is simplified.

Description

technical field [0001] The present invention relates to the field of network communication, in particular to a method for pushing dynamic messages and its system, server and client. Background technique [0002] In the traditional client / browser model, the client requests services or information from the server, and the server responds by sending information to the client. This is called "Pull" technology: the client "pulls" information from the server. Browser Web pages are a typical example of pull technology. The user inputs a URL address to the server as a request, and the server responds by sending a Web page to the client. In contrast, there is another "push" technology called "Push", which is also based on the client / server model, but there is no explicit request from the client before the server sends a message to the client. That is, "pull" messaging is always initiated by the client, while "push" is initiated by the server. [0003] At present, the commonly used...

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/08H04L29/06
CPCH04L65/4061H04L67/55
Inventor 夏德鹏
Owner NEW SINGULARITY INT TECHN DEV
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