CN115499403A - Message processing method and device, electronic equipment and storage medium - Google Patents

Message processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115499403A
CN115499403A CN202211140107.7A CN202211140107A CN115499403A CN 115499403 A CN115499403 A CN 115499403A CN 202211140107 A CN202211140107 A CN 202211140107A CN 115499403 A CN115499403 A CN 115499403A
Authority
CN
China
Prior art keywords
reminding
target
time
preset
candidate
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.)
Pending
Application number
CN202211140107.7A
Other languages
Chinese (zh)
Inventor
包艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202211140107.7A priority Critical patent/CN115499403A/en
Publication of CN115499403A publication Critical patent/CN115499403A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present disclosure provides a message processing method, device, electronic device, storage medium and program product, which relate to the technical field of artificial intelligence, and in particular to the technical field of intelligent office and instant messaging. The specific implementation scheme is as follows: in response to detecting the message alert instruction, determining a candidate alert object, the candidate alert object being an object for which the available resource value is less than or equal to a first predetermined threshold; generating an interactive message corresponding to the target reminding object according to the available resource value under the condition that the candidate reminding object is determined to be the target reminding object according to a preset reminding strategy, wherein the preset reminding strategy is used for determining whether the candidate reminding object is the target reminding object; and sending the interactive message to the client corresponding to the target reminding object in a preset reminding time period so that the client can display the interactive message.

Description

