CN106533932A - Method and device for pushing instant message - Google Patents
Method and device for pushing instant message Download PDFInfo
- Publication number
- CN106533932A CN106533932A CN201710030872.6A CN201710030872A CN106533932A CN 106533932 A CN106533932 A CN 106533932A CN 201710030872 A CN201710030872 A CN 201710030872A CN 106533932 A CN106533932 A CN 106533932A
- Authority
- CN
- China
- Prior art keywords
- client
- message
- instant message
- server
- threshold
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/133—Protocols for remote procedure calls [RPC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Abstract
The invention discloses a method and device for pushing an instant message. An embodiment of the method comprises the following steps: receiving an instant message re-oriented by a long connection server, wherein the instant message is an instant message sent by a client in a client set that has established a long connection with the long connection server; determining the number of the clients in the client set; comparing the number of the clients with a first threshold, and setting the instant message as a corresponding message type according to a comparison result, wherein when the number of the clients is smaller than or equal to the first threshold, the corresponding message type is a counter pull mode, and when the number of the clients is greater than the first threshold, the corresponding message type is a direct push mode; and initiating remote process calling used for pushing the instant message with the message type set to the client set to the long connection server. The embodiment flexibly selects the push mode of the instant message according to the scene.
Description
Technical field
The application is related to field of computer technology, and in particular to Internet technical field, more particularly, to pushes instant
The method and apparatus of message.
Background technology
In the mobile Internet epoch, increasing mobile applications are provided with the function of instant messaging, are that user carries
For the service that information is exchanged.Some of which mobile applications are used for the group for providing point-to-point private chat function and one-to-many
The characteristics of merely function, this kind of software is the reliable push for ensureing message, and different message is according to the time for sending orderly presentation
To receive user.The messenger service of this pattern provides transmitting, but is limited by the load capacity of server, message it is wide
Broadcast and be limited in scope.In addition, also there is network direct broadcasting software, this software provides the user by barrage to carry out group interaction
Service, the messenger service of this pattern can be broadcasted to the message of mass users, but it cannot be guaranteed that message is accurately reached in order
Terminal use.
Generally, different application scenarios are different to the quality of service requirement of instant message push, therefore suitable information
Push mode is different, and a application program of prior art generally only supports a kind of transfer mode of instant message, therefore is only capable of
Single scene is suitable for, lacks motility.
The content of the invention
The purpose of the application is to propose a kind of improved method and apparatus for pushing instant message, solve more than
The technical problem that background section is mentioned.
In a first aspect, this application provides a kind of method for pushing instant message, the method includes:Receive long connection
The instant message of server redirection, the wherein instant message are to set up the client collection that length is connected with the long connection server
The instant message sent by client in conjunction;Determine the client terminal quantity of the client set;Relatively the client terminal quantity with
First threshold, and the instant message is set to by corresponding type of message according to comparative result, wherein, the client terminal quantity is less than
Or corresponding type of message is reverse drawing pattern when being equal to first threshold, the client terminal quantity is more than corresponding message during first threshold
Type is straight push-model;The instant message push for being arranged type of message is initiated to the visitor to the long connection server
The remote procedure call of family end set.
In certain embodiments, this initiates to have been arranged the instant message push of type of message to the long connection server
To the remote procedure call of the client set, including:Determine the client terminal quantity whether more than Second Threshold;If the client
Quantity is more than Second Threshold, then the client set is split into client of the multiple client quantity less than or equal to Second Threshold
Extremal subset;The instant message for initiating to have been arranged type of message to the long connection server pushes to each client child respectively
Multiple remote procedure calls of collection.
In certain embodiments, this determines the client terminal quantity of the client set, including:Being determined according to log-on message should
The client terminal quantity of client set, wherein, the log-on message is in response to set up long company in the long connection server and client
What the client registers sent when connecing were asked and were generated.
Second aspect, this application provides another is used for the method for pushing instant message, the method includes:Receive and be somebody's turn to do
The instant message sent by the client that long connection server is set up in the client set of long connection;By the instant message weight
It is directed to message server;The message server is received after type of message is set to the instant message, having been arranged of initiating
The remote procedure call of instant message push of type of message to the client set;The remote procedure call is performed with should
Instant message push is to the client set;Wherein, the type of message is client of the message server to the client set
What end quantity was compared with first threshold and the instant message was arranged according to comparative result, the client terminal quantity is less than first
During threshold value, corresponding type of message is reverse drawing pattern, and when the client terminal quantity is more than first threshold, corresponding type of message is directly to push away
Pattern.
In certain embodiments, the reception message server after to the instant message, type of message is set, initiate
The remote procedure call of instant message push of type of message to the client set has been set, including:Receive the message
Multiple remote procedure calls that server sends, wherein, each remote procedure call is respectively used to arranged type of message
The different clients extremal subset of the instant message push to the client set, the client subset are the message servers in the visitor
Client terminal quantity obtained by the client terminal quantity of family end set is divided to the client set when being more than Second Threshold is little
In the client subset of Second Threshold;And the execution remote procedure call with by the instant message push to the client collection
Close, including:The plurality of remote procedure call is performed successively with sequentially by the instant message push to the multiple of the client set
Client subset.
In certain embodiments, the method also includes client registers step, and the client registers step includes:With client
Long connection is set up at end;Client registers request is sent to the message server, so that the message server generates log-on message, should
Log-on message determines the client terminal quantity of the client set for the message server.
In certain embodiments, length should be set up with client to be connected, including:Set up with client using scheduling agent thread
Communication connection;Line is performed from selection agency in execution thread set is acted on behalf of according to equally loaded strategy using the scheduling agent thread
Journey, and the connection handle of the communication connection set up is write into the selected connection queue for acting on behalf of execution thread;Use
The scheduling agent thread sends trigger message to the selected pipeline for acting on behalf of execution thread;Execution thread response is acted on behalf of using this
In the trigger message is received, connection handle is read from the connection queue, to take over the corresponding communication connection of connection handle.
In certain embodiments, the execution remote procedure call to be to push the information to the client set, including:Make
Execution thread is pushed from selection in execution thread set is pushed according to equally loaded strategy with scheduling thread is pushed, and this is instant
In message and the remote procedure call, the client-side information of client to be pushed distributes to selected push execution thread;Make
The instant message and the client-side information are forwarded to into the scheduling agent thread with the push execution thread;Adjusted using the agency
Degree thread inquire about in the connection queue it is corresponding with client-side information connect handle place act on behalf of execution thread, and by this be
When message be transferred to this and act on behalf of execution thread;Using this act on behalf of execution thread should by the corresponding communication connection of connection handle
Instant message is sent to corresponding client.
The third aspect, this application provides a kind of device for pushing instant message, the device includes:Receiving unit,
For receiving the instant message that long connection server is redirected, the wherein instant message is to have set up length with the long connection server
The instant message sent by client in the client set of connection;Determining unit, for determining the visitor of the client set
Family end quantity;The instant message for comparing the client terminal quantity and first threshold, and is set by setting unit according to comparative result
Corresponding type of message is set to, wherein, when the client terminal quantity is less than or equal to first threshold, corresponding type of message is reverse drawing
Pattern, when the client terminal quantity is more than first threshold, corresponding type of message is straight push-model;Unit is initiated, for connecting to the length
Connect server to initiate for being arranged the remote procedure call of instant message push of type of message to the client set.
In certain embodiments, the initiation unit, including:Determination subelement, for determining whether the client terminal quantity is big
In Second Threshold;Subelement is split, if being more than Second Threshold for the client terminal quantity, the client set is split into many
Client subset of the individual client terminal quantity less than or equal to Second Threshold;Subelement is initiated, for sending out to the long connection server
Rise and the instant message of type of message has been set pushes to multiple remote procedure calls of each client subset respectively.
In certain embodiments, the determination subelement is further used for:The client set is determined according to log-on message
Client terminal quantity, wherein, the log-on message is in response to the visitor sent when the long connection server and client set up long connection
Family end registration request and generate.
Fourth aspect, this application provides a kind of device for pushing instant message, the device includes:Message sink list
Unit, what the client set up in the client set that length is connected for reception and the long connection server was sent disappear immediately
Breath;Unit is redirected, for the instant message is redirected to message server;Receiving unit is called, for receiving the message
Server is after type of message is arranged to the instant message, instant message push for having been arranged type of message of initiation extremely should
The remote procedure call of client set;Performance element, for perform the remote procedure call with by the instant message push extremely
The client set;Wherein, the type of message is client terminal quantity and first threshold of the message server to the client set
What value was compared and the instant message was arranged according to comparative result, the client terminal quantity is corresponding when being less than first threshold to disappear
Breath type is reverse drawing pattern, and when the client terminal quantity is more than first threshold, corresponding type of message is straight push-model.
In certain embodiments, this calls receiving unit to be further used for:Receive that the message server sends is multiple remote
The journey invocation of procedure, wherein, each remote procedure call is respectively used to arranged the instant message push of type of message and extremely should
The different clients extremal subset of client set, the client subset are number clients of the message server in the client set
Client of the client terminal quantity obtained by being divided to the client set when amount is more than Second Threshold less than Second Threshold
Subset;And the performance element is further used for:Perform the plurality of remote procedure call successively sequentially to push away the instant message
It is sent to the multiple client subset of the client set.
In certain embodiments, the device also includes client registers unit, and the client registers unit includes:Long connection
Subelement is set up, and is connected for length being set up with client;Request subelement, for sending client registers to the message server
Request, so that the message server generates log-on message, the log-on message determines the client set for the message server
Client terminal quantity.
In certain embodiments, the long connection establishment subelement is further used for:Using scheduling agent thread and client
Set up communication connection;Held from selection agency in execution thread set is acted on behalf of according to equally loaded strategy using the scheduling agent thread
Line journey, and the connection handle of the communication connection set up is write into the selected connection queue for acting on behalf of execution thread;
Trigger message is sent to the selected pipeline for acting on behalf of execution thread using the scheduling agent thread;Execution thread is acted on behalf of using this
In response to receiving the trigger message, connection handle is read from the connection queue, to take over the corresponding communication link of connection handle
Connect.
In certain embodiments, the performance element is further used for:Using push scheduling thread according to equally loaded strategy
Execution thread is pushed from pushing, and will wait to push in the instant message and the remote procedure call
The client-side information of client distributes to selected push execution thread;Using the push execution thread by the instant message with
And the client-side information is forwarded to the scheduling agent thread;Inquired about and client in the connection queue using the scheduling agent thread
What the corresponding connection handle of client information was located acts on behalf of execution thread, and the instant message is transferred to this acts on behalf of execution thread;Make
Execution thread is acted on behalf of with this instant message to be sent to corresponding client by the corresponding communication connection of the connection handle.
The application provide for the method and apparatus that pushes instant message, by setting up the client that length is connected with server
End quantity determines that the pattern for pushing instant message is reverse drawing pattern or straight push-model, so that the push mould of instant messages
Formula can match current scene, can meet the different transmission requirements to instant message under different scenes.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow chart for pushing one embodiment of the method for instant message according to the application;
Fig. 3 is the flow chart for pushing another embodiment of the method for instant message according to the application;
Fig. 4 a be according to Fig. 3 correspondence embodiment an implementation in client set up length be connected when interaction signal
Figure;
Fig. 4 b are according to the interactive schematic diagram in Fig. 3 correspondingly an implementation of embodiment during PUSH message;
Fig. 5 is the structural representation for pushing one embodiment of the device of instant message according to the application;
Fig. 6 is the structural representation for pushing another embodiment of the device of instant message according to the application;
Fig. 7 is adapted for the structural representation of the computer system of terminal unit or server for realizing the embodiment of the present application
Figure.
Specific embodiment
With reference to the accompanying drawings and examples the application is described in further detail.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that, in order to
Be easy to description, illustrate only in accompanying drawing to about the related part of invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combine.Below with reference to the accompanying drawings and in conjunction with the embodiments describing the application in detail.
Fig. 1 shows the method for pushing instant message or the dress for pushing instant message that can apply the application
The exemplary system architecture 100 of the embodiment put.
As shown in figure 1, system architecture 100 can include terminal unit 101,102,103, network 104,106, long connection clothes
Business device 105 and message server 107.Network 104 in terminal unit 101,102,103 and long connection server 105 and
The medium of communication link is provided between long connection server 105 and message server 107.Network 104,106 can include each
Plant connection type, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with server 105 by network 104 with using terminal equipment 101,102,103, to receive or send out
Send message etc..Various telecommunication customer end applications can be installed on terminal unit 101,102,103, such as net cast class should
With, JICQ, mailbox client, social platform software etc..
Terminal unit 101,102,103 can be with display screen and the various electronic equipments that browse of supported web page, bag
Include but be not limited to smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts
Group Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3), MP4 (Moving Picture
Experts Group Audio Layer IV, dynamic image expert's compression standard audio frequency aspect 4) player, on knee portable
Computer and desk computer etc..
Long connection server 105 can be to provide the server of various services, can connect from terminal unit 101,102,103
The collection of letters ceases and is redirected to message server 107, and message server 107 can transmit the message to length after processing to information
Connection server 105, sends information to terminal unit 101,102,103 by long connection server 105.
It should be noted that the method for pushing instant message provided by Fig. 2 correspondence embodiments is typically taken by message
Business device 107 is performed, and correspondingly, the device for pushing instant message shown in Fig. 5 is generally positioned in message server 107;
The method for pushing instant message provided by Fig. 3 correspondence embodiments is typically performed by long connection server 105, correspondingly,
The device for pushing instant message shown in Fig. 6 is generally positioned in long connection server 105.
It should be understood that the number of the terminal unit, network and server in Fig. 1 is only schematic.According to realizing need
Will, can have any number of terminal unit, network and server.
With continued reference to Fig. 2, the stream for pushing one embodiment of the method for instant message according to the application is shown
Journey 200.This is used for the method for pushing instant message, comprises the following steps:
Step 201, receives the instant message that long connection server is redirected.
In the present embodiment, the method for pushing instant message runs electronic equipment thereon (such as shown in Fig. 1
Message server) wired connection mode or radio connection can be passed through from long connection server reception instant message.Should
Instant message can be set up the client that length be connected with the long connection server and send, the message can be word, picture,
The various message such as sound, audio or video.Long connection server, can be by the instant message weight after the instant message is received
It is directed to electronic equipment (i.e. message server).Long connection, refers to and can continuously transmit multiple packets in a connection, even
During connecing holding, if no packet sends, both sides are needed to send out link detecting bag.
Generally, user browsed using social networking applications such as the JICQs or net cast platform installed in terminal and
Interactive information, at this moment, user can directly input information by the social networking application.
Step 202, determines the client terminal quantity of client set.
In the present embodiment, electronic equipment can determine the visitor being connected with long connection server foundation length by various modes
The client terminal quantity of family end set.
In some optional implementations of the present embodiment, step 202 can include:Client is determined according to log-on message
The client terminal quantity of set, wherein, log-on message is in response to set up what is sent when length is connected in long connection server and client
What client registers were asked and were generated.
Step 203, compares client terminal quantity and first threshold, and is set to instant message according to comparative result corresponding
Type of message.
In the present embodiment, run can first by base on electronic equipment thereon for the method for pushing instant message
Client terminal quantity obtained by step 203 is compared with first threshold.Afterwards, electronic equipment can be incited somebody to action according to comparative result
Instant message is set to corresponding type of message.Wherein, corresponding message class when client terminal quantity is less than or equal to first threshold
Type is reverse drawing pattern, and when client terminal quantity is more than first threshold, corresponding type of message is straight push-model.Reverse drawing pattern and directly push away
Pattern is two kinds of different transfer modes of instant message.Reverse drawing pattern is that, when there is new information to produce, service end is to current online
Client send one notice, after client is notified, actively to service end ask new information data.Reverse drawing pattern,
Can ensure that accuracy, the timing of message dilivery, but the more than once network interaction of the push of a piece of news, increase message
The time delay of transmission, while one times of access pressure is also increased to server.A piece of news is being pushed to client by straight push-model
Only have primary network to interact during end, the push pressure of back-end server is less, delay is low, but occur in service peak period and disappear
Breath is lost, the problem of sequential entanglement.Straight push-model, then, when being have new information to produce, message body is directly pushed to by service end
The client of line, service end and client need not carry out delivering successfully confirmation, belong to " transmitting as possible ".
Step 204, initiates instant message push for being arranged type of message to client to long connection server
The remote procedure call of set.
In the present embodiment, based on execution step 203 obtained by the instant message that type of message is set, electronic equipment
Can initiate for being arranged the long-range mistake of the instant message push of type of message to client set to long connection server
Journey is called.
In some optional implementations of the present embodiment, step 204 can include:Determine whether client terminal quantity is more than
Second Threshold;If client terminal quantity be more than Second Threshold, by client set split into multiple client quantity be less than or wait
In the client subset of Second Threshold;The instant message for initiating to have been arranged type of message to long connection server is pushed to respectively
Multiple remote procedure calls of each client subset.
The method that above-described embodiment of the application is provided, is pushed away by setting up the long client terminal quantity determination being connected with server
The pattern for sending instant message is reverse drawing pattern or straight push-model, so that the push mode of instant messages can be matched working as
Front scene, can meet the different transmission requirements to instant message under different scenes.
With further reference to Fig. 3, it illustrates for pushing the flow process 300 of another embodiment of the method for instant message.
This is used for the flow process 300 of the method for pushing instant message, comprises the following steps:
Step 301, receives what the client set up in the client set that length is connected with long connection server was sent
Instant message.
In the present embodiment, the method for pushing instant message runs electronic equipment thereon (such as shown in Fig. 1
Long connection server) wired connection mode or radio connection can be passed through carry out the end of information exchange using which from user
End receives instant message.
Instant message is redirected to message server by step 302.
In the present embodiment, the instant message received by step 301 can be redirected to messenger service by electronic equipment
Device.
Step 303, receive message server to instant message arrange type of message after, initiate message class has been set
The remote procedure call of the instant message push of type to client set.
In the present embodiment, the instant message of message server is redirected to based on step 302, message server can be right
The client terminal quantity of client set is compared with first threshold and arranges message class to the instant message according to comparative result
Type.Wherein, when client terminal quantity is less than first threshold, corresponding type of message is reverse drawing pattern, and client terminal quantity is more than the
During one threshold value, corresponding type of message is straight push-model.Afterwards, message server can initiate to arrange to disappear to electronic equipment
The remote procedure call of the instant message push to client set of breath type.Thus, it is long-range to receive this by electronic equipment
The invocation of procedure.
Step 304, perform remote procedure call with by instant message push to client set.
In the present embodiment, based on the remote procedure call received by step 303, it is long-range that electronic equipment can perform this
The invocation of procedure, such that it is able to be set the instant message push of type of message to client set.For type of message
For the instant message of straight push-model, the message content of instant message is directly pushed to each client by long connection server, objective
Family end can show message content.For the instant message that type of message is straight push-model, long connection server can first by
The new information of instant message pushes to each client, and client can be sent out to long connection server new information is received
Send the increment to new instant message to pull request so that long connection server receive pull request to increment after again to
The message content of client push instant message.
In some optional implementations of the present embodiment, above-mentioned steps 303 can include:Receive message server to send
Multiple remote procedure calls, wherein, each remote procedure call is respectively used to arranged the instant message of type of message and pushes away
The different clients extremal subset of client set is delivered to, client subset is client terminal quantity of the message server in client set
The client subset of Second Threshold is less than more than the client terminal quantity obtained by being divided to client set during Second Threshold.
Additionally, step 304 can include:Multiple remote procedure calls are performed successively with sequentially by instant message push to client set
Multiple client subset.
In some optional implementations of the present embodiment, said method also includes client registers step, the client
Registration step includes:Length is set up with client to be connected;Client registers request is sent to message server, so that message server
Log-on message is generated, log-on message determines the client terminal quantity of client set for message server.
It is in some optional implementations of the present embodiment, above-mentioned to be connected with client foundation length, including:Adjusted using agency
Degree thread sets up communication connection with client;Using scheduling agent thread according to equally loaded strategy from acting on behalf of execution thread set
Execution thread is acted on behalf of in middle selection, and the connection handle of the communication connection set up is write to selected execution thread of acting on behalf of
In connection queue;Trigger message is sent to the selected pipeline for acting on behalf of execution thread using scheduling agent thread;Using agency
Execution thread reads connection handle from connection queue in response to receiving trigger message, to take over the corresponding communication of connection handle
Connection.Wherein, load balancing is to share to be performed task on multiple operating units, so as to complete jointly task.
Specific load-balancing algorithm can be polling method, randomized, source address Hash method, WRR method, in Smallest connection number method
Any one.
During Fig. 4 a show the implementation, long connection server sets up the interactive schematic diagram that length is connected with client.As schemed
Shown in 4a, this process may include steps of:First, the scheduling agent thread in long connection server 402 (can be named as
Proxy_dispatcher) 4021 communication connection can be set up with client;Secondly, scheduling agent thread 4021 can be according to negative
Carry balance policy and select in execution thread 4023 from acting on behalf of execution thread (proxy_worker can be named as) 4022 and act on behalf of
Act on behalf of execution thread 4023 and the connection handle of the communication connection set up is write to the connection queue of execution thread 4023;Connect
, scheduling agent thread 4021 can send information to the pipeline of execution thread 4023 and be connected with triggering to act on behalf of execution thread and read
Connection handle in queue;Afterwards, above-mentioned communication connection is taken over by reading connection handle by acting on behalf of execution thread 4023.Such as
This, long connection server 402 can finally set up long connection server with client.Additionally, after long connection is set up, agency holds
Line journey 4023 can also adjust back the service provided by message server 404 please to send registration to readjustment message server 404
Ask, so as to the client to setting up long connection in message server 404 is registered, generate log-on message.
In some optional implementations of the present embodiment, above-mentioned steps 304 can include:Using push scheduling thread root
Execution thread is pushed from selection in execution thread set is pushed according to equally loaded strategy, and instant message and remote process are adjusted
With in, the client-side information of client to be pushed distributes to selected push execution thread;Will be instant using execution thread is pushed
Message and client-side information are forwarded to scheduling agent thread;Inquired about and client in connection queue using scheduling agent thread
What the corresponding connection handle of information was located acts on behalf of execution thread, and instant message is transferred to acts on behalf of execution thread;Using agency
Execution thread is sent instant message to corresponding client by connecting the corresponding communication connection of handle.
Fig. 4 b show interactive schematic diagram during PUSH message in the implementation.First, when user passes through client 401
When sending instant message in the groups of users of place, client 401 is by the instant message by built with long connection server 402
Vertical long linkup transmit acts on behalf of execution thread 4023 to corresponding in long connection server 402.Then, long connection server 402
Execution thread 4023 of acting on behalf of the instant message is redirected to into message server 403.Message server 403 by one can be
Row operation setting type of message simultaneously initiates instant message push for being arranged type of message extremely to long connection server 402
The remote procedure call of client set.Wherein, above-mentioned sequence of operations can include:By log-on message inquiring client terminal collection
The client terminal quantity of conjunction;Judge that type of message, whether more than 500, is set to straight push-model if being more than by client terminal quantity, if
Type of message is set to into reverse drawing pattern then no more than;Afterwards, message server 403 may determine that whether client terminal quantity is more than
4000, adjust if the remote process that the instant message push to client set to arranging type of message is directly initiated less than if
With the task subset of each client subset being submitted to after client set is split into 10 client subsets more than if
Message queue is simultaneously issued to push task.The operation for wherein splitting can be performed repeatedly until each client child concentrates client
Quantity is less than 4000.When remote procedure call is initiated, message server 403 can have been arranged the instant message of type of message
And the client-side information of the client set for being pushed sends to the push scheduling thread of long connection server 402 and (can name
For push_dispatcher) 4024, push scheduling thread 4024 can according to equally loaded strategy from push execution thread (can
Be named as push_worker) 4025 and push execution thread 4026 select push execution thread 4025 and by client-side information and
Instant message distributes to push execution thread 4025.Afterwards, in push process push execution thread 4025 can pass through into
Is communicated between journey and client-side information and instant message are transmitted to scheduling agent thread 4021, scheduling agent thread 4021 can basis
Client-side information select it is corresponding act on behalf of execution thread 4022 and instant message be transferred to act on behalf of execution thread 4022.Finally,
Act on behalf of execution thread 4022 to communicate to connect instant message push to client 402 by corresponding.
From figure 3, it can be seen that determining push instant message by setting up the long client terminal quantity being connected with server
Pattern is reverse drawing pattern or straight push-model, so that the push mode of instant messages can match current scene, energy
Meet the different transmission requirements to instant message under different scenes.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind for pushing is
When message device one embodiment, the device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and the device specifically may be used
To be applied in various electronic equipments.
As shown in figure 5, the device 500 for pushing instant message described by the present embodiment includes:Receiving unit 501,
Determining unit 502, setting unit 503 and initiation unit 504.Wherein, receiving unit 501 is reset for receiving long connection server
To instant message, wherein instant message is the client institute set up in the client set that is connected of length with long connection server
The instant message of transmission;Determining unit 502 is used for the client terminal quantity for determining client set;Setting unit 503 is used to compare
Client terminal quantity and first threshold, and instant message is set to by corresponding type of message according to comparative result, wherein, client
When quantity is less than or equal to first threshold, corresponding type of message is reverse drawing pattern, and client terminal quantity is more than corresponding during first threshold
Type of message be straight push-model;And unit 504 is initiated for initiating for being arranged type of message to long connection server
Instant message push to client set remote procedure call.
In the present embodiment, for pushing the receiving unit 501 of the device 500 of instant message, determining unit 502, arrange
Unit 503 and initiate the step 201, step 202, step that the concrete process of unit 504 may be referred in the corresponding embodiments of Fig. 2
203 and step 204, repeat no more here.
In some optional implementations of the present embodiment, unit 504 is initiated, including:Determination subelement (not shown), uses
In it is determined that whether client terminal quantity is more than Second Threshold;Subelement (not shown) is split, if being more than second for client terminal quantity
Threshold value, then split into client subset of the multiple client quantity less than or equal to Second Threshold by client set;Initiate son
Unit (not shown), the instant message for initiating to have been arranged type of message to long connection server push to each visitor respectively
Multiple remote procedure calls of family extremal subset.
In some optional implementations of the present embodiment, determination subelement is further used for:Determined according to log-on message
The client terminal quantity of client set, wherein, log-on message is in response to when long connection server and client are set up length and be connected
What the client registers of transmission were asked and were generated.
With further reference to Fig. 6, as the realization to method shown in above-mentioned each figure, this application provides one kind for pushing is
When message device one embodiment, the device embodiment is corresponding with the embodiment of the method shown in Fig. 4, and the device specifically may be used
To be applied in various electronic equipments.
As shown in fig. 6, the device 600 for pushing instant message described by the present embodiment includes:Message reception units
601st, redirect unit 602, call receiving unit 603 and performance element 604.Wherein, message reception units 601 be used for receive with
The instant message sent by the client that long connection server is set up in the client set of long connection;Redirect unit 602
For instant message is redirected to message server;Receiving unit 603 is called for message server being received to disappearing immediately
The remote process of the instant message push for having been arranged type of message to client set cease after arranging type of message, initiated is adjusted
With;And performance element 604 is used to perform remote procedure call with by instant message push to client set, wherein, message class
Type is that message server is compared with first threshold to the client terminal quantity of client set and according to comparative result to instant
What message was arranged, when client terminal quantity is less than first threshold, corresponding type of message is reverse drawing pattern, and client terminal quantity is more than the
During one threshold value, corresponding type of message is straight push-model.
In the present embodiment, for push the device 600 of instant message message reception units 601, redirect unit
602nd, receiving unit 603 and the concrete process of performance element 604 is called to may be referred to the step 401 in the corresponding embodiments of Fig. 4, step
Rapid 402, step 403 and step 404, are repeated no more here.
In some optional implementations of the present embodiment, receiving unit 603 is called to be further used for:Receive messenger service
Multiple remote procedure calls that device sends, wherein, each remote procedure call is respectively used to arranged the instant of type of message
Message pushes to the different clients extremal subset of client set, and client subset is client of the message server in client set
Client of the client terminal quantity obtained by being divided to client set when end quantity is more than Second Threshold less than Second Threshold
Extremal subset;And performance element 604 is further used for:Multiple remote procedure calls are performed successively with sequentially by instant message push
To the multiple client subset of client set.
In some optional implementations of the present embodiment, device also includes client registers unit, client registers list
Unit includes:Long connection establishment subelement, is connected for setting up length with client;Request subelement, for sending out to message server
Go out client registration request, so that message server generates log-on message, log-on message determines client collection for message server
The client terminal quantity of conjunction.
In some optional implementations of the present embodiment, long connection establishment subelement is further used for:Adjusted using agency
Degree thread sets up communication connection with client;Using scheduling agent thread according to equally loaded strategy from acting on behalf of execution thread set
Execution thread is acted on behalf of in middle selection, and the connection handle of the communication connection set up is write to selected execution thread of acting on behalf of
In connection queue;Trigger message is sent to the selected pipeline for acting on behalf of execution thread using scheduling agent thread;Using agency
Execution thread reads connection handle from connection queue in response to receiving trigger message, to take over the corresponding communication of connection handle
Connection.
In some optional implementations of the present embodiment, performance element is further used for:Using push scheduling thread root
Execution thread is pushed from selection in execution thread set is pushed according to equally loaded strategy, and instant message and remote process are adjusted
With in, the client-side information of client to be pushed distributes to selected push execution thread;Will be instant using execution thread is pushed
Message and client-side information are forwarded to scheduling agent thread;Inquired about and client in connection queue using scheduling agent thread
What the corresponding connection handle of information was located acts on behalf of execution thread, and instant message is transferred to acts on behalf of execution thread;Using agency
Execution thread is sent instant message to corresponding client by connecting the corresponding communication connection of handle.
Below with reference to Fig. 7, the calculating for being suitable to terminal unit or server for realizing the embodiment of the present application is it illustrates
The structural representation of machine system 700.
As shown in fig. 7, computer system 700 includes CPU (CPU) 701, which can be read-only according to being stored in
Program in memorizer (ROM) 702 or be loaded into the program in random access storage device (RAM) 703 from storage part 708 and
Perform various appropriate actions and process.In RAM 703, the system that is also stored with 700 operates required various programs and data.
CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always
Line 704.
I/O interfaces 705 are connected to lower component:Including the importation 706 of keyboard, mouse etc.;Penetrate including such as negative electrode
The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and speaker etc.;Storage part 708 including hard disk etc.;
And the communications portion 709 of the NIC including LAN card, modem etc..Communications portion 709 via such as because
The network of special net performs communication process.Driver 710 is also according to needing to be connected to I/O interfaces 705.Detachable media 711, such as
Disk, CD, magneto-optic disk, semiconductor memory etc., as needed in driver 710, in order to read from it
Computer program be mounted into as needed storage part 708.
Especially, in accordance with an embodiment of the present disclosure, computer is may be implemented as above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program, and which includes being tangibly embodied in machine readable
Computer program on medium, the computer program include the program code for the method shown in execution flow chart.So
Embodiment in, the computer program can be downloaded and installed from network by communications portion 709, and/or from detachable
Medium 711 is mounted.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey
The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation
A part for table one module, program segment or code, a part for the module, program segment or code are used comprising one or more
In the executable instruction of the logic function for realizing regulation.It should also be noted that in some are as the realization replaced, being marked in square frame
The function of note can also occur with the order different from being marked in accompanying drawing.For example, two square frames for succeedingly representing are actually
Can perform substantially in parallel, they can also be performed sometimes in the opposite order, this is depending on involved function.To also note
Meaning, the combination of each square frame and block diagram and/or the square frame in flow chart in block diagram and/or flow chart can be with holding
The special hardware based system of the fixed function of professional etiquette or operation is realizing, or can use specialized hardware and computer instruction
Combination realizing.
In being described in the embodiment of the present application, involved unit can be realized by way of software, it is also possible to by hard
The mode of part is realizing.Described unit can also be arranged within a processor, for example, can be described as:A kind of processor bag
Include receiving unit, determining unit, setting unit and initiate unit.Wherein, the title of these units not structure under certain conditions
The in pairs unit restriction of itself, for example, initiates unit and is also described as that " web page browsing of receive user is asked to long company
Connect server to initiate for being arranged the list of the remote procedure call of the instant message push to client set of type of message
Unit ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating
Machine storage medium can be the nonvolatile computer storage media in above-described embodiment included in device;Can also be independent
Exist, without the nonvolatile computer storage media allocated in terminal.Above-mentioned nonvolatile computer storage media is stored with
One or more program, when said one or multiple programs are performed by an equipment so that the equipment:Receive long connection
The instant message of server redirection, wherein the instant message is to set up the client that length is connected with the long connection server
The instant message sent by client in the set of end;Determine the client terminal quantity of the client set;The comparison client
End quantity and first threshold, and the instant message is set to by corresponding type of message according to comparative result, wherein, the visitor
When family end quantity is less than or equal to first threshold, corresponding type of message is reverse drawing pattern, and the client terminal quantity is more than the first threshold
During value, corresponding type of message is straight push-model;Initiate for being arranged described in type of message to the long connection server
The remote procedure call of instant message push to the client set.Or, above-mentioned nonvolatile computer storage media is deposited
One or more program is contained, when said one or multiple programs are performed by an equipment so that the equipment:Receive with
The instant message sent by the client that the long connection server is set up in the client set of long connection;Will be described instant
Message is redirected to message server;Receive the message server to the instant message arrange type of message after, initiate
The instant message push has been set by type of message to the client set remote procedure call;Perform described remote
The journey invocation of procedure with by the instant message push to the client set;Wherein, the type of message is the message clothes
Business device is compared with first threshold to the client terminal quantity of the client set and is disappeared to described immediately according to comparative result
Breath arrange, the client terminal quantity be less than first threshold when corresponding type of message be reverse drawing pattern, the client terminal quantity
It is straight push-model more than corresponding type of message during first threshold.
Above description is only the preferred embodiment and the explanation to institute's application technology principle of the application.People in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic
Scheme, while should also cover in the case of without departing from the inventive concept, is carried out by above-mentioned technical characteristic or its equivalent feature
Combination in any and other technical schemes for being formed.Such as features described above has similar work(with (but not limited to) disclosed herein
The technical scheme that the technical characteristic of energy is replaced mutually and formed.
Claims (16)
1. a kind of method for pushing instant message, it is characterised in that methods described includes:
The instant message that long connection server is redirected is received, wherein the instant message is built with the long connection server
The instant message sent by client in the client set of vertical long connection;
Determine the client terminal quantity of the client set;
The comparison client terminal quantity and first threshold, and the instant message is set to by corresponding message according to comparative result
Type, wherein, the client terminal quantity be less than or equal to first threshold when corresponding type of message be reverse drawing pattern, the client
When end quantity is more than first threshold, corresponding type of message is straight push-model;
The instant message push for being arranged type of message is initiated to the client to the long connection server
The remote procedure call of set.
2. method according to claim 1, it is characterised in that described to initiate to arrange to disappear to the long connection server
The remote procedure call of the instant message push to the client set of breath type, including:
Determine the client terminal quantity whether more than Second Threshold;
If the client terminal quantity be more than Second Threshold, by the client set split into multiple client quantity be less than or
Equal to the client subset of Second Threshold;
The instant message for initiating to have been arranged type of message to the long connection server pushes to each client respectively
Multiple remote procedure calls of subset.
3. method according to claim 1, it is characterised in that the client terminal quantity of the determination client set,
Including:
The client terminal quantity of the client set is determined according to log-on message, wherein, the log-on message is in response in described
Long connection server sets up what the client registers sent when length is connected were asked and generated with client.
4. a kind of method for pushing instant message, it is characterised in that methods described includes:
Receive the instant message sent by the client set up in the client set that length is connected with the long connection server;
The instant message is redirected to into message server;
Receive the message server to the instant message arrange type of message after, initiate type of message has been set
The remote procedure call of the instant message push to the client set;
Perform the remote procedure call with by the instant message push to the client set;
Wherein, the type of message is that the message server is entered with first threshold to the client terminal quantity of the client set
What row compared and the instant message arranged according to comparative result, the client terminal quantity is corresponding when being less than first threshold to disappear
Breath type is reverse drawing pattern, and when the client terminal quantity is more than first threshold, corresponding type of message is straight push-model.
5. method according to claim 4, it is characterised in that the reception message server is disappearing immediately to described
The instant message push for having been arranged type of message cease after arranging type of message, initiated is remote to the client set
The journey invocation of procedure, including:
Receive multiple remote procedure calls that the message server sends, wherein, each remote procedure call be respectively used to by
The different clients extremal subset of the instant message push of type of message to the client set, the client child have been set
Collection is the message server when the client terminal quantity of the client set is more than Second Threshold to the client set
Client subset of the client terminal quantity obtained by being divided less than Second Threshold;And
It is described to perform the remote procedure call with by the instant message push to the client set, including:
The plurality of remote procedure call is performed successively with sequentially by the instant message push to many of the client set
Individual client subset.
6. the method according to claim 4 or 5, it is characterised in that methods described also includes client registers step, described
Client registers step includes:
Length is set up with client to be connected;
Client registers request is sent to the message server, so that the message server generates log-on message, the note
Volume information determines the client terminal quantity of the client set for the message server.
7. method according to claim 6, it is characterised in that described to set up length with client and be connected, including:
Communication connection is set up with client using scheduling agent thread;
Execution thread is acted on behalf of from selection in execution thread set is acted on behalf of according to equally loaded strategy using the scheduling agent thread,
And the connection handle of the communication connection set up is write into the selected connection queue for acting on behalf of execution thread;
Trigger message is sent to the selected pipeline for acting on behalf of execution thread using the scheduling agent thread;
Using the execution thread of acting on behalf of in response to receiving the trigger message, connection handle is read from the connection queue,
To take over the corresponding communication connection of the connection handle.
8. method according to claim 7, it is characterised in that the execution remote procedure call is with to the client
End set pushes described information, including:
Execution thread is pushed from selection in execution thread set is pushed according to equally loaded strategy using scheduling thread is pushed, and will
In the instant message and the remote procedure call, the client-side information of client to be pushed distributes to selected push
Execution thread;
The instant message and the client-side information are forwarded to into the scheduling agent line using the push execution thread
Journey;
Inquire about what connection handle corresponding with client-side information was located in the connection queue using the scheduling agent thread
Act on behalf of execution thread, and the instant message is transferred to described acts on behalf of execution thread;
The instant message is sent to right by the corresponding communication connection of the connection handle using the execution thread of acting on behalf of
The client answered.
9. a kind of device for pushing instant message, it is characterised in that described device includes:
Receiving unit, for receiving the instant message that long connection server is redirected, wherein the instant message is and the length
The instant message sent by the client that connection server is set up in the client set of long connection;
Determining unit, for determining the client terminal quantity of the client set;
The instant message for the comparison client terminal quantity and first threshold, and is set by setting unit according to comparative result
Corresponding type of message is set to, wherein, when the client terminal quantity is less than or equal to first threshold, corresponding type of message is anti-
Pull-mode, when the client terminal quantity is more than first threshold, corresponding type of message is straight push-model;
Unit is initiated, for initiating for being arranged the instant message push of type of message to the long connection server
To the remote procedure call of the client set.
10. device according to claim 9, it is characterised in that the initiation unit, including:
Determination subelement, for determining the client terminal quantity whether more than Second Threshold;
Subelement is split, if being more than Second Threshold for the client terminal quantity, the client set is split into multiple
Client subset of the client terminal quantity less than or equal to Second Threshold;
Subelement is initiated, the instant message for initiating to have been arranged type of message to the long connection server is pushed away respectively
Deliver to multiple remote procedure calls of each client subset.
11. devices according to claim 10, it is characterised in that the determination subelement is further used for:
The client terminal quantity of the client set is determined according to log-on message, wherein, the log-on message is in response in described
Long connection server sets up what the client registers sent when length is connected were asked and generated with client.
12. a kind of devices for pushing instant message, it is characterised in that described device includes:
Message reception units, for receiving the client set up in the client set that length is connected with the long connection server
The instant message for being sent;
Unit is redirected, for the instant message is redirected to message server;
Call receiving unit, for receive the message server to the instant message arrange type of message after, initiate
The remote procedure call of the instant message push of type of message to the client set has been set;
Performance element, for perform the remote procedure call with by the instant message push to the client set;
Wherein, the type of message is that the message server is entered with first threshold to the client terminal quantity of the client set
What row compared and the instant message arranged according to comparative result, the client terminal quantity is corresponding when being less than first threshold to disappear
Breath type is reverse drawing pattern, and when the client terminal quantity is more than first threshold, corresponding type of message is straight push-model.
13. devices according to claim 12, it is characterised in that described to call receiving unit to be further used for:
Receive multiple remote procedure calls that the message server sends, wherein, each remote procedure call be respectively used to by
The different clients extremal subset of the instant message push of type of message to the client set, the client child have been set
Collection is the message server when the client terminal quantity of the client set is more than Second Threshold to the client set
Client subset of the client terminal quantity obtained by being divided less than Second Threshold;And
The performance element is further used for:
The plurality of remote procedure call is performed successively with sequentially by the instant message push to many of the client set
Individual client subset.
14. devices according to claim 12 or 13, it is characterised in that described device also includes client registers unit,
The client registers unit includes:
Long connection establishment subelement, is connected for setting up length with client;
Request subelement, for sending client registers request to the message server, so that the message server is generated
Log-on message, the log-on message determine the client terminal quantity of the client set for the message server.
15. devices according to claim 14, it is characterised in that the long connection establishment subelement is further used for:
Communication connection is set up with client using scheduling agent thread;
Execution thread is acted on behalf of from selection in execution thread set is acted on behalf of according to equally loaded strategy using the scheduling agent thread,
And the connection handle of the communication connection set up is write into the selected connection queue for acting on behalf of execution thread;
Trigger message is sent to the selected pipeline for acting on behalf of execution thread using the scheduling agent thread;
Using the execution thread of acting on behalf of in response to receiving the trigger message, connection handle is read from the connection queue,
To take over the corresponding communication connection of the connection handle.
16. devices according to claim 15, it is characterised in that the performance element is further used for:
Execution thread is pushed from selection in execution thread set is pushed according to equally loaded strategy using scheduling thread is pushed, and will
In the instant message and the remote procedure call, the client-side information of client to be pushed distributes to selected push
Execution thread;
The instant message and the client-side information are forwarded to into the scheduling agent line using the push execution thread
Journey;
Inquire about what connection handle corresponding with client-side information was located in the connection queue using the scheduling agent thread
Act on behalf of execution thread, and the instant message is transferred to described acts on behalf of execution thread;
The instant message is sent to right by the corresponding communication connection of the connection handle using the execution thread of acting on behalf of
The client answered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710030872.6A CN106533932B (en) | 2017-01-17 | 2017-01-17 | A kind of method and apparatus for pushing instant message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710030872.6A CN106533932B (en) | 2017-01-17 | 2017-01-17 | A kind of method and apparatus for pushing instant message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106533932A true CN106533932A (en) | 2017-03-22 |
CN106533932B CN106533932B (en) | 2019-03-12 |
Family
ID=58335516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710030872.6A Active CN106533932B (en) | 2017-01-17 | 2017-01-17 | A kind of method and apparatus for pushing instant message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106533932B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108347445A (en) * | 2018-03-19 | 2018-07-31 | 武汉斗鱼网络科技有限公司 | Realize the method and device of far call |
CN108763200A (en) * | 2018-05-15 | 2018-11-06 | 达而观信息科技(上海)有限公司 | Chinese word cutting method and device |
CN108881493A (en) * | 2018-08-08 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of Task Progress information-pushing method, device and equipment |
CN109067910A (en) * | 2018-09-13 | 2018-12-21 | 乐蜜有限公司 | A kind of method and device that message pulls |
CN109347647A (en) * | 2018-12-21 | 2019-02-15 | 北京云中融信网络科技有限公司 | Group message distribution method and device |
CN112436997A (en) * | 2020-11-10 | 2021-03-02 | 杭州米络星科技(集团)有限公司 | Chat room message distribution method, message distribution system and electronic equipment |
CN113194026A (en) * | 2021-04-20 | 2021-07-30 | 北京异乡旅行网络科技有限公司 | Message processing method and device |
CN113766337A (en) * | 2021-01-15 | 2021-12-07 | 北京京东拓先科技有限公司 | Method, device and system for processing information |
US11663622B2 (en) | 2017-09-07 | 2023-05-30 | Advanced New Technologies Co., Ltd. | Offline information pushing method and apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102209302A (en) * | 2011-07-07 | 2011-10-05 | 深圳市金立通信设备有限公司 | System and method for realizing information push of mobile terminal |
US20130103376A1 (en) * | 2011-10-25 | 2013-04-25 | Cellco Partnership D/B/A Verizon Wireless | Multiple client simulator for push engine |
CN103457841A (en) * | 2013-09-17 | 2013-12-18 | 北京京东尚科信息技术有限公司 | Message handling method and message handling device based on long connection |
CN103618746A (en) * | 2013-12-10 | 2014-03-05 | 南京守护宝信息技术有限公司 | Pushed instruction-based communication method for client server |
US20140089436A1 (en) * | 2012-07-13 | 2014-03-27 | Tancent Technology (Shenzhen) Company Limited | Method and system for delivering reminder information |
-
2017
- 2017-01-17 CN CN201710030872.6A patent/CN106533932B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102209302A (en) * | 2011-07-07 | 2011-10-05 | 深圳市金立通信设备有限公司 | System and method for realizing information push of mobile terminal |
US20130103376A1 (en) * | 2011-10-25 | 2013-04-25 | Cellco Partnership D/B/A Verizon Wireless | Multiple client simulator for push engine |
US20140089436A1 (en) * | 2012-07-13 | 2014-03-27 | Tancent Technology (Shenzhen) Company Limited | Method and system for delivering reminder information |
CN103457841A (en) * | 2013-09-17 | 2013-12-18 | 北京京东尚科信息技术有限公司 | Message handling method and message handling device based on long connection |
CN103618746A (en) * | 2013-12-10 | 2014-03-05 | 南京守护宝信息技术有限公司 | Pushed instruction-based communication method for client server |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11663622B2 (en) | 2017-09-07 | 2023-05-30 | Advanced New Technologies Co., Ltd. | Offline information pushing method and apparatus |
CN108347445A (en) * | 2018-03-19 | 2018-07-31 | 武汉斗鱼网络科技有限公司 | Realize the method and device of far call |
CN108763200A (en) * | 2018-05-15 | 2018-11-06 | 达而观信息科技(上海)有限公司 | Chinese word cutting method and device |
CN108881493A (en) * | 2018-08-08 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of Task Progress information-pushing method, device and equipment |
CN109067910A (en) * | 2018-09-13 | 2018-12-21 | 乐蜜有限公司 | A kind of method and device that message pulls |
CN109347647A (en) * | 2018-12-21 | 2019-02-15 | 北京云中融信网络科技有限公司 | Group message distribution method and device |
CN112436997A (en) * | 2020-11-10 | 2021-03-02 | 杭州米络星科技(集团)有限公司 | Chat room message distribution method, message distribution system and electronic equipment |
CN112436997B (en) * | 2020-11-10 | 2023-03-03 | 杭州米络星科技(集团)有限公司 | Chat room message distribution method, message distribution system and electronic equipment |
CN113766337A (en) * | 2021-01-15 | 2021-12-07 | 北京京东拓先科技有限公司 | Method, device and system for processing information |
CN113766337B (en) * | 2021-01-15 | 2024-04-05 | 北京京东拓先科技有限公司 | Method, device and system for processing information |
CN113194026A (en) * | 2021-04-20 | 2021-07-30 | 北京异乡旅行网络科技有限公司 | Message processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106533932B (en) | 2019-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106533932A (en) | Method and device for pushing instant message | |
US9686329B2 (en) | Method and apparatus for displaying webcast rooms | |
US8065367B1 (en) | Method and apparatus for scheduling requests during presentations | |
CN104253814B (en) | A kind of Streaming Media processing method, server and browser | |
WO2014183427A1 (en) | Method and apparatus for displaying webcast rooms | |
CN106549878B (en) | Service distribution method and device | |
CN101156407B (en) | Method for supplying content through communication network | |
CN111163130B (en) | Network service system and data transmission method thereof | |
CN101997822A (en) | Streaming media content delivery method, system and equipment | |
US20120297031A1 (en) | Anonymous Signalling | |
CN108256118A (en) | Data processing method, device, system, computing device and storage medium | |
CN107094280A (en) | A kind of customer group establishment, resource allocation methods and equipment | |
CN101142840B (en) | Broadcast system and data transmission method | |
CN111510493B (en) | Distributed data transmission method and device | |
CN110597920B (en) | Information processing method and device | |
CN105681266B (en) | A kind of communication cluster method and device of mediaphone MMTel | |
CN101510872B (en) | Remote customer dialing authentication service client terminal, server and transmission/acceptance method | |
CN106686635A (en) | Data transmission method and device based on control and provisioning of wireless access points protocol specification | |
CN108337556A (en) | Method and apparatus for playing audio/video file | |
CN105847396A (en) | Data transmission method and device | |
CN105306337B (en) | Multi-conference file sharing method based on instant messaging, device and system | |
US20040093433A1 (en) | Method for group call address of record compression | |
CN114024968B (en) | Message sending method and device based on intermediate equipment and electronic equipment | |
CN105681262A (en) | Interaction message allocating method and system | |
CN110417902B (en) | Streaming network service load method, related device and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |