CN108123866B - Method for message transmission and device - Google Patents
Method for message transmission and device Download PDFInfo
- Publication number
- CN108123866B CN108123866B CN201611086614.1A CN201611086614A CN108123866B CN 108123866 B CN108123866 B CN 108123866B CN 201611086614 A CN201611086614 A CN 201611086614A CN 108123866 B CN108123866 B CN 108123866B
- 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.)
- Active
Links
Classifications
-
- 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]
-
- 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/21—Monitoring or handling of messages
- H04L51/224—Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
-
- 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/52—User-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 area.The described method includes: receiving the first chat messages that server is sent pulls notice;Judge the first client whether to server request chat messages;If the first client is to server request chat messages, then terminate after the process of server request chat messages in the first client, the any bar chat messages in notice are pulled based at least one chat messages having been received pulling notice and sending chat messages to server and pull request, at least one chat messages pull notice and pull notice including the first chat messages.It is all different that the present invention can guarantee that the first client pulls the indicated timestamp of request to the chat messages that server is sent every time, then the case where generation shows at least twice to same chat messages is avoided, to ensure that the validity of real-time interactive between the user of chatroom.
Description
Technical field
The present invention relates to internet area, in particular to a kind of method for message transmission and device.
Background technique
With the development of internet, application Internet-based is more and more diversified, wherein live streaming chatroom
(hereinafter referred to as chatroom) is exactly one of them representative application Internet-based.One chatroom can be by servicing
Device and multiple client realize that the chat messages that a certain client is sent can be pushed to its in chatroom by server in real time
In his client, to guarantee that the user in chatroom can carry out real-time interactive during main broadcaster's live streaming.
It in the related technology, can be to chat when server receives the chat messages that a certain client is sent in chatroom
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 corresponding maximum timestamp of the chat messages arrived, server receive after the chat messages pull request, can be by server
The chat messages that the timestamp of middle storage is greater 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, the inventor finds that the existing technology 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 request
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,
The chat messages twice that other user end to server are sent pull the indicated timestamp of request may be it is identical, this just leads
Cause other clients that can obtain duplicate chat messages, so as to cause other clients occur to same chat messages show to
Less twice the case where, this can seriously affect the validity of real-time interactive between the user of chatroom.
Summary of the invention
In order to solve the problems, such as that the transmission of prior art message causes mutual efficiency of movement lower, the embodiment of the invention provides one kind
Method for message transmission and device.The technical solution is as follows:
In a first aspect, a kind of method for message transmission is provided, in the first client, which comprises
It receives the first chat messages that server is sent and pulls notice;
Judge first client whether to the server request chat messages;
If first client is to the server request chat messages, in the first client knot
Beam is pulled logical to after the process of the server request chat messages based at least one chat messages having been received
Any bar chat messages in knowing pull notice and pull request, at least one chat to server transmission chat messages
It includes that first chat messages pull notice that message, which pulls notice,.
Optionally, described to judge first client whether to the server request chat messages, packet
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 request chat messages;
If first client does not arrive the feedback information, it is determined that first client is to the service
Device request chat messages.
Second aspect provides a kind of method for message transmission, in server, which comprises
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 other than the second client;
At least one chat messages that first client is had been received based on first client are received to pull
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 that first chat messages pull notice;
Wherein, it is that first client is determining first client without that the chat messages, which pull request,
It is sent after to the server request chat messages.
Optionally, described to receive in chatroom after the first chat messages of client transmission, the method also includes:
Based on the timestamp for determining first chat messages at the time of receiving first chat messages;
Judge the time of the timestamp of first chat messages and the chat messages stored in memory of the server
It whether identical stabs;
If any chat messages stored in memory of the timestamp of first chat messages and the server when
Between stab identical, then change the timestamp of first chat messages;
Timestamp by first chat messages for changing timestamp and after changing is accordingly stored to the server
Memory in.
Optionally, described to receive in chatroom after the first chat messages of client transmission, the method also includes:
Based on the timestamp for determining first chat messages at the time of receiving first chat messages;
Judge the time of the timestamp of first chat messages and the chat messages stored in memory of the server
It whether identical stabs;
If the target chat messages stored in 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 request chat messages;
Sending module, if for first client to the server request chat messages, described
First client terminates after the process of the server request chat messages, is chatted based at least one had been received
Any bar chat messages that its message pulls in notice pull notice and pull request to server transmission chat messages, described
It includes that first chat messages pull notice that at least one chat messages, which pull 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 request chat messages;
If first client does not arrive the feedback information, it is determined that first client is to the service
Device 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 chatroom in addition to second client;
The receiving module, be also used to receive first client based on first client have been received to
Any bar chat messages that few chat messages pull in notice pull the chat messages that notice is sent and pull request, it is described extremely
It includes that first chat messages pull notice that few chat messages, which pull notice,;
Wherein, it is that first client is determining first client without that the chat messages, which pull request,
It is sent after to the server request chat messages.
Optionally, described device further include:
Determining module, for based on the time for determining first chat messages at the time of receiving first chat messages
Stamp;
Judgment module, timestamp and the stored in memory of the server for judging first chat messages are chatted
Whether the timestamp of its message is identical;
Module is changed, for the stored in memory any of timestamp and the server in first chat messages
When the timestamp of chat messages is identical, change the timestamp of first chat messages;
Memory module, for accordingly storing first chat messages for changing timestamp with the timestamp after changing
Into the memory of the server.
Optionally, described device further include:
Determining module, for based on the time for determining first chat messages at the time of receiving first chat messages
Stamp;
Judgment module, timestamp and the stored in memory of the server for judging first chat messages are chatted
Whether the timestamp of its message is identical;
Merging module, the target stored in memory for timestamp and the server in first chat messages
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 of second chat messages is the timestamp of 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.
Technical solution provided in an embodiment of the present invention has the benefit that
Whether the first client determines itself to clothes after the chat messages for receiving server transmission pull notice
Business device request chat messages, if the first client is to server request chat messages, the first client can
With itself to server request chat messages process after, just to server send chat messages pull request,
Request indicated timestamp all different so as to guarantee that the first client is pulled to the chat messages that server is sent every time,
Then the case where generation shows at least twice to same chat messages is avoided, to ensure that real-time interactive between the user of chatroom
Validity.
Detailed description of the invention
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, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
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 is a kind of flow chart of method for message transmission provided in an embodiment of the present invention.
Fig. 4 B is the schematic diagram that a kind of chat messages provided in an embodiment of the present invention are shown.
Fig. 4 C is the schematic diagram that a kind of chat messages provided in an embodiment of the present invention are shown.
Fig. 5 is a kind of structural schematic diagram of massage transmission device provided in an embodiment of the present invention.
Fig. 6 is a kind of structural schematic diagram of massage transmission device provided in an embodiment of the present invention.
Fig. 7 is a kind of structural schematic 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.
The embodiment of the invention provides a kind of method for message transmission, which is suitable for live streaming chatroom
Chat messages in (hereinafter referred to as chatroom) are transmitted.Referring to Figure 1, 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.
At least one above-mentioned client 110 may be mounted at the smart phone, computer, multimedia that can send message
In the terminals such as device, electronic reader, wearable device, which can be live streaming client.Each client 110
It can be established and be mapped based on a certain server 120 in certain load-balancing algorithm and at least one server 120, and disappeared
It is communicated with the server 120 for establishing mapping by cable network or wireless network in breath transmission process.
In one embodiment of the invention, which can be for based on User ID (Identity, identity mark
Know code) hash value algorithms.In this case, the client 110 of same User ID, when server serial number is constant, every time
It will be mapped in same server 120.
In another embodiment of the present invention, which can also calculate for the cryptographic Hash based on chatroom ID
Method.In this case, the client 110 in same chatroom can be mapped to same every time when server serial number is constant
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 may 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 request chat messages.
If step 203, the first client to server request chat messages, the first client terminate to
After the process of server request chat messages, the first client is pulled based at least one chat messages having been received
Any bar chat messages in notice pull notice and pull request to server transmission chat messages, at least one chat messages
Pulling notice includes that the first chat messages pull notice.
In conclusion method for message transmission provided in an embodiment of the present invention, is receiving server by the first client
After the chat messages of transmission pull notice, itself is determined whether to server request chat messages, if the first client
Rectify to server request chat messages, then the first client can be at itself to server request chat messages
Process after, just to server send chat messages pull request, so as to guarantee the first client every time to service
The chat messages that device is sent, which pull, requests indicated timestamp all different, then avoids generation and shows to same chat messages
At least twice the case where, 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 may 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 is that should chat
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 based on the first client
Any bar chat messages that message pulls in notice pull the chat messages that notice is sent and pull request, which disappears
It includes that the first chat messages pull notice that breath, which pulls notice,.Wherein, it is first client true which, which pulls request,
Fixed first client is not to sending after the server request chat messages.
In conclusion method for message transmission provided in an embodiment of the present invention, the received chat messages of server pull request
It is to determine itself not to sending after server request chat messages in the first client, this can guarantee to service
The chat messages that the first user end to server that device receives every time is sent, which pull, requests indicated timestamp all different, after
And the case where generation shows at least twice to same chat messages is avoided, to ensure that real-time interactive between the user of chatroom
Validity.
Fig. 4 A 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 such as Fig. 1 institute
In the chat room system shown.As shown in Figure 4 A, this method may 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 of at least one server 120 composition.
In practical applications, if the corresponding user of the second client watch main broadcaster live streaming when want with chatroom in its
His user is exchanged in real time, then the user can input a certain chat in the chat messages input frame that the second client provides
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, which 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 to server after receiving the chat messages and sending instruction,
So that first chat messages are sent in other clients (that is to say the first client) of chatroom by server, thus
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 as chat content that is inputted in chat messages input frame of the user, 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 other than 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 other than comprising message content
Specific limit is not done to this comprising sending other informations, the present invention such as User ID (that is to say the corresponding User ID of the second client)
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 the mode of instruction to be only exemplary, in practical applications, receives chat messages there are also other second clients 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 with timestamp be index first chat messages are stored to server
Memory in.
Specifically, after the first chat messages that server receives, user can be sent for the addition of the first chat messages
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 be stored first chat messages to service after receiving the first chat messages
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 structure, the Key-Value data structure can for TreeMap or
The data structures such as ConcurrentSkipListMap, the present invention are not specifically limited in this embodiment, wherein due to
ConcurrentSkipListMap data structure can use random manner ergodic data 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
The first chat messages for storing server are requested to be sent to the first client.
In practical applications, server can be chatted according to the request of the first client by store in server a plurality of first
Its message is successively sent to the first client, and the first client can be shown according to the sequence for receiving a plurality of first chat messages
A plurality of first chat messages.In order to guarantee that the first client shows that the sequence of a plurality of first chat messages is received with server
The chronological order of a plurality of first chat messages is identical, that is to say and guarantees that the first client first shows that server is first received
First chat messages, rear received chat messages after showing server, thus guarantee that the displaying of the first chat messages is not out-of-order, after
And guaranteeing 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 with timestamp be index first chat messages are stored into server, then according to when
Between stamp ascending order arrangement mode successively send a plurality of first chat messages.
For example, as shown in table 1,18:54:22:11, the 18:54:23 of server in system time on November 16th, 2016:
11,18:54:24:12 and 18:54:25:13 is 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 when 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 add timestamp, and the timestamp of addition is respectively
1479293662344,1479293663344,1479293664345 and 1479293665346.Then server can be with the time
Stamp 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 such a way that timestamp ascending order arranges (ascending sequence) 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 chat of the first chat messages c and first disappear in the order received
D is ceased, a schematic diagram of displaying is as shown in Figure 4 B, so that the first client shows first chat messages a, the first chat
Message b, the sequence of the first chat messages c and the first chat messages d and server receive first chat messages a, the first chat
The sequence of message b, the first chat messages c and the first chat messages d are identical, to ensure that the displaying of the first chat messages is not random
Sequence then guarantees the validity that user exchanges in real time in chatroom.
Table 1
System time when 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 when above-mentioned reception are all only 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 time due to user is limited,
Therefore, certain first chat messages can not issue the first client, but directly be abandoned by server, so that it is empty to save storage
Between and network flow.Specifically, in one embodiment of the invention, server can obtain before storing the first chat messages
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 preset threshold, then server can be abandoned based on certain strategies while storing first chat messages and be stored in service
Certain chat messages in device memory, for example, server can be when storing first chat messages by correspondent time minimum
Chat messages delete;In another embodiment of the present invention, when the first chat that server receives within the unit time
When the quantity of message reaches the second preset threshold, server can also disappear the first chat subsequently received in the unit time
Breath abandons.Certainly, in practical applications, the strategy that server abandons chat messages can be there are many kind, and 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 receive in 1 millisecond of server in chatroom more
The first chat messages of item, this results in that the elder generation that same millisecond server receives the first chat messages cannot be distinguished by timestamp
Sequence afterwards.Further, since the first chat messages are that index is stored in storage container with timestamp, one is indexed in storage container
As do not allow to repeat, therefore, there is a plurality of first chat messages same timestamp will lead to some of the in same millisecond
One chat messages are lost, i.e., are not abandoned by preset 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 when the first chat messages g, is not repeated to guarantee 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 for receiving the first chat messages in same millisecond in order to Differentiated Services device takes also for guarantee
Business device will not lose certain first chat messages when storing the first chat messages, i.e., do not abandon the by preset message drop policy
One chat messages are the mode that the first chat messages add timestamp the present invention provides following two:
The first, server based at the time of receiving the first chat messages determine the timestamps of first chat messages, clothes
Business device judges whether the timestamp of the timestamp of first chat messages and the chat messages stored in memory of server is identical,
If the timestamp of first chat messages is identical as the timestamp of any chat messages stored in memory of server, 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 in this embodiment, and 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 the modification in order to avoid timestamp causes confusion, server can add thread lock to guarantee this
Server can serially execute the step of timestamp for changing the first chat messages.
For example, server can be based on the timestamp for determining first chat messages g at the time of receiving the first chat messages g
Be 1477456674562, then, server query service device storage each chat messages index whether be
1477456674562.By inquiry, server determines that the timestamp of the chat messages e of server storage is also
1477456674562, then the timestamp 1477456674562 of first chat messages g can be added by server with 1, be obtained
The new timestamp of first chat messages g is 1477456674563, and then server continues each chat of query service device 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 finally obtained first chat messages g.
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 to guarantee that the server can be executed serially and change first chat messages e, first chat
The step of timestamp of its message f and the first chat messages g, causes confusion to avoid because of timestamp modification.Illustratively, it services
Device can successively change the timestamp of the first chat messages e, the first chat messages f and the first chat messages g, make change after 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 repaired
Change the timestamp of first chat messages e).
Second, server is based on determining the timestamps of first chat messages at the time of receiving first chat messages,
Server judge the timestamp of first chat messages and the chat messages stored in memory of server timestamp whether phase
Together, if the timestamp of first chat messages is identical as the timestamp of target chat messages stored in memory of server, 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 first chat messages timestamp, 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 first chat messages and target chat messages one ordered set of composition.Wherein, above-mentioned
One chat messages and target chat messages include message content and other information, which may include sending user
ID etc..Since the second chat messages are the ordered set that the first chat messages and target chat messages form, then the first client
The first chat messages for including in second chat messages and target chat can be successively shown according to the sequence of the ordered set
Message guarantees 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 is that should chat
Any client in its room in addition to second client.
Server can notify the first client after receiving the first chat messages, that is to say and send to the first client
First chat messages pull notice, so that the first client is asked after receiving first chat messages and pulling notice to server
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 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
Corresponding maximum timestamp in the chat messages that one client has been received, so that server can will be in server
The chat messages for the timestamp that the timestamp for depositing middle storage is greater than object time mark instruction are sent to the first client, thus
Guarantee 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 may include chat messages u, chatting 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 is had been received
Chat messages in corresponding maximum timestamp be 1477456674568, then the first client send chat messages pull
Carried in request object time mark can serve to indicate that this 1477456674568.Server is receiving chat messages drawing
The chat messages that the timestamp of the memory storage of server is greater than 1477456674568 can be sent to the first visitor after taking request
Family end, thus guarantee server will not the first client received mistake chat messages repeat be sent to 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 is only 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 result in the first client during pulling request to server request chat messages based on chat messages also
The chat messages that server transmission may be received pull notice.First client pulls notice receiving the chat messages
After can continue to server send chat messages pull request, due to the first client last time transmission chat messages pull
Request server may respond not yet.Therefore, in this case, the chat twice that the first user end to server is sent disappears
Breath pull request carry object time mark may be it is identical, this result in the first client can obtain it is duplicate chat disappear
There is the case where same chat messages are shown 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, the first client has connect when the first client pulls request to server transmission chat messages for the first time
The chat messages received timestamp corresponding with its can be indicated 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.In the server chat messages that response is sent for the first time not yet
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 at this time and its correspondence
Timestamp still can indicate 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 greater 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, and the timestamp that can still store server is greater than 1477456674568
Chat messages are sent to the first client, duplicate chat messages can be obtained so as to cause the first client, so as to cause first
There is the case where same chat messages are shown 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 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 request chat messages, judge whether server has rung
The chat messages for having answered the first user end to server history to send pull request.The chat messages that the history is sent pull request
The chat messages that can be sent for the first user end to server in the preset time period before current time pull request, can also
The first client last time pulls request to the chat messages that server is sent before thinking current time, the present invention to this not
It is specifically limited.Specifically, the first client can detecte the feedback information for itself whether receiving server transmission, the feedback
Information, which is server, to be pulled request based on the chat messages that the first client history is sent and sends to first client, if
First client receives the feedback information, it is determined that first client is not disappearing to server request chat
Breath;If the first client does not arrive the feedback information, it is determined that first client is chatted to the server request
Message.
In practical applications, which can pull the chat that request is sent based on chat messages for server and disappear
Breath, or pull error message, this, which pulls error message, to be a null value, in this way can be to avoid " the card of client
" generation of phenomenon.
If step 405, the first client to server request chat messages, terminate in first client
To after the process of server request chat messages, the first client is drawn based at least one chat messages having been received
It takes any bar chat messages in notice to pull notice and pulls request to server transmission chat messages, which disappears
It includes that first chat messages pull notice that breath, which pulls notice,.
As described above, in the first client to server request chat messages when, the first client is to service
Device transmission chat messages, which pull request, will lead to the duplicate chat messages of the first client acquisition.Therefore, rectify in the first client
When to server request chat messages, the first client itself can terminate to server 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 request chat messages, the first client
Chat messages directly can be sent to server pull request.
It should be noted that above-mentioned first client terminates to the process of server request chat messages to be the
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, the first client to server 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 after the process of server request chat messages in the first client, 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 in this embodiment.
Step 406, server disappear after receiving the chat messages that first client is sent and pulling request according to the chat
Breath pulls request and sends chat messages to the first client.
As described above, the timestamp that server stores can be greater than chat messages by server pulls the target that request carries
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, is receiving server by the first client
After the chat messages of transmission pull notice, itself is determined whether to server request chat messages, if the first client
Rectify to server request chat messages, then the first client can be at itself to server request chat messages
Process after, just to server send chat messages pull request, so as to guarantee the first client every time to service
The chat messages that device is sent, which pull, requests indicated timestamp all different, then avoids the first client and disappears to same chat
The case where breath is shown at least twice, to ensure that the validity of real-time interactive between the user of chatroom.
Fig. 5 is a kind of structural schematic diagram of massage transmission device provided in an embodiment of the present invention, which answers
Any client 110 (assuming that the first client is any client 110) for message delivery system as shown in Figure 1
In.As shown in figure 5, massage transmission device 50 may 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 request chat messages.
Sending module 503, if for first client to the server request chat messages, in the first visitor
Family end terminates after the process of server request chat messages, is pulled based at least one chat messages having been received
Any bar chat messages in notice pull notice and pull request to server transmission chat messages, and at least one chat messages are drawn
Taking notice includes that the first chat messages pull 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 request chat messages when, sending module can from
Process from body to server request chat messages after, just to server send chat messages pull request, so as to
Enough guaranteeing that sending module is pulled to the chat messages that server is sent every time requests indicated timestamp all different, then avoids
First client obtains duplicate chat messages, and generates the case where same chat messages are shown at least twice, to protect
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 request chat messages;If this
One client does not arrive the feedback information, it is determined that first client is to the server 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 request chat messages when, sending module can from
Process from body to server request chat messages after, just to server send chat messages pull request, so as to
Enough guaranteeing that sending module is pulled to the chat messages that server is sent every time requests indicated timestamp all different, then avoids
The case where same chat messages are shown at least twice is generated, to ensure that the effective of real-time interactive between the user of chatroom
Property.
Fig. 6 is a kind of structural schematic diagram of massage transmission device provided in an embodiment of the present invention, which answers
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 also used to receive first client is had been received based on the first client at least one
Any bar chat messages that chat messages pull in notice pull the chat messages that notice is sent and pull request, and at least one chats
It includes that the first chat messages pull notice that its message, which pulls notice,.Wherein, it is first client which, which pulls request,
Determining first client not to sending after the server request chat messages.
In conclusion massage transmission device provided in an embodiment of the present invention, the received chat messages of receiving module, which pull, is asked
Seeking Truth determines itself not to what is sent after server request chat messages in the first client, this can guarantee to take
The chat messages that the first user end to server that business device receives every time is sent, which pull, requests indicated timestamp all different,
Then the case where generation shows at least twice to same chat messages is avoided, 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 for determining first chat messages at the time of receiving first chat messages
Stamp.
Judgment module 604, for judging that the timestamp of first chat messages and the chat of the memory storage of server disappear
Whether the timestamp of breath is identical.
Change module 605, any chat of the memory storage for the timestamp and server in first chat messages
When the timestamp of message is identical, change the timestamp of first chat messages.
Memory module 606, for accordingly depositing the timestamp after changing first chat messages of timestamp and changing
Storage is into the memory of server.
Merging module 607, the target chat of the memory storage for the timestamp and server in 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 also used 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 received chat messages of receiving module, which pull, is asked
Seeking Truth determines itself not to what is sent after server request chat messages in the first client, this can guarantee to take
The chat messages that the first user end to server that business device receives every time is sent, which pull, requests indicated timestamp all different,
Then the case where generation shows at least twice to same chat messages is avoided, to ensure that real-time interactive between the user of chatroom
Validity.
It should be understood that the massage transmission device that the corresponding embodiment of above-mentioned Fig. 5, Fig. 6 and Fig. 7 provides is carrying out message
When transmission, only the example of the division of the above functional modules, in practical application, it can according to need and by above-mentioned function
It can distribute and be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, more than completing
The all or part of function of description.In addition, massage transmission device provided by the above embodiment and method for message transmission embodiment
Belong to same design, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store 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 in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be 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 for being broadcast live in the first client of chatroom, which comprises
It receives the first chat messages that server is sent and pulls notice;
Judge first client whether to the server request chat messages;
If first client to the server request chat messages, first client terminate to
After the process of the server request chat messages, pulled in notice based at least one chat messages having been received
Any bar chat messages pull notice to the server send chat messages pull request, to guarantee first client
Pulling every time to the chat messages that the server is sent requests indicated timestamp all different, and at least one chat disappears
It includes that first chat messages pull notice that breath, which pulls notice,.
2. the method according to claim 1, wherein whether described judge first client to described
Server request chat messages, comprising:
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 request chat messages;
If first client is not received by the feedback information, it is determined that first client is to the service
Device request chat messages.
3. a kind of method for message transmission, which is characterized in that for being broadcast live in the server of chatroom, which comprises
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 other than two clients;
It receives at least one chat messages that first client is had been received based on first client and pulls notice
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, it is that first client is determining first client not to institute that the chat messages, which pull request,
State and send after server request chat messages, with guarantee first client that the server receives every time to
It is all different that the chat messages that the server is sent pull the indicated timestamp of request.
4. according to the method described in claim 3, it is characterized in that, second client received in chatroom send the
After one chat messages, the method also includes:
Based on the timestamp for determining first chat messages at the time of receiving first chat messages;
Judging the timestamp of the timestamp of first chat messages and the chat messages stored in memory of the server is
It is no identical;
If the timestamp of any chat messages stored in memory of the timestamp of first chat messages and the server
It is identical, then change the timestamp of first chat messages;
Timestamp by first chat messages for changing timestamp and after changing is accordingly stored to the server
In depositing.
5. according to the method described in claim 3, it is characterized in that, second client received in chatroom send the
After one chat messages, the method also includes:
Based on the timestamp for determining first chat messages at the time of receiving first chat messages;
Judging the timestamp of the timestamp of first chat messages and the chat messages stored in memory of the server is
It is no identical;
If the timestamp of the target chat messages stored in memory of the timestamp of first chat messages and 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 for being broadcast live in the first client of chatroom, described device includes:
Receiving module, the first chat messages for receiving server transmission pull notice;
Judgment module, for judging first client whether to the server request chat messages;
Sending module, if for first client to the server request chat messages, described first
Client terminates after the process of the server request chat messages, is disappeared based at least one chat having been received
Any bar chat messages that breath pulls in notice pull notice and pull request to server transmission chat messages, to guarantee
Stating the first client, to pull the indicated timestamp of request to the chat messages that the server is sent every time all different, it is described extremely
It includes that first chat messages pull notice that few chat messages, which pull 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 request chat messages;
If first client is not received by the feedback information, it is determined that first client is to the service
Device request chat messages.
8. a kind of massage transmission device, which is characterized in that for being broadcast live in the server of chatroom, described device includes:
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 described chats
Any client in its room in addition to second client;
The receiving module is also used to receive first client is had been received based on first client at least one
Any bar chat messages that chat messages pull in notice pull the chat messages that notice is sent and pull request, and described at least one
It includes that first chat messages pull notice that chat messages, which pull notice,;
Wherein, it is that first client is determining first client not to institute that the chat messages, which pull request,
State and send after server request chat messages, with guarantee first client that the server receives every time to
It is all different that the chat messages that the server is sent pull the indicated timestamp of request.
9. device according to claim 8, which is characterized in that described device further include:
Determining module, for based on the timestamp for determining first chat messages at the time of receiving first chat messages;
Judgment module, for judging that the chat stored in memory of timestamp and the server of first chat messages disappears
Whether the timestamp of breath is identical;
Module is changed, any chat stored in memory for timestamp and the server in first chat messages
When the timestamp of message is identical, change the timestamp of first chat messages;
Memory module, for accordingly storing the timestamp after changing first chat messages of timestamp and changing to institute
It states in the memory of server.
10. device according to claim 8, which is characterized in that described device further include:
Determining module, for based on the timestamp for determining first chat messages at the time of receiving first chat messages;
Judgment module, for judging that the chat stored in memory of timestamp and the server of first chat messages disappears
Whether the timestamp of breath is identical;
Merging module, the target stored in memory for timestamp and the server in first chat messages 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 of second chat messages is the timestamp of 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.
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 CN108123866A (en) | 2018-06-05 |
CN108123866B true 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) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN111741014B (en) * | 2020-07-21 | 2020-12-22 | 平安国际智慧城市科技股份有限公司 | Message sending method, device, server and storage medium |
CN112838980B (en) * | 2020-12-30 | 2023-06-13 | 北京奇艺世纪科技有限公司 | 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 |
CN116132248B (en) * | 2022-10-11 | 2024-05-24 | 马上消费金融股份有限公司 | Information pushing method and computer readable storage medium |
Citations (5)
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 |
-
2016
- 2016-11-30 CN CN201611086614.1A patent/CN108123866B/en active Active
Patent Citations (5)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN108123866A (en) | 2018-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108123866B (en) | Method for message transmission and device | |
CN108174305B (en) | The message treatment method and device of chatroom is broadcast live | |
CN108874562A (en) | Distributed high concurrent message queue supplying system | |
CN108062243B (en) | Execution plan generation method, task execution method and device | |
CN111444018B (en) | Request processing method and device | |
CN110311855B (en) | User message processing method and device, electronic equipment and storage medium | |
CN108696364B (en) | Request message processing method, chat room message server and chat room system | |
CN111988387B (en) | Interface request processing method, device, equipment and storage medium | |
CN105471700B (en) | A kind of methods, devices and systems of Message Processing | |
CN107395559A (en) | Data processing method and equipment based on redis | |
CN108965359B (en) | Communication method, communication device, readable medium, and electronic apparatus | |
CN111654526A (en) | Load balancing method and system for streaming media server | |
CN110138721B (en) | Method of decoupling gaming and combat services, storage medium | |
CN113360783B (en) | User online list updating method and device and computer equipment | |
CN113014672B (en) | Message pushing method and device, electronic equipment and storage medium | |
CN111294553B (en) | Method, device, equipment and storage medium for processing video monitoring service signaling | |
CN113220684A (en) | Data packet storage and query method, device, system and storage medium | |
CN110839061B (en) | Data distribution method, device and storage medium | |
CN116095079A (en) | Data updating method, device, electronic equipment and storage medium | |
CN114205320B (en) | Message display method and device, electronic equipment and storage medium | |
CN105933352B (en) | Method of data synchronization, client and system between client-based server | |
CN111835770B (en) | Data processing method, device, server and storage medium | |
CN112861004B (en) | Method and device for determining rich media | |
CN113824689A (en) | Edge computing network, data transmission method, device, equipment and storage medium | |
CN113268327A (en) | Transaction request processing method and device and electronic equipment |
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 |