Message processing method, device and equipment and computer readable storage medium
Through the dynamic fusion carrier matching mechanism and message push rate adjustment, the problem of the second-choice carrier being unable to receive when message push fails in the existing technology is solved, which significantly improves the message reach rate and ensures the realization of operational results.
Patent Information
- Application Number
- CN202410925547.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-11-01
AI Technical Summary
When the preferred sending carrier fails, existing message push technology cannot effectively ensure the message reaching the secondary selected carrier, resulting in the inability to guarantee operational results, especially in the event of problems such as user shutdown notifications or network delays, messages cannot be received by users.
By defining the task ratio of message types in the overall push task, a dynamic fusion carrier matching mechanism is built to calculate the most suitable preset carrier. When message push fails, dynamically adjust the message push strategy to improve the reach rate and use preset carriers outside the preset carrier. The push rates of other carriers are fused to ensure that messages can be received by the user.
This greatly improves the message reach rate, ensuring that the second-choice carrier can effectively receive messages when the preferred carrier fails, and truly ensures the realization of operational results.
Smart Images

Figure CN118890331A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of data processing, and in particular, to a message processing method, apparatus, device, and computer-readable storage medium. Background Art
[0002] In the era of mobile Internet, message push is an important user reach measure. Operation personnel notify users of marketing activities through messages to improve the overall activity of the platform. Common message carriers include SMS, notification bar, WeChat, mailbox, etc. By building a message push platform, integrating message channels, configuring message content, sending time, recipients, etc. from the operation side, batch push messages to users.
[0003] In order to better observe the operation effect, the reach rate of message push is an important evaluation indicator. Problems such as network delay, equipment failure, channel congestion, etc. will cause users to be unable to receive messages pushed by the platform. The existing technology uses a fusion push method. When one type of message fails to be sent, other carriers continue to take on the task of sending messages. For example, when the notification bar message fails to be sent, SMS will be selected to ensure that the message reaches the target.
[0004] However, in actual application, when the preferred message push method cannot reach the user normally, it is still impossible to ensure that the secondary message carrier can be received by the user. For example, when WeChat fails to send, the APP notification bar is selected as the carrier, and many users will turn off notifications on the terminal side, resulting in the inability to receive messages. Many message push platforms even uniformly select the most reliable SMS channel for sending. At this time, the operational effect brought by the message reach cannot be guaranteed at all. Summary of the invention
[0005] According to the embodiment of the present application, a message processing solution is provided, which can create a fusion carrier by customizing the message sending ratio to carry message push or emergency processing tasks. The task ratio of each message type in the overall push task can be defined; a dynamic fusion carrier matching mechanism is constructed to calculate the most suitable preset carrier when the message push success rate decreases or cannot be sent; a standardized access strategy is established, and any message push platform can be quickly accessed by modifying it according to the specifications, which greatly improves the message reach rate.
[0006] In a first aspect of the present application, a message processing method is provided. The method comprises:
[0007] Sending a message to a customer group via a configured task worksheet; the task worksheet includes a preset carrier;
[0008] In response to the message sending failure information, calculating the message push rates of the remaining carriers except the preset carrier to obtain a message push rate set;
[0009] Based on the message push rate set, selecting a fusion carrier adapted to the customer group that has not received the message;
[0010] Based on the fusion carrier, a message is sent to a customer group that has not received the message.
[0011] Furthermore, the task worksheet includes:
[0012] The content of the message, when it was sent, to whom it was sent, and / or the type of message.
[0013] Furthermore, the carrier comprises:
[0014] APP notification bar, SMS, email, WeChat and / or message center.
[0015] Further, the calculating of the message push rates of the remaining carriers except the preset carrier includes:
[0016] The message push rates of the remaining carriers except the preset carrier are calculated respectively in the following manner:
[0017]
[0018] Where P is the fixed period historical message push rate;
[0019] N is the cycle length;
[0020] t n It is the end node of one day in a fixed period;
[0021] t′ n The time start node for one of the days in a fixed period;
[0022] The number of messages sent by the node at the end of one day in a fixed period;
[0023] The amount of messages sent by the node at the beginning of one day in a fixed period.
[0024] Further, sending a message to a customer group that has not received the message based on the fusion carrier includes:
[0025] Based on the fusion carrier, messages are sent in parallel to the client group that has not received the message.
[0026] Furthermore, the sending of messages to the client group that has not received the message in parallel based on the fusion carrier includes:
[0027] Based on the fusion carrier and the energy efficiency calculation function, messages are sent in parallel to the client group that has not received the message.
[0028] Furthermore, the energy efficiency calculation function includes:
[0029]
[0030] Among them, j is the sending rate of the current message;
[0031] V t Current push speed
[0032] V avg The average value of messages sent for the current message push channel;
[0033] D is the number of remaining messages in the task.
[0034] In a second aspect of the present application, a message processing device is provided. The device includes:
[0035] A first sending module, used to send a message to a customer group through a configured task work order; the task work order includes a preset carrier;
[0036] A calculation module, configured to calculate, in response to the message sending failure information, message push rates of other carriers except the preset carrier to obtain a message push rate set;
[0037] A selection module, configured to select a fusion carrier adapted to a customer group that has not received the message based on the message push rate set;
[0038] The second sending module is used to send a message to a customer group that has not received the message based on the fusion carrier.
[0039] In a third aspect of the present application, an electronic device is provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, the method described above is implemented.
[0040] In a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method according to the first aspect of the present application is implemented.
[0041] The message processing method provided in the embodiment of the present application sends messages to a customer group through a configured task work order; the task work order includes a preset carrier; in response to information about message sending failure, the message push rates of the remaining carriers except the preset carrier are calculated to obtain a message push rate set; based on the message push rate set, a fusion carrier adapted to the customer group that has not received the message is selected; based on the fusion carrier, a message is sent to the customer group that has not received the message, thereby greatly improving the message reach rate.
[0042] It should be understood that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0044] Figure 1 is a flowchart of a message processing method according to an embodiment of the present application;
[0045] Figure 2 is a schematic diagram of a fusion message carrier according to an embodiment of the present application;
[0046] Figure 3 A schematic diagram of a process for selecting a fusion message carrier according to an embodiment of the present application;
[0047] Figure 4 is a block diagram of a message processing device according to an embodiment of the present application;
[0048] Figure 5 It is a schematic diagram of the structure of a terminal device or a server suitable for implementing the embodiments of the present application. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0050] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0051] Figure 1 A flow chart of a message processing method according to an embodiment of the present disclosure is shown. The method comprises:
[0052] S110, sending a message to the customer group through a configured task worksheet; the task worksheet includes a preset carrier.
[0053] Among them, the task work order includes data information such as message content, sending time, sending group, whether to send through preset mode and / or message type, which can be pre-configured according to the actual application scenario; the message type (carrier) includes APP notification bar, SMS, email, WeChat and / or message center, etc.
[0054] In some embodiments, a message may be sent to a customer group via a task ticket configured as above.
[0055] S120, in response to the message sending failure information, calculating the message push rates of the remaining carriers except the preset carrier to obtain a message push rate set.
[0056] In some embodiments, after selecting "Yes" in the option "Whether to send through preset mode" in the task ticket, if the message push task cannot be sent normally, for example, network delays, equipment failures, channel congestion and other problems occur during the message push process, resulting in the user being unable to receive the message sent by this task, then the preset fusion push strategy is initiated.
[0057] like Figure 2 As shown, Figure 2 This is a schematic diagram of the fusion message carrier. The operator can configure the message sending type according to a certain ratio (determined by the message push rate calculated later), and fill the remaining unsent messages into the fusion carrier in proportion to continue the task. Among them, the message type in the fusion message carrier is based on the existing support of the platform.
[0058] It should be noted that in actual applications, in theory, the message type adapted for each user can be calculated separately to form a single message mode, but the above method will consume a lot of system resources and computing time, which violates the original intention of sending batch messages. Through the preset mode disclosed in this disclosure, the proportion of message types is limited, and it is only necessary to calculate the matching relationship between users and message types in the fusion message carrier through a lightweight framework, so as to meet the business requirements of reach while obtaining the highest energy efficiency ratio.
[0059] In some embodiments, the message push rates of the remaining carriers except the preset carriers may be calculated as follows:
[0060] Select the time period from the current time to the expected end time of this task, calculate the carrier with the highest optimal rate of historical message push within a period of time (for example, a week), and select the best one based on the pre-set marketing effect priority under the same circumstances.
[0061] The fixed-period historical message push rate is calculated as follows:
[0062]
[0063] Where P is the fixed period historical message push rate;
[0064] N is the cycle length, which can be adjusted according to the actual transmission level, for example, 7;
[0065] t n It is the end node of one day in a fixed period, which is determined by the expected sending time of this task;
[0066] t′ n It is the time start node of one day in the fixed period, which is determined by the time when the task message fails to be sent;
[0067] The number of messages sent by the node at the end of one day in a fixed period;
[0068] The amount of messages sent by the node at the beginning of one day in a fixed period.
[0069] For example, the message push task is to push 100,000 messages through the APP notification bar (preset carrier), and the estimated push time is from 3 am to 5 am. When the time comes to 4 am, the message cannot be pushed normally.
[0070] Calculate the success rate of fixed-period historical message pushes on this platform except for the APP notification bar:
[0071] At this time, the value of n is 7. Taking email sending as an example, Assume that the number of emails successfully sent at 5:00 on Monday is 2000. The number of emails successfully sent at 4:00 on Monday is 1400, n -t′ n The unit is minute (60), and the mailbox sending rate on Monday is (2000-1400) / 60=10 messages / second. By analogy, the mailbox sending rate from Tuesday to Sunday is calculated, assuming that it is 11, 9, 4, 13, 7, 10, and the sum and average are 9.14, which is used as the fixed period historical message push rate of the mailbox push from 4 to 5 o'clock.
[0072] Based on the platform business rules, the fixed-period historical message push rates of all carriers are calculated to obtain a message push rate set.
[0073] S130: Based on the message push rate set, select a fusion carrier that is adapted to the customer group that has not received the message.
[0074] In some embodiments, the message push rates in the message push rate set are sorted in descending order (from best to worst). The sorting result is matched with the preset template, and the best matching fusion message carrier is selected according to the ratio. For example:
[0075] Calculate P 邮箱 :P 微信 :P 消息中心 =9.14:6.02:6.13≈2:1:1, then select the integrated message carrier that carries the three types of messages, namely mailbox, WeChat, and message center, and select the integrated message carrier with the closest ratio of the three types of messages to 2:1:1 among the above carriers. Figure 3 .
[0076] S140: Send a message to a customer group that has not received the message based on the fusion carrier.
[0077] In some embodiments, based on the fused message carrier determined in step S130 , messages are sent in parallel to the client group that has not received the message.
[0078] In some embodiments, considering that executing the message push task in parallel mode consumes more system resources, in the present disclosure, the system resources can be adjusted by the energy efficiency value function, that is, based on the fusion message carrier and the energy efficiency calculation function determined in step S130, messages are sent in parallel to the client group that has not received the message.
[0079] Among them, the energy efficiency calculation function can be calculated as follows:
[0080]
[0081] Among them, j is the sending rate of the current message;
[0082] V t Current push speed
[0083] V avg The average value of messages sent for the current message push channel;
[0084] D is the number of remaining messages in the task.
[0085] According to the embodiments of the present disclosure, the following technical effects are achieved:
[0086] When the message push fails, the dynamic fusion carrier matching mechanism is used to find the preset message fusion carrier to continue to complete the task. At the same time, the user is adjusted to match the type of message carrier, which truly ensures that the message is accurately delivered and greatly improves the message reach rate.
[0087] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0088] The above is an introduction to the method embodiment. The following is a further explanation of the scheme described in this application through an apparatus embodiment.
[0089] Figure 4 A block diagram 400 of a message processing device according to an embodiment of the present application is shown. Figure 4 Shown include:
[0090] A first sending module 410 is used to send a message to a customer group through a configured task work order; the task work order includes a preset carrier;
[0091] A calculation module 420, configured to calculate, in response to the message sending failure information, message push rates of other carriers except the preset carrier to obtain a message push rate set;
[0092] A selection module 430, configured to select a fusion carrier adapted to a customer group that has not received the message based on the message push rate set;
[0093] The second sending module 440 is configured to send a message to a customer group that has not received the message based on the fusion carrier.
[0094] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0095] Figure 5 A schematic diagram of the structure of a terminal device or server suitable for implementing an embodiment of the present application is shown.
[0096] like Figure 5 As shown, the terminal device or server includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 into the random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the terminal device or server are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0097] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.
[0098] In particular, according to an embodiment of the present application, the above method flow steps can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a machine-readable medium, and the computer program includes a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present application are executed.
[0099] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0100] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of the code, and the aforementioned module, program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0101] The units or modules involved in the embodiments described in the present application may be implemented by software or hardware. The units or modules described may also be arranged in a processor. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves.
[0102] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the method described in the present application.
[0103] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.
Claims
1. A message processing method, It is characterized in that include: Sending a message to a customer group via a configured task worksheet; the task worksheet includes a preset carrier; In response to the message sending failure information, calculating the message push rates of the remaining carriers except the preset carrier to obtain a message push rate set; Based on the message push rate set, selecting a fusion carrier adapted to the customer group that has not received the message; Based on the fusion carrier, a message is sent to a customer group that has not received the message.
2. The method according to claim 1, It is characterized in that The task work order includes: The content of the message, when it was sent, to whom it was sent, and / or the type of message.
3. The method according to claim 2, It is characterized in that The carrier comprises: APP notification bar, SMS, email, WeChat and / or message center.
4. The method according to claim 3, It is characterized in that The calculating of the message push rates of the remaining carriers except the preset carrier comprises: The message push rates of the remaining carriers except the preset carrier are calculated respectively in the following manner: Where P is the fixed period historical message push rate; N is the cycle length; t n It is the end node of one day in a fixed period; t′ n The time start node for one of the days in a fixed period; The number of messages sent by the node at the end of one day in a fixed period; The amount of messages sent by the node at the beginning of one day in a fixed period.
5. The method according to claim 4, It is characterized in that The sending of a message to a client group that has not received the message based on the fusion carrier includes: Based on the fusion carrier, messages are sent in parallel to the client group that has not received the message.
6. The method according to claim 5, It is characterized in that The sending of messages to the client group that has not received the message in parallel based on the fusion carrier includes: Based on the fusion carrier and the energy efficiency calculation function, messages are sent in parallel to the client group that has not received the message.
7. The method according to claim 6, It is characterized in that The energy efficiency calculation function includes: Among them, j is the sending rate of the current message; V t Current push speed V avg The average value of messages sent for the current message push channel; D is the number of remaining messages in the task.
8. A message processing device, It is characterized in that include: The first sending module is used to send messages to the customer group through the configured task work order; The task worksheet includes a preset carrier; A calculation module, configured to calculate, in response to the message sending failure information, message push rates of other carriers except the preset carrier to obtain a message push rate set; A selection module, configured to select a fusion carrier adapted to a customer group that has not received the message based on the message push rate set; The second sending module is used to send a message to a customer group that has not received the message based on the fusion carrier.
9. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory. It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
