CN113242172A - Message response method and system - Google Patents

Message response method and system Download PDF

Info

Publication number
CN113242172A
CN113242172A CN202110451353.3A CN202110451353A CN113242172A CN 113242172 A CN113242172 A CN 113242172A CN 202110451353 A CN202110451353 A CN 202110451353A CN 113242172 A CN113242172 A CN 113242172A
Authority
CN
China
Prior art keywords
message
identifier
target
client
server
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
CN202110451353.3A
Other languages
Chinese (zh)
Other versions
CN113242172B (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.)
Fujian Tianquan Educational Technology Ltd
Original Assignee
Fujian Tianquan Educational Technology 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 Fujian Tianquan Educational Technology Ltd filed Critical Fujian Tianquan Educational Technology Ltd
Priority to CN202110451353.3A priority Critical patent/CN113242172B/en
Publication of CN113242172A publication Critical patent/CN113242172A/en
Application granted granted Critical
Publication of CN113242172B publication Critical patent/CN113242172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

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

Abstract

A response method and system of the message, the server sets up the message label for every target message according to the time sequence of the target message, the message label corresponds to time sequence one-to-one; the server side sends the target message and a message identifier corresponding to the target message to the client side; the client sends response information to the server after receiving a first target message, wherein the response information comprises a first message identifier corresponding to the first target message; the server side judges whether a second message identifier which is before the first message identifier and does not respond exists in time sequence or not, and if not, a response success message is sent to the client side; after receiving the response success message, the client displays the received first target message according to the first message identification sequence; after the client receives a message, the server judges whether a non-received message with earlier sending time exists, so that the condition that a user using the client reads the message with unclear semantics is avoided.

Description

