CN108123866A - Method for message transmission and device - Google Patents

Method for message transmission and device Download PDF

Info

Publication number
CN108123866A
CN108123866A CN201611086614.1A CN201611086614A CN108123866A CN 108123866 A CN108123866 A CN 108123866A CN 201611086614 A CN201611086614 A CN 201611086614A CN 108123866 A CN108123866 A CN 108123866A
Authority
CN
China
Prior art keywords
chat messages
client
server
timestamp
chat
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
CN201611086614.1A
Other languages
Chinese (zh)
Other versions
CN108123866B (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.)
Beijing Cloud In Faith Network Technology Co Ltd
Original Assignee
Beijing Cloud In Faith Network 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 Beijing Cloud In Faith Network Technology Co Ltd filed Critical Beijing Cloud In Faith Network Technology Co Ltd
Priority to CN201611086614.1A priority Critical patent/CN108123866B/en
Publication of CN108123866A publication Critical patent/CN108123866A/en
Application granted granted Critical
Publication of CN108123866B publication Critical patent/CN108123866B/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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method for message transmission and devices, belong to internet arena.The described method includes:It receives the first chat messages that server is sent and pulls notice;Judge the first client whether to server acquisition request chat messages;If the first client is to server acquisition request chat messages, then terminate in the first client after the process of server acquisition request chat messages, notice is pulled based on any bar chat messages that at least one chat messages having been received by are pulled in notice and pulls request to server transmission chat messages, and at least one chat messages, which pull, notifies that including the first chat messages pulls notice.It is all different that the present invention can ensure that the chat messages that the first client is sent every time to server pull the indicated timestamp of request, then avoid and generate to same chat messages displaying situation at least twice, so as to ensure that the validity of real-time interactive between the user of chatroom.

Description