Message processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of artificial intelligence technology, and more particularly, to the field of intelligent office and instant messaging technology. And in particular to a message processing method, apparatus, electronic device, storage medium and program product.
Background
The message pushing refers to active message pushing performed by an operator on a client corresponding to a user through an operation platform or a third-party tool. Through message pushing, a user can see message notification in a client notification bar or a status bar, and the user is prompted to perform subsequent operation on the pushed message. As the technology of message pushing becomes more mature, the problems brought by message pushing cannot be ignored. For example, the message pushing is frequent, which brings message interference to the user; or the personalized requirements of the user are not met, so that the user is not interested in the pushed message, and the like.
Disclosure of Invention
The disclosure provides a message processing method, a message processing apparatus, an electronic device, a storage medium, and a program product.
According to an aspect of the present disclosure, there is provided a message processing method, including: in response to detecting the message reminding instruction, determining a candidate reminding object, wherein the candidate reminding object is an object of which the available resource value is less than or equal to a first preset threshold value; under the condition that the candidate reminding object is determined to be a target reminding object according to a preset reminding strategy, generating an interactive message corresponding to the target reminding object according to the available resource value, wherein the preset reminding strategy is used for determining whether the candidate reminding object is the target reminding object; and sending the interactive message to a client corresponding to the target reminding object in a preset reminding time period so that the client can display the interactive message.
According to another aspect of the present disclosure, there is provided a message processing apparatus including: the response module is used for responding to the detected message reminding instruction and determining a candidate reminding object, wherein the candidate reminding object is an object of which the available resource value is less than or equal to a first preset threshold value; a generating module, configured to generate an interactive message corresponding to a target reminding object according to the available resource value when the candidate reminding object is determined to be the target reminding object according to a predetermined reminding policy, where the predetermined reminding policy is used to determine whether the candidate reminding object is the target reminding object; and the sending module is used for sending the interactive message to the client corresponding to the target reminding object in a preset reminding time interval so that the client can display the interactive message.
According to another aspect of the present disclosure, there is provided an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method as described above.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method as described above.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 schematically illustrates an exemplary system architecture to which the message processing method and apparatus may be applied, according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow chart of a message processing method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a flow chart for determining a target reminder object according to another embodiment of the present disclosure;
FIG. 4 schematically illustrates an interactive message card diagram according to an embodiment of the disclosure;
FIG. 5 schematically shows a block diagram of a message processing apparatus according to an embodiment of the present disclosure; and
fig. 6 schematically shows a block diagram of an electronic device adapted to implement a message processing method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 schematically shows an exemplary system architecture to which the message processing method and apparatus may be applied, according to an embodiment of the present disclosure.
It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios. For example, in another embodiment, an exemplary system architecture to which the message processing method and apparatus may be applied may include a client, but the client may implement the message processing method and apparatus provided in the embodiments of the present disclosure without interacting with a server.
As shown in fig. 1, a system architecture 100 according to this embodiment may include a client 101, a third party server 102, and a server 103. The network serves as a medium for providing communication links between clients 101 and servers 103, between clients 101 and third-party servers 102, and between third-party servers 102 and servers 103. The network may include various connection types, such as wired and/or wireless communication links, and so forth.
A user may use the client 101 to interact with the server 103 over a network to receive or send interactive messages or the like. The client 101 may have various Messaging client applications installed thereon, such as a knowledge reading application, a web browser application, a search application, an Instant Messaging (IM) tool, office software, a mailbox client, and/or social platform software, for example only.
The client 101 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The third party server 102 may be a server that provides services to a third party company, which may be a vendor that provides stored value cards. The third party server 102 may be utilized to provide management, logging, etc. services to the stored value cards over their life cycle. For example, the stored value card may be monitored in real time for available resource values, replenishment records, consumption records, and the like.
The third party server 102 may periodically send information about the stored value card to the server 103 and may also provide a query interface to the server 103 for communicative connection with the server 103 via the query interface.
The query interface may include at least one of a single card query interface 1021, a batch query interface 1022, and a paging query interface 1023. The single card interrogation interface 1021 may comprise an interrogation interface that interrogates a stored value card. The batch query interface 1022 may comprise a query interface that queries all stored value cards at once. The paging query interface 1023 can include a query interface that pages a collection of stored-value cards. The server 103 for performing the message processing method may be communicatively coupled to the third party server 102 using a query interface to obtain a value of an available resource of the stored value card based on the identification information of the stored value card, such as the card number.
The server 103 may be a server that provides various services, such as balance reminders of available resource values for stored-value cards held by users by sending interactive messages to the users' clients 101.
The server 103 may include a reminder module 1031 and a replenishment module 1032. The reminder module 1031 can be utilized to obtain values of available resources from the third-party server 102. And based on the available resource value, sending an interactive message to the client 101 corresponding to the target reminding object. The complementary module 1032 can be utilized to update the interaction message according to the interaction operation in response to receiving the interaction operation of the target reminder object from the client 101.
The message processing method provided by the embodiment of the present disclosure may also be generally executed by the server 103. Accordingly, the message processing apparatus provided by the embodiment of the present disclosure may be generally disposed in the server 103. The message processing method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster that is different from the server 103 and is capable of communicating with the client 101 and/or the server 103. Correspondingly, the message processing apparatus provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster that is different from the server 103 and is capable of communicating with the client 101 and/or the server 103.
For example, the server 103 determines, by the third party server 102, a value of the available resources of the object in response to detecting the message alert instruction. And determining candidate reminding objects based on the available resource values. And under the condition that the candidate reminding object is determined to be the target reminding object according to the preset reminding strategy, generating an interactive message corresponding to the target reminding object according to the available resource value. And sending the interactive message to the client 101 corresponding to the target reminding object in a preset reminding period so that the client 101 displays the interactive message.
It should be understood that the number of clients, networks, and servers in FIG. 1 is merely illustrative. There may be any number of clients, networks, and servers, as desired for an implementation.
It should be noted that the sequence numbers of the respective operations in the following methods are merely used as representations of the operations for description, and should not be construed as representing the execution order of the respective operations. The method need not be performed in the exact order shown, unless explicitly stated.
Fig. 2 schematically shows a flow chart of a message processing method according to an embodiment of the present disclosure.
As shown in FIG. 2, the method 200 includes operations S210-S230.
In operation S210, in response to detecting the message alert instruction, a candidate alert object is determined. Candidate reminder objects are objects for which the value of the available resources is less than or equal to a first predetermined threshold.
In operation S220, in a case that the candidate alert object is determined to be the target alert object according to the predetermined alert policy, an interactive message corresponding to the target alert object is generated according to the available resource value. The predetermined reminder policy is used to determine whether the candidate reminder object is the target reminder object.
In operation S230, an interactive message is sent to the client corresponding to the target reminder object for the client to display the interactive message in a predetermined reminder period.
According to an embodiment of the present disclosure, the message alert instruction may be a message alert instruction for a stored value card. Stored value cards may refer to cards having replenishable, consumable functions. Such as movie cards, meal cards, game cards, and the like. The message reminding instruction is divided according to a triggering source, and can comprise a message reminding instruction automatically triggered by a server or a message reminding instruction triggered based on a message reminding request of a client. The message reminding instruction is divided according to the generation time, and may be a message reminding instruction generated according to a preset time interval, or a message reminding instruction generated randomly.
According to another embodiment of the disclosure, the message alert instruction may also be generated based on a value of an available resource within the stored-value card. For example, the available resource value of each stored-value card is monitored in real time, and a message reminding instruction is generated under the condition that the available resource value of any stored-value card is determined to be less than or equal to a first preset threshold value.
According to embodiments of the present disclosure, a candidate reminder object may be a user that holds a stored-value card and has an available resource value stored within the stored-value card that is less than or equal to a first predetermined threshold. Candidate alert objects having an available resource value of the stored-value card less than or equal to a first predetermined threshold may be determined based on a mapping between the identity of the stored-value card and the identity of the user.
According to embodiments of the present disclosure, the available resource value may refer to the amount of value of the resource that may be redeemed or consumed for a transaction. For example, where the stored value card is a meal card, the available resource value may be indicative of the amount that can be redeemed for food. For example, where the stored value card is a movie card, the available resource value may represent the number of movie tickets that may be purchased. More available resource values indicate greater value, and less available resource values indicate less value. The first predetermined threshold value may be preset according to actual conditions, and the value of the available resources in the stored-value card is measured by using the first predetermined threshold value. And determining that the balance of the stored-value card is insufficient when the available resource value is less than or equal to a first preset threshold value, wherein when the transaction is exchanged or consumed by using the available resource value in the stored-value card, the transaction exchange operation may fail.
Taking a value card as an example, when the value of available resources in the value card is small, the problem of insufficient value of available resources is easily encountered when the value card is used for purchasing food, and further the problem of blocking of dining teams or needing to arrange long teams for supplement at a supplement place due to insufficient value in the value card is easily caused.
According to the embodiment of the disclosure, the candidate reminding objects can be screened according to the preset reminding strategy, and whether the candidate reminding objects are the target reminding objects or not is determined. The target reminder object may refer to: and (4) users with the use frequency of the stored-value card higher than the preset frequency threshold value and the available resource value less than or equal to the first preset threshold value. And under the condition that the candidate reminding object is determined to be the target reminding object, sending an interactive message to the client corresponding to the target reminding object in a preset reminding time period. The interactive message may be used to characterize a message that the available resource value is less than or equal to a first predetermined threshold, or that "the available resource value is small and will affect the usage" or other semantics. Therefore, the client displays the interactive message to the target reminding object in time and reminds the target reminding object to supplement in time.
According to the embodiment of the disclosure, by using the predetermined reminding strategy, the target reminding objects with smaller available resource values, for example, less than or equal to a first predetermined threshold value, and higher activity, for example, frequently using the stored-value card, can be determined, so as to avoid that the objects with smaller available resource values, for example, less than or equal to the first predetermined threshold value, but with lower activity, for example, the usage frequency of the stored-value card is lower than the predetermined frequency threshold value, are mistakenly determined as the target reminding objects, and the interactive message is sent to some objects with lower usage frequency of the stored-value card, thereby causing message disturbance.
According to an embodiment of the present disclosure, the predetermined reminding time period may be a preset reminding time period, and in the case of using a stored-value card as a meal card, the predetermined reminding time period may be a time period before lunch time or a time period before dinner time. And sending an interactive message to the client corresponding to the target reminding object in a preset reminding time period, so that the target reminding object is ensured not to be influenced by work, study and life according to actual conditions, and a timely reminding effect is achieved.
By using the message processing method provided by the embodiment of the disclosure, the target reminding object can be timely reminded of the available resource value by using the interactive message, the problem of transaction failure of the user in the transaction exchange process is avoided, and the convenience and experience of the user are improved.
According to an embodiment of the present disclosure, for operation S210 shown in fig. 2, in response to detecting the message alert instruction, determining the candidate alert object may include the following operations.
For example, in response to detecting the message alert instruction, an available resource value for the stored-value card is determined. In the event that it is determined that the value of the available resources is less than or equal to the first predetermined threshold, the user holding the stored-value card is determined to be a candidate reminder object.
Determining the value of the available resources of the stored-value card may include a push acquisition approach, according to embodiments of the present disclosure. For example, an available resource value is received from a third party server for a stored value card. But is not limited thereto and may include a pull acquisition manner. For example, the value of the available resources on the stored-value card is obtained through a query interface provided by a third-party server.
According to an embodiment of the present disclosure, the query interface includes at least one of a single card query interface, a batch query interface, and a paging query interface. The single card interrogation interface may comprise an interrogation interface for interrogating a stored value card. The batch query interface may include a query interface that queries all stored value cards at once. The paging query interface may include a query interface that pages a collection of stored-value cards. The server for performing the message processing method may be communicatively coupled to a third party server using a query interface to obtain a value of available resources of the stored value card based on identification information of the stored value card, such as a card number.
According to the embodiment of the disclosure, the push acquisition mode is utilized, and the synchronization to a plurality of servers can be realized, so that the real-time performance of the acquired available resource numerical value is met. By using the pull acquisition mode, the diversity of the modes for acquiring the available resource numerical value can be met.
According to another embodiment of the present disclosure, in the case that it is determined that the available resource value of the user is less than or equal to the first predetermined threshold value, the user may be taken as a candidate reminder object. And directly taking the candidate reminding object as a target reminding object. And generating an interactive message corresponding to the target reminding object according to the available resource value. And sending an interactive message to a client corresponding to the target reminding object in a preset time period.
According to the embodiment of the disclosure, compared with the case that the candidate reminding object is directly used as the target reminding object, the candidate reminding object is determined to be the target reminding object according to the preset reminding strategy, so that the candidate reminding object with low activity can be excluded, and accurate reminding is realized.
Taking the value card as a meal card as an example, the user holding the value card never takes meals in the corresponding restaurant and takes meals or takes orders for taking out. The user activity of the type of the stored value card is low. And comparing the first preset threshold value with the available resource value, wherein the available resource value in the stored-value card of the user is always smaller than the first preset threshold value. Directly taking the object as a target reminding object, sending an interactive message to a client corresponding to the target reminding object, and disturbing the user holding the stored-value card. Also for example, a user who has a high activity on a stored-value card may not have meals at the restaurant during, for example, non-work day hours such as weekends, holidays, or business trips. In this case, therefore, such users need not be targeted for reminders even if the value of the available resources in the stored-value card is always less than the first predetermined threshold.
According to the embodiment of the disclosure, the candidate reminding objects in the above situation can be excluded by using a predetermined reminding strategy, and the remaining candidate reminding objects are used as the target reminding objects, so that the sending amount of the interactive message is simplified and message disturbance to unnecessary users is avoided.
The predetermined reminder policy will be explained in detail below.
According to another embodiment of the present disclosure, for operation S220 shown in fig. 2, in a case that it is determined that the candidate reminder object is the target reminder object according to the predetermined reminder policy, generating the interactive message corresponding to the target reminder object according to the available resource value may include the following operations.
The matching condition is determined, for example, according to a predetermined reminder policy. And determining the candidate reminding object meeting the matching condition as the target reminding object. And generating an interactive message corresponding to the target reminding object according to the available resource value.
According to an embodiment of the present disclosure, the matching condition includes at least one of: the method comprises the steps of inquiring a time matching condition, executing a successful time matching condition and an available resource value matching condition.
According to an embodiment of the present disclosure, the query time matching condition may include: a match condition between the actual query time and the expected query time. For example, if the actual query time is matched with the expected query time, the actual query time meets the query time matching condition; and if the actual query time is not matched with the expected query time, the actual query time does not meet the query time matching condition. The actual query moment represents an actual execution moment of the first predetermined query task, and the expected query moment represents a theoretical execution moment of the first predetermined query task. The first predetermined query task characterizes a first predetermined round of tasks for querying the candidate reminder object for available resource values.
According to the embodiment of the disclosure, the actual reminding time represents the actual execution time of the predetermined reminding task, the target query time represents the actual execution time of the second predetermined query task, the predetermined reminding task represents the tasks of the first predetermined round for reminding the target of the available resource values of the reminding object, the second predetermined query task represents the tasks of the second predetermined round for querying the available resource values of the candidate reminding object, and the second predetermined round is the round after the first predetermined round.
According to the embodiment of the disclosure, the message processing method can comprise a query task and a reminding task. The query task is used for querying the available resource value. The reminder task is used to send interactive messages. The query task occurs earlier than the reminding tasks in the same round.
Take the operation of executing the message processing method twice a day as an example. The first predetermined query task occurs in the morning and characterizes a first predetermined turn of tasks for querying the candidate reminder object for available resource values. The second predetermined query task occurs in the afternoon and characterizes a second predetermined turn of tasks for querying the candidate reminder objects for available resource values. The first predetermined query task may be the theoretically executed query task that was the most recent time as the second predetermined query task. For example, the expected query time may be a theoretical execution time for executing the first predetermined query task. For example, the expected query time is 10 a.m.: 50. the actual query moment is the actual execution moment when the first predetermined query task is executed. For example, the actual query time is 10:51. the actual reminding time represents an actual execution time of the scheduled reminding task, for example, the actual reminding time is 11:01. the target query time is an actual execution time for executing the second predetermined query task, for example, 4 pm: 51.
according to an embodiment of the present disclosure, the resource value to be compared may refer to an available resource value at a historical time. The available resource value may refer to the available resource value at the current time. Taking the second predetermined query task as an example, the value of the available resource obtained by querying through the second predetermined query task is obtained. And obtaining the resource value to be compared by executing the first preset query task relative to the first preset query task.
It should be noted that the matching between the actual query time and the expected query time may be that the actual query time is the same as the expected query time, but is not limited to this, and the time interval between the actual query time and the expected query time may also be smaller than or equal to the predetermined time interval threshold. Otherwise, if the time interval between the actual query time and the expected query time is greater than the predetermined time interval threshold, the actual query time and the expected query time are not matched.
According to an embodiment of the present disclosure, the performing of the successful time matching condition may include: a matching condition between the actual execution success time and the expected execution success time. For example, if the actual execution success time is matched with the expected execution success time, the actual execution success time meets the execution success time matching condition; and if the actual execution success time is not matched with the expected execution success time, the actual execution success time does not meet the execution success time matching condition.
According to an embodiment of the present disclosure, the expected execution success time may refer to a theoretical execution success time when the task of sending the interactive message is executed, for example, the expected execution success time is 11 points. The actual execution success time is 11:05.
according to the embodiment of the present disclosure, the determination manner of the matching between the actual execution success time and the expected execution success time is similar to the determination manner of the matching between the actual query time and the expected query time, and is not described herein again.
According to an embodiment of the present disclosure, the available resource value matching condition may include: a match condition between the available resource value and the resource value to be compared. For example, if the available resource value is matched with the resource value to be compared, the available resource value meets the available resource value matching condition; and if the available resource value is not matched with the resource value to be compared, the available resource value does not meet the available resource value matching condition.
According to the embodiment of the present disclosure, the matching between the available resource value and the resource value to be compared can be understood as: the value of the available resource is the same as the value of the resource to be compared. Conversely, the mismatch between the available resource value and the resource value to be compared can be understood as: the value of the available resource is different from the value of the resource to be compared.
According to the embodiment of the present disclosure, the predetermined reminding policy may include any one of a reminding policy using a query time matching condition, a reminding policy using an execution success time matching condition, and a reminding policy using an available resource value matching condition. But not limited to this, the predetermined reminding policy may further include any two or three of a reminding policy using a query time matching condition, a reminding policy using an execution success time matching condition, and a reminding policy using an available resource value matching condition.
For example, according to a predetermined reminding strategy, the matching conditions are determined to include a query time matching condition, an execution success time matching condition and an available resource value matching condition. The preset reminding strategy comprises the following steps: and under the condition that the actual query time of the candidate reminding object does not meet the query time matching condition, determining whether the actual execution success time meets the execution success time matching condition. And under the condition that the actual execution success time of the candidate reminding object meets the execution success time matching condition, determining the candidate reminding object as the target reminding object. And under the condition that the actual execution success time of the candidate reminding object is determined not to meet the execution success time matching condition, determining whether the available resource value meets the available resource value matching condition or not. And under the condition that the available resource value is determined not to meet the available resource value matching condition, determining the candidate reminding object as the target reminding object. And under the condition that the available resource value is determined to meet the available resource value matching condition, determining whether the relation between the actual reminding time and the target query time meets a preset condition. And under the condition that the available resource value is matched with the resource value to be compared and the relation between the actual reminding time and the target query time meets a preset condition, determining that the candidate reminding object is the target reminding object.
According to an embodiment of the present disclosure, the predetermined alert policy further includes: and under the condition that the actual query time of the candidate reminding object meets the query time matching condition, determining whether the available resource value meets the available resource value matching condition. And under the condition that the available resource value is determined to meet the available resource value matching condition, determining whether the relation between the actual reminding time and the target query time meets a preset condition. And under the condition that the available resource value is matched with the resource value to be compared and the relation between the actual reminding time and the target query time meets a preset condition, determining that the candidate reminding object is the target reminding object. And under the condition that the available resource value is matched with the resource value to be compared and the relation between the actual reminding time and the target query time does not meet the preset condition, stopping operation.
FIG. 3 schematically illustrates a flow chart for determining a target reminder object according to another embodiment of the present disclosure.
As shown in FIG. 3, the method 300 includes operations S301-S308.
In operation S301, in response to detecting the message alert instruction, candidate alert objects are determined.
In operation S302, it is determined whether the actual query time matches the expected query time. In the case where it is determined that the actual query time does not match the expected query time, operation S303 is performed, and in the case where it is determined that the actual query time matches the expected query time, operation S304 is performed.
According to an embodiment of the present disclosure, determining that the actual query time does not match the expected query time may be understood as: and determining that the actual query time does not meet the query time matching condition. It may be determined preliminarily that the query task has a service failure issue or that the candidate reminder object is an inactive user.
In operation S303, it is determined whether the actual execution success timing matches the expected execution success timing. In the case where it is determined that the actual execution success timing matches the expected execution success timing, operation S307 is performed. In a case where it is determined that the actual execution success timing does not match the expected execution success timing, operation S304 is performed.
According to the embodiment of the present disclosure, the actual execution success time matches the expected execution success time, which may be understood as: and determining that the actual execution success moment meets the execution success moment matching condition. It may be determined that the query task may be a service failure issue, excluding the possibility that the candidate reminder object is an inactive user.
In operation S304, it is determined whether the available resource value and the resource value to be compared match. In case it is determined that the available resource value and the resource value to be compared do not match, operation S307 is performed. In case it is determined that the available resource value matches the resource value to be compared, operation S305 is performed.
According to an embodiment of the present disclosure, determining that the available resource value and the resource value to be compared are not matched may be understood as: and determining that the available resource value does not meet the available resource value matching condition. It is determined that the candidate alert object may have been used to replenish or consume the stored value card. The possibility that the candidate reminder object is an inactive user is excluded. Determining that the candidate reminder object is the target reminder object.
In operation S305, it is determined whether there is an actual reminder moment. In the case where it is determined that there is an actual reminder moment, operation S306 is performed. In the case where it is determined that there is no actual reminder moment, operation S308 is performed.
In operation S306, it is determined whether a relationship between the actual reminder time and the target inquiry time satisfies a predetermined condition. In a case where it is determined that the relationship between the actual reminder time and the target inquiry time satisfies the predetermined condition, operation S307 is performed. In a case where it is determined that the relationship between the actual reminder time and the target inquiry time does not satisfy the predetermined condition, operation S308 is performed.
According to the embodiment of the disclosure, the actual reminding time represents the actual execution time of the predetermined reminding task, the target query time represents the actual execution time of the second predetermined query task, the predetermined reminding task represents the tasks of the first predetermined round for reminding the available resource values of the target reminding object, the second predetermined query task represents the tasks of the second predetermined round for querying the available resource values of the candidate reminding object, and the second predetermined round is the round after the first predetermined round.
According to an embodiment of the present disclosure, the relationship between the actual reminding time and the target query time may include: the scheduled reminding task corresponding to the actual reminding time is a task of the previous turn of the scheduled inquiry task corresponding to the target inquiry time or the scheduled reminding tasks corresponding to the actual reminding time are tasks of a plurality of previous turns of the scheduled inquiry tasks corresponding to the target inquiry time.
For example, the actual reminder time is yesterday at 5 pm. The scheduled reminding task corresponding to the actual reminding time is yesterday's second reminding task. The target query time is 10 a.m. today: 51. the preset query task corresponding to the target query moment is the first query task of today. The two are adjacent rounds. And determining that the scheduled reminding task corresponding to the actual reminding time is the task of the previous round of the scheduled query task corresponding to the target query time.
And under the condition that the preset reminding task corresponding to the actual reminding time is determined to be the task of the previous turn of the preset query task corresponding to the target query time, determining that the relation between the actual reminding time and the target query time meets the preset condition.
According to the embodiment of the disclosure, the time when the last reminding task is successfully operated is recorded, and when the query task is executed, the relation between the theoretical last reminding task time and the current query task time is compared, so that the situation that an inactive user is mistakenly judged as an active user is avoided.
In operation S307, it is determined that the candidate reminder object is the target reminder object.
In operation S308, it is determined that the candidate reminder object is not the target reminder object.
According to the embodiment of the disclosure, by using the predetermined reminding strategy, the situation that the inactive user is determined as the active user with the supplement operation or the consumption operation due to the service failure problem is avoided, and then the interactive message is sent to the inactive user to disturb the inactive user, so that the use experience is improved.
According to an embodiment of the present disclosure, between operations S301 and S302 as shown in fig. 3, the following operations may also be performed. For example, it is determined whether a business record exists for the stored-value card of the candidate reminder object. In a case where it is determined that there is no service record, performing operation S307; in case it is determined that there is a service record, operation S302 is performed.
According to an embodiment of the present disclosure, the business records may be stored in a database in the form of a log. The business records may include one or more of available resource value records, consumption records, replenishment records, records for sending interactive messages to clients.
According to embodiments of the present disclosure, if the stored-value card does not have a business record, the stored-value card may be declared to be a newly transacted stored-value card. For a newly processed stored-value card, a candidate reminder object holding the stored-value card may be determined to be a target reminder object if the available resource value is less than or equal to a first predetermined threshold.
According to an embodiment of the present disclosure, after performing operation S230 as shown in fig. 2, and sending an interactive message to a client corresponding to the target alert object in a predetermined alert period, the message processing method may further include operations of: and updating the actual execution success moment corresponding to the target reminding object.
According to an embodiment of the present disclosure, updating the actual execution success time corresponding to the target reminder object may include: and replacing the latest actual execution success time with the actual execution success time of the history. The actual successful execution time is guaranteed to be the latest time, and is not limited herein.
According to the embodiment of the disclosure, the actual execution success moment corresponding to the target reminding object is updated, so that the real-time performance of the actual execution success moment can be ensured, the auxiliary preset reminding strategy is facilitated, and the accuracy of determining the target reminding object from the candidate reminding objects is improved.
According to an embodiment of the present disclosure, in operation S230 shown in fig. 2, after sending the interactive message to the client corresponding to the target alert object in the predetermined alert period, the message processing method may further include operations of: feedback information regarding the interaction message is received. And determining whether the interactive message is successfully sent or not based on the feedback information.
According to the embodiment of the disclosure, under the condition that the interactive message is determined not to be successfully sent to the client corresponding to the target reminding object, under the condition that the time difference value between the time and the actual execution failure time reaches the second preset threshold value, the interactive message is sent to the client corresponding to the target reminding object again.
According to the embodiment of the disclosure, the interactive message may not be successfully sent to the client corresponding to the target reminding object due to network jitter, downstream service failure or request timeout.
According to the embodiment of the disclosure, under the condition that the interactive message is determined not to be successfully sent to the client side corresponding to the target reminding object, the actual execution failure moment is recorded. And recording the time difference between the current time and the actual execution failure time. And under the condition that the time difference value between the actual execution failure time and the actual execution failure time reaches a second preset threshold value, the interactive message is sent to the client side corresponding to the target reminding object again.
According to the embodiment of the disclosure, whether the interactive message is sent successfully or not can be determined by using the feedback information, and the interactive message is sent to the client side corresponding to the target reminding object again under the condition that the interactive message is not sent to the client side corresponding to the target reminding object successfully. Multiple transmissions may be utilized to ensure successful transmission of the interactive message.
According to the embodiment of the present disclosure, the second predetermined threshold may be utilized to control the transmission time interval between two adjacent interactive messages. The sending frequency of the interactive message is controlled while the interactive message is ensured to be sent successfully, and the operation of sending the interactive message is avoided being executed frequently for many times.
According to the embodiment of the disclosure, the interactive message which is failed to be actually executed can be used as the task which is failed to be sent, the task which is failed to be sent is submitted to the delay task pool, after the time difference value between the time when the time is failed to be actually executed reaches the second preset threshold value is determined, the task which is sent is re-executed, for example, the interactive message is sent to the client side corresponding to the target reminding object again, and the corresponding task log is configured.
According to the embodiment of the disclosure, in a case that it is determined that the time difference value between the actual execution failure time and the target execution failure time reaches the second predetermined threshold value, the sending of the interactive message to the client corresponding to the target reminding object is resumed may further include the following operations.
For example, the number of execution failures to send the interactive message is recorded. And under the condition that the execution failure times are determined to be less than or equal to a third preset threshold, and under the condition that the time difference value between the execution failure times and the actual execution failure time reaches a second preset threshold, the interactive message is sent to the client corresponding to the target reminding object again. And under the condition that the execution failure times are determined to be larger than a third preset threshold value, stopping sending the interactive message to the client corresponding to the target reminding object.
According to the embodiment of the disclosure, by using the third predetermined threshold, the problem of resource waste caused by continuously sending the interactive message can be avoided under the condition that the interactive message cannot be successfully sent even if the interactive message is repeatedly sent again.
According to an embodiment of the present disclosure, the interactive message may include information without interactive capability such as text, pictures, links, etc. for displaying the available resource values. But is not limited thereto and the interactive message may also include an interactive control. The interaction control may be a control for embodying an object interaction instruction. The interactive controls include one or more of buttons, input boxes, selection boxes, and the like.
According to the embodiment of the disclosure, the object can utilize the interactive control to automatically perform interactive operations such as historical record query, available resource numerical query and supplement. The interactive message can be a dynamic interactive message card, and the corresponding message update can be generated according to the object interactive instruction.
Fig. 4 schematically illustrates an interactive message card diagram according to an embodiment of the disclosure.
As shown in fig. 4, the interactive message may be presented in the form of an interactive message card 400. The interaction information includes, for example, a value for indicating available resources "your available resources value: in addition to the text of xxx ", supplemental controls may also be included. The supplemental control may include a supplemental numeric selection box 401 and may also include a supplemental confirmation box 402.
According to the embodiment of the disclosure, the interactive message not only comprises a message of a character or picture type, but also comprises an interactive control, so that a supplementary service is provided while an available resource value is displayed, and the situation that a target reminding object needs to perform returning operation, login supplementary interface operation and the like under the condition that the balance is insufficient and the target reminding object needs to be supplemented is avoided, so that the convenience of a user is improved.
According to an embodiment of the present disclosure, after the operation S230 sends the interactive message to the client corresponding to the target alert object in the predetermined alert period, the message processing method may further include the operation of: and in response to receiving the interactive operation of the target reminding object from the client, updating the interactive message according to the interactive operation.
According to the embodiment of the disclosure, after the target reminding object sees the interactive message by using the client, the interactive control in the interactive message can be used for performing interactive operation, such as supplementary interactive operation. The server may update the interactive message according to the interactive operation in response to receiving the interactive operation of the target reminder object from the client. For example, the value of the available resource in the interactive message is updated.
According to the embodiment of the disclosure, the interactive message is updated in response to the receiving of the interactive operation of the target reminding object from the client, so that the value of the available resource of the target reminding object can be updated in real time, and the real-time performance and the safety of the available resource are further ensured.
According to an embodiment of the present disclosure, after operation S230 as shown in fig. 2, the message processing method may further include the following operations: in the event that the target alert object is determined to be a predetermined gray scale test object, the target alert object is added to the set of gray scale test objects. The gray test object set is an object set for performing a gray test.
According to an embodiment of the present disclosure, the grayscale test may refer to a small-flow verification test performed before an application program of a predetermined version is brought online. The predetermined version of the application program may refer to an application program for processing an upgraded version of the message processing method of the embodiment of the present disclosure. The effect of the business services provided by the predetermined version of the application may be determined by a gray scale test.
According to an embodiment of the present disclosure, an object filtering rule may be set in advance. And determining whether the target reminding object is a preset gray-scale test object or not based on the object screening rule. The object filtering rules may include: activity rules, available resource value rules and other object attribute rules. Liveness rules may include: and in the case that the activity of the target reminding object is higher than the preset activity threshold value, determining that the target reminding object is a preset gray-scale test object. Otherwise, the target reminding object is determined to be a non-predetermined gray scale test object. The available resource value rules may include: and determining that the target reminding object is a preset gray-scale test object under the condition that the available resource value is larger than a preset resource threshold value. Otherwise, the target reminding object is determined to be a non-predetermined gray scale test object. And in the case that the target reminding object is determined to be the preset gray-scale test object, adding the target reminding object to the gray-scale test object set. And performing gray level test on the objects in the gray level test object set according to the gray level test object set. To collect feedback from objects in the set of gray scale test objects and to determine a gray scale test effect based on the feedback.
According to the embodiment of the disclosure, the preset gray test object can be determined from the target reminding object, and the gray test is performed, so that the gray test effect is representative while the data volume of the gray test set is controlled to be small and the processing amount is reduced, and the precision of the gray test result is improved.
According to another embodiment of the present disclosure, the message processing method may be applied to a server group. The server group comprises a plurality of servers. The plurality of servers can execute the message processing method at the same time with each other, thereby avoiding the problem that the message processing method is not executable due to the failure of a single server. To avoid multiple servers executing a reminder task for the same target reminder object at the same time, a distributed locking mechanism may be used to determine a target server from among the multiple servers to execute the reminder task for the target reminder object. Meanwhile, in the task, in order to avoid the situation that the whole reminding task fails due to faults when the reminding task of a certain target reminding object is processed, the execution logic between the target reminding object and the target reminding object can be separated.
In the technical scheme of the disclosure, the collection, storage, use, processing, transmission, provision, disclosure and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations and do not violate the good customs of the public order.
Fig. 5 schematically shows a block diagram of a message processing apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the message processing apparatus 500 includes: a response module 510, a generation module 520, and a transmission module 530.
A response module 510, configured to determine candidate alert objects in response to detecting the message alert instruction. Candidate reminder objects are objects for which the value of the available resources is less than or equal to a first predetermined threshold.
The generating module 520 is configured to generate an interactive message corresponding to the target reminding object according to the available resource value when the candidate reminding object is determined to be the target reminding object according to the predetermined reminding policy. The predetermined reminder policy is used to determine whether the candidate reminder object is the target reminder object.
A sending module 530, configured to send, in a predetermined reminding period, an interactive message to the client corresponding to the target reminding object, so that the client displays the interactive message.
According to an embodiment of the disclosure, the generating module includes: the device comprises a first determining submodule, a second determining submodule and a generating submodule.
And the first determining submodule is used for determining the matching condition according to a preset reminding strategy. The matching condition includes at least one of: inquiring a time matching condition, executing a successful time matching condition and an available resource numerical value matching condition.
And the second determining sub-module is used for determining the candidate reminding objects meeting the matching conditions as the target reminding objects.
And the generating submodule is used for generating the interactive message corresponding to the target reminding object according to the available resource value.
According to an embodiment of the disclosure, in a case where it is determined that the actual query time does not match the expected query time, the second determination sub-module includes: a first determining unit and a second determining unit.
And the first determination unit is used for determining that the candidate reminding object is the target reminding object under the condition that the actual execution success time is matched with the expected execution success time.
A second determination unit, configured to determine that the candidate alert object is the target alert object if it is determined that the actual execution success time does not match the expected execution success time and if it is determined that the available resource value does not match the resource value to be compared,
according to the embodiment of the disclosure, the actual query time represents the actual execution time of the first predetermined query task, the expected query time represents the theoretical execution time of the first predetermined query task, and the first predetermined query task represents the task of the first predetermined round for querying the available resource value of the candidate reminding object.
According to an embodiment of the present disclosure, in a case where it is determined that the actual query time matches the expected query time, the message processing apparatus further includes: the device comprises a first determination module and a second determination module.
The first determination module is used for determining that the candidate reminding object is the target reminding object under the condition that the available resource value is determined not to be matched with the resource value to be compared.
A second determination module for determining that the candidate reminding object is the target reminding object under the condition that the available resource value is matched with the resource value to be compared and the relation between the actual reminding time and the target inquiry time meets the preset condition,
according to the embodiment of the disclosure, the actual reminding time represents the actual execution time of the scheduled reminding task, the target inquiry time represents the actual execution time of the second scheduled inquiry task, the scheduled reminding task represents the task of the first scheduled turn for reminding the target of the available resource value of the reminding object, the second scheduled inquiry task represents the task of the second scheduled turn for inquiring the available resource value of the candidate reminding object, and the second scheduled turn is the turn after the first scheduled turn.
According to an embodiment of the present disclosure, the message processing apparatus further includes: and adding a module.
And the adding module is used for adding the target reminding object to a gray test object set under the condition that the target reminding object is determined to be a preset gray test object, wherein the gray test object set is an object set for performing gray test.
According to an embodiment of the present disclosure, the message processing apparatus further includes: a first update module.
And the first updating module is used for updating the actual execution success moment corresponding to the target reminding object.
According to the embodiment of the present disclosure, in a case that it is determined that the interactive message is not successfully sent to the client corresponding to the target reminder object, the message processing apparatus further includes: and a module is sent again.
And the resending module is used for resending the interactive message to the client corresponding to the target reminding object under the condition that the time difference between the actual execution failure time and the actual execution failure time reaches a second preset threshold value.
According to an embodiment of the present disclosure, in a case where it is determined that the number of execution failures is less than or equal to a third predetermined threshold, the retransmission module includes: and a retransmission unit.
And the resending unit is used for resending the interactive message to the client corresponding to the target reminding object under the condition that the time difference value between the actual execution failure time and the actual execution failure time reaches a second preset threshold value.
According to an embodiment of the present disclosure, the message processing apparatus further includes: and a second updating module.
And the second updating module is used for responding to the received interactive operation of the target reminding object from the client and updating the interactive message according to the interactive operation.
According to an embodiment of the present disclosure, the interactive message includes an interactive control.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
According to an embodiment of the present disclosure, an electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
According to an embodiment of the present disclosure, a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method as described above.
According to an embodiment of the disclosure, a computer program product comprising a computer program which, when executed by a processor, implements the method as described above.
Fig. 6 schematically shows a block diagram of an electronic device adapted to implement a message processing method according to an embodiment of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the electronic device 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the electronic device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the electronic device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 performs the respective methods and processes described above, such as a message processing method. For example, in some embodiments, the message processing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the message processing method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the message processing method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server combining a blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (23)