Message response method and system
Technical Field
The invention relates to the field of instant chat, in particular to a message response method and a message response system.
Background
Today, mobile internet is developed vigorously, and there are various kinds of push or message communication software, which need to display message sequence correctly to be able to transmit information accurately. However, due to the uncertainty of the client network, there are a lot of weak networks, no networks, or other special scenarios that may cause various push message delays or reception failures.
For example, some chat messages are often found in chatting, the sequence of push messages is adjusted, the original display is the sequence of B and D, so that people cannot understand the semantics, and the complete language sequences of A, B, C and D are displayed after a period of time, so that people can normally understand the semantics. The main reason for this is that, in the process of chat communication or message pushing, due to the fact that some messages are abnormally pushed, the sequence of messages received by the client is not matched with the sequence of messages sent, when the client displays the messages, the messages are sorted according to the received messages, if a subsequent client receives a message sent at an earlier time point, the message display sequence is readjusted and displayed according to the normal message sequence, and if the time point of reading the messages by the user changes, an incomplete and ambiguous word sequence may be read, which affects the experience of the user.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: a message response method and system are provided to enable a received message to be displayed normally.
In order to solve the technical problems, the invention adopts a technical scheme that:
a method for responding to a message, comprising the steps of:
s1, setting a message identifier for each target message by the server according to the time sequence of the target message, wherein the message identifiers correspond to the time sequence one by one;
s2, the server side sends the target message and the message identification corresponding to the target message to a client side;
s3, the client sends a response message to the server after receiving a first target message, where the response message includes a first message identifier corresponding to the first target message;
s4, the server side judges whether a second message identifier which is before the first message identifier in time sequence and does not respond exists, if not, a response success message is sent to the client side;
s5, after receiving the response success message, the client displays the received first target message according to the first message identifier sequence.
In order to solve the technical problem, the invention adopts another technical scheme as follows:
a message response system, comprising a server and a client, wherein the server comprises a first memory, a first processor and a first computer program stored on the first memory and operable on the first processor, the client comprises a second memory, a second processor and a second computer program stored on the second memory and operable on the second processor, and the first processor implements the following steps when executing the first computer program:
s1, setting message identifiers for each target message according to the time sequence of the target message, wherein the message identifiers correspond to the time sequence one by one;
s2, sending the target message and the message identifier corresponding to the target message to a client;
s4, judging whether a second message identifier which is before the first message identifier in time sequence and does not respond exists, if not, sending a response success message to the client;
the second processor, when executing the second computer program, implements the steps of:
s3, sending a response message to the server after receiving a first target message, where the response message includes a first message identifier corresponding to the first target message;
and S5, after receiving the response success message, displaying the received first target message according to the first message identification sequence.
The invention has the beneficial effects that: before a server sends a target message, the generation time of the target message is reflected by a message identifier corresponding to the target message, after the client receives the target message, the client sends the message identifier corresponding to the target message to the server, the server searches whether messages which are in the time sequence before the message identifier and are not responded exist, if the messages do not exist, response success messages are sent to the client, the client displays the target message according to the message identifier sequence of the received target message, after the client receives a message, the server judges whether messages which are not received and have earlier sending time exist, the client is ensured to start displaying after receiving the complete message, the messages can be displayed according to the sequence generated by the server at the client, and the situation that a user using the client reads the semantic messages is avoided.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for responding to a message according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a message response system according to an embodiment of the present invention;
description of reference numerals:
1. a server side; 11. a first processor; 12. a first memory; 21. a second processor; 22. a second memory; 2. a client; 3. a system for responding to a message.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1, a method for responding to a message includes the steps of:
s1, setting a message identifier for each target message by the server according to the time sequence of the target message, wherein the message identifiers correspond to the time sequence one by one;
s2, the server side sends the target message and the message identification corresponding to the target message to a client side;
s3, the client sends a response message to the server after receiving a first target message, where the response message includes a first message identifier corresponding to the first target message;
s4, the server side judges whether a second message identifier which is before the first message identifier in time sequence and does not respond exists, if not, a response success message is sent to the client side;
s5, after receiving the response success message, the client displays the received first target message according to the first message identifier sequence.
From the above description, the beneficial effects of the present invention are: before a server sends a target message, the generation time of the target message is reflected by a message identifier corresponding to the target message, after the client receives the target message, the client sends the message identifier corresponding to the target message to the server, the server searches whether messages which are in the time sequence before the message identifier and are not responded exist, if the messages do not exist, response success messages are sent to the client, the client displays the target message according to the message identifier sequence of the received target message, after the client receives a message, the server judges whether messages which are not received and have earlier sending time exist, the client is ensured to start displaying after receiving the complete message, the messages can be displayed according to the sequence generated by the server at the client, and the situation that a user using the client reads the semantic messages is avoided.
Further, the S1 specifically includes:
the server sets a message identifier for each target message according to the time sequence of the target message, and the earlier the generation time is, the smaller the message identifier corresponding to the target message is;
the S4 specifically includes:
and the server judges whether a second message identifier which is smaller than the first message identifier and does not respond exists, and if not, sends a response success message to the client.
According to the description, the message identifiers are gradually increased according to the time sequence, the time sequence of the corresponding target message can be known only by comparing the sizes of the two message identifiers, the message identifier before the time sequence of the first message identifier can be quickly acquired, and the data processing efficiency is improved.
Further, the S4 further includes:
if a second message identifier which is before the first message identifier and does not respond exists in the time sequence, the server side sends a response success message and an unresponsive message list to the client side;
the unanswered message list comprises the second message identification;
the S5 further includes:
after receiving the response success message and the unanswered message list, the client acquires second target messages corresponding to second message identifiers in batch from the server according to the second message identifiers in the unanswered message list;
and displaying the received first target message and the second target message according to the sequence of the first message identifier and the second message identifier.
As can be seen from the above description, if there is an unresponsive second message identifier whose time sequence is before the first message identifier, the second message identifier is filled into the unresponsive message list and sent to the client, the client acquires the corresponding message from the server again according to the unresponsive message list, and the client displays the received message according to the time sequence after ensuring that there is no missing message before the first target message, so that the user can see the message in the correct sequence.
Further, the S4 specifically includes:
and the server judges whether a second message identifier which has a time sequence before the first message identifier and is not responded exists in a preset time range, and if not, a response success message is sent to the client.
As can be seen from the above description, the server acquires whether a second message identifier, which is before the first message identifier in the time sequence and is not responded, exists within the preset time range, and for example, acquires whether the second message identifier exists within the preset time range one hour before the first hour identifier, different preset time ranges can be set according to different service scenarios, so that the search efficiency of the server is improved while the messages are ensured to be sequentially displayed, and resources of the server are saved.
Further, the S5 specifically includes:
after receiving the response success message and the unanswered message list, the client acquires second target messages corresponding to second message identifications in batches from the server according to the second message identifications in the unanswered message list;
comparing the second message identifier with the first message identifier, deleting a third message identifier which is the same as the first message identifier in the second message identifier to obtain a fourth message identifier, and acquiring a fourth target message corresponding to the fourth message identifier;
and displaying the received first target message and the received fourth target message according to the sequence of the first message identifier and the fourth message identifier.
As can be seen from the above description, after receiving the unanswered message list, the client compares the unanswered message list with the first message identifier that has been received locally, deletes the message identifier that is the same as the first message identifier, and then obtains the corresponding target message from the server, and due to network fluctuation and other reasons, the client may not receive the reply message sent after receiving one target message by the server, that is, the client actually receives the entry mark message, but the server is marked as unanswered, and after receiving the unanswered message list, the client compares the message identifier with the message identifier that is stored locally, which can avoid the problem of repeatedly obtaining the same target message many times.
Referring to fig. 2, a message response system includes a server and a client, where the server includes a first memory, a first processor, and a first computer program stored in the first memory and executable on the first processor, the client includes a second memory, a second processor, and a second computer program stored in the second memory and executable on the second processor, and the first processor implements the following steps when executing the first computer program:
s1, setting message identifiers for each target message according to the time sequence of the target message, wherein the message identifiers correspond to the time sequence one by one;
s2, sending the target message and the message identifier corresponding to the target message to a client;
s4, judging whether a second message identifier which is before the first message identifier in time sequence and does not respond exists, if not, sending a response success message to the client;
the second processor, when executing the second computer program, implements the steps of:
s3, sending a response message to the server after receiving a first target message, where the response message includes a first message identifier corresponding to the first target message;
and S5, after receiving the response success message, displaying the received first target message according to the first message identification sequence.
The invention has the beneficial effects that: before a server sends a target message, the generation time of the target message is reflected by a message identifier corresponding to the target message, after the client receives the target message, the client sends the message identifier corresponding to the target message to the server, the server searches whether messages which are in the time sequence before the message identifier and are not responded exist, if the messages do not exist, response success messages are sent to the client, the client displays the target message according to the message identifier sequence of the received target message, after the client receives a message, the server judges whether messages which are not received and have earlier sending time exist, the client is ensured to start displaying after receiving the complete message, the messages can be displayed according to the sequence generated by the server at the client, and the situation that a user using the client reads the semantic messages is avoided.
Further, the S1 specifically includes:
setting message identifiers for each target message according to the time sequence of the target message, wherein the message identifiers corresponding to the target messages with the earlier generation time are smaller;
the S4 specifically includes:
and judging whether a second message identifier which is smaller than the first message identifier and does not respond exists, if not, sending a response success message to the client.
According to the description, the message identifiers are gradually increased according to the time sequence, the time sequence of the corresponding target message can be known only by comparing the sizes of the two message identifiers, the message identifier before the time sequence of the first message identifier can be quickly acquired, and the data processing efficiency is improved.
Further, the first processor when executing the first computer program implementation S4 further includes:
if a second message identifier which is before the first message identifier and does not respond exists in the time sequence, the server side sends a response success message and an unresponsive message list to the client side;
the unanswered message list comprises the second message identification;
the second processor, when executing the second computer program to implement S5, further includes:
after receiving the response success message and the unanswered message list, acquiring second target messages corresponding to second message identifications in batches from the server according to the second message identifications in the unanswered message list;
and displaying the received first target message and the second target message according to the sequence of the first message identifier and the second message identifier.
As can be seen from the above description, if there is an unresponsive second message identifier whose time sequence is before the first message identifier, the second message identifier is filled into the unresponsive message list and sent to the client, the client acquires the corresponding message from the server again according to the unresponsive message list, and the client displays the received message according to the time sequence after ensuring that there is no missing message before the first target message, so that the user can see the message in the correct sequence.
Further, the S4 specifically includes:
and the server judges whether a second message identifier which has a time sequence before the first message identifier and is not responded exists in a preset time range, and if not, a response success message is sent to the client.
As can be seen from the above description, the server acquires whether a second message identifier, which is before the first message identifier in the time sequence and is not responded, exists within the preset time range, and for example, acquires whether the second message identifier exists within the preset time range one hour before the first hour identifier, different preset time ranges can be set according to different service scenarios, so that the search efficiency of the server is improved while the messages are ensured to be sequentially displayed, and resources of the server are saved.
Further, the S5 specifically includes:
after receiving the response success message and the unanswered message list, the client acquires second target messages corresponding to second message identifications in batches from the server according to the second message identifications in the unanswered message list;
comparing the second message identifier with the first message identifier, deleting a third message identifier which is the same as the first message identifier in the second message identifier to obtain a fourth message identifier, and acquiring a fourth target message corresponding to the fourth message identifier;
and displaying the received first target message and the received fourth target message according to the sequence of the first message identifier and the fourth message identifier.
As can be seen from the above description, after receiving the unanswered message list, the client compares the unanswered message list with the first message identifier that has been received locally, deletes the message identifier that is the same as the first message identifier, and then obtains the corresponding target message from the server, and due to network fluctuation and other reasons, the client may not receive the reply message sent after receiving one target message by the server, that is, the client actually receives the entry mark message, but the server is marked as unanswered, and after receiving the unanswered message list, the client compares the message identifier with the message identifier that is stored locally, which can avoid the problem of repeatedly obtaining the same target message many times.
Referring to fig. 1, a first embodiment of the present invention is:
a method for responding to a message, comprising the steps of:
s1, setting a message identifier for each target message by the server according to the time sequence of the target message, wherein the message identifiers correspond to the time sequence one by one;
the one-to-one correspondence between the message identifiers and the time sequences specifically includes:
the server sets a message identifier for each target message according to the time sequence of the target message, and the earlier the generation time is, the smaller the message identifier corresponding to the target message is.
S2, the server side sends the target message and the message identification corresponding to the target message to a client side;
s3, the client sends a response message to the server after receiving a first target message, where the response message includes a first message identifier corresponding to the first target message;
in an optional implementation manner, the response information is an ACK response, and the ACK response includes a user identifier (userID) and a message identifier (msgID);
s4, the server side judges whether a second message identifier which is before the first message identifier in time sequence and does not respond exists, if not, a response success message is sent to the client side;
wherein, step S4 specifically includes:
the server judges whether a second message identifier which is smaller than the first message identifier and does not respond exists in a preset time range, and if not, a response success message is sent to the client;
the non-responded message is the message which does not receive the corresponding response information after the server side sends a message;
in an optional implementation manner, if the second message identifier does not exist, a response success message and an empty unanswered message list are sent to the client;
in an optional implementation manner, after receiving the ACK response message, the server sends an ACK successful response message to the client;
s5, after receiving the response success message, the client displays the received first target message according to the first message identifier sequence, specifically: after receiving the response success message and the unanswered message list, the client acquires second target messages corresponding to second message identifications in batches from the server according to the second message identifications in the unanswered message list;
comparing the second message identifier with the first message identifier, deleting a third message identifier which is the same as the first message identifier in the second message identifier to obtain a fourth message identifier, and acquiring a fourth target message corresponding to the fourth message identifier;
displaying the received first target message and the received fourth target message according to the sequence of the first message identifier and the fourth message identifier;
specifically, a fourth target message corresponding to the fourth message identifier is obtained in batch through a preset server interface; the method isolates the defect and leakage detection of the message from the normal issuing process of the message, and reduces the error phenomenon;
in an alternative embodiment, S5 further includes: and the client sends response information to the server side for the third message corresponding to each third message identification.
The second embodiment of the invention is as follows:
a method for replying to a message, which is different from the first embodiment in that:
s4 further includes:
if a second message identifier which is before the first message identifier and does not respond exists in the time sequence, the server side sends a response success message and an unresponsive message list to the client side;
the unanswered message list comprises the second message identification;
the S5 further includes:
after receiving the response success message and the unanswered message list, the client acquires second target messages corresponding to second message identifiers in batch from the server according to the second message identifiers in the unanswered message list;
displaying the received first target message and the second target message according to the sequence of the first message identifier and the second message identifier;
in an optional implementation manner, the client sets a timing task, executes the timing task at intervals of a preset time period, acquires a latest target message whose receiving time is closest to the time for executing the timing task, acquires a latest message identifier corresponding to the latest target message, and sends the latest message identifier to the server, the server determines whether a message identifier to be sent exists which has a time sequence before the latest message identifier and is not responded, if not, and if so, sending a message identifier to be sent to the client, requesting the corresponding message to be sent from the server by the client according to the message identifier to be sent and displaying all received messages again according to the time sequence, wherein all messages are all messages within the time range from the time of the earliest message in the message to be sent to the time of executing the timing task.
Referring to fig. 2, the second embodiment of the present invention is:
a message response system 3, comprising a server 1 and a client 2, wherein the server 1 includes a first memory 12, a first processor 11 and a first computer program stored in the first memory 12 and executable on the first processor 11, the client 2 includes a second memory 22, a second processor 21 and a second computer program stored in the second memory 22 and executable on the second processor 21, the first processor 11 implements the steps implemented by the server in the first embodiment or the second embodiment when executing the first computer program, and the second processor 21 implements the steps implemented by the client in the first embodiment or the second embodiment when executing the second computer program.
To sum up, the present invention provides a message response method and system, wherein a server generates a message identifier corresponding to a target message according to a time sequence of the target message when sending the target message, and each time a client receives a target message, the client sends an ACK response to the server, wherein the ACK response includes the message identifier of the entry tag message, the server can determine whether a message identifier whose time sequence is before the entry tag message and is not responded exists within a preset time range according to the message identifier after receiving the ACK response, if not, sends a response success message and an empty unanswered message list to the client, if yes, sends a response success message and an unanswered message list with the unanswered message identifier to the client, the client receives the empty unanswered message list, normally displays the received target message, and if not, pulls the corresponding target message according to the message identifier therein, the received target message is displayed, so that the client can display the target message according to the time sequence of the target message when displaying no matter how the client receives the message, and the user can finish reading normally; moreover, corresponding message identifiers are generated in a gradually increasing or gradually decreasing mode directly according to the time sequence of the target messages, the time sequence among the target messages can be obtained by comparing the sizes of the message identifiers, and the calculation is convenient; after receiving the non-empty non-response message list, the client compares the message identifier with the locally stored message identifier, deletes the part of the non-response message list which is repeated with the local part, and sends a request to the server, thereby avoiding the problem that the received message is repeatedly acquired because the network reason is not successfully responded.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for responding to a message, comprising the steps of:
s1, setting a message identifier for each target message by the server according to the time sequence of the target message, wherein the message identifiers correspond to the time sequence one by one;
s2, the server side sends the target message and the message identification corresponding to the target message to a client side;
s3, the client sends a response message to the server after receiving a first target message, where the response message includes a first message identifier corresponding to the first target message;
s4, the server side judges whether a second message identifier which is before the first message identifier in time sequence and does not respond exists, if not, a response success message is sent to the client side;
s5, after receiving the response success message, the client displays the received first target message according to the first message identifier sequence.
2. The method for responding to a message according to claim 1, wherein the S1 specifically is:
the server sets a message identifier for each target message according to the time sequence of the target message, and the earlier the generation time is, the smaller the message identifier corresponding to the target message is;
the S4 specifically includes:
and the server judges whether a second message identifier which is smaller than the first message identifier and does not respond exists, and if not, sends a response success message to the client.
3. The method for responding to a message according to claim 1, wherein said S4 further comprises:
if a second message identifier which is before the first message identifier and does not respond exists in the time sequence, the server side sends a response success message and an unresponsive message list to the client side;
the unanswered message list comprises the second message identification;
the S5 further includes:
after receiving the response success message and the unanswered message list, the client acquires second target messages corresponding to second message identifiers in batch from the server according to the second message identifiers in the unanswered message list;
and displaying the received first target message and the second target message according to the sequence of the first message identifier and the second message identifier.
4. The method for responding to a message according to claim 1, wherein the S4 specifically is:
and the server judges whether a second message identifier which has a time sequence before the first message identifier and is not responded exists in a preset time range, and if not, a response success message is sent to the client.
5. The method for responding to a message according to claim 3, wherein the S5 specifically is:
after receiving the response success message and the unanswered message list, the client acquires second target messages corresponding to second message identifications in batches from the server according to the second message identifications in the unanswered message list;
comparing the second message identifier with the first message identifier, deleting a third message identifier which is the same as the first message identifier in the second message identifier to obtain a fourth message identifier, and acquiring a fourth target message corresponding to the fourth message identifier;
and displaying the received first target message and the received fourth target message according to the sequence of the first message identifier and the fourth message identifier.
6. A message response system, comprising a server and a client, wherein the server comprises a first memory, a first processor and a first computer program stored on the first memory and operable on the first processor, and the client comprises a second memory, a second processor and a second computer program stored on the second memory and operable on the second processor, wherein the first processor implements the following steps when executing the first computer program:
s1, setting message identifiers for each target message according to the time sequence of the target message, wherein the message identifiers correspond to the time sequence one by one;
s2, sending the target message and the message identifier corresponding to the target message to a client;
s4, judging whether a second message identifier which is before the first message identifier in time sequence and does not respond exists, if not, sending a response success message to the client;
the second processor, when executing the second computer program, implements the steps of:
s3, sending a response message to the server after receiving a first target message, where the response message includes a first message identifier corresponding to the first target message;
and S5, after receiving the response success message, displaying the received first target message according to the first message identification sequence.
7. The system for responding to a message according to claim 6, wherein said S1 specifically is:
setting message identifiers for each target message according to the time sequence of the target message, wherein the message identifiers corresponding to the target messages with the earlier generation time are smaller;
the S4 specifically includes:
and judging whether a second message identifier which is smaller than the first message identifier and does not respond exists, if not, sending a response success message to the client.
8. The system according to claim 6, wherein the first processor when executing the first computer program implementation S4 further comprises:
if a second message identifier which is before the first message identifier and does not respond exists in the time sequence, the server side sends a response success message and an unresponsive message list to the client side;
the unanswered message list comprises the second message identification;
the second processor, when executing the second computer program to implement S5, further includes:
after receiving the response success message and the unanswered message list, acquiring second target messages corresponding to second message identifications in batches from the server according to the second message identifications in the unanswered message list;
and displaying the received first target message and the second target message according to the sequence of the first message identifier and the second message identifier.
9. The system for responding to a message according to claim 6, wherein said S4 specifically is:
and the server judges whether a second message identifier which has a time sequence before the first message identifier and is not responded exists in a preset time range, and if not, a response success message is sent to the client.
10. The system for responding to a message according to claim 8, wherein the S5 specifically is:
after receiving the response success message and the unanswered message list, the client acquires second target messages corresponding to second message identifications in batches from the server according to the second message identifications in the unanswered message list;
comparing the second message identifier with the first message identifier, deleting a third message identifier which is the same as the first message identifier in the second message identifier to obtain a fourth message identifier, and acquiring a fourth target message corresponding to the fourth message identifier;
and displaying the received first target message and the received fourth target message according to the sequence of the first message identifier and the fourth message identifier.
CN202110451353.3A 2021-04-26 2021-04-26 Message response method and system Active CN113242172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110451353.3A CN113242172B (en) 2021-04-26 2021-04-26 Message response method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110451353.3A CN113242172B (en) 2021-04-26 2021-04-26 Message response method and system

Publications (2)

Publication Number Publication Date
CN113242172A true CN113242172A (en) 2021-08-10
CN113242172B CN113242172B (en) 2023-02-28

Family

ID=77129151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110451353.3A Active CN113242172B (en) 2021-04-26 2021-04-26 Message response method and system

Country Status (1)

Country Link
CN (1) CN113242172B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116032417A (en) * 2021-10-25 2023-04-28 青岛海尔科技有限公司 Message processing method, terminal and server

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100138503A1 (en) * 2008-12-02 2010-06-03 International Business Machines Corporation Exchanging messages during a chat session
CN103220206A (en) * 2012-01-19 2013-07-24 阿里巴巴集团控股有限公司 Message sending method and device and message receiving method and device
CN104954446A (en) * 2015-05-28 2015-09-30 北京中亦安图科技股份有限公司 Message pushing method and system
CN106161413A (en) * 2015-04-27 2016-11-23 博雅网络游戏开发(深圳)有限公司 User end inserting method and system
CN106716417A (en) * 2016-11-22 2017-05-24 深圳前海达闼云端智能科技有限公司 Information viewing method, device and equipment
US20180083895A1 (en) * 2016-09-20 2018-03-22 Google Inc. System and method for transmitting a response in a messaging application
CN108933727A (en) * 2017-05-25 2018-12-04 中兴通讯股份有限公司 The treating method and apparatus of message receipt
CN109639564A (en) * 2018-12-12 2019-04-16 金瓜子科技发展(北京)有限公司 A kind of method, apparatus and computer readable storage medium obtaining offline message
US10530731B1 (en) * 2016-03-28 2020-01-07 Snap Inc. Systems and methods for chat with audio and video elements
WO2020024455A1 (en) * 2018-08-01 2020-02-06 平安科技(深圳)有限公司 Context-based input method, apparatus, storage medium, and computer device
CN111431952A (en) * 2019-01-09 2020-07-17 阿里巴巴集团控股有限公司 Message pushing method, device and system, computer storage medium and electronic equipment
CN111884843A (en) * 2020-07-20 2020-11-03 北京字节跳动网络技术有限公司 Message processing method and device, electronic equipment and storage medium
CN112118171A (en) * 2020-09-04 2020-12-22 完美世界控股集团有限公司 Message intercommunication system, method, device, computer equipment and readable storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100138503A1 (en) * 2008-12-02 2010-06-03 International Business Machines Corporation Exchanging messages during a chat session
CN103220206A (en) * 2012-01-19 2013-07-24 阿里巴巴集团控股有限公司 Message sending method and device and message receiving method and device
CN106161413A (en) * 2015-04-27 2016-11-23 博雅网络游戏开发(深圳)有限公司 User end inserting method and system
CN104954446A (en) * 2015-05-28 2015-09-30 北京中亦安图科技股份有限公司 Message pushing method and system
US10530731B1 (en) * 2016-03-28 2020-01-07 Snap Inc. Systems and methods for chat with audio and video elements
US20180083895A1 (en) * 2016-09-20 2018-03-22 Google Inc. System and method for transmitting a response in a messaging application
CN106716417A (en) * 2016-11-22 2017-05-24 深圳前海达闼云端智能科技有限公司 Information viewing method, device and equipment
CN108933727A (en) * 2017-05-25 2018-12-04 中兴通讯股份有限公司 The treating method and apparatus of message receipt
WO2020024455A1 (en) * 2018-08-01 2020-02-06 平安科技(深圳)有限公司 Context-based input method, apparatus, storage medium, and computer device
CN109639564A (en) * 2018-12-12 2019-04-16 金瓜子科技发展(北京)有限公司 A kind of method, apparatus and computer readable storage medium obtaining offline message
CN111431952A (en) * 2019-01-09 2020-07-17 阿里巴巴集团控股有限公司 Message pushing method, device and system, computer storage medium and electronic equipment
CN111884843A (en) * 2020-07-20 2020-11-03 北京字节跳动网络技术有限公司 Message processing method and device, electronic equipment and storage medium
CN112118171A (en) * 2020-09-04 2020-12-22 完美世界控股集团有限公司 Message intercommunication system, method, device, computer equipment and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SUSHANT PATIL;: "Automated software testing for high-end touch screen automotive displays", 《2015 IEEE INTERNATIONAL TRANSPORTATION ELECTRIFICATION CONFERENCE (ITEC)》 *
王丛等: "基于Web的信息采集系统", 《山东理工大学学报(自然科学版)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116032417A (en) * 2021-10-25 2023-04-28 青岛海尔科技有限公司 Message processing method, terminal and server
CN116032417B (en) * 2021-10-25 2024-04-19 青岛海尔科技有限公司 Message processing method, terminal and server

Also Published As

Publication number Publication date
CN113242172B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
JP5296176B2 (en) Inline search technology in instant messenger environment
CN115004673B (en) Message pushing method, device, electronic equipment and computer readable medium
CN113242172B (en) Message response method and system
CN113779422B (en) Method and device for realizing relationship chain label, electronic equipment and storage medium
CN110912805B (en) Message reading state synchronization method, terminal, server and system
CN114189818B (en) Message sending method, device, server and storage medium
CN111639907A (en) Process management method, device, equipment and computer storage medium
CN113518028A (en) Group chat method and device based on distinguishing group owner and group member
CN112838980A (en) Message processing method, system, device, electronic equipment and storage medium
CN112383469A (en) Information processing method and device, computer readable medium and electronic equipment
CN109600738B (en) User information updating method, device, equipment and storage medium
CN113794620B (en) Message sending method, device, equipment, system and storage medium
CN114449031B (en) Information acquisition method, device, equipment and storage medium
CN115658343A (en) Method and device for detecting and processing message sequence in distributed system
CN113256240B (en) Message processing method and device and server
CN107563942B (en) Logistics data batch processing method, logistics processing system and processing device
CN112860770B (en) Report generation method, report generation device, electronic equipment and storage medium
CN110233744B (en) Conference state display method, conference state updating method and device
CN113449039A (en) System and method for processing data of different databases in distributed microservice
CN109348413B (en) Position information sharing method, device, equipment and storage medium
CN113938846B (en) Message delay sending method and terminal
CN113872994A (en) Organization architecture synchronization method, device, computer equipment and storage medium
CN118250341B (en) Form request processing method, device, equipment and storage medium
CN109542643B (en) Method and device for recovering messages in OpenStack system
CN112040430B (en) Short message sending method, device, server and storage medium

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