Method for message transmission and device
Technical field
The present invention relates to internet arena, more particularly to a kind of method for message transmission and device.
Background technology
With the development of internet, the application based on internet is more and more diversified, wherein, chatroom is broadcast live (hereinafter referred to as chatroom) is exactly one of them representative application based on internet.One chatroom can be by servicing Device and multiple client realize, server can be by its in chat messages real time propelling movement to chatroom that a certain client is sent In his client, so as to ensure that the user in chatroom can carry out real-time interactive during main broadcaster is broadcast live.
It, can be to chat when server receives the chat messages that a certain client is sent in chatroom in correlation technique Other clients send chat messages and pull notice in room, which receives can after above-mentioned chat messages pull notice Request is pulled to send chat messages to server.Chat messages, which pull request, can indicate that other above-mentioned clients are received The timestamp of the corresponding maximum of chat messages arrived, server are received after the chat messages pull request, can be by server The chat messages that the timestamp of middle storage is more than the timestamp that the chat messages pull request instruction are sent to other above-mentioned clients End.
In the implementation of the present invention, inventor has found that the prior art has at least the following problems:
Since the client terminal quantity in chatroom may be very huge, user end to server sends chat messages Coincidence may also be very high, this result in other above-mentioned clients based on chat messages pulling request to server ask The chat messages for being also possible to receive server transmission during obtaining chat messages pull notice.Other clients exist Request can be pulled to server transmission chat messages again by receiving after above-mentioned chat messages pull notice, and in this case, It may be identical that the chat messages twice that other user end to server are sent, which pull the indicated timestamp of request, this just leads Cause other clients that can obtain the chat messages of repetition, so as to cause other clients appearance same chat messages are shown to Few situation twice, this can seriously affect the validity of real-time interactive between the user of chatroom.
The content of the invention
In order to solve the problems, such as that it is interactive less efficient that the transmission of prior art message causes, an embodiment of the present invention provides one kind Method for message transmission and device.The technical solution is as follows:
In a first aspect, provide a kind of method for message transmission, in the first client, the described method includes:
It receives the first chat messages that server is sent and pulls notice;
Judge first client whether to the server acquisition request chat messages;
If first client is to the server acquisition request chat messages, in the first client knot Beam is pulled logical after the process of the server acquisition request chat messages based at least one chat messages having been received by Any bar chat messages in knowing pull notice and pull request, at least one chat to server transmission chat messages Message, which pulls, notifies that including first chat messages pulls notice.
Optionally, it is described to judge first client whether to the server acquisition request chat messages, bag It includes:
Detect whether first client receives the feedback information that the server is sent, the feedback information is institute It states server and pulls what request was sent to first client based on the chat messages that the first client history is sent;
If first client receives the feedback information, it is determined that first client is not to described Server acquisition request chat messages;
If first client is not to the feedback information, it is determined that first client is to the service Device acquisition request chat messages.
Second aspect provides a kind of method for message transmission, in server, the described method includes:
Receive the first chat messages that the second client in chatroom is sent;
Send the first chat messages to the first client and pull notice, first client in the chatroom except institute State any client beyond the second client;
First client is received to pull based at least one chat messages that first client has been received by Any bar chat messages in notice pull the chat messages that notice is sent and pull request, and at least one chat messages pull Notice includes first chat messages and pulls notice;
Wherein, it is that first client is no in definite first client that the chat messages, which pull request, It is sent after the server acquisition request chat messages.
Optionally, described to receive in chatroom after the first chat messages of client transmission, the method further includes:
Based on the timestamp that first chat messages are determined at the time of receiving first chat messages;
Judge the time of the chat messages stored in the timestamp of first chat messages and the memory of the server Whether stamp is identical;
If any chat messages stored in the memory of the timestamp of first chat messages and the server when Between stab identical, then change the timestamp of first chat messages;
First chat messages for changing timestamp and the timestamp after changing accordingly are stored to the server Memory in.
Optionally, described to receive in chatroom after the first chat messages of client transmission, the method further includes:
Based on the timestamp that first chat messages are determined at the time of receiving first chat messages;
Judge the time of the chat messages stored in the timestamp of first chat messages and the memory of the server Whether stamp is identical;
If the target chat messages stored in the memory of the timestamp of first chat messages and the server when Between stab identical, first chat messages and the target chat messages are merged to obtain the second chat messages, and described second The timestamp of chat messages is the timestamp of first chat messages;
The timestamp of second chat messages and second chat messages is accordingly stored to the server In memory, and delete the target chat messages.
The third aspect provides a kind of massage transmission device, in the first client, described device to include:
Receiving module, the first chat messages for receiving server transmission pull notice;
Judgment module, for judging first client whether to the server acquisition request chat messages;
Sending module, if for first client to the server acquisition request chat messages, described First client terminates after the process of the server acquisition request chat messages, is chatted based at least one had been received by Any bar chat messages that its message is pulled in notice pull notice and pull request to server transmission chat messages, described At least one chat messages, which pull, notifies that including first chat messages pulls notice.
Optionally, the judgment module is used for:
Detect whether first client receives the feedback information that the server is sent, the feedback information is institute It states server and pulls what request was sent to first client based on the chat messages that the first client history is sent;
If first client receives the feedback information, it is determined that first client is not to described Server acquisition request chat messages;
If first client is not to the feedback information, it is determined that first client is to the service Device acquisition request chat messages.
Fourth aspect provides a kind of massage transmission device, in server, described device to include:
Receiving module, for receiving the first chat messages of the transmission of the second client in chatroom;
Sending module pulls notice for sending the first chat messages to the first client, and first client is institute State any client in addition to second client in chatroom;
The receiving module, be additionally operable to receive first client based on first client have been received by Any bar chat messages that few chat messages are pulled in notice pull the chat messages that notice is sent and pull request, it is described extremely Few chat messages, which pull, notifies that including first chat messages pulls notice;
Wherein, it is that first client is no in definite first client that the chat messages, which pull request, It is sent after the server acquisition request chat messages.
Optionally, described device further includes:
Determining module, for based on the time that first chat messages are determined at the time of receiving first chat messages Stamp;
Judgment module, for judging that the timestamp of first chat messages is chatted with what is stored in the memory of the server Whether the timestamp of its message is identical;
Module is changed, in the timestamp of first chat messages and any for being stored in the memory of the server When the timestamp of chat messages is identical, change the timestamp of first chat messages;
Memory module, for first chat messages for changing timestamp accordingly to be stored with the timestamp after changing Into the memory of the server.
Optionally, described device further includes:
Determining module, for based on the time that first chat messages are determined at the time of receiving first chat messages Stamp;
Judgment module, for judging that the timestamp of first chat messages is chatted with what is stored in the memory of the server Whether the timestamp of its message is identical;
Merging module, for the target stored in the timestamp of first chat messages and the memory of the server When the timestamp of chat messages is identical, first chat messages and the target chat messages are merged to obtain the second chat disappears Breath, and the timestamp that the timestamp of second chat messages is first chat messages;
Memory module, for by the timestamp of second chat messages and second chat messages accordingly store to In the memory of the server, and delete the target chat messages.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
Whether the first client determines itself to clothes after the chat messages for receiving server transmission pull notice Business device acquisition request chat messages, if the first client, to server acquisition request chat messages, the first client can After at itself to the process of server acquisition request chat messages, just chat messages are sent to server and pull request, So as to ensure that the timestamp that the chat messages that the first client is sent every time to server are pulled indicated by request is all different, Then situation about generating to the displaying of same chat messages at least twice is avoided, so as to ensure that real-time interactive between the user of chatroom Validity.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of system architecture diagram of chatroom provided in an embodiment of the present invention.
Fig. 2 is a kind of flow chart of method for message transmission provided in an embodiment of the present invention.
Fig. 3 is a kind of flow chart of method for message transmission provided in an embodiment of the present invention.
Fig. 4 A are a kind of flow charts of method for message transmission provided in an embodiment of the present invention.
Fig. 4 B are a kind of schematic diagrames of chat messages displaying provided in an embodiment of the present invention.
Fig. 4 C are a kind of schematic diagrames of chat messages displaying provided in an embodiment of the present invention.
Fig. 5 is a kind of structure diagram of massage transmission device provided in an embodiment of the present invention.
Fig. 6 is a kind of structure diagram of massage transmission device provided in an embodiment of the present invention.
Fig. 7 is a kind of structure diagram of massage transmission device provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
An embodiment of the present invention provides a kind of method for message transmission, which is suitable for chatroom is broadcast live Chat messages in (hereinafter referred to as chatroom) are transmitted.Fig. 1 is referred to, it illustrates a kind of system architectures of chatroom Figure, as shown in Figure 1, the chatroom includes at least one client 110 and at least one server 120.
Above-mentioned at least one client 110 may be mounted at the smart mobile phone that can send message, computer, multimedia In the terminals such as device, electronic reader, wearable device, which can be live streaming client.Each client 110 It can be established and mapped based on a certain server 120 in certain load-balancing algorithm and at least one server 120, and disappeared It is communicated in breath transmission process with establishing the server 120 of mapping by cable network or wireless network.
In one embodiment of the invention, which can be based on User ID (Identity, identity mark Know code) hash value algorithms.In this case, the client 110 of same User ID, when server sequence number is constant, every time It will be mapped in same server 120.
In another embodiment of the present invention, which can also be that the cryptographic Hash based on chatroom ID is calculated Method.In this case, the client 110 in same chatroom when server sequence number is constant, can be mapped to same every time In one server 120.Certainly, in practical applications, there can also be other load-balancing algorithms, the present invention is herein just not one by one It illustrates.
Fig. 2 is a kind of flow chart of method for message transmission provided in an embodiment of the present invention, and this method is applied to as shown in Figure 1 Any client 110 (assuming that the first client be any client 110) in.As shown in Fig. 2, this method can include:
Step 201, the first client receive the first chat messages that server is sent and pull notice.
Whether step 202, the first client judge itself to the server acquisition request chat messages.
If step 203, the first client to server acquisition request chat messages, the first client terminate to After the process of server acquisition request chat messages, the first client is pulled based at least one chat messages having been received by Any bar chat messages in notice pull notice and pull request to server transmission chat messages, at least one chat messages It pulls and notifies that including the first chat messages pulls notice.
In conclusion method for message transmission provided in an embodiment of the present invention, server is being received by the first client After the chat messages of transmission pull notice, whether itself is determined to server acquisition request chat messages, if the first client Rectify to server acquisition request chat messages, then the first client can be at itself to server acquisition request chat messages Process after, just to server send chat messages pull request, so as to ensure the first client every time to service The timestamp that the chat messages that device is sent are pulled indicated by request is all different, then avoids generation and same chat messages are shown Situation at least twice, so as to ensure that the validity of real-time interactive between the user of chatroom.
Fig. 3 is a kind of flow chart of method for message transmission provided in an embodiment of the present invention, and this method is applied to as shown in Figure 1 At least one server 120 in.As shown in figure 3, this method can include:
Step 301, server receive the first chat messages that the second client in chatroom is sent.
Step 302, server send the first chat messages to the first client and pull notice, which chats to be somebody's turn to do Any client in its room in addition to second client.
Step 303, server receive at least one chat that first client is had been received by based on the first client Any bar chat messages that message is pulled in notice pull the chat messages that notice is sent and pull request, which disappears Breath, which pulls, notifies that including the first chat messages pulls notice.Wherein, it is first client true which, which pulls request, What fixed first client was not being sent after the server acquisition request chat messages.
In conclusion method for message transmission provided in an embodiment of the present invention, the chat messages that server receives pull request Determine that itself is not sending after server acquisition request chat messages in the first client, this can ensure to service The timestamp that the chat messages that the first user end to server that device receives every time is sent are pulled indicated by request is all different, after And avoid and generate to same chat messages displaying situation at least twice, so as to ensure that real-time interactive between the user of chatroom Validity.
Fig. 4 A are a kind of flow chart of method for message transmission provided in an embodiment of the present invention, and this method is applied to such as Fig. 1 institutes In the chat room system shown.As shown in Figure 4 A, this method can include:
Step 401, the second user end to server send the first chat messages.
Wherein, which can be any client at least one client 110 described above, the clothes Business device can be the server cluster that at least one server 120 forms.
In practical applications, if the corresponding user of the second client wants and its in chatroom when watching main broadcaster's live streaming His user is exchanged in real time, then inputs a certain chat in the chat messages input frame that the user can provide in the second client Content, for example, the user can be inputted in chat messages input frame in the chat of " main broadcaster is good severe, I likes him well " Hold.Then, the user can trigger the message delivery option of the second client offer, so that the second client receives chat messages Send instruction.Second client can send the first chat messages after receiving the chat messages and sending instruction to server, So that first chat messages are sent in other clients (that is to say the first client) of chatroom by server, so as to Realize that the user exchanges with the real-time of the other users in chatroom.Wherein, the message content that above-mentioned first chat messages include The chat content that as the user inputs in chat messages input frame, for example, the message content of first chat messages can be with For " main broadcaster is good severe, I likes him well " in exemplified above, above-mentioned first client is referred in chatroom except the second visitor Any client beyond the end of family that is to say appointing in addition to the second client at least one client 110 described above One client.
It, in some cases can be with it should be noted that above-mentioned first chat messages are in addition to comprising message content Comprising the other informations such as User ID (that is to say the corresponding User ID of the second client) are sent, the present invention does not do this specific limit It is fixed.
It should also be noted that, triggering message delivery option described above is so that the second client receives chat messages hair It send what the mode of instruction was merely exemplary, in practical applications, also has other second clients to receive chat messages and send The mode of instruction, the present invention no longer illustrate one by one herein.
Step 402, server receive the first chat messages that the second client is sent, based on reception first chat messages At the time of for first chat messages add timestamp, and first chat messages are stored to server using timestamp to index Memory in.
Specifically, can be that the addition of the first chat messages sends user after the first chat messages that server receives The information such as ID (only when the first chat messages received, which do not include, sends User ID), timestamp, and with the timestamp of addition First chat messages are stored into the memory of server for index.
In practical application, server can store first chat messages to service after the first chat messages are received In the memory of device, to improve the access speed of chat messages.Specifically, server first chat messages can be stored to In the storage container of Key-Value data structures, the Key-Value data structures can be TreeMap or The data structures such as ConcurrentSkipListMap, the present invention are not specifically limited this, wherein, due to Random manner ergodic data may be employed in ConcurrentSkipListMap data structures under same time complexity, Its better performances.Then server can send chat messages to the first client and pull notice, and according to the first client First chat messages of server storage are sent to the first client by request.
In practical applications, server can be chatted according to the request of the first client by stored in server a plurality of first Its message is sent to the first client successively, and the first client can be shown according to the order for receiving a plurality of first chat messages A plurality of first chat messages.In order to ensure that the first client shows that the order of a plurality of first chat messages and server receive The time order and function order of a plurality of first chat messages is identical, that is to say and ensures that the first client first shows what server first received First chat messages, it is rear to show the chat messages received after server, so as to ensure that the displaying of the first chat messages is not out of order, after And ensureing the validity that user exchanges in real time in chatroom, server is first at the time of needs based on the first chat messages of reception Chat messages add timestamp, and store first chat messages into server using timestamp to index, then according to when Between stab ascending order arrangement mode send a plurality of first chat messages successively.
For example, as shown in table 1, server is the 18 of system time on November 16th, 2016:54:22:11、18:54:23: 11、18:54:24:12 and 18:54:25:13 are respectively received the first chat messages a, the first chat messages b, the first chat messages C and the first chat messages d, wherein t:y:u:I refer to during t y divide u seconds i milliseconds.Server is based on receiving first chat messages A, the system time of the first chat messages b, the first chat messages c and the first chat messages d are first chat messages a, first Chat messages b, the first chat messages c and the first chat messages d addition timestamps, the timestamp of addition are respectively 1479293662344th, 1479293663344,1479293664345 and 1479293665346.Then server can be with the time It stabs and stores first chat messages a, the first chat messages b, the first chat messages c and the first chat messages d to clothes for index Be engaged in device, and according to the request of the first client in a manner that timestamp ascending order arranges (ascending order) successively to the One client sends first chat messages a, the first chat messages b, the first chat messages c and the first chat messages d.First visitor Family end shows that first chat messages a, the first chat messages b, the chats of the first chat messages c and first disappear in the order received Cease d, a schematic diagram of displaying as shown in Figure 4 B so that the first client show first chat messages a, first chat Message b, the order of the first chat messages c and the first chat messages d and server receive first chat messages a, the first chat The order of message b, the first chat messages c and the first chat messages d are identical, so as to ensure that the displaying of the first chat messages not disorderly Sequence then ensures the validity that user exchanges in real time in chatroom.
Table 1
System time during reception Timestamp
First chat messages a 2016/11/16 18:54:22:11 1479293662344
First chat messages b 2016/11/16 18:54:23:11 1479293663344
First chat messages c 2016/11/16 18:54:24:12 1479293664345
First chat messages d 2016/11/16 18:54:25:13 1479293665346
It should be noted that the system time and timestamp during above-mentioned reception were all merely exemplary, it can not The limitation present invention.
It should also be noted that, the quantity for the chat messages that can be seen clearly within the unit interval due to user is limited, Therefore, some first chat messages can not issue the first client, but directly be abandoned by server, empty so as to save storage Between and network traffics.Specifically, in one embodiment of the invention, server can obtain before the first chat messages are stored Take in the memory of server in certain scheduled unit time, it is such as per second in, the quantity of the chat messages of storage, if the quantity is more than the One predetermined threshold value, then server while first chat messages are stored, can be based on it is some strategy abandon be stored in service Some chat messages in device memory, for example, server can be minimum by correspondent time when storing first chat messages Chat messages delete;In another embodiment of the present invention, when the first chat that server receives within the unit interval When the quantity of message reaches the second predetermined threshold value, server can also disappear the first chat subsequently received in the unit interval Breath abandons.Certainly, in practical applications, server abandon the strategies of chat messages can be there are many kind, the present invention is herein no longer It repeats one by one.
In practical applications, the time of reception of timestamp reflection at most may be only accurate to a millisecond rank, and due to chatroom The coincidence that middle server receives the first chat messages is very high, that is to say, can be received in 1 millisecond of server in chatroom more The first chat messages of item, this results in the elder generation that the first chat messages of same millisecond server reception cannot be distinguished by timestamp Order afterwards.Further, since the first chat messages are stored in by index of timestamp in storage container, one is indexed in storage container As do not allow to repeat, therefore, there is a plurality of first chat messages same timestamp can cause some of the in same millisecond One chat messages are lost, i.e., are not abandoned by default message drop policy by server.
For example, server successively receives the first chat messages e in same millisecond, the first chat messages f and first is chatted Its message g, but the timestamp of first chat messages e, the first chat messages f and the first chat messages g are all 1477456674562.Therefore, it is impossible to determine that server receives first chat messages e, the first chat by the size of timestamp The sequencing of message f and the first chat messages g, moreover, server store the first chat messages e, the first chat messages f and It during the first chat messages g, is not repeated to ensure to index in storage container, the first chat messages e and first may be abandoned and chatted Its message f, and the first chat messages g is only stored, so as to cause the loss of important messages.
The sequencing of the first chat messages is received in same millisecond in order to Differentiated Services device, is taken also for guarantee Business device will not lose some first chat messages when storing the first chat messages, i.e., do not abandon the by default message drop policy One chat messages, the present invention provides it is following two be the first chat messages addition timestamp mode:
The first, server determine the timestamps of first chat messages based at the time of receiving the first chat messages, clothes Business device judges whether the timestamp of the chat messages stored in the timestamp of first chat messages and the memory of server is identical, If the timestamp of any chat messages of the timestamp of first chat messages with being stored in the memory of server is identical, change The timestamp of first chat messages, by first chat messages for changing timestamp with change after timestamp it is corresponding store to In the memory of server.
Above-mentioned " timestamp for changing the first chat messages " can be by the timestamp and preset value of first chat messages It is added etc., the present invention is not specifically limited this, in practical applications, timestamp after change and is stored in the memory of server The timestamps of any chat messages be different from.
It should be noted that causing confusion in order to avoid the modification of timestamp, server can add thread lock to ensure this Server can serially perform the step of timestamp for changing the first chat messages.
For example, server can be based on the timestamp that first chat messages g is determined at the time of receiving the first chat messages g For 1477456674562, then, the indexes of each chat messages of server inquiry server storage whether be 1477456674562.By inquiry, server determines that the timestamp of the chat messages e of server storage is also 1477456674562, then server the timestamp 1477456674562 of first chat messages g can be added with 1, obtain The new timestamp of first chat messages g is 1477456674563, and then server continues to inquire about each chat of server storage Whether the index of message is 1477456674563.Repeat the above process, until the first chat messages g new timestamp with The index of any chat messages of server storage is different, can then store first chat messages g to server In memory, index is the timestamp of the first chat messages g finally obtained.
In another example server receives the first chat messages e, the first chat messages f and the first chat in same millisecond The timestamp of message g, first chat messages e, the first chat messages f and the first chat messages g are 1477456674562. Then, server can add thread lock and change first chat messages e to ensure that the server can be performed serially, first chats It the step of timestamp of its message f and the first chat messages g, causes confusion to avoid due to timestamp is changed.Illustratively, service Device can change the timestamp of the first chat messages e, the first chat messages f and the first chat messages g successively, make after change when Between stamp be respectively 1477456674562,1477456674563 and 1477456674564 (in practical applications, if server The timestamp of any chat messages stored in memory and the timestamp of the first chat messages e are different from, it may not be necessary to be repaiied Change the timestamp of first chat messages e).
Secondth, server is based on determining the timestamps of first chat messages at the time of receiving first chat messages, Server judge the chat messages stored in the timestamp of first chat messages and the memory of server timestamp whether phase Together, if the timestamp of target chat messages of the timestamp of first chat messages with being stored in the memory of server is identical, clothes First chat messages and the target chat messages are merged to obtain the second chat messages by business device, and second chat messages when Between stamp be the timestamp of first chat messages, then server is by the time of second chat messages and second chat messages Stamp is accordingly stored into the memory of server, and deletes the target chat messages.
It should be noted that above-mentioned, " first chat messages and the target chat messages are merged to obtain second by server What chat messages " referred to can be that first chat messages and target chat messages are formed an ordered set.Wherein, above-mentioned Comprising message content and other information, which can include sending user for one chat messages and target chat messages ID etc..Due to the ordered set that the second chat messages form for the first chat messages and target chat messages, then the first client It can show the first chat messages included in second chat messages and target chat successively according to the order of the ordered set Message ensures that the displaying of chat messages is not out of order.
Step 403, server send the first chat messages to the first client and pull notice, which chats to be somebody's turn to do Any client in its room in addition to second client.
Server can notify the first client after the first chat messages are received, and that is to say and sent to the first client First chat messages pull notice so that the first client please to server after receiving first chat messages and pulling notice Seek acquisition chat messages.
Step 404, the first client judge that first client is after receiving first chat messages and pulling notice It is no to the server acquisition request chat messages.
In practical applications, the first client can send to server after receiving chat messages and pulling notice and chat Message pulls request.The chat messages, which pull request, can carry object time mark, and object time mark is used to indicate the The timestamp of corresponding maximum in the chat messages that one client has been received by, so that server can will be in server The chat messages for the timestamp that the timestamp for depositing middle storage is more than object time mark instruction are sent to the first client, so as to Ensure that server will not the chat messages of received mistake repeat to be sent to the first client the first client.
For example, as shown in table 2, the chat messages that the first client has been received by can include chat messages u, chat disappears It is as shown in table 2 to cease v, chat messages w and chat messages x, corresponding timestamp.According to table 2, the first client has been received by Chat messages in corresponding maximum timestamp for 1477456674568, then the chat messages that the first client is sent pull Carried in request object time mark can serve to indicate that this 1477456674568.Server is receiving chat messages drawing Chat messages of the timestamp of the memory storage of server more than 1477456674568 can be sent to the first visitor after taking request Family end, so as to ensure that server will not the chat messages of received mistake repeat to be sent to the first client the first client, It that is to say that server will not repeat to send chat messages u, chat messages v, chat messages w or chat messages x to the first client.
Table 2
Chat messages Timestamp
Chat messages u 1477456674562
Chat messages v 1477456674565
Chat messages w 1477456674568
Chat messages x 1477456674560
It should be noted that the timestamp of above-mentioned chat messages was merely exemplary, the present invention can not be limited.
However, in practical applications, the coincidence that the second user end to server sends the first chat messages may be very Height, this results in the first client to be gone back during request is pulled based on chat messages to server acquisition request chat messages The chat messages that server transmission may be received pull notice.First client pulls notice receiving the chat messages After can continue to send chat messages to server and pull request, since the chat messages of the last transmission of the first client pull Request server may respond not yet.Therefore, in this case, the chat twice that the first user end to server is sent disappears It may be identical that breath, which pulls the object time mark that request carries, this chat for resulting in the first client and obtaining repetition disappears There is the situation to the displaying of same chat messages at least twice so as to cause the first client in breath, this can seriously affect live streaming and chat The validity of real-time interactive between the user of its room.
For example, when the first client pulls request to server transmission chat messages for the first time, the first client has connect The chat messages received timestamp corresponding with its can be represented that the chat messages then sent for the first time pull request and take by table 2 The object time mark of band can indicate 1477456674568.Respond the chat messages sent for the first time not yet in server When pulling request, server can send chat messages to the first client again and pull notice, and the first client can be based on The chat messages pull notice and pull request to second of transmission chat messages of server.Since server does not respond to the first visitor The chat messages that family end is sent for the first time pull request, then the chat messages that the first client has been received by this time and its correspondence Timestamp still can represent that then second chat messages sent pull object time mark that request carries still by table 2 Instruction 1477456674568.Server responds the chat messages that the first client is sent for the first time and pulls request, can will service Chat messages of the timestamp more than 1477456674568 of device storage are sent to the first client, and server responds the first client Second of the end chat messages sent pull request, still can the timestamp of server storage be more than 1477456674568 Chat messages are sent to the first client, the chat messages of repetition can be obtained so as to cause the first client, so as to cause first There is the situation to the displaying of same chat messages at least twice in client, and as shown in Figure 4 C, this can seriously affect chatroom user Between real-time interactive validity.
In order to avoid the above situation, the first client can be sentenced after receiving above-mentioned first chat messages and pulling notice Whether first client of breaking that is to say to the server acquisition request chat messages, judge whether server has rung The chat messages that the first user end to server history is sent has been answered to pull request.The chat messages that the history is sent pull request The chat messages that the first user end to server is sent in preset time period before being current time pull request, also may be used The chat messages that the first client last time is sent to server before thinking current time pull request, it is of the invention to this not It is specifically limited.Specifically, the first client can detect the feedback information for itself whether receiving server transmission, the feedback Information is that server pulls request to first client transmission based on the chat messages that the first client history is sent, if First client receives the feedback information, it is determined that first client is not disappearing to server acquisition request chat Breath;If the first client does not arrive the feedback information, it is determined that first client is chatted to the server acquisition request Message.
In practical applications, which can be pulled for server based on chat messages asks the chat sent to disappear Breath, or pull error message, it can be a null value that this, which pulls error message, so can be to avoid " the card of client " generation of phenomenon.
If step 405, the first client to server acquisition request chat messages, terminate in first client After the process of server acquisition request chat messages, the first client is drawn based at least one chat messages having been received by Any bar chat messages in notice is taken to pull notice and pull request to server transmission chat messages, which disappears Breath, which pulls, notifies that including first chat messages pulls notice.
As described above, in the first client to server acquisition request chat messages when, the first client is to service Device sends chat messages and pulls the chat messages that request can cause the first client to obtain repetition.Therefore, rectify in the first client When to server acquisition request chat messages, the first client itself can terminate to server acquisition request chat messages Process after send chat messages to server and pull request, which, which pulls request and carry above-mentioned object time, identifies. Certainly, in practical applications, if first client is not to server acquisition request chat messages, the first client Directly chat messages can be sent to server pull request.
It should be noted that it can be that above-mentioned first client, which terminates to the process of server acquisition request chat messages, One client determines that server has had responded to the chat messages that the first client history is sent and pulled request, that is to say, first Client has received above-mentioned feedback information.
It should also be noted that, in the first client to server acquisition request chat messages during, first The a plurality of chat messages that client is likely to be received server transmission pull notice, that is to say that described above " at least one chats Its message pulls notice ", then terminate in the first client after the process of server acquisition request chat messages, the first client Can be based only upon at least one chat messages pull notice in any bar chat messages pull notice to server transmission chat Its message pulls request, and abandons remaining chat messages and pull notice.Wherein, any bar chat messages pull notice can be with Notice is pulled for the chat messages that the first client receives for the last time before current time, or described above First chat messages pull notice, and the present invention is not specifically limited this.
Step 406, server disappear after the chat messages for receiving first client transmission pull request according to the chat Breath pulls request and sends chat messages to the first client.
As described above, the timestamp of server storage can be more than the target that chat messages pull request and carry by server The chat messages of the timestamp of time identifier instruction are sent to the first client.
In conclusion method for message transmission provided in an embodiment of the present invention, server is being received by the first client After the chat messages of transmission pull notice, whether itself is determined to server acquisition request chat messages, if the first client Rectify to server acquisition request chat messages, then the first client can be at itself to server acquisition request chat messages Process after, just to server send chat messages pull request, so as to ensure the first client every time to service The timestamp that the chat messages that device is sent are pulled indicated by request is all different, then avoids the first client and disappears to same chat Breath displaying situation at least twice, so as to ensure that the validity of real-time interactive between the user of chatroom.
Fig. 5 is a kind of structure diagram of massage transmission device provided in an embodiment of the present invention, which should For any client 110 (assuming that the first client is any client 110) of message delivery system as shown in Figure 1 In.As shown in figure 5, massage transmission device 50 can include:
Receiving module 501, the first chat messages for receiving server transmission pull notice.
Judgment module 502, for judging first client whether to the server acquisition request chat messages.
Sending module 503, if for first client to the server acquisition request chat messages, in the first visitor Family end is terminated after the process of server acquisition request chat messages, is pulled based at least one chat messages having been received by Any bar chat messages in notice pull notice and pull request to server transmission chat messages, and at least one chat messages are drawn Notice is taken to include the first chat messages and pulls notice.
In conclusion massage transmission device provided in an embodiment of the present invention, receives what server was sent by receiving module Chat messages pull notice, when the first client to server acquisition request chat messages when, sending module can from Process from body to server acquisition request chat messages after, just to server send chat messages pull request, so as to Enough ensure that the timestamp that the chat messages that sending module is sent every time to server are pulled indicated by request is all different, then avoid First client obtains the chat messages repeated, and generates the situation to the displaying of same chat messages at least twice, so as to protecting The validity of real-time interactive between the user of chatroom is demonstrate,proved.
The judgment module 502 is specifically used for:
The feedback information whether first client receives server transmission is detected, which is the server Pull what request was sent to first client based on the chat messages that the first client history is sent;If first client Receive the feedback information, it is determined that first client is not to the server acquisition request chat messages;If this One client does not arrive the feedback information, it is determined that first client is to the server acquisition request chat messages.
In conclusion massage transmission device provided in an embodiment of the present invention, receives what server was sent by receiving module Chat messages pull notice, when the first client to server acquisition request chat messages when, sending module can from Process from body to server acquisition request chat messages after, just to server send chat messages pull request, so as to Enough ensure that the timestamp that the chat messages that sending module is sent every time to server are pulled indicated by request is all different, then avoid The situation at least twice to the displaying of same chat messages is generated, so as to ensure that the effective of real-time interactive between chatroom user Property.
Fig. 6 is a kind of structure diagram of massage transmission device provided in an embodiment of the present invention, which should For in any server 120 of message delivery system as shown in Figure 1.As shown in fig. 6, massage transmission device 60 can wrap It includes:
Receiving module 601, for receiving the first chat messages of the transmission of the second client in chatroom.
Sending module 602 pulls notice for sending the first chat messages to the first client, which is should Any client in chatroom in addition to second client.
The receiving module 601 is additionally operable to receive first client is had been received by based on the first client at least one Any bar chat messages that chat messages are pulled in notice pull the chat messages that notice is sent and pull request, and at least one chats Its message, which pulls, notifies that including the first chat messages pulls notice.Wherein, it is first client which, which pulls request, Determining what first client was not being sent after the server acquisition request chat messages.
In conclusion massage transmission device provided in an embodiment of the present invention, the chat messages that receiving module receives pull please Seeking Truth determines what itself was not sending after server acquisition request chat messages in the first client, this can ensure to take The timestamp that the chat messages that the first user end to server that business device receives every time is sent are pulled indicated by request is all different, Then situation about generating to the displaying of same chat messages at least twice is avoided, so as to ensure that real-time interactive between the user of chatroom Validity.
As shown in fig. 7, the massage transmission device 60 can also include:
Determining module 603, for based on the time that first chat messages are determined at the time of receiving first chat messages Stamp.
Judgment module 604, the chat for judging the memory storage of the timestamp of first chat messages and server disappear Whether the timestamp of breath is identical.
Module 605 is changed, in any chat of the memory storage of the timestamp and server of first chat messages When the timestamp of message is identical, change the timestamp of first chat messages.
Memory module 606, for the timestamp after changing first chat messages of timestamp and changing accordingly to be deposited Storage is into the memory of server.
Merging module 607, for chatting in the target of the memory storage of the timestamp and server of first chat messages When the timestamp of message is identical, first chat messages and the target chat messages are merged to obtain the second chat messages, and should The timestamp of second chat messages is the timestamp of first chat messages.
The memory module 606 is additionally operable to accordingly deposit the timestamp of second chat messages and second chat messages Storage deletes the target chat messages into the memory of server.
In conclusion massage transmission device provided in an embodiment of the present invention, the chat messages that receiving module receives pull please Seeking Truth determines what itself was not sending after server acquisition request chat messages in the first client, this can ensure to take The timestamp that the chat messages that the first user end to server that business device receives every time is sent are pulled indicated by request is all different, Then situation about generating to the displaying of same chat messages at least twice is avoided, so as to ensure that real-time interactive between the user of chatroom Validity.
It should be noted that:The massage transmission device that the corresponding embodiment of above-mentioned Fig. 5, Fig. 6 and Fig. 7 provides is carrying out message It, can be as needed and by above-mentioned work(only with the division progress of above-mentioned each function module for example, in practical application during transmission It can distribute and be completed by different function modules, i.e., the internal structure of device is divided into different function modules, more than completion The all or part of function of description.In addition, massage transmission device and method for message transmission embodiment that above-described embodiment provides Belong to same design, specific implementation process refers to embodiment of the method, and which is not described herein again.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modifications, equivalent replacements and improvements are made should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of method for message transmission, which is characterized in that in the first client, the described method includes:
It receives the first chat messages that server is sent and pulls notice;
Judge first client whether to the server acquisition request chat messages;
If first client to the server acquisition request chat messages, first client terminate to After the process of the server acquisition request chat messages, pulled based at least one chat messages having been received by notice Any bar chat messages pull notice to the server send chat messages pull request, at least one chat messages It pulls and notifies that including first chat messages pulls notice.
2. according to the method described in claim 1, it is characterized in that, whether described judge first client to described Server acquisition request chat messages, including:
Detect whether first client receives the feedback information that the server is sent, the feedback information is the clothes Business device pulls what request was sent to first client based on the chat messages that the first client history is sent;
If first client receives the feedback information, it is determined that first client is not to the service Device acquisition request chat messages;
If first client is not to the feedback information, it is determined that first client please to the server Seek acquisition chat messages.
3. a kind of method for message transmission, which is characterized in that in server, the described method includes:
Receive the first chat messages that the second client in chatroom is sent;
The first chat messages are sent to the first client and pull notice, and first client is that described the is removed in the chatroom Any client beyond two clients;
It receives first client and pulls notice based at least one chat messages that first client has been received by In any bar chat messages pull notice send chat messages pull request, at least one chat messages pull notice Notice is pulled including first chat messages;
Wherein, the chat messages pull request be first client in definite first client not to institute State what is sent after server acquisition request chat messages.
4. according to the method described in claim 3, it is characterized in that, first chat for receiving client in chatroom and sending After message, the method further includes:
Based on the timestamp that first chat messages are determined at the time of receiving first chat messages;
Judging the timestamp of the chat messages stored in the timestamp of first chat messages and the memory of the server is It is no identical;
If the timestamp of first chat messages and the timestamp of any chat messages stored in the memory of the server It is identical, then change the timestamp of first chat messages;
First chat messages for changing timestamp and the timestamp after changing accordingly are stored to the server In depositing.
5. according to the method described in claim 3, it is characterized in that, first chat for receiving client in chatroom and sending After message, the method further includes:
Based on the timestamp that first chat messages are determined at the time of receiving first chat messages;
Judging the timestamp of the chat messages stored in the timestamp of first chat messages and the memory of the server is It is no identical;
If the timestamp of first chat messages and the timestamp of the target chat messages stored in the memory of the server It is identical, first chat messages and the target chat messages are merged to obtain the second chat messages, and second chat The timestamp of message is the timestamp of first chat messages;
The timestamp of second chat messages and second chat messages is accordingly stored to the memory of the server In, and delete the target chat messages.
6. a kind of massage transmission device, which is characterized in that in the first client, described device to include:
Receiving module, the first chat messages for receiving server transmission pull notice;
Judgment module, for judging first client whether to the server acquisition request chat messages;
Sending module, if for first client to the server acquisition request chat messages, described first Client terminates after the process of the server acquisition request chat messages, is disappeared based at least one chat having been received by Any bar chat messages that breath is pulled in notice, which pull notice and send chat messages to the server, pulls request, it is described at least One chat messages, which pulls, notifies that including first chat messages pulls notice.
7. device according to claim 6, which is characterized in that the judgment module is used for:
Detect whether first client receives the feedback information that the server is sent, the feedback information is the clothes Business device pulls what request was sent to first client based on the chat messages that the first client history is sent;
If first client receives the feedback information, it is determined that first client is not to the service Device acquisition request chat messages;
If first client is not to the feedback information, it is determined that first client please to the server Seek acquisition chat messages.
8. a kind of massage transmission device, which is characterized in that in server, described device to include:
Receiving module, for receiving the first chat messages of the transmission of the second client in chatroom;
Sending module pulls notice for sending the first chat messages to the first client, and first client is chatted to be described Any client in its room in addition to second client;
The receiving module is additionally operable to receive first client is had been received by based on first client at least one Any bar chat messages that chat messages are pulled in notice pull the chat messages that notice is sent and pull request, and described at least one Chat messages, which pull notice and include first chat messages, pulls notice;
Wherein, the chat messages pull request be first client in definite first client not to institute State what is sent after server acquisition request chat messages.
9. device according to claim 8, which is characterized in that described device further includes:
Determining module, for based on the timestamp that first chat messages are determined at the time of receiving first chat messages;
Judgment module, for judging that the chat stored in the timestamp of first chat messages and the memory of the server disappears Whether the timestamp of breath is identical;
Module is changed, for any chat stored in the timestamp of first chat messages and the memory of the server When the timestamp of message is identical, change the timestamp of first chat messages;
Memory module, for accordingly being stored first chat messages for changing timestamp to institute with the timestamp after changing In the memory for stating server.
10. device according to claim 8, which is characterized in that described device further includes:
Determining module, for based on the timestamp that first chat messages are determined at the time of receiving first chat messages;
Judgment module, for judging that the chat stored in the timestamp of first chat messages and the memory of the server disappears Whether the timestamp of breath is identical;
Merging module, the target for being stored in the timestamp of first chat messages and the memory of the server are chatted When the timestamp of message is identical, first chat messages and the target chat messages are merged to obtain the second chat messages, And the timestamp that the timestamp of second chat messages is first chat messages;
Memory module, for accordingly storing the timestamp of second chat messages and second chat messages to described In the memory of server, and delete the target chat messages.
CN201611086614.1A 2016-11-30 2016-11-30 Method for message transmission and device Active CN108123866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611086614.1A CN108123866B (en) 2016-11-30 2016-11-30 Method for message transmission and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611086614.1A CN108123866B (en) 2016-11-30 2016-11-30 Method for message transmission and device

Publications (2)

Publication Number Publication Date
CN108123866A true CN108123866A (en) 2018-06-05
CN108123866B CN108123866B (en) 2019-01-25

Family

ID=62226432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611086614.1A Active CN108123866B (en) 2016-11-30 2016-11-30 Method for message transmission and device

Country Status (1)

Country Link
CN (1) CN108123866B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067910A (en) * 2018-09-13 2018-12-21 乐蜜有限公司 A kind of method and device that message pulls
CN109729061A (en) * 2018-05-04 2019-05-07 平安科技(深圳)有限公司 Message treatment method, device, equipment and readable storage medium storing program for executing
CN110300015A (en) * 2019-05-09 2019-10-01 网宿科技股份有限公司 Method of data synchronization and system
CN111741014A (en) * 2020-07-21 2020-10-02 平安国际智慧城市科技股份有限公司 Message sending method, device, server and storage medium
CN112838980A (en) * 2020-12-30 2021-05-25 北京奇艺世纪科技有限公司 Message processing method, system, device, electronic equipment and storage medium
US11102540B2 (en) 2019-04-04 2021-08-24 Wangsu Science & Technology Co., Ltd. Method, device and system for synchronously playing message stream and audio-video stream
CN115378894A (en) * 2022-08-26 2022-11-22 成都卫士通信息产业股份有限公司 Message synchronization method, device, equipment and medium
CN116132248A (en) * 2022-10-11 2023-05-16 马上消费金融股份有限公司 Information pushing method and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447647A (en) * 2010-10-13 2012-05-09 腾讯科技(深圳)有限公司 Notification method, device and system based on new information
CN102629929A (en) * 2012-04-18 2012-08-08 华为技术有限公司 Method and system and device for obtaining data
CN104320330A (en) * 2014-11-03 2015-01-28 北京微车一族信息技术发展有限公司 Message issuing method of electronic forum
CN105227588A (en) * 2014-05-28 2016-01-06 ***通信集团公司 A kind of method for down loading of files in stream media and user terminal
CN105933213A (en) * 2016-06-24 2016-09-07 腾讯科技(深圳)有限公司 Processing method, related equipment and system of chat message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447647A (en) * 2010-10-13 2012-05-09 腾讯科技(深圳)有限公司 Notification method, device and system based on new information
CN102629929A (en) * 2012-04-18 2012-08-08 华为技术有限公司 Method and system and device for obtaining data
CN105227588A (en) * 2014-05-28 2016-01-06 ***通信集团公司 A kind of method for down loading of files in stream media and user terminal
CN104320330A (en) * 2014-11-03 2015-01-28 北京微车一族信息技术发展有限公司 Message issuing method of electronic forum
CN105933213A (en) * 2016-06-24 2016-09-07 腾讯科技(深圳)有限公司 Processing method, related equipment and system of chat message

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729061A (en) * 2018-05-04 2019-05-07 平安科技(深圳)有限公司 Message treatment method, device, equipment and readable storage medium storing program for executing
CN109729061B (en) * 2018-05-04 2021-09-21 平安科技(深圳)有限公司 Message processing method, device, equipment and readable storage medium
CN109067910A (en) * 2018-09-13 2018-12-21 乐蜜有限公司 A kind of method and device that message pulls
US11102540B2 (en) 2019-04-04 2021-08-24 Wangsu Science & Technology Co., Ltd. Method, device and system for synchronously playing message stream and audio-video stream
CN110300015A (en) * 2019-05-09 2019-10-01 网宿科技股份有限公司 Method of data synchronization and system
CN111741014A (en) * 2020-07-21 2020-10-02 平安国际智慧城市科技股份有限公司 Message sending method, device, server and storage medium
CN112838980A (en) * 2020-12-30 2021-05-25 北京奇艺世纪科技有限公司 Message processing method, system, device, electronic equipment and storage medium
CN115378894A (en) * 2022-08-26 2022-11-22 成都卫士通信息产业股份有限公司 Message synchronization method, device, equipment and medium
CN116132248A (en) * 2022-10-11 2023-05-16 马上消费金融股份有限公司 Information pushing method and computer readable storage medium
CN116132248B (en) * 2022-10-11 2024-05-24 马上消费金融股份有限公司 Information pushing method and computer readable storage medium

Also Published As

Publication number Publication date
CN108123866B (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN108123866B (en) Method for message transmission and device
CN106161219B (en) Message treatment method and device
CN108667719B (en) Real-time message transmission method and system
CN105915437A (en) Electronic resource distribution method and apparatus
CN106549988B (en) Group joining method, device and system
CN105376165B (en) UDP method of multicasting, system, sending device and reception device
CN106533932A (en) Method and device for pushing instant message
CN110688215A (en) Virtual resource allocation method, server, and computer-readable storage medium
CN105471700B (en) A kind of methods, devices and systems of Message Processing
CN108965359B (en) Communication method, communication device, readable medium, and electronic apparatus
CN109819023A (en) Distributed transaction processing method and Related product
CN108881456A (en) A kind of data interaction system, server-side and its data interactive method and system
TW201807566A (en) Method and apparatus for generating random numbers in computer system
CN105591879B (en) Data transmission method and device
CN104168174A (en) Method and apparatus for information transmission
CN106657172A (en) Method and device for realizing information push
CN113220684A (en) Data packet storage and query method, device, system and storage medium
CN105634911B (en) Session establishing method and device
CN111654526A (en) Load balancing method and system for streaming media server
CN105335362B (en) The processing method and system of real time data, instant disposal system for treating
JP3964719B2 (en) Presence information backup service providing method and system, information request program, and medium storing the program
CN111835770B (en) Data processing method, device, server and storage medium
CN106210779B (en) Optimize the method and system of internet video live broadcasting data hierarchy transmission
CN106161196A (en) A kind of obtain the method for HTTP message state, equipment and system
CN114253432B (en) Application channel package delivery method and system

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