CN109525620A - A kind of message push system, method and device - Google Patents

A kind of message push system, method and device Download PDF

Info

Publication number
CN109525620A
CN109525620A CN201710851164.9A CN201710851164A CN109525620A CN 109525620 A CN109525620 A CN 109525620A CN 201710851164 A CN201710851164 A CN 201710851164A CN 109525620 A CN109525620 A CN 109525620A
Authority
CN
China
Prior art keywords
session information
terminal
session
message
information manager
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710851164.9A
Other languages
Chinese (zh)
Other versions
CN109525620B (en
Inventor
叶嘉麒
程宝平
李铎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710851164.9A priority Critical patent/CN109525620B/en
Publication of CN109525620A publication Critical patent/CN109525620A/en
Application granted granted Critical
Publication of CN109525620B publication Critical patent/CN109525620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

This application involves mobile communication technology field more particularly to a kind of message push systems, method and device, and to solve the problems, such as information push method in the prior art, there is waste server resources;Message push system provided by the embodiments of the present application includes: at least two session information managers, cache database and message server, in which: message server, for inquiring the session information of all terminals from cache database when PUSH message;The session information of each terminal includes the terminal iidentification of the terminal and conversates the mark of the session information manager of service for the terminal;For the session information of each terminal, it will the terminal iidentification carrying in words information is sent to session information manager in session information in the message and identifies corresponding session information manager;Each session information manager, for when receiving the message, transmitting the message to the corresponding terminal of terminal iidentification according to the terminal iidentification carried in message.

Description

A kind of message push system, method and device
Technical field
This application involves field of communication technology more particularly to a kind of message push systems, method and device.
Background technique
Currently, terminal user, in game server for the first time, server is that terminal user generates session information, session information In include that session identification, later server and terminal user are communicated according to session identification.
In the prior art, it is monitored by session status of the server to all terminal users, and the meeting to terminal user Words information is managed concentratedly, and for the ease of being managed collectively to session information, the method that server uses is, if pre- If in duration, being not received by the information of terminal user's transmission, then it is assumed that the session of terminal user is expired, and subsequent server is no longer To terminal user's PUSH message.In this way, many expired session informations of actual storage in server, but since these are expired Session information cannot be cleared up in time, and server still can push messages to session expired end in PUSH message End subscriber, and actually these terminal users are not online, therefore can consume the more resource of server.
As it can be seen that there is waste server resource to information push method in the prior art.
Summary of the invention
The embodiment of the present application provides a kind of message push system, method and device, to solve message in the prior art There is waste server resource to method for pushing.
A kind of message push system provided by the embodiments of the present application, comprising: at least two session information managers, caching number According to library and message server, maintenance has the session of terminal in at least two session informations manager in the cache database Information, in which:
The message server, for inquiring the session of all terminals from the cache database when PUSH message Information;The session information of each terminal include at least the terminal terminal iidentification and for the terminal conversate service session letter Cease the mark of manager;For the session information of each terminal, the terminal iidentification in the session information is carried in the message In, it is sent to session information manager in the session information and identifies corresponding session information manager;
Each session information manager, for when receiving the message that the message server is sent, according to institute The terminal iidentification carried in message is stated, the corresponding terminal of the terminal iidentification is sent the message to.
A kind of information push method provided by the embodiments of the present application, be applied to including at least two session information managers, In the message push system of cache database and message server, and maintenance has at least two meeting in the cache database Talk about the session information of terminal in information manager, which comprises
When message server PUSH message, the session information of all terminals is inquired from the cache database;It is each The session information of terminal includes at least the terminal iidentification of the terminal and conversates the session information manager of service for the terminal Mark;
For the session information of each terminal, the terminal iidentification in the session information is carried in the message, is sent Corresponding session information manager is identified to session information manager in the session information.
Another information push method provided by the embodiments of the present application is applied to include at least two session information management In the message push system of device, cache database and message server, and maintenance has described at least two in the cache database The session information of terminal in a session information manager, which comprises
Session information manager receives the message that message server is sent;
According to the terminal iidentification carried in the message, the corresponding terminal of the terminal iidentification is sent the message to.
A kind of message driving means provided by the embodiments of the present application, comprising:
Enquiry module, for inquiring the session information of all terminals from the cache database when PUSH message;Often The session information of one terminal includes at least the terminal iidentification of the terminal and conversates the session information management of service for the terminal The mark of device;
Sending module carries the terminal iidentification in the session information in institute for the session information for each terminal It states in message, is sent to session information manager in the session information and identifies corresponding session information manager.
Another message driving means provided by the embodiments of the present application, comprising:
Receiving module, for receiving the message of message server transmission;
Sending module, for sending the message to the terminal mark according to the terminal iidentification carried in the message Know corresponding terminal.
Message push system in the embodiment of the present application, comprising: at least two session information managers, cache database and Message server, and maintenance has the session information of terminal in at least two session informations manager in cache database, Wherein: message server, for the session information of all terminals to be inquired when PUSH message from cache database;Each terminal Session information include at least the terminal iidentification of the terminal and conversate the mark of the session information manager of service for the terminal Know, later, for the session information of each terminal, the terminal iidentification in the session information is carried in the message, this is sent to Session information manager identifies corresponding session information manager in session information;Each session information manager connects for working as When receiving the message of message server transmission, according to the terminal iidentification carried in message, it is corresponding to transmit the message to terminal iidentification Terminal not only can be in this way, by multiple session information managers and cache server Lai the session information of common maintenance terminal Mitigate the pressure of message server, also, message server can inquire each session letter in PUSH message to cache server The session information of terminal in manager is ceased, it, can be to avoid to not eventually later according to the session information of each terminal come pushed information The resource that end sends the case where information, saves server.
Detailed description of the invention
Fig. 1 is message push system schematic diagram provided by the embodiments of the present application;
Fig. 2 is another message push system schematic diagram provided by the embodiments of the present application;
Fig. 3 is information push method flow chart provided by the embodiments of the present application;
Fig. 4 is another information push method flow chart provided by the embodiments of the present application;
Fig. 5 is the structure chart of message server provided by the embodiments of the present application;
Fig. 6 is the structure chart of session information manager provided by the embodiments of the present application.
Specific embodiment
Message push system in the embodiment of the present application, comprising: at least two session information managers, cache database and Message server, and maintenance has the session information of terminal in at least two session informations manager in cache database, Wherein: message server, for the session information of all terminals to be inquired when PUSH message from cache database;Each terminal Session information include at least the terminal iidentification of the terminal and conversate the mark of the session information manager of service for the terminal Know, later, for the session information of each terminal, the terminal iidentification in the session information is carried in the message, this is sent to Session information manager identifies corresponding session information manager in session information;Each session information manager connects for working as When receiving the message of message server transmission, according to the terminal iidentification carried in message, it is corresponding to transmit the message to terminal iidentification Terminal not only can be in this way, by multiple session information managers and cache server Lai the session information of common maintenance terminal Mitigate the pressure of message server, also, message server can inquire each session letter in PUSH message to cache server The session information of terminal in manager is ceased, it, can be to avoid to not eventually later according to the session information of each terminal come pushed information The resource that end sends the case where information, saves server.
The embodiment of the present application is described in further detail with reference to the accompanying drawings of the specification.
As shown in Figure 1, being the schematic diagram of message push system provided by the embodiments of the present application, comprising: at least two sessions Information manager, cache database and message server, maintenance has at least two session information in the cache database The session information of terminal in manager, in which:
Message server, for inquiring the session information of all terminals from cache database when PUSH message;It is each The session information of terminal includes at least the terminal iidentification of the terminal and conversates the session information manager of service for the terminal Mark the terminal iidentification in the session information is carried in PUSH message, is sent to by the session information of each terminal Session information manager identifies corresponding session information manager in the session information.
Each session information manager, for being taken according in the message when receiving the message of message server transmission The terminal iidentification of band transmits the message to the corresponding terminal of terminal iidentification.
Optionally, each session information manager, any end for the service that is also used to conversate to session information manager End, however, it is determined that the session connection between the terminal disconnects, then sends the session for deleting the terminal to cache database and believe The instruction of breath.
For example, conversating any terminal of service to session information manager, which can basis Itself TCP long connection status between the terminal;And/or itself ping between the terminal instructs response results, judgement Whether the session connection between the terminal disconnects.
Specifically, for any session information manager, which can establish TCP long company with terminal It connects, later according to TCP long connection status, such as closed, listen, established, fin_wait1, fin_wait2, comes Judge whether terminal user is online;Alternatively, the session information manager is after establishing TCP long connection with terminal, it can be with the period Property send ping instruction to terminal, instruct response results judge whether terminal user online according to ping.
Optionally, when using ping instruction by the way of judge whether terminal user online when, session information manager with Terminal is established after TCP long connection, from terminal periodic ping instruction can also be sent to session information manager, if meeting Words information manager is not received by the ping instruction of terminal transmission within a preset period of time, it is determined that the session between terminal Connection disconnects.
In addition, when above two mode is used in combination, if according in TCP long connection status and ping instruction response results Any determining terminal user it is not online, it is determined that session connection between the session information manager and terminal disconnects.
Correspondingly, cache database is also used to: when receiving that any session information manager sends for deleting the meeting When talking about the instruction of the session information of certain terminal under information manager, according to the terminal iidentification carried in instruction, deletion includes end Hold the session information of mark.
It should be noted that each terminal can only once establish session connection with a session information manager, therefore slow Session information that can be current come the unique identification terminal with terminal iidentification in deposit data library.
The message push system further include: monitoring center, for breaking down when determining any session information manager When, the instruction for deleting the session information of all terminals under the session information manager is sent to cache server.
In the specific implementation process, each session information manager is also used to when the session information manager starts, to Registration center in message push system registers the service identifiers of the session information manager, registration center, for receiving and protecting The service identifiers for depositing each session information manager believe the session of reduction when the quantity for determining the service identifiers saved is reduced The service identifiers of breath manager are reported to monitoring center, monitoring center, for working as the session information for receiving registration center and reporting When the service identifiers of manager, determine that the corresponding session information manager of service identifiers breaks down.
Correspondingly, cache database is also used to: when receive monitoring center transmission for deleting certain session information management Under device when the instruction of the session information of all terminals, according to the mark of the session information manager carried in instruction, deletion includes The session information for thering is session information manager to identify.
It should be noted that each session information manager can establish session connection with multiple terminals simultaneously, therefore slow All terminals that can be identified to determine session information manager current service with session information manager in deposit data library Session information.
Optionally, the message push system further include: Authentication Center:
In the specific implementation process, each session information manager, be also used to when receive terminal transmission for establishing When the request of session connection, the username and password information of the terminal carried in request is sent to Authentication Center;Receive authentication The verification result of center feedback generates meeting required when being conversed with terminal after being verified according to verification result is determining Information is talked about, and session information is sent to cache database, safeguards what the session information manager was serviced by cache database The session information of terminal.
Authentication Center is used for, and is received the username and password information for the terminal that any session information manager is sent, will be connect The username and password information of receipts is matched with the username and password information of the legitimate user prestored, true if successful match The identity for determining terminal is legal, otherwise determines that terminal identity is illegal, later, to session information manager feedback validation result.
Message push system in the embodiment of the present application, comprising: at least two session information managers, cache database and Message server, and maintenance has the session information of terminal in at least two session informations manager in cache database, Wherein: message server, for the session information of all terminals to be inquired when PUSH message from cache database;Each terminal Session information include at least the terminal iidentification of the terminal and conversate the mark of the session information manager of service for the terminal Know, later, for the session information of each terminal, the terminal iidentification in the session information is carried in the message, this is sent to Session information manager identifies corresponding session information manager in session information;Each session information manager connects for working as When receiving the message of message server transmission, according to the terminal iidentification carried in message, it is corresponding to transmit the message to terminal iidentification Terminal not only can be in this way, by multiple session information managers and cache server Lai the session information of common maintenance terminal Mitigate the pressure of message server, also, message server can inquire each session letter in PUSH message to cache server The session information of terminal in manager is ceased, it, can be to avoid to not eventually later according to the session information of each terminal come pushed information The resource that end sends the case where information, saves server.
As shown in Fig. 2, being the schematic diagram of another message push system provided by the embodiments of the present application, comprising: at least two Session information manager, cache database, monitoring center, registration center, Authentication Center and message server (for simplicity It is not shown message server in Fig. 2, the message push process of message server can refer to Fig. 1), it ties up in the cache database Shield has the session information of terminal in at least two session informations manager, in which:
Each session information manager, for registering oneself service identifiers, the service mark to registration center on startup Knowledge can be identical as the session information manager mark in above-described embodiment, can also be different, but is all used for the unique identification meeting Talk about information manager.
For example, the format of registration can be such that when service identifiers are the address of service of session information manager
CM
├──CM1_192.168.100.101
├──CM2_192.168.100.102
├──……
└──CMn_xxx.xxx.xxx.xxx
In this way, registered in the form of address of service, it is subsequent to can be convenient monitoring center cleaning session information manager Under expired session information.
Correspondingly, monitoring center on startup, registers transmission to registration center and subscribes to instruction, instruction registration center is when determination When the service identifiers of session information manager are reduced, such as service identifiers disappear, to oneself reporting reduced session information management The service identifiers of device.
Further, when terminal user establishes connection request to the initiation of any session information manager, session information pipe Username and password information entrained in request is sent to Authentication Center by reason device, and Authentication Center determines that terminal user is legal It after user, is returned to session information manager and authenticates successful information, session information manager is later with session information management Device title _ IP_ User ID _ client type _ timestamp format is in cache server under the main key of session information manager Session information is written, and then establishes TCP long connection with terminal user, subsequent terminal user can request other services.
Optionally, the format of the session information stored in cache server is as follows:
KEY:CM1_192.168.100.101
FIELD:CM1_192.168.100.101_98227247676133376_IOS_1497406794375
VALUE:"{\"clientType\":\"IOS\",\"deviceId\":\"295B3C9D-B184-48A6- B120-DFBE9909C61C\"}"
Here, while any session information manager and terminal user keep TCP long connection, it can establish two-way PING Mechanism, per at regular intervals, session information manager and terminal user mutually send ping request, when session information manager It is responded after receiving ping request with terminal, for preventing because the reasons such as network jitter, disconnection, bad channel quality cause False on-line annealing, false online phenomenon is prevalent under the network environment of mobile operator offer, when client and server Between be more than certain time do not carry out data exchange, operator can nip off connection.When session information manager finds some end End subscriber ping request is not responding to later or request timed out, then it is assumed that terminal user is false online, can remove end later The session information of end subscriber.It is not responding to or requests when terminal user has found to send after ping is requested to session information manager Time-out, then it is assumed that the long Joint failure established before establishes session connection to session information manager request again later.
In the specific implementation process, after stopping service because of abnormal when a certain session information manager, registration center Service identifiers under middle session information manager can touch simultaneously because the connection of session information manager is disconnected and is automatically cleared Hair registration center reports the address of service of the session information manager of disappearance to monitoring center, and monitoring center is by the service later Location is sent to cache server, and cache server deletes the corresponding main key information of session information manager in address of service.In this way, It is not online that information server can find terminal user when attempting and sending online message in time, and then enter offline message and handle Process guarantees that message is not lost.
In addition, TCP long connection is cut off, session information manager monitors when terminal user closes or exits software To the connection cutting between the terminal user, the mark of terminal can be sent to cache server, by cache server The session information corresponded under field in session information manager is removed.
Further, stored in cache server be each session information manager service terminal session information, When message server is to terminal PUSH message (such as notice, bulletin etc.), message server can first go cache server to look into The session information of terminal is ask, terminal iidentification carrying is sent to corresponding session information manager, session letter in the information later It ceases manager and transmits the message to terminal further according to terminal iidentification.
As shown in figure 3, being information push method flow chart provided by the embodiments of the present application, comprising the following steps:
S301: when message server PUSH message, the session information of all terminals is inquired from cache database;It is each The session information of terminal includes at least the terminal iidentification of the terminal and conversates the session information manager of service for the terminal Mark.
S302: for the session information of each terminal, the terminal iidentification in the session information is carried in the message, is sent Corresponding session information manager is identified to session information manager in the session information.
As shown in figure 4, being another information push method flow chart provided by the embodiments of the present application, comprising the following steps:
S401: session information manager receives the message that message server is sent.
Optionally, the message of server push is to need while being pushed to the message of all online terminals, such as notice, bulletin Deng.
S402: according to the terminal iidentification carried in the message, the corresponding terminal of terminal iidentification is transmitted the message to.
Optionally, the method also includes:
Conversate any terminal of service to the session information manager, if the session information manager determine with Session connection between the terminal disconnects, then the finger for deleting the session information of the terminal is sent to the cache database Show.
Optionally, it conversates any terminal of service for the session information manager, the session information management Device is disconnected according to the determining session connection between the terminal of following information:
TCP long connection status between the session information manager and the terminal;And/or
Ping between the session information manager and the terminal instructs response results.
Optionally, the method also includes:
Receive the request for being used to establish session connection that terminal is sent;
The username and password information of the terminal carried in the request is sent to Authentication Center;
Receive the verification result of the Authentication Center feedback;
After being verified according to the verification result is determining, generates session required when being conversed with the terminal and believe Breath, and the session information is sent to cache database.
Based on the same inventive concept, two kinds of message clothes corresponding with information push method are additionally provided in the embodiment of the present application Business device and session information manager, the principle and the embodiment of the present application information push method phase solved the problems, such as due to these devices Seemingly, therefore the implementation of the device may refer to the implementation of method, and overlaps will not be repeated.
As shown in figure 5, being the structure chart of message server provided by the embodiments of the present application, comprising:
Enquiry module 501, for inquiring the session information of all terminals from cache database when PUSH message;Often The session information of one terminal includes at least the terminal iidentification of the terminal and conversates the session information management of service for the terminal The mark of device;
Sending module 502 carries the terminal iidentification in the session information for the session information for each terminal In the message, it is sent to session information manager in the session information and identifies corresponding session information manager.
As shown in fig. 6, being the structure chart of session information manager provided by the embodiments of the present application, comprising:
Receiving module 601, for receiving the message of message server transmission;
Sending module 602, for sending the message to the terminal according to the terminal iidentification carried in the message Identify corresponding terminal.
Optionally, the session information manager further include:
Session connection monitoring modular 603, for conversating any terminal of service for the session information manager, If the determining session connection between the terminal of the session information manager disconnects, it is used for cache database transmission Delete the instruction of the session information of the terminal.
Optionally, the session connection monitoring modular is specifically used for:
Conversate any terminal of service for the session information manager, the session information manager according to The determining session connection between the terminal of lower information disconnects:
TCP long connection status between the session information manager and the terminal;And/or
Ping between the session information manager and the terminal instructs response results.
The receiving module 601 is also used to receive the request for being used to establish session connection of terminal transmission;Receive the mirror The verification result of power center feedback;After being verified according to the verification result is determining, generation is conversed with the terminal The session information of Shi Suoxu, and the session information is sent to cache database.
The sending module 602, the username and password information hair for the terminal for being also used to carry in the request Give Authentication Center.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is process of the reference according to method, apparatus (system) and computer program product of the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (15)

1. a kind of message push system characterized by comprising at least two session information managers, cache database and disappear Server is ceased, maintenance has the session information of terminal in at least two session informations manager in the cache database, In:
The message server, for inquiring the session information of all terminals from the cache database when PUSH message; The session information of each terminal includes at least the terminal iidentification of the terminal and conversates the session information pipe of service for the terminal Manage the mark of device;For the session information of each terminal, the terminal iidentification in the session information is carried in the message, hair It gives session information manager in the session information and identifies corresponding session information manager;
Each session information manager, for being disappeared according to described when receiving the message that the message server is sent The terminal iidentification carried in breath sends the message to the corresponding terminal of the terminal iidentification.
2. the system as claimed in claim 1, which is characterized in that the system also includes: monitoring center:
Each session information manager, any terminal for the service that is also used to conversate to the session information manager, if really The fixed session connection between the terminal disconnects, then the session information for deleting the terminal is sent to the cache database Instruction;
The monitoring center, for when determining that any session information manager breaks down, Xiang Suoshu cache server to be sent For deleting the instruction of the session information of all terminals under the session information manager;
The cache database is also used to: when receiving that any session information manager sends for deleting the session information pipe When managing the instruction of the session information of terminal under device, according to the terminal iidentification carried in the instruction, deletion includes the terminal The session information of mark;Alternatively, when receive that the monitoring center sends for deleting all ends under session information manager When the instruction of the session information at end, identified according to the session information manager carried in the instruction, deletion includes the meeting Talk about the session information of information manager mark.
3. system as claimed in claim 2, which is characterized in that each session information manager is specifically used for:
It conversates any terminal of service to the session information manager, it is determining between the terminal according to following information Session connection disconnects:
TCP long connection status between the session information manager and the terminal;And/or
Ping between the session information manager and the terminal instructs response results.
4. system as claimed in claim 2, which is characterized in that the system also includes: registration center:
Each session information manager is also used to when the session information manager starts, and Xiang Suoshu registration center registers the meeting Talk about the service identifiers of information manager;
The registration center, for receiving and saving the service identifiers of each session information manager;When the service mark for determining preservation When the quantity of knowledge is reduced, the service identifiers of the session information manager of reduction are reported to the monitoring center;
The monitoring center, specifically for when the service identifiers for receiving the session information manager that the registration center reports When, determine that the corresponding session information manager of the service identifiers breaks down.
5. the system as described in Claims 1 to 4 is any, which is characterized in that the system also includes: Authentication Center:
Each session information manager is also used to when receiving the request for being used to establish session connection of terminal transmission, by institute The username and password information for stating the terminal carried in request is sent to the Authentication Center;It is anti-to receive the Authentication Center The verification result of feedback generates required when being conversed with the terminal after being verified according to the verification result is determining Session information, and the session information is sent to the cache database, which is safeguarded by the cache database The session information of terminal in manager;
The Authentication Center is used for, and is tested the username and password information for the terminal that any session information manager is sent Card, determines whether the identity of terminal is legal, and to the session information manager feedback validation result.
6. a kind of information push method, which is characterized in that be applied to include at least two session information managers, cache database Maintenance has at least two session informations management in the message push system of message server, and in the cache database The session information of terminal in device, which comprises
When the message server PUSH message, the session information of all terminals is inquired from the cache database;It is each The session information of terminal includes at least the terminal iidentification of the terminal and conversates the session information manager of service for the terminal Mark;
For the session information of each terminal, the terminal iidentification in the session information is carried in the message, this is sent to Session information manager identifies corresponding session information manager in session information.
7. a kind of information push method, which is characterized in that be applied to include at least two session information managers, cache database Maintenance has at least two session informations management in the message push system of message server, and in the cache database The session information of terminal in device, which comprises
The session information manager receives the message that the message server is sent;
According to the terminal iidentification carried in the message, the corresponding terminal of the terminal iidentification is sent the message to.
8. the method for claim 7, which is characterized in that further include:
It conversates any terminal of service to the session information manager, if the session information manager is determining with the end Session connection between end disconnects, then the instruction for deleting the session information of the terminal is sent to the cache database.
9. method according to claim 8, which is characterized in that for the session information manager conversate service appoint One terminal, the session information manager are disconnected according to the determining session connection between the terminal of following information:
TCP long connection status between the session information manager and the terminal;And/or
Ping between the session information manager and the terminal instructs response results.
10. the method for claim 7, which is characterized in that further include:
Receive the request for being used to establish session connection that terminal is sent;
The username and password information of the terminal carried in the request is sent to Authentication Center;
Receive the verification result of the Authentication Center feedback;
After being verified according to the verification result is determining, session information required when being conversed with the terminal is generated, And the session information is sent to cache database.
11. a kind of message server characterized by comprising
Enquiry module, for inquiring the session information of all terminals from cache database when PUSH message;Each terminal Session information includes at least the terminal iidentification of the terminal and conversates the mark of the session information manager of service for the terminal;
Terminal iidentification in the session information is carried and is disappeared described for the session information for each terminal by sending module In breath, it is sent to session information manager in the session information and identifies corresponding session information manager.
12. a kind of session information manager characterized by comprising
Receiving module, for receiving the message of message server transmission;
Sending module, for sending the message to the terminal iidentification pair according to the terminal iidentification carried in the message The terminal answered.
13. session information manager as claimed in claim 12, which is characterized in that further include:
Session connection monitoring modular, for conversating any terminal of service for the session information manager, if described The determining session connection between the terminal of session information manager disconnects, then sends to the cache database for deleting this The instruction of the session information of terminal.
14. session information manager as claimed in claim 13, which is characterized in that the session connection monitoring modular is specifically used In:
It conversates any terminal of service for the session information manager, the session information manager is according to following letter The determining session connection between the terminal of breath disconnects:
TCP long connection status between the session information manager and the terminal;And/or
Ping between the session information manager and the terminal instructs response results.
15. session information manager as claimed in claim 12, which is characterized in that
The receiving module is also used to receive the request for being used to establish session connection of terminal transmission;Receive the Authentication Center The verification result of feedback;After being verified according to the verification result is determining, generation is required when being conversed with the terminal Session information, and the session information is sent to cache database;
The sending module is also used to the username and password information of the terminal carried in the request being sent to authentication Center.
CN201710851164.9A 2017-09-20 2017-09-20 Message pushing system, method and device Active CN109525620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710851164.9A CN109525620B (en) 2017-09-20 2017-09-20 Message pushing system, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710851164.9A CN109525620B (en) 2017-09-20 2017-09-20 Message pushing system, method and device

Publications (2)

Publication Number Publication Date
CN109525620A true CN109525620A (en) 2019-03-26
CN109525620B CN109525620B (en) 2021-11-16

Family

ID=65769179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710851164.9A Active CN109525620B (en) 2017-09-20 2017-09-20 Message pushing system, method and device

Country Status (1)

Country Link
CN (1) CN109525620B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413676A (en) * 2019-07-25 2019-11-05 中国工商银行股份有限公司 The access method and its device of database, electronic equipment and medium
CN110505275A (en) * 2019-07-16 2019-11-26 北京奇艺世纪科技有限公司 Data transmission method, system, server and computer readable storage medium
CN113596147A (en) * 2021-07-27 2021-11-02 奇安信科技集团股份有限公司 Message pushing method, device, equipment and storage medium
CN115118762A (en) * 2022-05-19 2022-09-27 北京京东乾石科技有限公司 Session processing method, client and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015538A1 (en) * 2002-07-18 2004-01-22 Agarwalla Rajesh S. Method and system for generating auxiliary-server cache identifiers
US20050172026A1 (en) * 2004-01-29 2005-08-04 Samsung Electronics Co., Ltd. Method of providing push service to mobile terminal in a mobile communication system for high-speed data transmission and push server apparatus using the same
CN201682522U (en) * 2010-02-08 2010-12-22 阿里巴巴集团控股有限公司 Conversation information storage system and application server
CN102075539A (en) * 2011-01-25 2011-05-25 中兴通讯股份有限公司 Data delivery system and method
CN103297326A (en) * 2013-05-29 2013-09-11 深圳Tcl新技术有限公司 Method and device for message pushing
CN105120495A (en) * 2015-09-09 2015-12-02 北京京东尚科信息技术有限公司 Information push method and system for smart mobile terminal
CN105681385A (en) * 2015-05-22 2016-06-15 深圳Tcl数字技术有限公司 Information pushing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015538A1 (en) * 2002-07-18 2004-01-22 Agarwalla Rajesh S. Method and system for generating auxiliary-server cache identifiers
US20050172026A1 (en) * 2004-01-29 2005-08-04 Samsung Electronics Co., Ltd. Method of providing push service to mobile terminal in a mobile communication system for high-speed data transmission and push server apparatus using the same
CN201682522U (en) * 2010-02-08 2010-12-22 阿里巴巴集团控股有限公司 Conversation information storage system and application server
CN102075539A (en) * 2011-01-25 2011-05-25 中兴通讯股份有限公司 Data delivery system and method
CN103297326A (en) * 2013-05-29 2013-09-11 深圳Tcl新技术有限公司 Method and device for message pushing
CN105681385A (en) * 2015-05-22 2016-06-15 深圳Tcl数字技术有限公司 Information pushing method and device
CN105120495A (en) * 2015-09-09 2015-12-02 北京京东尚科信息技术有限公司 Information push method and system for smart mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄斯伟等: "《个人建站与企业建网轻松上手》", 30 November 2000 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505275A (en) * 2019-07-16 2019-11-26 北京奇艺世纪科技有限公司 Data transmission method, system, server and computer readable storage medium
CN110413676A (en) * 2019-07-25 2019-11-05 中国工商银行股份有限公司 The access method and its device of database, electronic equipment and medium
CN110413676B (en) * 2019-07-25 2022-03-11 中国工商银行股份有限公司 Database access method and device, electronic equipment and medium
CN113596147A (en) * 2021-07-27 2021-11-02 奇安信科技集团股份有限公司 Message pushing method, device, equipment and storage medium
CN113596147B (en) * 2021-07-27 2023-10-24 奇安信科技集团股份有限公司 Message pushing method, device, equipment and storage medium
CN115118762A (en) * 2022-05-19 2022-09-27 北京京东乾石科技有限公司 Session processing method, client and system

Also Published As

Publication number Publication date
CN109525620B (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN109525620A (en) A kind of message push system, method and device
KR101113738B1 (en) Internet connecting method for mobile communication terminal
US7680120B2 (en) Connected communication terminal, connecting communication terminal, session management server and trigger server
CN102739411B (en) The service of proof is provided
CN100463413C (en) Management system for warranting consistency between inter-client communication logs
JP2005530372A5 (en)
EP1947806A1 (en) A method and system for service trace and service trace terminal, network element
CN107204873A (en) A kind of method and relevant device for switching target domain name resolution server
CN102647295B (en) A kind of method of equipment control and device
CN103905399A (en) Account registration management method and apparatus
CN102984031A (en) Method and device for allowing encoding equipment to be safely accessed to monitoring and control network
CN115664989A (en) Monitoring system and method of cloud desktop
CN104837134A (en) Web authentication user registration method, device and system
CN105207860A (en) Business acceleration system and method
CN111404918A (en) Cloud mobile phone distributed service emergency authentication method, device and system
CN111565165B (en) Cloud mobile phone authentication, maintenance and state change system and method
JP6462783B2 (en) IP-PBX system, IP-PBX setting automation method, and IP-PBX setting automation program
CN112751929B (en) Method and system for communicating with remote PLC (programmable logic controller) equipment
CN112333088B (en) Compatible instant messaging transmission method
CN113596147A (en) Message pushing method, device, equipment and storage medium
US10880393B2 (en) Method for caching a piece of content in a content distribution network
CN111193621A (en) Method for guaranteeing data communication between RTOS (real time operating System) equipment side and server side of Internet of things
KR20090070022A (en) A system for and a method of providing instant messanger services, an apparatus for and a method of controlling connection of a server and terminal units in the system, and computer-readable media in which programs for executing the methods are recorded
CN106506495B (en) Terminal online control method and device
CN103763144A (en) Method and device of user for carrying out renewal to go online

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant