Method for processing messages

A technology for message and processing results, applied in the network field, can solve problems such as session errors, client processing exceptions, and session mechanisms that cannot work correctly, so as to avoid error-prone and improve channel utilization

Active Publication Date: 2015-12-02
湖州帷幄知识产权运营有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the introduction of long connection solves the problem of the server controlling the intranet TR-069 client, it introduces another problem: the original session mechanism cannot work correctly, and requires the server and client to exchange messages in order, and can only wait for one An interactive session cannot be started until another session has ended, such as figure 1 Shown: the server (Server) sends an empty message to the client (Client) to notify the client to start the session (session), the client informs (Inform) that the server is ready, and the server sends a message to the client through the remote procedure call protocol (Remote Procedure Call Protocol, RPC) The terminal sends a processing message, the client processes the message and replies the processing result to the server through the RPC protocol, and the server sends an InformResponse to the client to end the session
Once the session is out of order, it will cause the client to handle exceptions
However, due to the characteristic that the long connection is always in the connection state, as long as the upper layer needs it, it will send a message to the client through the server, so it will happen as follows figure 2 The session error shown (sessionerror)

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 processing messages
  • Method for processing messages
  • Method for processing messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0034] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0035] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.

[0036] The present invention is based on the following findings:

[0037] The existing persistent connection is...

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 processing messages. The method for processing the messages is used for clients based on a Customer Premises Equipment (CPE) wide area network management protocol. The method includes the following steps that: S1, a long connection is established between the client and a server; S2, the client monitors whether data packets are transmitted in the long connection, if so, the step S3 is performed, otherwise the step S4 is performed; S3, the data packets are analyzed by the client, corresponding tasks are established according to analyzed results and are added to a pre-set queue, and then the step S2 is performed; and S4, the tasks in the queue are processed item by item according to the order of the queue by the client, processing results of the tasks are transmitted to the server, and then the step S2 is performed. The method for processing the messages avoids the case that a mistake is easily made in a message exchange process, and improves the utilization rate of channels.

Description

technical field [0001] The invention relates to the network field, in particular to a method for processing messages based on long connections. Background technique [0002] The traditional TR-069 (CPE WAN management protocol) client is generally short-connected with the server based on the session mechanism. In order to solve the problem that the server controls the TR-069 client in the intranet, it is necessary to disconnect the connection that was originally established at the beginning of the session and terminated at the end of the session. The short connection of the open connection is changed to the long connection that actively connects to the server after the client is started and the connection is maintained continuously after the connection is established. Although the introduction of long connection solves the problem of the server controlling the intranet TR-069 client, it introduces another problem: the original session mechanism cannot work correctly, and requ...

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/863
CPCH04L47/622H04L67/141
Inventor 杭旭
Owner 湖州帷幄知识产权运营有限公司
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