Message pushing method, electronic equipment and computer program product
By monitoring active events of client devices within the target unit time period and intercepting marketing message push, the problem of marketing message push causing users to close permissions and uninstall APPs is solved, improving user experience and purchase rate.
Patent Information
- Application Number
- CN202411973257.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-11
AI Technical Summary
Existing marketing message push methods can easily cause users to close push permissions and uninstall APPs, or reduce user stickiness and purchase rates.
By monitoring user active events of client devices within the target unit time period, marking active devices as active and intercepting or delaying pushing marketing messages during that time period to reduce user disturbance.
Improves user experience, reduces the rate of users closing push permissions and uninstalling APPs, and improves the opening and conversion rate of messages, ensuring user stickiness and purchase rate.
Smart Images

Figure CN119814865A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and more specifically, to a message push method, electronic device, and computer program product. Background Art
[0002] Push notifications, also known as message notifications, refer to the active message pushes by App developers to their App users’ mobile devices. The main function is to activate users and increase active users. For example, the messages seen in the notification bar of the mobile phone and the digital red dot reminder of the desktop App icon are all realized through the message push function. As an indispensable part of digital marketing, push notifications can directly reach the user's mobile phone screen regardless of whether the user is using the application, thereby waking the user to enter the APP. E-commerce apps usually attract users' attention and establish closer connections with users through real-time reminders, personalized push notifications, limited-time promotions, interactive interactions and important information notifications, and encourage them to participate more actively in promotional activities to increase user purchase rates.
[0003] Push is a double-edged sword. A large number of marketing messages can make users feel tired, causing them to close push permissions or even uninstall the app. By reducing the number of push messages reaching users and reducing the disturbance to users, the user's permission closing rate and uninstall rate can be reduced, but the reduction in push volume will reduce user stickiness and user purchase rate. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a message push method, electronic device and computer program product to solve the problem that the existing marketing message push method may cause users to close push permissions and uninstall apps, or reduce user stickiness and user purchase rate.
[0005] A message push method provided in an embodiment of the present application includes:
[0006] If a user activity event sent by a client device is obtained within the target unit time period, the client device is marked as an active device;
[0007] During the remaining time of the target unit time period, marketing messages pushed to active devices will be blocked.
[0008] In the above technical solution, within a specific target unit time period (such as one day, one hour, etc.), the server continuously monitors user activity events from client devices (such as smart phones, tablets, etc.). User activity events may include but are not limited to: opening an application, browsing a page, clicking a link, conducting a transaction, etc. Once a user activity event sent by a client device is detected within the target unit time period, the server immediately marks the client device as an "active device". During the remaining time of the target unit time period, the server will intercept or delay the push of marketing messages for the client that has been marked as an "active device". Marketing messages usually include advertisements, promotional information, product recommendations, etc., which may be regarded as interruptions when the user is active. By avoiding pushing marketing messages when the user is active, the user's sense of interruption is reduced, thereby improving the user experience and reducing the user's closure of push permissions and uninstalling apps. Pushing messages during the user's inactive time period is more likely to attract the user's attention, improve the message opening rate and conversion rate, and thus ensure a certain user stickiness and user purchase rate.
[0009] In some optional implementations, if a user activity event sent by a client device is obtained within a target unit time period, marking the client device as an active device includes:
[0010] In the target unit time period, if a user activity event sent by a first client device is obtained, the first client device and a second client device of a user corresponding to the first client device are both marked as active devices; wherein there may be multiple second client devices.
[0011] In some optional embodiments, the method further comprises:
[0012] If no user activity event sent by the client device is obtained within the target unit time period, then during the remaining time of the target unit time period, it is determined whether to intercept the marketing messages pushed to the client device based on the messages that have been pushed to the client device within the target unit time period.
[0013] In the above technical solution, if no user activity event is detected within the target unit time period, that is, the client device is an "inactive device", then during the remaining time of the target unit time period, based on the messages that have been pushed to the client device within the target unit time period, it is determined whether to intercept the marketing messages pushed to the client device, so as to avoid too many marketing messages being pushed to the client device or too large a proportion of marketing messages causing the user to close the push permission and uninstall the app.
[0014] In some optional implementations, determining whether to intercept marketing messages pushed to the client device according to messages that have been pushed to the client device within a target unit time period includes:
[0015] Obtain all messages that have been pushed to the client device within the target unit time period, and determine the number of marketing messages among them;
[0016] If the number of marketing messages is greater than the first threshold, the marketing messages pushed to the client device will be intercepted during the remaining time of the target unit time period.
[0017] In the above technical solution, if no user activity event is detected within the target unit time period, that is, the client device is an "inactive device", the following steps are performed: obtain all message records that have been pushed to the client device within the target unit time period. Filter out marketing messages from the push records and count their number. Compare the number of marketing messages with a preset first threshold. If the number of marketing messages is greater than the first threshold, it is considered that the client device has received enough marketing information within the current time period, so new marketing messages are blocked or delayed from being pushed to the device during the remaining time of the target unit time period. This embodiment avoids users from feeling bored due to receiving too much marketing information by limiting the number of marketing messages pushed to inactive devices. Among them, the setting of the first threshold is reasonably adjusted according to factors such as application characteristics, user needs and market competition to ensure the rationality and effectiveness of the push strategy.
[0018] In some optional implementations, pushing a message to a client includes:
[0019] Generate different types of messages according to different types of message templates, and obtain unique identification codes corresponding to the messages;
[0020] The type and unique identification code corresponding to the message are saved in the push message database;
[0021] When pushing a message, the message and the corresponding unique identification code are sent to the information service provider, and the message is pushed to the client device through the channel provided by the information service provider;
[0022] After the message successfully reaches the client device, the message successfully reaches the receipt sent by the information service provider; the message successfully reaches the receipt includes the unique identification code corresponding to the message.
[0023] In the above technical solution, a suitable message template is selected or created according to the content and purpose of the message. The selected template is applied to generate specific message content. A unique identification code (UID) is assigned to each generated message for subsequent tracking and confirmation. The content, type (such as notification, marketing message, system message, private message, subscription message, etc.) and unique identification code (UID) of the message are saved in the push message database. The message and its UID are packaged into an appropriate format and sent through a channel established with an information service provider (such as a device manufacturer, a communication operator, an application distribution platform, a third-party push service provider, etc.). The channel provided by the information service provider is responsible for transmitting messages from the server to the client device. When the message successfully reaches the client device, the information service provider will send a message successful arrival receipt to the server. The receipt contains the unique identification code (UID) of the message so that the server can confirm which message has been successfully delivered, and the type of the message can be determined by querying the push message database through the unique identification code.
[0024] In some optional implementations, obtaining all messages that have been pushed to the client device within a target unit time period and determining the number of marketing messages therein includes:
[0025] Get the successful delivery receipt of messages received within the target unit time period;
[0026] According to the unique identification code in the message successful delivery receipt, query the push message database to determine whether the message corresponding to the message successful delivery receipt is a marketing message.
[0027] In the above technical solution, the server pushes messages to the client device within the target unit time period, and receives a receipt of successful message delivery through the channel established with the information service provider. The receipt contains the unique identification code (UID) of the message, which is used to confirm the delivery of the message. After the server receives the receipt of successful message delivery, it first parses the unique identification code (UID) in the receipt. Based on the UID, the server queries the push message database to find the corresponding message record. In the message record, the server checks whether the type of the message is a marketing message. For records determined to be marketing messages, the server counts them in a counter or statistical table. At the end of the target unit time period, the server summarizes the number of all marketing messages to obtain the total number of marketing messages pushed during the time period.
[0028] In some optional implementations, determining whether to intercept marketing messages pushed to the client device according to messages that have been pushed to the client device within a target unit time period includes:
[0029] Get the total number of all messages that have been pushed to the client device within the target unit time period;
[0030] If the total number is greater than a second threshold, the marketing messages pushed to the client device will be intercepted during the remaining time of the target unit time period; wherein the second threshold is greater than the first threshold.
[0031] In the above technical solution, the server first obtains the total number of all messages that have been pushed to the client device within the target unit time period, which includes all types of messages, such as notifications, marketing, system messages, etc. The server compares the total number of messages obtained by counting with a preset second threshold. The second threshold is a value reasonably set based on factors such as application characteristics, user needs, and market competition, and is used to determine whether the message push is too frequent. If the total number of messages is greater than the second threshold, the server believes that too many messages have been pushed to the client device within the current time period. Therefore, during the remaining time of the target unit time period, the server will intercept or delay pushing new marketing messages to the client device to avoid users ignoring other important non-marketing messages due to receiving too many marketing messages, thereby improving the user experience.
[0032] In some optional implementations, determining whether to intercept marketing messages pushed to the client device according to messages that have been pushed to the client device within a target unit time period includes:
[0033] Obtain all messages that have been pushed to the client device within the target unit time period, and determine the number of non-marketing messages therein;
[0034] If the number of non-marketing messages is greater than the third threshold, the marketing messages pushed to the client device will be intercepted during the remaining time of the target unit time period; wherein the second threshold is greater than the third threshold.
[0035] In the above technical solution, the server first obtains all the messages that have been pushed to the client device within the target unit time period. Then, the server classifies these messages and determines the number of non-marketing messages (such as private messages, system messages, etc.). The server compares the number of non-marketing messages obtained by counting with a preset third threshold. The third threshold is a value reasonably set according to factors such as application characteristics and user processing capabilities, and is used to determine whether the push of non-marketing messages has reached a higher level. If the number of non-marketing messages is greater than the third threshold, the server believes that enough non-marketing messages have been pushed to the client device within the current time period. Therefore, during the remaining time of the target unit time period, the server will intercept or delay the push of new marketing messages to the client device to reduce the burden of users processing messages, allowing users to concentrate on important non-marketing messages and improve user experience.
[0036] In some optional implementations, determining whether to intercept marketing messages pushed to the client device according to messages that have been pushed to the client device within a target unit time period includes:
[0037] Before pushing a marketing message to a client device each time, obtain the ratio of the marketing message that has been pushed to the client device to all messages within a target unit time period;
[0038] If the ratio is greater than the ratio threshold, the marketing message will be intercepted;
[0039] If the ratio is less than or equal to the ratio threshold, a marketing message is pushed to the client device.
[0040] In the above technical solution, before pushing marketing messages to the client device each time, the server first calculates the ratio of marketing messages that have been pushed to the client device in the target unit time period to all messages (including marketing and non-marketing messages). This ratio reflects the relative number of marketing messages in all pushed messages. The server compares the calculated marketing message ratio with a preset ratio threshold. The ratio threshold is a value reasonably set based on factors such as application characteristics, user needs, and market competition, and is used to determine whether the push of marketing messages has reached an excessively high ratio. If the marketing message ratio is greater than the ratio threshold, the server believes that too many marketing messages have been pushed to the client device in the current time period. Therefore, in order to prevent users from feeling bored due to receiving too much marketing information, the server will intercept or delay the push of the current marketing message. If the marketing message ratio is less than or equal to the ratio threshold, the server believes that the current push of marketing messages is appropriate and will not make the user feel bored, so the marketing message will be pushed to the client device.
[0041] An electronic device provided in an embodiment of the present application includes: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the machine-readable instructions are executed by the processor, any of the above methods is performed.
[0042] A computer program product provided in an embodiment of the present application includes a computer program / instruction, which implements the steps of any of the above methods when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A flowchart of the method for pushing messages to an active device provided in an embodiment of the present application;
[0045] Figure 2 A flowchart of the method for pushing messages to inactive devices provided in an embodiment of the present application;
[0046] Figure 3 A possible structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0048] Please refer to Figure 1 , Figure 1 The flowchart of the method for pushing messages to an active device provided in the embodiment of the present application includes:
[0049] Step S1: within a target unit time period, if a user activity event sent by a client device is obtained, the client device is marked as an active device;
[0050] Step S2: During the remaining time of the target unit time period, the marketing messages pushed to the active devices are intercepted.
[0051] The unit time period may be a time segment in units of hours, days, weeks, months, etc. The target unit time period is the unit time period to which the current time belongs.
[0052] For example, if the unit time period is a time segment of one hour, the target unit time period is the hour of the current time (e.g., from 10:00 today to 11:00 today). For another example, if the unit time period is a time segment of 6 hours, the target unit time period is the 6 hours of the current time (e.g., from 10:00 today to 14:00 today).
[0053] For another example, if the unit time period is a time segment based on days, then the target unit time period is today (for example, from 0:00 today to 24:00 today). In this case, you can also set the time period from 0:00 to 6:00 every day as a time period in which no marketing messages will be pushed, based on people's work and rest habits.
[0054] Taking today as an example, at 9:30 a.m., the user opens the client to perform operations, generating a user activity event. The client device sends the user activity event to the server, and the server marks the client device as an active device. Then, for the rest of today (from 9:30 a.m. to 12 a.m. today), the server will intercept all marketing messages sent to the client device, and the active user will no longer be disturbed by marketing messages today.
[0055] In an embodiment of the present application, within a specific target unit time period (such as one day, one hour, etc.), the server continuously monitors user activity events from client devices (such as smart phones, tablet computers, etc.). User activity events are behaviors or operations that can indicate that a user interacts with an application, and may include but are not limited to: opening an application, browsing a page, clicking a link, conducting a transaction, etc. Once a user activity event sent by a client device is detected within the target unit time period, the server immediately marks the client device as an "active device". During the remaining time of the target unit time period, for clients that have been marked as "active devices", the server will intercept or delay the push of marketing messages. Marketing messages usually include advertisements, promotional information, product recommendations, etc., which may be considered as interruptions when the user is active. By avoiding pushing marketing messages when the user is active, the user's sense of interruption is reduced, thereby improving the user experience and reducing the user's closure of push permissions and uninstalling apps. Pushing messages during the user's inactive time period is more likely to attract the user's attention, improve the message opening rate and conversion rate, and thus ensure a certain user stickiness and user purchase rate.
[0056] In some optional implementations, if a user activity event sent by a client device is obtained within a target unit time period, marking the client device as an active device includes:
[0057] In the target unit time period, if a user activity event sent by a first client device is obtained, the first client device and a second client device of a user corresponding to the first client device are both marked as active devices; wherein there may be multiple second client devices.
[0058] Please refer to Figure 2 , Figure 2 The flowchart of the method for pushing messages to an inactive device provided in the embodiment of the present application includes:
[0059] Step S3: If no user activity event sent by the client device is obtained within the target unit time period, then during the remaining time of the target unit time period, determine whether to intercept the marketing messages pushed to the client device based on the messages that have been pushed to the client device within the target unit time period.
[0060] In an embodiment of the present application, if no user activity event is detected within the target unit time period, that is, the client device is an "inactive device", then during the remaining time of the target unit time period, based on the messages that have been pushed to the client device within the target unit time period, it is determined whether to intercept the marketing messages pushed to the client device, so as to avoid too many marketing messages being pushed to the client device or too large a proportion of marketing messages causing the user to close the push permission and uninstall the app.
[0061] In some optional implementations, in step S3, determining whether to intercept marketing messages pushed to the client device according to messages that have been pushed to the client device within the target unit time period includes:
[0062] Get all messages that have been pushed to client devices within the target unit time period and determine the number of marketing messages among them:
[0063] If the number of marketing messages is greater than the first threshold, the marketing messages pushed to the client device will be intercepted during the remaining time of the target unit time period.
[0064] If the number of marketing messages is less than or equal to the first threshold, the marketing messages pushed to the client device will not be intercepted for the remaining time of the target unit time period. Until the number of marketing messages is greater than the first threshold, the marketing messages pushed to the client device will be intercepted for the remaining time of the target unit time period.
[0065] In an embodiment of the present application, if no user active event is detected within the target unit time period, that is, the client device is an "inactive device", the following steps are performed: Obtain all message records that have been pushed to the client device within the target unit time period. Filter out marketing messages from the push records and count their number. Compare the number of marketing messages with a preset first threshold. If the number of marketing messages is greater than the first threshold, it is considered that the client device has received enough marketing information within the current time period, so new marketing messages are blocked or delayed from being pushed to the device during the remaining time of the target unit time period. This embodiment avoids users from feeling bored due to receiving too much marketing information by limiting the number of marketing messages pushed to inactive devices. Among them, the setting of the first threshold is reasonably adjusted according to factors such as application characteristics, user needs and market competition to ensure the rationality and effectiveness of the push strategy. The first threshold is also related to the length of the target unit time period. For example, if the target unit time period is one day, the first threshold can be 6, and if the target unit time period is one hour, the first threshold can be 2.
[0066] In some optional implementations, pushing a message to a client specifically includes: generating different types of messages according to different types of message templates, and obtaining a unique identification code corresponding to the message; saving the type and unique identification code corresponding to the message to a push message database; when pushing the message, sending the message and the corresponding unique identification code to an information service provider, and the message is pushed to the client device through a channel provided by the information service provider; after the message successfully reaches the client device, receiving a message successful arrival receipt sent by the information service provider; the message successful arrival receipt includes the unique identification code corresponding to the message.
[0067] In an embodiment of the present application, a suitable message template is selected or created according to the content and purpose of the message. The selected template is applied to generate specific message content. A unique identification code (UID) is assigned to each generated message for subsequent tracking and confirmation. The content, type (such as notification, marketing message, system message, private message, subscription message, etc.) and unique identification code (UID) of the message are saved in the push message database. The message and its UID are packaged into an appropriate format and sent through a channel established with an information service provider (such as a device manufacturer, a communication operator, an application distribution platform, a third-party push service provider, etc.). The channel provided by the information service provider is responsible for transmitting the message from the server to the client device. When the message successfully reaches the client device, the information service provider will send a message successful reach receipt to the server. The receipt contains the unique identification code (UID) of the message so that the server can confirm which message has been successfully delivered, and the type of the message can be determined by querying the push message database through the unique identification code.
[0068] Correspondingly, all messages that have been pushed to the client device within the target unit time period are obtained, and the number of marketing messages therein is determined, including:
[0069] Obtain the successful delivery receipt of messages received within the target unit time period; query the push message database based on the unique identification code in the successful delivery receipt of messages to determine whether the message corresponding to the successful delivery receipt of messages is a marketing message.
[0070] In an embodiment of the present application, the server pushes a message to a client device within a target unit time period, and receives a receipt for successful message delivery through a channel established with an information service provider. The receipt contains a unique identification code (UID) of the message, which is used to confirm the delivery of the message. After the server receives the receipt for successful message delivery, it first parses the unique identification code (UID) in the receipt. Based on the UID, the server queries the push message database to find the corresponding message record. In the message record, the server checks whether the type of the message is a marketing message. For records determined to be marketing messages, the server counts them in a counter or statistical table. At the end of the target unit time period, the server summarizes the number of all marketing messages to obtain the total number of marketing messages pushed during the time period.
[0071] In some optional implementations, in step S3, determining whether to intercept marketing messages pushed to the client device according to messages that have been pushed to the client device within the target unit time period includes:
[0072] Get the total number of all messages that have been pushed to the client device within the target unit time period;
[0073] If the total number is greater than a second threshold, the marketing messages pushed to the client device will be intercepted during the remaining time of the target unit time period; wherein the second threshold is greater than the first threshold.
[0074] If the total number is less than or equal to the second threshold, the marketing messages pushed to the client device will not be intercepted for the remaining time of the target unit time period. Until the total number is greater than the second threshold, the marketing messages pushed to the client device will be intercepted for the remaining time of the target unit time period.
[0075] In an embodiment of the present application, the server first obtains the total number of all messages that have been pushed to the client device within the target unit time period, which includes all types of messages, such as notifications, marketing, system messages, etc. The server compares the total number of messages obtained by counting with a preset second threshold. The second threshold is a value reasonably set based on factors such as application characteristics, user needs, and market competition, and is used to determine whether the message push is too frequent. The second threshold is also related to the length of the target unit time period. For example, if the target unit time period is one day, the second threshold can be 20, and if the target unit time period is one hour, the second threshold can be 5. If the total number of messages is greater than the second threshold, the server believes that too many messages have been pushed to the client device within the current time period. Therefore, during the remaining time of the target unit time period, the server will intercept or delay the push of new marketing messages to the client device to avoid users ignoring other important non-marketing messages due to receiving too many marketing messages, thereby improving the user experience.
[0076] In some optional implementations, in step S3, determining whether to intercept marketing messages pushed to the client device according to messages that have been pushed to the client device within the target unit time period includes:
[0077] Get all messages that have been pushed to client devices within the target unit time period and determine the number of non-marketing messages:
[0078] If the number of non-marketing messages is greater than the third threshold, the marketing messages pushed to the client device will be intercepted during the remaining time of the target unit time period; wherein the second threshold is greater than the third threshold.
[0079] If the number of non-marketing messages is less than or equal to the third threshold, marketing messages pushed to the client device will not be intercepted during the remaining time of the target unit time period; until the number of non-marketing messages is greater than the third threshold, marketing messages pushed to the client device will be intercepted during the remaining time of the target unit time period.
[0080] In the embodiment of the present application, the server first obtains all messages that have been pushed to the client device within the target unit time period. Then, the server classifies these messages and determines the number of non-marketing messages (such as private messages, system messages, etc.). The server compares the number of non-marketing messages obtained by counting with a preset third threshold. The third threshold is a value reasonably set according to factors such as application characteristics and user processing capabilities, and is used to determine whether the push of non-marketing messages has reached a higher level. The third threshold is also related to the length of the target unit time period. For example, if the target unit time period is one day, the third threshold can be 15, and if the target unit time period is one hour, the third threshold can be 3. If the number of non-marketing messages is greater than the third threshold, the server believes that enough non-marketing messages have been pushed to the client device within the current time period. Therefore, in the remaining time of the target unit time period, the server will intercept or delay the push of new marketing messages to the client device to reduce the burden of users processing messages, allowing users to concentrate on processing important non-marketing messages, and improve user experience.
[0081] In some optional implementations, in step S3, determining whether to intercept marketing messages pushed to the client device according to messages that have been pushed to the client device within the target unit time period includes:
[0082] Before pushing marketing messages to client devices each time, obtain the ratio of marketing messages that have been pushed to client devices to all messages within the target unit time period:
[0083] If the ratio is greater than the ratio threshold, the marketing message is intercepted. If the ratio is less than or equal to the ratio threshold, the marketing message is pushed to the client device.
[0084] In an embodiment of the present application, before pushing a marketing message to a client device each time, the server first calculates the ratio of the marketing messages that have been pushed to the client device in the target unit time period to all messages (including marketing and non-marketing messages). This ratio reflects the relative number of marketing messages in all pushed messages. The server compares the calculated marketing message ratio with a preset ratio threshold. The ratio threshold is a value reasonably set based on factors such as application characteristics, user needs, and market competition, and is used to determine whether the push of marketing messages has reached an excessively high ratio. If the marketing message ratio is greater than the ratio threshold, the server believes that too many marketing messages have been pushed to the client device in the current time period. Therefore, in order to prevent users from feeling bored due to receiving too much marketing information, the server will intercept or delay the push of the current marketing message. If the marketing message ratio is less than or equal to the ratio threshold, the server believes that the current push of marketing messages is appropriate and will not make the user feel bored, so the marketing message will be pushed to the client device.
[0085] Figure 3 A possible structure of an electronic device provided in an embodiment of the present application is shown. Figure 3 The electronic device includes: a processor, a memory and a communication interface. These components are interconnected and communicate with each other through a communication bus and / or other forms of connection mechanisms (not shown).
[0086] The memory includes one or more (only one is shown in the figure), which may be, but not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The processor and other possible components can access the memory and read and / or write data therein.
[0087] The processor includes one or more (only one is shown in the figure), which can be an integrated circuit chip with signal processing capabilities. The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a microcontroller unit (MCU), a network processor (NP) or other conventional processors; it can also be a special-purpose processor, including a neural network processor (NPU), a graphics processor (GPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. In addition, when there are multiple processors, some of them can be general-purpose processors and the other part can be special-purpose processors.
[0088] The communication interface includes one or more (only one is shown in the figure), which can be used to communicate directly or indirectly with other devices to exchange data. The communication interface can include an interface for wired and / or wireless communication.
[0089] One or more computer program instructions may be stored in the memory, and the processor may read and execute these computer program instructions to implement the method provided in the embodiment of the present application.
[0090] Understandably, Figure 3 The structure shown is for illustration only. The electronic device may also include Figure 3 More or fewer components as shown, or with Figure 3 Different structures are shown. Figure 3 The components shown in the figure can be implemented by hardware, software or a combination thereof. The electronic device may be a physical device, such as a PC, a laptop, a tablet computer, a mobile phone, a server, an embedded device, etc., or a virtual device, such as a virtual machine, a virtualized container, etc. Moreover, the electronic device is not limited to a single device, but may also be a combination of multiple devices or a cluster consisting of a large number of devices.
[0091] A computer program product provided in an embodiment of the present application includes a computer program / instruction, which implements the steps of any of the above methods when executed by a processor.
[0092] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0093] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0094] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0095] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0096] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A message push method, characterized in that: include: If a user activity event sent by a client device is obtained within a target unit time period, the client device is marked as an active device; During the remaining time of the target unit time period, marketing messages pushed to active devices will be blocked.
2. The method according to claim 1, characterized in that If a user activity event sent by a client device is obtained within the target unit time period, marking the client device as an active device includes: In the target unit time period, if a user activity event sent by a first client device is obtained, the first client device and a second client device of a user corresponding to the first client device are both marked as active devices.
3. The method according to claim 1, characterized in that Also includes: If no user activity event sent by the client device is obtained within the target unit time period, then during the remaining time of the target unit time period, it is determined whether to intercept the marketing messages pushed to the client device based on the messages that have been pushed to the client device within the target unit time period.
4. The method according to claim 3, characterized in that The determining whether to intercept the marketing messages pushed to the client device according to the messages that have been pushed to the client device within the target unit time period includes: Obtain all messages that have been pushed to the client device within the target unit time period, and determine the number of marketing messages among them; If the number of the marketing messages is greater than the first threshold, the marketing messages pushed to the client device will be intercepted during the remaining time of the target unit time period.
5. The method according to claim 4, characterized in that Push messages to clients, including: Generate different types of messages according to different types of message templates, and obtain unique identification codes corresponding to the messages; Saving the type and unique identification code corresponding to the message to a push message database; When the message is pushed, the message and the corresponding unique identification code are sent to the information service provider, and the message is pushed to the client device through the channel provided by the information service provider; After the message successfully reaches the client device, a message successfully reaches the receipt sent by the information service provider; the message successfully reaches the receipt includes a unique identification code corresponding to the message.
6. The method according to claim 5, characterized in that The acquiring of all messages that have been pushed to the client device within the target unit time period and determining the number of marketing messages therein includes: Obtaining a successful delivery receipt for the message received within a target unit time period; According to the unique identification code in the message successful delivery receipt, the push message database is queried to determine whether the message corresponding to the message successful delivery receipt is a marketing message.
7. The method according to claim 3, characterized in that The determining whether to intercept the marketing messages pushed to the client device according to the messages that have been pushed to the client device within the target unit time period includes: Get the total number of all messages that have been pushed to the client device within the target unit time period; If the total number is greater than a second threshold, the marketing messages pushed to the client device will be intercepted during the remaining time of the target unit time period; wherein the second threshold is greater than the first threshold.
8. The method according to claim 3, characterized in that The determining whether to intercept the marketing messages pushed to the client device according to the messages that have been pushed to the client device within the target unit time period includes: Obtain all messages that have been pushed to the client device within the target unit time period, and determine the number of non-marketing messages therein; If the number of the non-marketing messages is greater than the third threshold, the marketing messages pushed to the client device will be intercepted during the remaining time of the target unit time period; wherein the second threshold is greater than the third threshold.
9. The method according to claim 3, characterized in that The determining whether to intercept the marketing messages pushed to the client device according to the messages that have been pushed to the client device within the target unit time period includes: Before pushing a marketing message to a client device each time, obtain the ratio of the marketing message that has been pushed to the client device to all messages within a target unit time period; If the ratio is greater than the ratio threshold, the marketing message is intercepted; If the ratio is less than or equal to the ratio threshold, the marketing message is pushed to the client device.
10. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the machine-readable instructions are executed by the processor, the method according to any one of claims 1 to 9 is performed.
11. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of any method described in claims 1-9 are implemented.