CN116846967B - Quick pushing method, device and equipment for millions of user messages - Google Patents

Quick pushing method, device and equipment for millions of user messages Download PDF

Info

Publication number
CN116846967B
CN116846967B CN202311101054.2A CN202311101054A CN116846967B CN 116846967 B CN116846967 B CN 116846967B CN 202311101054 A CN202311101054 A CN 202311101054A CN 116846967 B CN116846967 B CN 116846967B
Authority
CN
China
Prior art keywords
push
message
target
user
pushing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311101054.2A
Other languages
Chinese (zh)
Other versions
CN116846967A (en
Inventor
徐宝祥
许海青
王浈广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Yingtiandi Information Technology Co ltd
Original Assignee
Suzhou Yingtiandi Information 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 Suzhou Yingtiandi Information Technology Co ltd filed Critical Suzhou Yingtiandi Information Technology Co ltd
Priority to CN202311101054.2A priority Critical patent/CN116846967B/en
Publication of CN116846967A publication Critical patent/CN116846967A/en
Application granted granted Critical
Publication of CN116846967B publication Critical patent/CN116846967B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of data pushing and discloses a method, a device and equipment for quickly pushing tens of millions of user messages. The method comprises the steps of obtaining a push message and a user attribute keyword corresponding to a target push task; determining a target user push list according to the user attribute keywords; the target user push list comprises at least one user identifier and a corresponding personalized message notification format; converting the push message into a target push message corresponding to a personalized message notification format based on a target user push list, and storing the target push message into a distributed message queue; and pushing each item of target push information to a corresponding user by adopting a multi-node parallel push mode and matching with a target user push list. The invention can accurately position the target user and effectively improve the transmission speed and flexibility of message pushing.

Description

Quick pushing method, device and equipment for millions of user messages
Technical Field
The present invention relates to the field of data pushing technologies, and in particular, to a method, an apparatus, and a device for quickly pushing a millions of user messages.
Background
Conventional message pushing techniques typically include e-mail pushing, short message pushing, and application pushing. Email pushing is a traditional message pushing technology based on the internet, which can send a message to one or more recipients; the short message pushing is a message pushing technology based on a mobile communication network, and can send short text messages to mobile equipment; application push is a mobile application based message push technology that can send notification messages to a user's mobile device.
However, the above-described several push techniques suffer from several drawbacks:
(1) The transmission speed is slow: the traditional message pushing mode is slow, and a certain time is needed to reach a receiver;
(2) Target users cannot be accurately positioned: the traditional message pushing mode can not accurately locate a target user, and only full-coverage pushing can be adopted, so that time and labor are wasted;
(3) The flexibility is poor: the traditional message pushing mode cannot be flexibly adjusted and optimized according to different requirements and conditions, for example, the message pushing modes are the same, and personalized messages cannot be pushed to different users.
Disclosure of Invention
The invention provides a method, a device and equipment for quickly pushing tens of millions of user messages, which solve the technical problems that the existing message pushing technology has the defects of low transmission speed, incapability of accurately positioning a target user and poor flexibility.
The first aspect of the invention provides a method for rapidly pushing millions of user messages, which comprises the following steps:
obtaining a push message and a user attribute keyword corresponding to a target push task;
determining a target user push list according to the user attribute keywords; the target user push list comprises at least one user identifier and a corresponding personalized message notification format;
converting the push message into a target push message corresponding to a personalized message notification format based on the target user push list, and storing the target push message into a distributed message queue;
and pushing each target push message to a corresponding user by adopting a multi-node parallel push mode and matching with the target user push list.
According to an implementation manner of the first aspect of the present invention, the determining a target user push list according to the user attribute keyword includes:
matching corresponding user attribute labels from a first preset database according to the user attribute keywords to serve as target user attribute labels; the first preset database stores the corresponding relation between the user attribute keywords and the user attribute labels;
matching a corresponding user push list from a second preset database according to the target user attribute tag to serve as a target user push list; and the second preset database stores the corresponding relation between the user attribute tag and the target user push list.
According to one manner that the first aspect of the present invention can be implemented, the method further includes:
acquiring a history record of reading a message by a user;
determining a preference matrix of a corresponding user according to the history record; the value in the preference matrix is the reading times of the user to the corresponding type of information;
calculating the preference degree of the corresponding user on various messages according to the preference matrix, and screening message types with preference degree larger than a preset preference degree threshold as target message types;
determining a user attribute label associated with a corresponding user according to the target message type;
classifying related information of users associated with the same user attribute tag into the same list to generate a corresponding user push list; the related information comprises the identification of the user and a personalized message notification format.
According to one implementation manner of the first aspect of the present invention, the personalized message notification format includes a message push mode, and the converting the push message into a target push message corresponding to the personalized message notification format based on the target user push list includes:
converting the push message into a target push message of a corresponding message push mode based on the target user push list; the message pushing mode comprises a voice pushing mode, an animation pushing mode and/or a text pushing mode.
According to one implementation manner of the first aspect of the present invention, the personalized message notification format includes a message sending location, and the pushing each target push message to a corresponding user in cooperation with the target user push list includes:
and pushing the target push message to a corresponding message sending position of the corresponding user by matching with the target user push list.
According to one implementation manner of the first aspect of the present invention, before pushing each target push message to a corresponding user in cooperation with the target user push list, the method further includes:
preprocessing each target push message; the pretreatment comprises the following steps: carrying out pushing priority configuration on each target pushing message, and processing each target pushing message based on a priority queue mode; and/or filtering each target push message.
According to one implementation manner of the first aspect of the present invention, the personalized message notification format includes a message sending time range, the target user push list further includes an initial push priority of each user in the list, and the configuring the push priority of each target push message includes:
Grouping the target push messages according to the message sending time range, and sequencing the obtained target push message groups according to the sequence from the early to the late to obtain a first sequencing result;
determining the accumulated reading times of each user in the target user push list on the target pushed message in a preset time period; the target pushed information is pushed information which is the same as the type of the push information corresponding to the target push task;
calculating target push priorities of the corresponding users according to the accumulated reading times and the initial push priorities;
sequencing all target push messages in all target push message groups according to the sequence from big to small of target push priority, and obtaining a second sequencing result;
determining a sorting priority of each target push message based on the first sorting result and the second sorting result;
and carrying out push priority configuration on each target push message by taking the determined sequencing priority as the push priority.
A second aspect of the present invention provides a millions of user messages quick pushing device, comprising:
the first acquisition module is used for acquiring a push message and a user attribute keyword corresponding to a target push task;
The first determining module is used for determining a target user push list according to the user attribute keywords; the target user push list comprises at least one user identifier and a corresponding personalized message notification format;
the conversion processing module is used for converting the push message into a target push message corresponding to the personalized message notification format based on the target user push list, and storing the target push message into a distributed message queue;
and the pushing module is used for pushing each target pushing message to a corresponding user by adopting a multi-node parallel pushing mode and matching with the target user pushing list.
According to one manner in which the second aspect of the present invention can be implemented, the determining module includes:
the first matching unit is used for matching corresponding user attribute labels from a first preset database according to the user attribute keywords to serve as target user attribute labels; the first preset database stores the corresponding relation between the user attribute keywords and the user attribute labels;
the second matching unit is used for matching a corresponding user push list from a second preset database according to the target user attribute tag to serve as a target user push list; and the second preset database stores the corresponding relation between the user attribute tag and the target user push list.
According to one manner in which the second aspect of the invention can be implemented, the apparatus further comprises:
the second acquisition module is used for acquiring a history record of the reading information of the user;
the second determining module is used for determining a preference matrix of the corresponding user according to the history record; the value in the preference matrix is the reading times of the user to the corresponding type of information;
the screening module is used for calculating the preference degree of the corresponding user for various messages according to the preference matrix, and screening the message types with preference degree larger than a preset preference degree threshold as target message types;
a third determining module, configured to determine a user attribute tag associated with a corresponding user according to the target message type;
the generation module is used for classifying the related information of the users associated with the same user attribute tag into the same list so as to generate a corresponding user push list; the related information comprises the identification of the user and a personalized message notification format.
According to one implementation manner of the second aspect of the present invention, the personalized message notification format includes a message pushing mode, and the conversion processing module includes:
a conversion unit, configured to convert the push message into a target push message corresponding to a message push mode based on the target user push list; the message pushing mode comprises a voice pushing mode, an animation pushing mode and/or a text pushing mode.
According to one implementation manner of the second aspect of the present invention, the personalized message notification format includes a message sending location, and the push module includes:
and the pushing unit is used for pushing the target push message to the corresponding message sending position of the corresponding user in cooperation with the target user push list.
According to one implementation manner of the second aspect of the present invention, before pushing each target push message to a corresponding user in cooperation with the target user push list, the apparatus further includes:
the preprocessing module is used for preprocessing each target push message; the pretreatment comprises the following steps: carrying out pushing priority configuration on each target pushing message, and processing each target pushing message based on a priority queue mode; and/or filtering each target push message.
According to one implementation manner of the second aspect of the present invention, the personalized message notification format includes a message sending time range, the target user push list further includes an initial push priority of each user in the list, and the preprocessing module is specifically configured to, when performing push priority configuration on each target push message:
Grouping the target push messages according to the message sending time range, and sequencing the obtained target push message groups according to the sequence from the early to the late to obtain a first sequencing result;
determining the accumulated reading times of each user in the target user push list on the target pushed message in a preset time period; the target pushed information is pushed information which is the same as the type of the push information corresponding to the target push task;
calculating target push priorities of the corresponding users according to the accumulated reading times and the initial push priorities;
sequencing all target push messages in all target push message groups according to the sequence from big to small of target push priority, and obtaining a second sequencing result;
determining a sorting priority of each target push message based on the first sorting result and the second sorting result;
and carrying out push priority configuration on each target push message by taking the determined sequencing priority as the push priority.
A third aspect of the present invention provides a millions of level user messages quick pushing device, comprising:
a memory for storing instructions; the instruction is used for realizing the millions of user message rapid pushing method according to the mode which can be realized by any one of the above steps;
And the processor is used for executing the instructions in the memory.
A fourth aspect of the present invention is a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method for fast pushing of user messages at a level of millions according to any one of the above modes.
From the above technical scheme, the invention has the following advantages:
the method comprises the steps of obtaining a push message and a user attribute keyword corresponding to a target push task; determining a target user push list according to the user attribute keywords; the target user push list comprises at least one user identifier and a corresponding personalized message notification format; converting the push message into a target push message corresponding to a personalized message notification format based on the target user push list, and storing the target push message into a distributed message queue; pushing each target push message to a corresponding user by adopting a multi-node parallel push mode and matching with the target user push list; according to the method and the device, the message pushing is carried out based on the target user pushing list, so that the target user can be accurately positioned; the invention adopts an asynchronous pushing mode based on the message queue, can return the message immediately after sending the message into the message queue, and a plurality of pushing nodes consume and push the message in parallel, thereby greatly improving the transmission speed of message pushing; the invention can convert the push message corresponding to the target push task into the target push message corresponding to the personalized message notification format to push the target push message to the corresponding user, thereby effectively improving the flexibility of push.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for quickly pushing tens of millions of user messages according to an alternative embodiment of the present invention;
FIG. 2 is a flowchart of a method for quickly pushing a message of a user at a tens of millions according to another alternative embodiment of the present invention;
FIG. 3 is a flowchart of a method for quickly pushing a message of a user at a tens of millions according to still another alternative embodiment of the present invention;
FIG. 4 is a block diagram showing the structural connections of a quick message pushing device for a ten-million level user according to an alternative embodiment of the present invention;
FIG. 5 is a block diagram showing the structural connections of a quick message pushing device for a ten-million level user according to another alternative embodiment of the present invention;
fig. 6 is a block diagram showing the structural connection of a quick pushing device for tens of millions of user messages according to still another alternative embodiment of the present invention.
Reference numerals:
1-a first acquisition module; 2-a first determination module; a 3-conversion processing module; 4-pushing module; 5-a second acquisition module; 6-a second determination module; 7-a screening module; 8-a third determination module; 9-a generation module; 10-a pretreatment module.
Detailed Description
The embodiment of the invention provides a method, a device and equipment for quickly pushing tens of millions of user messages, which are used for solving the technical problems that the existing message pushing technology has the defects of low transmission speed, incapability of accurately positioning a target user and poor flexibility.
In order to make the objects, features and advantages of the present invention more comprehensible, the technical solutions in the embodiments of the present invention are described in detail below with reference to the accompanying drawings, and it is apparent that the embodiments described below are only some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention provides a quick pushing method for tens of millions of user messages.
Referring to fig. 1, fig. 1 shows a flowchart of a method for quickly pushing a millions of user messages according to an embodiment of the present invention.
The method for quickly pushing the millions of user messages provided by the embodiment of the invention comprises the steps S1-S4.
Step S1, a push message and a user attribute keyword corresponding to a target push task are obtained.
Wherein the user attribute keywords are used to characterize the basic characteristics of the desired push user, such as age range, gender, telephone number attribution, push message requirements, etc.
In one implementation, the target push task and the user attribute keywords may be specified by the message publisher, thereby determining the message to be pushed based on the target push task.
As an implementation manner, a message generator/model can be generated according to actual business case training, and a message to be pushed is obtained based on a target pushing task through the message generator/model. The specific training method may refer to the prior art, and in this embodiment, this is not limited.
As another implementation mode, a list storing the corresponding relation between the target pushing task and the message to be pushed can be set, and further, the acquisition of the pushing message corresponding to the target pushing task is achieved in a matching mode.
In other implementations, the push message and the user attribute keyword corresponding to the target push task may be specified directly by the message publisher.
Step S2, determining a target user push list according to the user attribute keywords; the target user push list includes at least one user's identification and a corresponding personalized message notification format.
The personalized message notification format can be specified by a message receiver according to own requirements, and then acquired by a message publisher.
In one implementation manner, the determining the target user push list according to the user attribute keyword includes:
matching corresponding user attribute labels from a first preset database according to the user attribute keywords to serve as target user attribute labels; the first preset database stores the corresponding relation between the user attribute keywords and the user attribute labels;
matching a corresponding user push list from a second preset database according to the target user attribute tag to serve as a target user push list; and the second preset database stores the corresponding relation between the user attribute tag and the target user push list.
According to the embodiment of the invention, the push list of the target user is determined in a list grading matching mode, and the method is simple and convenient.
In other implementations, the model may be generated based on a trained user push list, with the user attribute keywords as input, outputting a target user push list.
It should be noted that, the specific training method of the user push list generation model may refer to the prior art, and in this embodiment, this is not limited.
In one implementation, on the basis of the method shown in fig. 1, as shown in fig. 2, the method further includes:
step S10, acquiring a history record of the reading information of the user;
step S20, determining a preference matrix of a corresponding user according to the history record; the value in the preference matrix is the reading times of the user to the corresponding type of information;
step S30, calculating the preference degree of the corresponding user for various messages according to the preference matrix, and screening the message types with preference degree larger than a preset preference degree threshold as target message types;
step S40, determining a user attribute label associated with the corresponding user according to the target message type;
step S50, the related information of the users associated with the same user attribute label is classified into the same list to generate a corresponding user push list; the related information comprises the identification of the user and a personalized message notification format.
As an implementation manner, when calculating the preference degree of the corresponding user for each type of message according to the preference matrix, the calculation may be performed according to the following formula:
Wherein->Representing the corresponding user pair->Preference degree of class message,/-, for the message>Representing the corresponding user pair->Reading times of class message, < >>Representing the number of message types.
In the embodiment of the invention, the user attribute tag characterizes the message pushing requirement/interest of the user, so that the message type with the preference degree of the user larger than the preset preference degree threshold value can be determined as the target message type according to the historical data, and the user attribute tag is determined according to the target message type.
In the embodiment of the invention, the generation of the user push list data can be realized, so that the stored data is provided for the second preset database, and the corresponding user push list is matched from the second preset database as a target user push list according to the target user attribute label.
And step S3, converting the push message into a target push message corresponding to the personalized message notification format based on the target user push list, and storing the target push message into a distributed message queue.
A message queue for holding messages until sent to the consumer. It is the container of the message and also the end of the message. A message may be placed into one or more queues. Messages remain in the queue waiting for the consumer to connect to the queue to take them away. The distributed message queue can be regarded as deploying the data structure on an independent server, and the distributed message queue is used for storing messages through a remote access interface, so that distributed asynchronous call is realized. When the message arrives at the message queue, the consumer can take the message out of the message queue, and the consumer establishes a connection with the message queue, so that a plurality of channels are opened up in each TCP connection for saving resources, and data is transmitted to the consumer through the channels.
In the embodiment of the invention, the push message is converted into the target push message corresponding to the personalized message notification format, thereby realizing personalized setting of the push message and effectively improving the flexibility of message push; by adopting an asynchronous pushing mode based on the message queue, the message can be returned immediately after being sent to the message queue, and a plurality of pushing nodes consume and push the message in parallel, so that the efficiency and the speed of message pushing are greatly improved.
In one implementation, the personalized message notification format includes a message push mode, and the converting the push message into a target push message of a corresponding personalized message notification format based on the target user push list includes:
converting the push message into a target push message of a corresponding message push mode based on the target user push list; the message pushing mode comprises a voice pushing mode, an animation pushing mode and/or a text pushing mode.
In the embodiment of the invention, individuation of the message pushing mode is realized, the user experience can be enhanced, and the flexibility of message pushing is improved.
It should be noted that, the method for converting the original format of the message into the corresponding message pushing mode may refer to the prior art, and in this embodiment, the method is not limited thereto.
And S4, pushing each target push message to a corresponding user by adopting a multi-node parallel push mode and matching with the target user push list.
In the embodiment of the invention, the multi-node parallel pushing is adopted, so that the pushing efficiency and concurrency capacity can be improved.
It should be noted that, the specific multi-node parallel pushing process belongs to the prior art, and this embodiment is not limited thereto.
In one implementation manner, the personalized message notification format includes a message sending location, and pushing each target push message to a corresponding user in cooperation with the target user push list includes:
and pushing the target push message to a corresponding message sending position of the corresponding user by matching with the target user push list.
In the embodiment of the invention, the personalized setting of the message sending position is realized, and the flexibility of message pushing is effectively improved.
In one implementation manner, on the basis of the method shown in fig. 2, as shown in fig. 3, before pushing each target push message to a corresponding user in cooperation with the target user push list, the method further includes:
step S100, preprocessing each target push message; the pretreatment comprises the following steps: carrying out pushing priority configuration on each target pushing message, and processing each target pushing message based on a priority queue mode; and/or filtering each target push message.
The priority queue mode provides a mechanism for ensuring that specific messages are transmitted before other messages, in the embodiment of the invention, the push priority configuration is carried out on each target push message, and each target push message is processed based on the priority queue mode, so that the message push strategy can be flexibly configured according to different service requirements and scenes, and the flexibility of message push is improved.
The filtering operation of the message can improve the stability and reliability of message pushing. The filtering operation on the message may be, for example, deleting duplicate messages, deleting messages with wrong formats or messages requiring access to an unavailable resource task, etc.
In one implementation manner, the personalized message notification format includes a message sending time range, the target user push list further includes an initial push priority of each user in the list, and the configuring the push priority of each target push message includes:
grouping the target push messages according to the message sending time range, and sequencing the obtained target push message groups according to the sequence from the early to the late to obtain a first sequencing result;
Determining the accumulated reading times of each user in the target user push list on the target pushed message in a preset time period; the target pushed information is pushed information which is the same as the type of the push information corresponding to the target push task;
calculating target push priorities of the corresponding users according to the accumulated reading times and the initial push priorities;
sequencing all target push messages in all target push message groups according to the sequence from big to small of target push priority, and obtaining a second sequencing result;
determining a sorting priority of each target push message based on the first sorting result and the second sorting result;
and carrying out push priority configuration on each target push message by taking the determined sequencing priority as the push priority.
As one embodiment, calculating the target push priority of the corresponding user according to the accumulated reading times and the initial push priority includes:
matching corresponding push priorities from a preset priority list according to the accumulated reading times; the preset priority list stores the corresponding relation between the accumulated reading frequency range and the pushing priority;
And calculating the target push priority of the corresponding user according to the determined push priority and the initial push priority.
The calculation rule for calculating the target push priority of the corresponding user according to the determined push priority and the initial push priority can be set according to actual conditions. For example, the determined push priority and the average value of the initial push priorities may be used as the target push priority of the corresponding user.
As another embodiment, calculating the target push priority of the corresponding user according to the accumulated reading times and the initial push priority includes:
determining an added value of the push priority according to the range of the accumulated reading times;
the sum of the determined added value and the initial push priority is calculated as the target push priority.
The rule for determining the added value of the push priority according to the range of the accumulated reading times can be set according to actual situations.
As still another embodiment, calculating the target push priority of the corresponding user according to the accumulated reading times and the initial push priority includes:
When the accumulated reading times are lower than a preset times threshold value, subtracting 1 from the initial push priority to obtain a target push priority;
and when the accumulated reading times are not lower than a preset times threshold, taking the initial push priority as a target push priority.
In the above embodiment of the present invention, according to the foregoing embodiment, the push priority configuration is performed on each target push message, so that message push can improve the probability of reading push information while meeting the user requirement, thereby improving the flexibility and success rate of message push.
The invention also provides a device for quickly pushing the millions of user messages, which can be used for executing the method for quickly pushing the tens of millions of user messages according to any one of the embodiments of the invention.
Referring to fig. 4, fig. 4 is a block diagram showing the structural connection of a quick pushing device for a user message in tens of millions according to an embodiment of the present invention.
The device for quickly pushing the millions of user messages provided by the embodiment of the invention comprises the following components:
the first acquisition module 1 is used for acquiring a push message and a user attribute keyword corresponding to a target push task;
the first determining module 2 is used for determining a target user push list according to the user attribute keywords; the target user push list comprises at least one user identifier and a corresponding personalized message notification format;
The conversion processing module 3 is configured to convert the push message into a target push message in a corresponding personalized message notification format based on the target user push list, and store the target push message into a distributed message queue;
and the pushing module 4 is used for pushing each target pushing message to a corresponding user by adopting a multi-node parallel pushing mode and matching with the target user pushing list.
In one implementation, the determining module includes:
the first matching unit is used for matching corresponding user attribute labels from a first preset database according to the user attribute keywords to serve as target user attribute labels; the first preset database stores the corresponding relation between the user attribute keywords and the user attribute labels;
the second matching unit is used for matching a corresponding user push list from a second preset database according to the target user attribute tag to serve as a target user push list; and the second preset database stores the corresponding relation between the user attribute tag and the target user push list.
In one possible implementation, on the basis of the apparatus shown in fig. 4, as shown in fig. 5, the apparatus further includes:
A second obtaining module 5, configured to obtain a history of reading messages by the user;
a second determining module 6, configured to determine a preference matrix of the corresponding user according to the history record; the value in the preference matrix is the reading times of the user to the corresponding type of information;
the screening module 7 is used for calculating the preference degree of the corresponding user for various messages according to the preference matrix, and screening the message types with preference degree larger than the preset preference degree threshold as target message types;
a third determining module 8, configured to determine a user attribute tag associated with a corresponding user according to the type of the target message;
the generating module 9 is configured to attribute related information of users associated with the same user attribute tag to the same list, so as to generate a corresponding user push list; the related information comprises the identification of the user and a personalized message notification format.
In one possible implementation, the personalized message notification format includes a message push mode, and the conversion processing module 3 includes:
a conversion unit, configured to convert the push message into a target push message corresponding to a message push mode based on the target user push list; the message pushing mode comprises a voice pushing mode, an animation pushing mode and/or a text pushing mode.
In one possible implementation, the personalized message notification format includes a message sending location, and the push module 4 includes:
and the pushing unit is used for pushing the target push message to the corresponding message sending position of the corresponding user in cooperation with the target user push list.
In one implementation manner, on the basis of the apparatus shown in fig. 5, before pushing each target push message to a corresponding user in cooperation with the target user push list, as shown in fig. 6, the apparatus further includes:
a preprocessing module 10, configured to preprocess each of the target push messages; the pretreatment comprises the following steps: carrying out pushing priority configuration on each target pushing message, and processing each target pushing message based on a priority queue mode; and/or filtering each target push message.
In one implementation manner, the personalized message notification format includes a message sending time range, the target user push list further includes an initial push priority of each user in the list, and when the preprocessing module 10 configures the push priority of each target push message, the method is specifically used for:
Grouping the target push messages according to the message sending time range, and sequencing the obtained target push message groups according to the sequence from the early to the late to obtain a first sequencing result;
determining the accumulated reading times of each user in the target user push list on the target pushed message in a preset time period; the target pushed information is pushed information which is the same as the type of the push information corresponding to the target push task;
calculating target push priorities of the corresponding users according to the accumulated reading times and the initial push priorities;
sequencing all target push messages in all target push message groups according to the sequence from big to small of target push priority, and obtaining a second sequencing result;
determining a sorting priority of each target push message based on the first sorting result and the second sorting result;
and carrying out push priority configuration on each target push message by taking the determined sequencing priority as the push priority.
The invention also provides a millions of quick pushing equipment for user messages, which comprises the following steps:
a memory for storing instructions; the instruction is used for realizing the millions of user message quick pushing method according to any one of the embodiments;
And the processor is used for executing the instructions in the memory.
The application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the ten-million-level user message quick pushing method according to any one of the embodiments.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device, module and unit described above may refer to corresponding procedures in the foregoing method embodiments, and specific beneficial effects of the apparatus, device, module and unit described above may refer to corresponding beneficial effects in the foregoing method embodiments, which are not described herein again.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
The integrated modules, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for quickly pushing tens of millions of user messages, comprising:
obtaining a push message and a user attribute keyword corresponding to a target push task;
determining a target user push list according to the user attribute keywords; the target user push list comprises at least one user identifier and a corresponding personalized message notification format;
converting the push message into a target push message corresponding to a personalized message notification format based on the target user push list, and storing the target push message into a distributed message queue;
pushing each target push message to a corresponding user by adopting a multi-node parallel push mode and matching with the target user push list;
Before pushing each target push message to a corresponding user in cooperation with the target user push list, the method further includes:
preprocessing each target push message; the pretreatment comprises the following steps: carrying out pushing priority configuration on each target pushing message, and processing each target pushing message based on a priority queue mode; and/or, performing filtering operation on each target push message;
the personalized message notification format includes a message sending time range, the target user push list further includes initial push priorities of users in the list, and the configuring the push priorities of the target push messages includes:
grouping the target push messages according to the message sending time range, and sequencing the obtained target push message groups according to the sequence from the early to the late to obtain a first sequencing result;
determining the accumulated reading times of each user in the target user push list on the target pushed message in a preset time period; the target pushed information is pushed information which is the same as the type of the push information corresponding to the target push task;
Calculating target push priorities of the corresponding users according to the accumulated reading times and the initial push priorities;
sequencing all target push messages in all target push message groups according to the sequence from big to small of target push priority, and obtaining a second sequencing result;
determining a sorting priority of each target push message based on the first sorting result and the second sorting result;
and carrying out push priority configuration on each target push message by taking the determined sequencing priority as the push priority.
2. The method for quickly pushing a message of a millions of users according to claim 1, wherein said determining a target user push list according to said user attribute keyword comprises:
matching corresponding user attribute labels from a first preset database according to the user attribute keywords to serve as target user attribute labels; the first preset database stores the corresponding relation between the user attribute keywords and the user attribute labels;
matching a corresponding user push list from a second preset database according to the target user attribute tag to serve as a target user push list; and the second preset database stores the corresponding relation between the user attribute tag and the target user push list.
3. The method for quickly pushing a millions of user messages according to claim 2, wherein said method further comprises:
acquiring a history record of reading a message by a user;
determining a preference matrix of a corresponding user according to the history record; the value in the preference matrix is the reading times of the user to the corresponding type of information;
calculating the preference degree of the corresponding user on various messages according to the preference matrix, and screening message types with preference degree larger than a preset preference degree threshold as target message types;
determining a user attribute label associated with a corresponding user according to the target message type;
classifying related information of users associated with the same user attribute tag into the same list to generate a corresponding user push list; the related information comprises the identification of the user and a personalized message notification format.
4. The method for quickly pushing a message for a millions of users according to claim 1, wherein said personalized message notification format includes a message pushing mode, said converting said push message into a target push message of a corresponding personalized message notification format based on said target user push list, comprising:
converting the push message into a target push message of a corresponding message push mode based on the target user push list; the message pushing mode comprises a voice pushing mode, an animation pushing mode and/or a text pushing mode.
5. The method for quickly pushing millions of user messages according to claim 1, wherein said personalized message notification format includes a message sending location, and said pushing each of said target push messages to a corresponding user in cooperation with said target user push list includes:
and pushing the target push message to a corresponding message sending position of the corresponding user by matching with the target user push list.
6. A millions of user messages quick pushing device, comprising:
the first acquisition module is used for acquiring a push message and a user attribute keyword corresponding to a target push task;
the first determining module is used for determining a target user push list according to the user attribute keywords; the target user push list comprises at least one user identifier and a corresponding personalized message notification format;
the conversion processing module is used for converting the push message into a target push message corresponding to the personalized message notification format based on the target user push list, and storing the target push message into a distributed message queue;
the pushing module is used for pushing each target pushing message to a corresponding user by adopting a multi-node parallel pushing mode and matching with the target user pushing list;
Before pushing each target push message to a corresponding user in cooperation with the target user push list, the apparatus further includes:
the preprocessing module is used for preprocessing each target push message; the pretreatment comprises the following steps: carrying out pushing priority configuration on each target pushing message, and processing each target pushing message based on a priority queue mode; and/or, performing filtering operation on each target push message;
the personalized message notification format includes a message sending time range, the target user push list further includes initial push priorities of users in the list, and the preprocessing module is specifically configured to:
grouping the target push messages according to the message sending time range, and sequencing the obtained target push message groups according to the sequence from the early to the late to obtain a first sequencing result;
determining the accumulated reading times of each user in the target user push list on the target pushed message in a preset time period; the target pushed information is pushed information which is the same as the type of the push information corresponding to the target push task;
Calculating target push priorities of the corresponding users according to the accumulated reading times and the initial push priorities;
sequencing all target push messages in all target push message groups according to the sequence from big to small of target push priority, and obtaining a second sequencing result;
determining a sorting priority of each target push message based on the first sorting result and the second sorting result;
and carrying out push priority configuration on each target push message by taking the determined sequencing priority as the push priority.
7. A millions of user message quick push devices, comprising:
a memory for storing instructions; wherein the instruction is used for realizing the millions of user message quick pushing method according to any one of claims 1-5;
and the processor is used for executing the instructions in the memory.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements a method for fast pushing of millions of user messages according to any of claims 1-5.
CN202311101054.2A 2023-08-30 2023-08-30 Quick pushing method, device and equipment for millions of user messages Active CN116846967B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311101054.2A CN116846967B (en) 2023-08-30 2023-08-30 Quick pushing method, device and equipment for millions of user messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311101054.2A CN116846967B (en) 2023-08-30 2023-08-30 Quick pushing method, device and equipment for millions of user messages

Publications (2)

Publication Number Publication Date
CN116846967A CN116846967A (en) 2023-10-03
CN116846967B true CN116846967B (en) 2023-12-05

Family

ID=88165570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311101054.2A Active CN116846967B (en) 2023-08-30 2023-08-30 Quick pushing method, device and equipment for millions of user messages

Country Status (1)

Country Link
CN (1) CN116846967B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815356A (en) * 2017-01-20 2017-06-09 泰华智慧产业集团股份有限公司 Precision target user message method for pushing and system based on semantic analysis
CN109299387A (en) * 2018-11-13 2019-02-01 平安科技(深圳)有限公司 A kind of information push method based on intelligent recommendation, device and terminal device
CN109450805A (en) * 2018-10-31 2019-03-08 百度在线网络技术(北京)有限公司 Information push method, device and system
CN113095886A (en) * 2021-03-12 2021-07-09 上海意略明数字科技股份有限公司 Message pushing method and device, storage medium and computer equipment
CN114385918A (en) * 2022-01-14 2022-04-22 平安壹钱包电子商务有限公司 Message pushing method and device, computer equipment and storage medium
CN115422448A (en) * 2022-08-25 2022-12-02 华能国际电力股份有限公司 Message pushing method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815356A (en) * 2017-01-20 2017-06-09 泰华智慧产业集团股份有限公司 Precision target user message method for pushing and system based on semantic analysis
CN109450805A (en) * 2018-10-31 2019-03-08 百度在线网络技术(北京)有限公司 Information push method, device and system
CN109299387A (en) * 2018-11-13 2019-02-01 平安科技(深圳)有限公司 A kind of information push method based on intelligent recommendation, device and terminal device
CN113095886A (en) * 2021-03-12 2021-07-09 上海意略明数字科技股份有限公司 Message pushing method and device, storage medium and computer equipment
CN114385918A (en) * 2022-01-14 2022-04-22 平安壹钱包电子商务有限公司 Message pushing method and device, computer equipment and storage medium
CN115422448A (en) * 2022-08-25 2022-12-02 华能国际电力股份有限公司 Message pushing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN116846967A (en) 2023-10-03

Similar Documents

Publication Publication Date Title
US11134046B2 (en) Apparatus and method for maintaining a message thread with opt-in permanence for entries
CN108920675B (en) Information processing method and device, computer storage medium and terminal
KR101863981B1 (en) Using text messages to interact with spreadsheets
US8054953B2 (en) Method and system for executing correlative services
CN106375458B (en) Service calling system, method and device
US20050204001A1 (en) Method and devices for prioritizing electronic messages
US8849854B2 (en) Method and system for providing detailed information in an interactive manner in a short message service (SMS) environment
CN107395697A (en) Push Channel Selection, information push method, device and equipment, computer-readable recording medium
CN101369989A (en) Method and system for tracking delivered e-mail
KR20010016276A (en) Method and system for processing e-mail with an anonymous receiver
CN104702675B (en) The response method and device of customer incident
US20240020305A1 (en) Systems and methods for automatic archiving, sorting, and/or indexing of secondary message content
CN114124861A (en) Message group sending method and device, computer equipment and storage medium
CN108228664B (en) Unstructured data processing method and device
CN104182549A (en) E-mail digest generation method and device
CN104869048A (en) Grouping processing method, device and system of MicroBlog data
CN108768835B (en) Mail analysis method, device, server and storage medium
CN110427134A (en) Data processing method, device, equipment and the readable storage medium storing program for executing of instant messaging
US20160366077A1 (en) E-mail processing
CN110011898B (en) Reply method and device of e-mail, storage medium and computer equipment
CN112365238A (en) TODO automatic reminding method, system, electronic equipment and readable storage medium
CN109547322A (en) System prompt control method, device, computer and computer readable storage medium
CN109242410A (en) A kind of generation method and device of backlog
CN116846967B (en) Quick pushing method, device and equipment for millions of user messages
CN113407749B (en) Picture index construction method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant