Message forwarding method and message forwarding device

A technology of message push and sending module, which is applied in the field of communication, can solve the problem of no routing information filtering, etc., and achieve the effect of avoiding incompatibility and easy problem location

Inactive Publication Date: 2017-01-25
NUBIA TECHNOLOGY CO LTD
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a message push method and device, aiming to solve the problem caused by the failure to filter routing information in the existing message push method

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
  • Message forwarding method and message forwarding device
  • Message forwarding method and message forwarding device
  • Message forwarding method and message forwarding device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] This embodiment provides a message push system. figure 1 is a structural diagram of the message push system according to the first embodiment of the present invention.

[0028] The message push system in this embodiment includes: a client, a routing server and an access server.

[0029] The client is configured to acquire routing information of the access server from the routing server, establish a persistent connection with the access server according to the routing information, and receive a push message sent by the access server based on the persistent connection. Further, there may be multiple clients.

[0030] If multiple clients are installed in a mobile terminal, the multiple clients can respectively establish persistent connections with the access server, and respectively receive push information sent by the access server; The control device establishes a persistent connection with the access server, and the push information sent by the access server to a cert...

Embodiment 2

[0036] This embodiment provides a method for pushing messages. figure 2 It is a flow chart of the message pushing method according to the second embodiment of the present invention. The subject of execution of the present invention is the routing server.

[0037] Step S210, receiving client information sent by the client.

[0038] Client information includes, but is not limited to: client name, type, IP (Internet Protocol Address, Internet Protocol address) address, version number, and client login information.

[0039] The login information of the client includes: user name, password and basic user information.

[0040] Basic user information includes: gender, age, address and other information.

[0041] Specifically, the route acquisition request sent by the client is received; and the client information of the client is carried in the route acquisition request. The route acquisition request may be sent to the route acquisition interface of the routing server. Furtherm...

Embodiment 3

[0055] This embodiment provides a more specific embodiment. image 3 is a flow chart of a message push method according to the third embodiment of the present invention.

[0056] Step S310, preset a plurality of access conditions, and set corresponding routing information for each of the access conditions.

[0057] In this embodiment, the routing information corresponding to the access condition is the routing address of the access server.

[0058] Step S320, setting an execution sequence for the plurality of access conditions.

[0059] When determining the access conditions that the client information meets, it needs to be executed sequentially according to the execution order to determine the access conditions that the client information meets.

[0060] Step S330, receiving client information sent by the client.

[0061] Step S340, according to the execution sequence of the plurality of access conditions, sequentially match the client information with each of the access c...

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 message forwarding method and a message forwarding device. The method comprises the following steps: receiving client information sent from a client; determining whether the client information meets an access condition; and returning the routing information corresponding to the access condition to the client so as to conveniently establish a long connection for pushing a message by the client and the access server corresponding to the routing information. According to the invention, the access server that needs to be accessed for the client is determined according to the client information so that the client can make a long connection with the selected access server, and the routing server can determine the range of the access server to which the client connects so as to facilitate problem location. If the client is updated, the client can be controlled to access an access server which completes the update through the embodiment, so that the incompatibility problem can be avoided.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a message pushing method and device. Background technique [0002] Currently, a message push function is involved in many systems or clients. In actual application scenarios, the number of clients will reach dozens or even millions. If all clients are connected to the same server and interact with the server for information related to message push, this will give the server Cause a lot of pressure, and even cause the server to be unusable, down, or have other problems. [0003] In order to solve the above problems, a routing server is usually set in the system, and a routing list recording routing information of the access server is saved in the routing server. The client first obtains the routing list from the routing server, randomly selects a piece of routing information in the routing list, and establishes a connection with the corresponding access server acco...

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/08
CPCH04L67/55
Inventor 林伟
Owner NUBIA 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