1. A method of message processing, comprising:
in response to detecting a message alert instruction, determining a candidate alert object, wherein the candidate alert object is an object whose available resource value is less than or equal to a first predetermined threshold;
generating an interactive message corresponding to the target reminding object according to the available resource value under the condition that the candidate reminding object is determined to be the target reminding object according to a preset reminding strategy, wherein the preset reminding strategy is used for determining whether the candidate reminding object is the target reminding object; and
and sending the interactive message to a client corresponding to the target reminding object in a preset reminding time period so that the client can display the interactive message.
2. The method of claim 1, wherein the generating an interactive message corresponding to the target reminder object according to the available resource value in the case that the candidate reminder object is determined to be the target reminder object according to a predetermined reminder policy comprises:
determining a matching condition according to the preset reminding strategy, wherein the matching condition comprises at least one of the following conditions: inquiring a time matching condition, an execution success time matching condition and an available resource numerical value matching condition;
determining candidate reminding objects meeting the matching conditions as the target reminding objects; and
and generating an interactive message corresponding to the target reminding object according to the available resource numerical value.
3. The method of claim 2, wherein the determining a candidate reminder object that satisfies the matching condition as the target reminder object comprises:
in the event that it is determined that the actual query time does not match the expected query time,
determining that the candidate alert object is the target alert object if it is determined that the actual execution success time matches the expected execution success time; and
in the event that it is determined that the actual execution success time does not match the expected execution success time, in the event that it is determined that the available resource value does not match a resource value to be compared, determining that the candidate reminder object is the target reminder object,
the actual query time represents an actual execution time of a first preset query task, the expected query time represents a theoretical execution time of the first preset query task, and the first preset query task represents a task of a first preset turn for querying available resource values of the candidate reminding objects.
4. The method of claim 3, further comprising:
in the event that it is determined that the actual query time matches the expected query time,
determining that the candidate reminder object is the target reminder object if it is determined that the available resource value and the resource value to be compared do not match; and
determining that the candidate reminder object is the target reminder object if it is determined that the available resource value matches the resource value to be compared and the relationship between the actual reminder time and the target query time satisfies a predetermined condition,
the actual reminding time represents the actual execution time of a preset reminding task, the target query time represents the actual execution time of a second preset query task, the preset reminding task represents the tasks of the first preset turn for reminding the target of the available resource value of the reminding object, the second preset query task represents the tasks of the second preset turn for querying the available resource value of the candidate reminding object, and the second preset turn is the turn after the first preset turn.
5. The method of any of claims 1-4, further comprising:
in the event that the target alert object is determined to be a predetermined gray test object, adding the target alert object to a set of gray test objects, wherein the set of gray test objects is a set of objects for performing a gray test.
6. The method of any of claims 1-5, further comprising:
and updating the actual execution success moment corresponding to the target reminding object.
7. The method of any of claims 1-6, further comprising:
in the event that a determination is made that the interaction message was not successfully sent to the client corresponding to the target reminder object,
and under the condition that the time difference value between the actual execution failure time and the actual execution failure time reaches a second preset threshold value, the interactive message is sent to the client side corresponding to the target reminding object again.
8. The method of claim 7, wherein the resending the interaction message to the client corresponding to the target alert object if the time difference between the determination and the actual execution failure time reaches a second predetermined threshold comprises:
in the case where it is determined that the number of execution failures is less than or equal to the third predetermined threshold,
and under the condition that the time difference value between the actual execution failure time and the actual execution failure time reaches the second preset threshold value, the interactive message is sent to the client side corresponding to the target reminding object again.
9. The method of any of claims 1-8, further comprising:
and in response to receiving the interactive operation of the target reminding object from the client, updating the interactive message according to the interactive operation.
10. The method of any of claims 1-9, wherein the interactive message comprises an interactive control.
11. A message processing apparatus comprising:
a response module, configured to determine a candidate alert object in response to detecting a message alert instruction, where the candidate alert object is an object whose available resource value is less than or equal to a first predetermined threshold;
the generating module is used for generating an interactive message corresponding to the target reminding object according to the available resource value under the condition that the candidate reminding object is determined to be the target reminding object according to a preset reminding strategy, wherein the preset reminding strategy is used for determining whether the candidate reminding object is the target reminding object; and
and the sending module is used for sending the interactive message to the client corresponding to the target reminding object in a preset reminding time period so that the client can display the interactive message.
12. The apparatus of claim 11, wherein the generating means comprises:
the first determining submodule is used for determining a matching condition according to the preset reminding strategy, wherein the matching condition comprises at least one of the following conditions: inquiring a time matching condition, an execution success time matching condition and an available resource numerical value matching condition;
a second determining submodule, configured to determine a candidate reminder object that satisfies the matching condition as the target reminder object; and
and the generating submodule is used for generating an interactive message corresponding to the target reminding object according to the available resource value.
13. The apparatus of claim 12, wherein in the event that it is determined that the actual query time does not match the expected query time, the second determination submodule comprises:
a first determining unit, configured to determine that the candidate alert object is the target alert object when it is determined that the actual execution success time matches an expected execution success time; and
a second determining unit, configured to determine that the candidate alert object is the target alert object if it is determined that the actual execution success time does not match the expected execution success time and if it is determined that the available resource value does not match the resource value to be compared,
the actual query time represents an actual execution time of a first preset query task, the expected query time represents a theoretical execution time of the first preset query task, and the first preset query task represents a task of a first preset turn for querying available resource values of the candidate reminding objects.
14. The apparatus of claim 13, in the event that it is determined that the actual query time matches the expected query time, the apparatus further comprising:
a first determining module, configured to determine that the candidate reminder object is the target reminder object when it is determined that the available resource value and the resource value to be compared are not matched; and
a second determining module, configured to determine that the candidate alert object is the target alert object if it is determined that the available resource value matches the resource value to be compared and a relationship between an actual alert time and a target query time satisfies a predetermined condition,
the actual reminding time represents the actual execution time of a preset reminding task, the target query time represents the actual execution time of a second preset query task, the preset reminding task represents the tasks of the first preset turn for reminding the target of the available resource value of the reminding object, the second preset query task represents the tasks of the second preset turn for querying the available resource value of the candidate reminding object, and the second preset turn is the turn after the first preset turn.
15. The apparatus of any of claims 11-14, further comprising:
and the adding module is used for adding the target reminding object to a gray test object set under the condition that the target reminding object is determined to be a preset gray test object, wherein the gray test object set is an object set for performing gray test.
16. The apparatus of any of claims 11-15, further comprising:
and the first updating module is used for updating the actual successful execution moment corresponding to the target reminding object.
17. The apparatus according to any one of claims 11 to 16, in case it is determined that the interactive message is not successfully sent to the client corresponding to the target reminder object, the apparatus further comprises:
and the resending module is used for resending the interactive message to the client corresponding to the target reminding object under the condition that the time difference between the actual execution failure time and the actual execution failure time reaches a second preset threshold value.
18. The apparatus of claim 17, wherein in the event that the number of execution failures is determined to be less than or equal to a third predetermined threshold, the retransmission module comprises:
and the resending unit is used for resending the interactive message to the client corresponding to the target reminding object under the condition that the time difference value between the actual execution failure time and the actual execution failure time reaches the second preset threshold value.
19. The apparatus of any of claims 11-18, further comprising:
and the second updating module is used for responding to the received interactive operation of the target reminding object from the client and updating the interactive message according to the interactive operation.
20. The apparatus of any of claims 11-19, wherein the interaction message comprises an interaction control.
21. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-10.
22. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method according to any one of claims 1 to 10.
23. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 10.
CN202211140107.7A 2022-09-19 2022-09-19 Message processing method and device, electronic equipment and storage medium Pending CN115499403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211140107.7A CN115499403A (en) 2022-09-19 2022-09-19 Message processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211140107.7A CN115499403A (en) 2022-09-19 2022-09-19 Message processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115499403A true CN115499403A (en) 2022-12-20

