CN110856124B - Message state determination method and device, computing equipment and storage medium - Google Patents

Message state determination method and device, computing equipment and storage medium Download PDF

Info

Publication number
CN110856124B
CN110856124B CN201911013220.7A CN201911013220A CN110856124B CN 110856124 B CN110856124 B CN 110856124B CN 201911013220 A CN201911013220 A CN 201911013220A CN 110856124 B CN110856124 B CN 110856124B
Authority
CN
China
Prior art keywords
message
feature code
reply
original
original message
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
Application number
CN201911013220.7A
Other languages
Chinese (zh)
Other versions
CN110856124A (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.)
Shenzhen Montnets Technology Co ltd
Original Assignee
Shenzhen Montnets Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Montnets Technology Co ltd filed Critical Shenzhen Montnets Technology Co ltd
Priority to CN201911013220.7A priority Critical patent/CN110856124B/en
Publication of CN110856124A publication Critical patent/CN110856124A/en
Application granted granted Critical
Publication of CN110856124B publication Critical patent/CN110856124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Abstract

The application is applicable to the technical field of computers, and provides a method for determining a message state, which comprises the following steps: acquiring a reply message sent by a first terminal, and acquiring a target dynamic parameter value and a message feature code from the reply message; if the message feature code is valid, inquiring the original message stored in association with the message feature code; querying an event type associated with a target dynamic parameter value from an original message; updating the reply state information of the original message according to the event type; and sending the updated reply state information and the message feature code to a second terminal corresponding to the original message. The target dynamic parameter value and the message feature code are acquired, the event type associated with the target dynamic parameter value is inquired from the original message associated with the message feature code, the reply state information of the original message is updated according to the event type and is sent to the second terminal corresponding to the original message, so that the second terminal can quickly and accurately judge the message state replied by the user.

Description

Message state determination method and device, computing equipment and storage medium
Technical Field
The present application belongs to the field of computer technologies, and in particular, to a method and an apparatus for determining a message status, a method and an apparatus for sending a message, a computing device, and a storage medium.
Background
At present, in the process of issuing various messages by a mobile terminal, multiple messages issued by the same user in the same time period are usually issued to corresponding fixed terminals through the same fixed channel number, and if the same terminal receives multiple messages with similar or identical corresponding reply contents, such as a conference notification message, the corresponding reply contents are usually all participated or not participated, so that the message state replied by the user cannot be quickly and accurately judged by a message originator.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for determining a message status, a message sending method, an apparatus, a computing device, and a storage medium, so as to solve the problem in the prior art that a message originator cannot quickly and accurately determine a message status replied by a user.
A first aspect of an embodiment of the present application provides a method for determining a message status, which is applied to a server and includes:
acquiring a reply message sent by a first terminal through the same preset communication channel, and acquiring a target dynamic parameter value and a message feature code from the reply message;
if the message feature code is valid, inquiring an original message which is stored in association with the message feature code from a predetermined database;
querying the original message for the event type associated with the target dynamic parameter value;
updating the reply state information of the original message according to the event type;
and sending the updated reply state information and the message feature code to a second terminal sending the original message.
In an optional implementation manner, before the obtaining a reply message sent by the first terminal through the same preset communication channel, and obtaining a target dynamic parameter value and a message feature code from the reply message, the method includes:
acquiring the original message sent by a second terminal through the preset communication channel;
calculating the message feature code corresponding to the original message by adopting a preset encryption algorithm;
and simultaneously sending the original message and the message feature code to the first terminal, and storing the original message and the message feature code into the predetermined database in a correlation manner.
In an optional implementation manner, before the querying, if the message feature code is valid, an original message stored in association with the message feature code from a predetermined database, the method includes:
acquiring a first time of receiving the reply message content and a second time of storing the original message content;
calculating a time difference between the first time and the second time;
if the absolute value of the time difference is larger than a preset time difference threshold value, judging that the message feature code is invalid;
and if the absolute value of the time difference is smaller than or equal to the preset time difference threshold value, judging that the message feature code is valid.
A second aspect of the present application provides a message sending method, applied to a first terminal, where the method includes:
after receiving an original message and a message feature code sent by a server through a preset communication channel, displaying the original message and the message feature code; wherein the original message is from a second terminal, the message feature code is generated by the server based on the original message;
when a message reply instruction aiming at the original message is detected, sending a reply message edited by a user through the preset communication channel;
the reply message comprises a target dynamic parameter value and the message feature code, wherein the target dynamic parameter value is used for determining an event type corresponding to the target dynamic parameter value when the server confirms that the message feature code is valid, and updating the reply state of the original message according to the event type.
A third aspect of the present application provides a message sending method applied to a second terminal, where the method includes:
when a message sending instruction triggered by a user aiming at an original message is detected, sending the original message to a server through a preset communication channel, wherein the original message comprises a target dynamic parameter value and an event type associated with the target dynamic parameter value;
the original message is used for triggering the server to send the dynamic parameter value and the message feature code to a first terminal in a correlation manner when the server generates the message feature code of the original message;
receiving reply state information corresponding to the original message sent by the server;
when the server receives a reply message corresponding to the original message sent by the first terminal through the preset communication channel and confirms that the message feature code in the reply message is valid, the server inquires an event type matched with a target dynamic parameter value in the reply message from the original message and updates the reply state information of the original message according to the event type.
A fourth aspect of the present application provides a message sending apparatus, which is applied to a server, and includes:
the first acquisition module is used for acquiring a reply message sent by a first terminal through the same preset communication channel and acquiring a target dynamic parameter value and a message feature code from the reply message;
the first query module is used for querying an original message which is stored in association with the message feature code from a predetermined database if the message feature code is valid;
a second query module for querying the event type associated with the target dynamic parameter value from the original message;
the updating module is used for updating the reply state information of the original message according to the event type;
and the first sending module is used for sending the updated reply state information and the message feature code to a second terminal which sends the original message.
In an optional implementation manner, the method further includes:
the second obtaining module is used for obtaining the original message sent by the second terminal through the preset communication channel;
the first calculation module is used for calculating the message feature code corresponding to the original message by adopting a preset encryption algorithm;
and the second sending module is used for sending the original message and the message feature code to the first terminal at the same time, and storing the original message and the message feature code into the predetermined database in a correlation manner.
In an optional implementation manner, the method further includes:
a third obtaining module, configured to obtain a first time when the reply message content is received and a second time when the original message content is stored;
a second calculation module for calculating a time difference between the first time and the second time;
the first judging module is used for judging that the message feature code is invalid if the absolute value of the time difference is greater than a preset time difference threshold;
and the second judging module is used for judging that the message feature code is valid if the absolute value of the time difference is less than or equal to the preset time difference threshold.
A fifth aspect of the present application provides a message sending apparatus, which is applied to a terminal, and includes:
the receiving module is used for displaying the original message and the message feature code after receiving the original message and the message feature code which are sent by the server through a preset communication channel; wherein the original message is from a second terminal, the message feature code is generated by the server based on the original message;
the detection module is used for sending a reply message edited by a user through the preset communication channel when a message reply instruction aiming at the original message is detected;
the reply message comprises a target dynamic parameter value and the message feature code, wherein the target dynamic parameter value is used for determining an event type corresponding to the target dynamic parameter value when the server confirms that the message feature code is valid, and updating the reply state of the original message according to the event type.
A sixth aspect of the present application provides a message sending apparatus, which is applied to a terminal, and includes:
the device comprises a detection module, a processing module and a processing module, wherein the detection module is used for sending an original message to a server through a preset communication channel when a message sending instruction triggered by a user aiming at the original message is detected, and the original message comprises a target dynamic parameter value and an event type associated with the target dynamic parameter value;
the original message is used for triggering the server to send the dynamic parameter value and the message feature code to a first terminal in a correlation manner when the server generates the message feature code of the original message;
the receiving module is used for receiving reply state information corresponding to the original message sent by the server;
when the server receives a reply message corresponding to the original message sent by the first terminal through the preset communication channel and confirms that the message feature code in the reply message is valid, the server inquires an event type matched with a target dynamic parameter value in the reply message from the original message and updates the reply state information of the original message according to the event type.
A seventh aspect of the present application provides a computing device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for determining a message status according to the first aspect or the steps of the method for sending a message according to the second or third aspect when executing the computer program.
An eighth aspect of the present application provides a computer-readable storage medium, which stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for determining a message status according to the first aspect, or implements the steps of the method for sending a message according to the second or third aspect.
Compared with the prior art, the method for determining the message state provided by the first aspect of the application acquires the target dynamic parameter value and the message feature code from the reply message by acquiring the reply message sent by the first terminal through the same preset communication channel; if the message feature code is valid, inquiring an original message which is stored in association with the message feature code from a predetermined database; querying the original message for the event type associated with the target dynamic parameter value; updating the reply state information of the original message according to the event type; and sending the updated reply state information and the message feature code to a second terminal corresponding to the original message. The method comprises the steps of acquiring a target dynamic parameter value and a message feature code from a reply message sent from the same preset communication channel, inquiring an event type associated with the target dynamic parameter value from an original message associated with the message feature code when the message feature code is valid, updating reply state information of the original message according to the event type, and sending the updated reply state information and the message feature code to a second terminal corresponding to the original message, so that the second terminal serving as a sender of the original message can quickly and accurately judge the message state replied by a user.
Compared with the prior art, the embodiments provided by the second aspect to the eighth aspect of the present application have the same beneficial effects as the embodiments provided by the first aspect of the present application and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a diagram of an application system of a message status determination method provided in the present application;
fig. 2 is a flowchart of an implementation of a method for determining a message status according to a first embodiment of the present application;
fig. 3 is a flowchart of an implementation of a method for determining a message status according to a second embodiment of the present application;
fig. 4 is a flowchart of an implementation of a method for determining a message status according to a third embodiment of the present application;
fig. 5 is a flowchart of an implementation of a message sending method according to a fourth embodiment of the present application;
fig. 6 is a flowchart of an implementation of a message sending method according to a fifth embodiment of the present application;
fig. 7 is a schematic structural diagram of a message status determination apparatus according to a sixth embodiment of the present application;
fig. 8 is a schematic structural diagram of a message sending apparatus according to a seventh embodiment of the present application;
fig. 9 is a schematic structural diagram of a message sending apparatus according to an eighth embodiment of the present application;
FIG. 10 is a schematic diagram of a computing device provided herein.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Fig. 1 is a diagram of an application system of the method for determining a message status according to the present application. As shown in fig. 1, the system 10 for determining the message status includes a server 101, a first terminal 102, and a second terminal 103. In the embodiment of the present application, the server 101 is in communication connection with both the first terminal 102 and the second terminal 103, and the server 101 receives an original message sent by the second terminal 103 through a preset communication channel, sends the original message and a message feature code corresponding to the original message to the first terminal 102 together, receives a reply message sent by the first terminal 102, updates reply state information of the original message based on the reply message, and sends the updated reply state information and the message feature code to the first terminal 102;
in this embodiment, the first terminal 102 is configured to receive an original message sent by the server 101 and a message feature code of the original message, and send a reply message edited by a user through the preset communication channel when detecting a message reply instruction for the original message.
The second terminal 103 is configured to send an original message to the server 101, and receive updated reply status information and message feature codes sent by the server 101.
It should be noted that the first terminal 102 and the second terminal 103 may be terminal devices having a communication function, such as a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, and the like.
It should be noted that, the messages are sent between the terminals through the bound communication channels, the first terminal 102 can only send the second terminal 103 with a fixed reply message value through the same bound communication channel, if a large number of original messages are sent to the first terminal 102 by the second terminal 103 within a preset time period, and all the original messages are notification-type messages, and the reply messages that the first terminal 102 needs to reply are the same or similar, the second terminal 103 may not quickly and accurately confirm the reply state of the first terminal 102 to each original message. Therefore, in this embodiment, the server 101 processes the reply message sent by the first terminal 102 through the same preset communication channel, updates the reply status information of the original message according to the processed result, and sends the updated reply status information and the message feature code to the second terminal 103. So that the second terminal 103 can confirm the reply status of the original message quickly and accurately.
As shown in fig. 2, it is a flowchart of an implementation of the method for determining a message status according to the first embodiment of the present application, and this embodiment may be implemented by software/hardware in the server 101 shown in fig. 1. The details are as follows:
s201, acquiring a reply message sent by the first terminal through the same preset communication channel, and acquiring a target dynamic parameter value and a message feature code from the reply message.
In an alternative implementation, the target dynamic parameter value is one of the dynamic parameter values contained in the original message. The target dynamic parameter value is set by the sender under the message according to actual needs, usually has a fixed format and a representative event type, usually for writing convenience, the target dynamic parameter value is represented by a number, and the length of the number is not easy to be too long, for example, the target dynamic parameter value is represented by a number below 6 bits, and the event type represented by each target dynamic parameter value needs to be set, for example, in the notification type original message, the event type represented by the target dynamic parameter value "1001" is attended, and the event type represented by the target dynamic parameter value "1002" is not attended. And different terminals adopt different communication channels to perform data interaction with the server.
For example, when the original information is a conference notification and the target dynamic parameter value in the reply information is "1001", it is identified that the user corresponding to the first terminal participates in the conference.
The message signature is typically computed by encrypting the original message, and is unique and can be used to identify the original message.
S202, if the message feature code is valid, the original message stored in association with the message feature code is inquired from a predetermined database.
In an alternative implementation manner, in order to facilitate management of the acquired original message and prevent a phenomenon of misoperation in a situation where a large number of original messages are stored, an expiration date is set for the original message, and in this example, the expiration date of the original message is set to the expiration date of the message feature code.
On the premise of judging that the message feature code is valid, the original message stored in association with the message feature code is inquired from a predetermined database, so that on the premise of judging that the message feature code is invalid, subsequent operation steps are not required, and the reply short message is not required to be processed.
S203, inquiring the event type associated with the target dynamic parameter value from the original message.
It should be noted that, in the embodiment of the present application, an original message includes a message content, a target dynamic parameter value, and an event type associated with the target dynamic parameter value, and the event type may be used as a reference for selecting the target dynamic parameter value when a user replies to the original message.
And S204, updating the reply state information of the original message according to the event type.
Wherein, the updated reply status information is replied and the replied event type, for example, for the original information a, the corresponding updated reply status information is replied and participates; for the original information B, the corresponding updated reply state information is replied and does not participate.
And S205, sending the updated reply state information and the message feature code to a second terminal corresponding to the original message.
As can be seen from the foregoing embodiments, in the method for determining a message state provided in the present application, a reply message sent by a first terminal through a same preset communication channel is obtained, and a target dynamic parameter value and a message feature code are obtained from the reply message; if the message feature code is valid, inquiring an original message which is stored in association with the message feature code from a predetermined database; querying the original message for the event type associated with the target dynamic parameter value; updating the reply state information of the original message according to the event type; and sending the updated reply state information and the message feature code to a second terminal corresponding to the original message. The method comprises the steps of acquiring a target dynamic parameter value and a message feature code from a reply message sent from the same preset communication channel, inquiring an event type associated with the target dynamic parameter value from an original message associated with the message feature code when the message feature code is valid, updating reply state information of the original message according to the event type, and sending the updated reply state information and the message feature code to a second terminal corresponding to the original message, so that the second terminal serving as a sender of the original message can quickly and accurately judge the message state replied by a user.
As shown in fig. 3, which is a flowchart of an implementation of a method for determining a message status according to a second embodiment of the present application, compared with the embodiment shown in fig. 2, in this embodiment, specific implementation processes of S304 to S308 are the same as those of S201 to S205, and are not described herein again, but a difference is that S301 to S303 are further included before S304, and S303 and S304 are in a sequential execution relationship.
S301, acquiring the original message sent by the second terminal through the preset communication channel.
The original message is edited by the user as required, and includes message content, a target dynamic parameter value, and an event type associated with the target dynamic parameter value, for example, the original short message includes: [ meeting Notification ] Zhang three initiating meetings: product review meeting, time: month 07, 10 days 10: 20-07 months, 10 days, 11: 20, location: floor 6, 603 conference room, see details at point http:// h.5itz. cn/m/7axsIyP, attended back at "1001" and not attended back at "1002". Where "1001" and "1002" are dynamic parameter values, and "join" and "do not refer" are event types corresponding to the dynamic parameter values, respectively.
S302, calculating the message feature code corresponding to the original message by adopting a preset encryption algorithm.
It should be noted that the preset encryption algorithm may be any one of a symmetric encryption algorithm, a public key algorithm, a digital signature algorithm, an advanced encryption algorithm, and the like, and is not limited in particular herein. The message feature codes of different original messages calculated by adopting a preset encryption algorithm have uniqueness.
S303, sending the original message and the message feature code to the first terminal at the same time, and storing the original message and the message feature code to the predetermined database in a correlation manner.
As can be seen from the above analysis, in the method for determining a message status provided in the embodiment of the present application, by obtaining a reply message sent by a first terminal through a same preset communication channel, a target dynamic parameter value and a message feature code are obtained from the reply message; if the message feature code is valid, inquiring an original message which is stored in association with the message feature code from a predetermined database; querying the original message for the event type associated with the target dynamic parameter value; updating the reply state information of the original message according to the event type; and sending the updated reply state information and the message feature code to a second terminal corresponding to the original message. The method comprises the steps of acquiring a target dynamic parameter value and a message feature code from a reply message sent from the same preset communication channel, inquiring an event type associated with the target dynamic parameter value from an original message associated with the message feature code when the message feature code is valid, updating reply state information of the original message according to the event type, and sending the updated reply state information and the message feature code to a second terminal corresponding to the original message, so that the second terminal serving as a sender of the original message can quickly and accurately judge the message state replied by a user. As shown in fig. 4, which is an implementation flowchart of a method for determining a message status provided in a third embodiment of the present application, compared with the embodiment shown in fig. 2, in this embodiment, a specific implementation process of S401 is the same as that of S201, and specific implementation processes of S406 to S409 are the same as those of S202 to S205, except that S402 to S405 are further included before S406, it should be noted that S405 and S406 are in a sequential execution relationship, and detailed implementation processes of S402 to S405 are as follows:
s402, acquiring a first time of receiving the reply message and a second time of storing the original message.
It can be understood that, after receiving the original message, the user may not reply in time for various reasons, which may result in the case that the received original message is invalid. Therefore, it is necessary to determine whether the received reply message is a reply to the valid original message according to the second time when the original message is stored and the first time when the reply message is received.
S403, calculating a time difference between the first time and the second time.
S404, if the absolute value of the time difference is larger than a preset time difference threshold value, the message feature code is judged to be invalid.
For example, the first time for storing the original message is 7/10/2019, the preset validity period of the original message is also 7/7 of the message feature code corresponding to the original message, and the time difference threshold is 7 days, if the second time for receiving the reply message carrying the message feature code corresponding to the original message is 7/20/2019, the calculated time difference between the first time and the second time is 10 days, and the time difference is greater than the preset time difference threshold, it is determined that the original message has failed, and the message feature code corresponding to the original message is invalid.
It will be appreciated that no processing is done on the reply message when the message signature is determined to be invalid.
S405, if the absolute value of the time difference is smaller than or equal to the preset time difference threshold, the message feature code is judged to be valid.
As can be seen from the above analysis, in the method for determining a message status provided in the embodiment of the present application, by obtaining a reply message sent by a first terminal through a same preset communication channel, a target dynamic parameter value and a message feature code are obtained from the reply message; if the message feature code is valid, inquiring an original message which is stored in association with the message feature code from a predetermined database; querying the original message for the event type associated with the target dynamic parameter value; updating the reply state information of the original message according to the event type; and sending the updated reply state information and the message feature code to a second terminal corresponding to the original message. The method comprises the steps of acquiring a target dynamic parameter value and a message feature code from a reply message sent from the same preset communication channel, inquiring an event type associated with the target dynamic parameter value from an original message associated with the message feature code when the message feature code is valid, updating reply state information of the original message according to the event type, and sending the updated reply state information and the message feature code to a second terminal corresponding to the original message, so that the second terminal serving as a sender of the original message can quickly and accurately judge the message state replied by a user.
As shown in fig. 5, which is a flowchart illustrating an implementation of a message sending method according to a fourth embodiment of the present application, the present embodiment may be implemented by a first terminal through software/hardware, and is detailed as follows:
s501, after receiving an original message and a message feature code sent by a server through a preset communication channel, displaying the original message and the message feature code; wherein the original message is from a second terminal and the message feature code is generated by the server based on the original message.
S502, when a message reply instruction aiming at the original message is detected, sending a reply message edited by a user through the preset communication channel;
the reply message comprises a target dynamic parameter value and the message feature code, wherein the target dynamic parameter value is used for determining an event type corresponding to the target dynamic parameter value when the server confirms that the message feature code is valid, and updating the reply state of the original message according to the event type.
As can be seen from the above analysis, in the message sending method provided in this embodiment, after receiving the original message and the message feature code sent by the server through the preset communication channel, the original message and the message feature code are displayed; when a message reply instruction aiming at the original message is detected, sending a reply message edited by a user through the preset communication channel; the original message can be marked based on the original message feature code, so that the original message can be conveniently identified in the sending path of the original message.
As shown in fig. 6, which is a flowchart illustrating an implementation of a message sending method according to a fifth embodiment of the present application, the present embodiment may be implemented by a second terminal through software/hardware, and is detailed as follows:
s601, when a message sending instruction triggered by a user aiming at an original message is detected, sending the original message to a server through a preset communication channel, wherein the original message comprises a target dynamic parameter value and an event type associated with the target dynamic parameter value;
the original message is used for triggering the server to send the dynamic parameter value and the message feature code to a first terminal in a correlation manner when the server generates the message feature code of the original message;
s602, receiving reply state information corresponding to the original message sent by the server;
when the server receives a reply message corresponding to the original message sent by the first terminal through the preset communication channel and confirms that the message feature code in the reply message is valid, the server inquires an event type matched with a target dynamic parameter value in the reply message from the original message and updates the reply state information of the original message according to the event type.
Fig. 7 is a schematic structural diagram of a message status determination apparatus according to a sixth embodiment of the present application. As shown in fig. 7, the apparatus 7 for determining a message status provided in the embodiment of the present application includes:
a first obtaining module 701, configured to obtain a reply message sent by a first terminal through a same preset communication channel, and obtain a target dynamic parameter value and a message feature code from the reply message;
a first query module 702, configured to query, if the message feature code is valid, an original message stored in association with the message feature code from a predetermined database;
a second query module 703, configured to query the original message for the event type associated with the target dynamic parameter value;
an updating module 704, configured to update the reply status information of the original message according to the event type;
a first sending module 705, configured to send the updated reply state information and the message feature code to a second terminal corresponding to the original message.
In an optional implementation manner, the method further includes:
the second obtaining module is used for obtaining the original message sent by the second terminal through the preset communication channel;
the first calculation module is used for calculating the message feature code corresponding to the original message by adopting a preset encryption algorithm;
and the second sending module is used for sending the original message and the message feature code to the first terminal at the same time, and storing the original message and the message feature code into the predetermined database in a correlation manner.
In an optional implementation manner, the method further includes:
a third obtaining module, configured to obtain a first time when the reply message content is received and a second time when the original message content is stored;
a second calculation module for calculating a time difference between the first time and the second time;
the first judging module is used for judging that the message feature code is invalid if the absolute value of the time difference is greater than a preset time difference threshold;
and the second judging module is used for judging that the message feature code is valid if the absolute value of the time difference is less than or equal to the preset time difference threshold.
Fig. 8 is a schematic structural diagram of a message sending apparatus according to a seventh embodiment of the present application. Applied to the first terminal, as can be seen from fig. 8, the message sending apparatus 8 provided in this embodiment includes:
a first receiving module 801, configured to receive an original message and a message feature code sent by a server through a preset communication channel, and display the original message and the message feature code; wherein the original message is from a second terminal, the message feature code is generated by the server based on the original message;
a first detection module 802, configured to send a reply message edited by a user through the preset communication channel when a message reply instruction for the original message is detected;
the reply message comprises a target dynamic parameter value and the message feature code, the message feature code is used for triggering the server to determine whether the reply message is valid, the target dynamic parameter value is used for triggering the server to determine an event type corresponding to the target dynamic parameter value when the reply message is confirmed to be valid, and the reply state of the original message is updated according to the event type.
Fig. 9 is a schematic structural diagram of a message sending apparatus according to an eighth embodiment of the present application. As is apparent from fig. 9, the message transmission device 9 according to the present embodiment includes:
a second detecting module 901, configured to, when a message sending instruction triggered by a user for an original message is detected, send the original message to a server through a preset communication channel, where the original message includes a target dynamic parameter value and an event type associated with the target dynamic parameter value;
the original message is used for triggering the server to send the dynamic parameter value and the message feature code to a first terminal in a correlation manner when the server generates the message feature code of the original message;
a second receiving module 902, configured to receive reply status information corresponding to the original message sent by the server;
when the server receives a reply message corresponding to the original message sent by the first terminal through the preset communication channel, the reply state information is obtained by updating the reply state information of the original message according to the event type after the event type is inquired and obtained from the original message based on the target dynamic parameter value and the message feature code in the reply message.
FIG. 10 is a schematic diagram of a computing device provided herein. As shown in fig. 10, the computing device 10 of this embodiment includes: a processor 11, a memory 12 and a computer program 13 stored in the memory 12 and executable on the processor 11, for example, when the computing device is a server, the computer program is a message status determining program. The steps in the embodiment of the method for determining the message status described in fig. 2 to 4 are implemented when the processor 11 executes a computer program 13, and when the computing device is a terminal, the computer program is a message sending program. The steps of the message sending method described above with reference to fig. 5 or fig. 6 are implemented when the processor 11 executes the computer program 13.
Illustratively, the computer program 13 may be partitioned into one or more modules/units that are stored in the memory 12 and executed by the processor 11 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 13 in the computing device 10. For example, the computer program 13 may be divided into a first obtaining module, a first query module, a second query module, an update module, and a first sending module (module in the virtual device), and each module has the following specific functions:
the first acquisition module is used for acquiring a reply message sent by a first terminal through the same preset communication channel and acquiring a target dynamic parameter value and a message feature code from the reply message;
the first query module is used for querying an original message which is stored in association with the message feature code from a predetermined database if the message feature code is valid;
a second query module for querying the event type associated with the target dynamic parameter value from the original message;
the updating module is used for updating the reply state information of the original message according to the event type;
and the first sending module is used for sending the updated reply state information and the message feature code to a second terminal corresponding to the original message.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of communication units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for determining message status is applied to a server, and the method comprises the following steps:
acquiring a reply message sent by a first terminal through the same preset communication channel, and acquiring a target dynamic parameter value and a message feature code from the reply message, wherein the message feature code is generated by the server based on an original message;
if the message feature code is valid, inquiring the original message stored in association with the message feature code from a predetermined database;
querying the original message for an event type associated with the target dynamic parameter value;
updating the reply state information of the original message according to the event type, wherein the updated reply state information is the event type which is replied and replied;
and sending the updated reply state information and the message feature code to a second terminal sending the original message.
2. The method for determining the message status according to claim 1, wherein before the obtaining the reply message sent by the first terminal through the same preset communication channel, and obtaining the target dynamic parameter value and the message feature code from the reply message, the method comprises:
acquiring the original message sent by a second terminal through the preset communication channel;
calculating the message feature code corresponding to the original message by adopting a preset encryption algorithm;
and simultaneously sending the original message and the message feature code to the first terminal, and storing the original message and the message feature code into the predetermined database in a correlation manner.
3. The method for determining message status as claimed in claim 1, wherein before querying the predetermined database for the original message stored in association with the message feature code if the message feature code is valid, the method comprises:
acquiring first time of receiving the reply message and second time of storing the original message;
calculating a time difference between the first time and the second time;
if the absolute value of the time difference is larger than a preset time difference threshold value, judging that the message feature code is invalid;
and if the absolute value of the time difference is smaller than or equal to the preset time difference threshold value, judging that the message feature code is valid.
4. A message sending method is applied to a first terminal, and comprises the following steps:
after receiving an original message and a message feature code sent by a server through a preset communication channel, displaying the original message and the message feature code; wherein the original message is from a second terminal, the message feature code is generated by the server based on the original message;
when a message reply instruction aiming at the original message is detected, sending a reply message edited by a user through the preset communication channel;
the reply message comprises a target dynamic parameter value and the message feature code, the target dynamic parameter value is used for determining an event type corresponding to the target dynamic parameter value when the server confirms that the message feature code is valid, and updating the reply state of the original message according to the event type, and the updated reply state information is the replied and replied event type.
5. A message sending method, applied to a second terminal, the method comprising:
when a message sending instruction triggered by a user aiming at an original message is detected, sending the original message to a server through a preset communication channel, wherein the original message comprises a target dynamic parameter value and an event type associated with the target dynamic parameter value;
the original message is used for triggering the server to send the dynamic parameter value and the message feature code to a first terminal in a correlation manner when the server generates the message feature code of the original message;
receiving reply state information corresponding to the original message sent by the server;
when the server receives a reply message corresponding to the original message sent by the first terminal through the preset communication channel and confirms that the message feature code in the reply message is valid, the server inquires an event type matched with a target dynamic parameter value in the reply message from the original message, and then updates the reply state information of the original message according to the event type, wherein the updated reply state information is obtained by updating the reply state information of the original message according to the event type, and the updated reply state information is the replied and replied event type.
6. A message transmission apparatus, applied to a server, comprising:
the first acquisition module is used for acquiring a reply message sent by a first terminal through the same preset communication channel, and acquiring a target dynamic parameter value and a message feature code from the reply message, wherein the message feature code is generated by the server based on an original message;
the first query module is used for querying the original message which is stored in association with the message feature code from a predetermined database if the message feature code is valid;
a second query module, configured to query the original message for an event type associated with the target dynamic parameter value;
the updating module is used for updating the reply state information of the original message according to the event type, and the updated reply state information is the replied and replied event type;
and the first sending module is used for sending the updated reply state information and the message feature code to a second terminal which sends the original message.
7. A message transmission apparatus, applied to a terminal, comprising:
the receiving module is used for displaying the original message and the message feature code after receiving the original message and the message feature code which are sent by the server through a preset communication channel; wherein the original message is from a second terminal, the message feature code is generated by the server based on the original message;
the detection module is used for sending a reply message edited by a user through the preset communication channel when a message reply instruction aiming at the original message is detected;
the reply message comprises a target dynamic parameter value and the message feature code, the message feature code is used for triggering the server to determine whether the reply message is valid, the target dynamic parameter value is used for triggering the server to determine an event type corresponding to the target dynamic parameter value when the reply message is confirmed to be valid, the reply state of the original message is updated according to the event type, and the updated reply state information is the replied and replied event type.
8. A message transmission apparatus, applied to a terminal, comprising:
the device comprises a detection module, a processing module and a processing module, wherein the detection module is used for sending an original message to a server through a preset communication channel when a message sending instruction triggered by a user aiming at the original message is detected, and the original message comprises a target dynamic parameter value and an event type associated with the target dynamic parameter value;
the original message is used for triggering the server to send the dynamic parameter value and the message feature code to a first terminal in a correlation manner when the server generates the message feature code of the original message;
the receiving module is used for receiving reply state information corresponding to the original message sent by the server;
when the server receives a reply message corresponding to the original message sent by the first terminal through the preset communication channel, the reply state information is obtained by updating the reply state information of the original message according to the event type after the server inquires the event type from the original message based on the target dynamic parameter value and the message feature code in the reply message, and the updated reply state information is the replied and replied event type.
9. A computing device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of the method for determining a message status according to any one of claims 1 to 3 or implements the steps of the method for sending a message according to any one of claims 4 or 5.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method for determining the status of a message according to any one of claims 1 to 3, or carries out the steps of the method for sending a message according to any one of claims 4 or 5.
CN201911013220.7A 2019-10-23 2019-10-23 Message state determination method and device, computing equipment and storage medium Active CN110856124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911013220.7A CN110856124B (en) 2019-10-23 2019-10-23 Message state determination method and device, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911013220.7A CN110856124B (en) 2019-10-23 2019-10-23 Message state determination method and device, computing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110856124A CN110856124A (en) 2020-02-28
CN110856124B true CN110856124B (en) 2021-10-19

Family

ID=69596799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911013220.7A Active CN110856124B (en) 2019-10-23 2019-10-23 Message state determination method and device, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110856124B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501349A (en) * 2021-12-30 2022-05-13 深圳市梦网云创科技有限公司 Short message reply method, system, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780439A (en) * 2004-11-23 2006-05-31 乐金电子(中国)研究开发中心有限公司 Method for answering short messages
EP1953953A2 (en) * 2007-01-23 2008-08-06 Samsung Electronics Co., Ltd. Apparatus and method for transmitting service guide in broadband wireless access system
CN101883315A (en) * 2010-04-29 2010-11-10 上海极限信息科技有限公司 Wireless message switching system and message switching method thereof
CN102413436A (en) * 2011-09-14 2012-04-11 华为技术有限公司 Method and system for transmitting information, and browser on mobile terminal
CN110266582A (en) * 2019-05-29 2019-09-20 深圳市梦网科技发展有限公司 A kind of information push method, system, server and communication terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127620B (en) * 2007-08-29 2010-08-18 中兴通讯股份有限公司 A method and system for transmitting logic channel number in session initialization protocol
CN102325251B (en) * 2011-10-19 2015-04-15 杭州华三通信技术有限公司 Video monitoring and playback service realization methods and equipment
CN103139723B (en) * 2011-11-30 2016-03-16 中国联合网络通信集团有限公司 Multimedia message information processing method and system and equipment
CN108494972B (en) * 2018-04-18 2020-04-24 Oppo广东移动通信有限公司 Message reminding method and device, mobile terminal and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780439A (en) * 2004-11-23 2006-05-31 乐金电子(中国)研究开发中心有限公司 Method for answering short messages
EP1953953A2 (en) * 2007-01-23 2008-08-06 Samsung Electronics Co., Ltd. Apparatus and method for transmitting service guide in broadband wireless access system
CN101883315A (en) * 2010-04-29 2010-11-10 上海极限信息科技有限公司 Wireless message switching system and message switching method thereof
CN102413436A (en) * 2011-09-14 2012-04-11 华为技术有限公司 Method and system for transmitting information, and browser on mobile terminal
CN110266582A (en) * 2019-05-29 2019-09-20 深圳市梦网科技发展有限公司 A kind of information push method, system, server and communication terminal

Also Published As

Publication number Publication date
CN110856124A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN108734028B (en) Data management method based on block chain, block chain link point and storage medium
CN108830093B (en) Management method of terminal equipment operation authority, server and terminal equipment
CN107147501A (en) Timestamp processing method and processing device
EP2884719A1 (en) Information processing method, and priority information sending method and device
CN104954322A (en) Account binding method, device and system
CN111163130B (en) Network service system and data transmission method thereof
CN104253741A (en) Information sending method and device and system thereof
CN104283975A (en) File distribution method and device
CN107733788B (en) Anonymous group chat method, device and equipment
CN113746722B (en) Information processing method, device, equipment and storage medium
CN110856124B (en) Message state determination method and device, computing equipment and storage medium
CN110311855B (en) User message processing method and device, electronic equipment and storage medium
CN114666048A (en) Data processing method and device, electronic equipment and storage medium
CN113518028A (en) Group chat method and device based on distinguishing group owner and group member
CN111784425B (en) Order number generation method, exception handling method and device
CN110135190B (en) Data management method, server and computer storage medium
CN111277488A (en) Session processing method and device
KR20130102197A (en) Whistle blower system using terminal and method thereof
CN106469166A (en) A kind of information processing method and device
CN107204914B (en) Information processing method and device, computer device and storage medium
CN106912032B (en) Information processing method, system, client and server
CN115292729A (en) Privacy-protecting multi-party data processing method, device and equipment
CN110493735B (en) Short message processing method and device
CN110472977B (en) Transaction record generation method of blockchain and related equipment
CN105471951A (en) Determination method and device for applications to be recommended, server and terminal 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