Family

ID=84470914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211140107.7A Pending CN115499403A (en) 2022-09-19 2022-09-19 Message processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115499403A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040137874A1 (en) * 2003-01-09 2004-07-15 Sivaramakrishna Veerepalli Method and apparatus providing user with account balance notification of prepaid wireless packet data services
CN101222247A (en) * 2008-01-29 2008-07-16 中兴通讯股份有限公司 Method and device for reminding balance by near-field communication terminal, and mobile communication terminal
CN101334914A (en) * 2008-08-06 2008-12-31 中国网通集团宽带业务应用国家工程实验室有限公司 Electronic purse balance amount information prompting method, electronic purse memory card and mobile terminal
CN108600970A (en) * 2018-03-30 2018-09-28 深圳春沐源控股有限公司 A kind of information prompting method, device and computer readable storage medium
CN109729218A (en) * 2018-12-10 2019-05-07 珠海格力电器股份有限公司 Processing method, system and the mobile phone of message
CN110034775A (en) * 2019-04-02 2019-07-19 广东小天才科技有限公司 Message prompt method, device, wearable device and storage medium
CN111263319A (en) * 2018-11-30 2020-06-09 中国移动通信集团山东有限公司 Method and device for reminding balance of mobile phone charge
CN112087363A (en) * 2019-06-13 2020-12-15 腾讯科技(深圳)有限公司 Message processing method and device, terminal and server
CN113949682A (en) * 2021-08-30 2022-01-18 北京达佳互联信息技术有限公司 Message processing method and device, electronic equipment and storage medium
CN114255040A (en) * 2021-12-10 2022-03-29 腾讯科技(深圳)有限公司 Account recharging prompting method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040137874A1 (en) * 2003-01-09 2004-07-15 Sivaramakrishna Veerepalli Method and apparatus providing user with account balance notification of prepaid wireless packet data services
CN101222247A (en) * 2008-01-29 2008-07-16 中兴通讯股份有限公司 Method and device for reminding balance by near-field communication terminal, and mobile communication terminal
CN101334914A (en) * 2008-08-06 2008-12-31 中国网通集团宽带业务应用国家工程实验室有限公司 Electronic purse balance amount information prompting method, electronic purse memory card and mobile terminal
CN108600970A (en) * 2018-03-30 2018-09-28 深圳春沐源控股有限公司 A kind of information prompting method, device and computer readable storage medium
CN111263319A (en) * 2018-11-30 2020-06-09 中国移动通信集团山东有限公司 Method and device for reminding balance of mobile phone charge
CN109729218A (en) * 2018-12-10 2019-05-07 珠海格力电器股份有限公司 Processing method, system and the mobile phone of message
CN110034775A (en) * 2019-04-02 2019-07-19 广东小天才科技有限公司 Message prompt method, device, wearable device and storage medium
CN112087363A (en) * 2019-06-13 2020-12-15 腾讯科技(深圳)有限公司 Message processing method and device, terminal and server
CN113949682A (en) * 2021-08-30 2022-01-18 北京达佳互联信息技术有限公司 Message processing method and device, electronic equipment and storage medium
CN114255040A (en) * 2021-12-10 2022-03-29 腾讯科技(深圳)有限公司 Account recharging prompting method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
JP6946746B2 (en) Smart notification scheduling and modality selection methods, systems, and non-transitory computer-readable media
US20190303779A1 (en) Digital worker management system
US20180287925A1 (en) Assessing user activity using dynamic windowed forecasting on historical usage
US8744903B2 (en) Event resolution
US20130166721A1 (en) Systems and methods for a social media network/business platform interface
EP3815342B1 (en) Adaptive user-interface assembling and rendering
US10817647B1 (en) Report automation system
WO2014028303A1 (en) Contextual task management and notifications
CN115202847A (en) Task scheduling method and device
US20180285102A1 (en) Client-side survey control
CN115499403A (en) Message processing method and device, electronic equipment and storage medium
CN115049369A (en) Project management method and device, electronic equipment and storage medium
CN114218313A (en) Data management method, device, electronic equipment, storage medium and product
CN114138397A (en) Page display method and device, electronic equipment and storage medium
US20180253654A1 (en) Generating rules based on patterns in a communication time series
US10203997B2 (en) Presenting a synthesized alert using a digital personal assistant
CN113691442B (en) Friend recommendation method, device, equipment, storage medium and program product
US11941441B2 (en) Data movement and monitoring system
US11983650B2 (en) Intelligent routing of data objects between paths using machine learning
US20230245010A1 (en) Intelligent routing of data objects between paths using machine learning
US10585906B2 (en) Querying relationships in a communication time series
CN114844920A (en) Internet of things equipment checking method and device, electronic equipment and storage medium
CN116431650A (en) Object processing method and device
CN114756398A (en) Data processing method, device, equipment and medium
US20200233641A1 (en) Global number range generation

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