CN107734062B - Message pushing method and device - Google Patents

Message pushing method and device Download PDF

Info

Publication number
CN107734062B
CN107734062B CN201711131324.9A CN201711131324A CN107734062B CN 107734062 B CN107734062 B CN 107734062B CN 201711131324 A CN201711131324 A CN 201711131324A CN 107734062 B CN107734062 B CN 107734062B
Authority
CN
China
Prior art keywords
message
pushed
behavior data
user behavior
queue
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
CN201711131324.9A
Other languages
Chinese (zh)
Other versions
CN107734062A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711131324.9A priority Critical patent/CN107734062B/en
Publication of CN107734062A publication Critical patent/CN107734062A/en
Application granted granted Critical
Publication of CN107734062B publication Critical patent/CN107734062B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a message pushing method and a device, wherein the method comprises the following steps: acquiring the attribute of a message to be pushed and user behavior data of a target user; updating a message queue pushed to the target user according to the attribute of the message to be pushed and the user behavior data; and pushing each message to the target user according to the arrangement sequence of each message in the updated message queue. According to the invention, the message desired by the user can be pushed to the user in time, so that the accuracy of the pushed message is improved, the user experience is improved, and the click rate of the message pushed to the user and the utilization rate of the pushing resource are also improved.

Description

Message pushing method and device
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a message pushing method and apparatus.
Background
With the rapid development of computer and internet technologies, networks have become an important way for people to obtain and share information. Generally, a server pushes various messages to an application installed on a mobile terminal, and a user browses various messages through the application installed on the mobile terminal.
In the prior art, when a message is created, a server can define the importance degree of the message in a self-defining manner, determine the push priority of the message according to the importance degree of the message, preferentially push the message with higher priority, and simultaneously stop or limit the sending of the message with lower priority, thereby ensuring the push efficiency of the message with higher priority.
However, when the messages are pushed according to the self-defined priority of the server, the messages which are preferentially pushed to the user are not necessarily the messages which the user wants to browse, and the messages which the user wants are delayed to arrive or do not arrive, so that the accuracy of the pushed messages is low, and the user experience is poor; in addition, when pushing a message through a PUSH mechanism, the message is generally pushed to a user through a PUSH resource, and in the prior art, when pushing the message, the utilization rate of the PUSH resource may be low because the priority of each message cannot be reasonably arranged.
Disclosure of Invention
The embodiment of the invention aims to provide a message pushing method and a message pushing device, and aims to solve the problems that in the prior art, the accuracy of a pushed message is low, so that the experience of a client is poor, and the utilization rate of the pushed message is low.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a message pushing method, where the method includes:
acquiring the attribute of a message to be pushed and user behavior data of a target user;
updating a message queue pushed to the target user according to the attribute of the message to be pushed and the user behavior data;
and pushing each message to the target user according to the arrangement sequence of each message in the updated message queue.
In a second aspect, an embodiment of the present invention further provides a message pushing apparatus, where the apparatus includes:
the acquisition module is used for acquiring the attribute of the message to be pushed and the user behavior data of the target user;
the updating module is used for updating the message queue pushed to the target user according to the attribute of the message to be pushed and the user behavior data;
and the pushing module is used for pushing each message to the target user according to the arrangement sequence of each message in the updated message queue.
In a third aspect, an embodiment of the present invention further provides a message pushing device, where the message pushing device includes:
a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the message pushing method according to the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the message pushing method according to the first aspect.
In the embodiment of the invention, the message queue pushed to the user is updated according to the attribute of the message to be pushed and the collected user behavior data of the target user; then, pushing the messages to the user according to the arrangement sequence of the messages in the message queue; in the embodiment of the invention, when the arrangement sequence of each message in the message queue is determined, the user behavior data is taken into consideration, the message queue is continuously updated, and the message is pushed to the target user according to the arrangement sequence of each message in the message queue, so that the message which is preferentially pushed to the target user is more biased to the message which is wanted by the user, namely, the message which is wanted by the user can be pushed to the user in time, the accuracy of the pushed message is improved, the experience of the user is improved, and the click rate of the message which is pushed to the user and the utilization rate of pushing resources are also improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flow chart of a first method of a message pushing method according to an embodiment of the present invention.
Fig. 2 is a flowchart of determining a queue value of a message to be pushed in a message pushing method according to an embodiment of the present invention.
Fig. 3 is a flowchart of determining a score corresponding to user behavior data in a message pushing method according to an embodiment of the present invention.
Fig. 4 is a flow chart of a second method of a message pushing method according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a message pushing apparatus according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a message pushing apparatus in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a message pushing method, which is applied to a server side, and when a new message is created, a message queue pushed to a user is updated according to the attribute of the message to be pushed and collected user behavior data of a target user; then, pushing the messages to the user according to the arrangement sequence of the messages in the message queue; in the embodiment of the invention, when the arrangement sequence of each message in the message queue is determined, the user behavior data is taken into account, so that the message preferentially pushed to the target user is more likely to be the message desired by the user, namely, the message desired by the user can be pushed to the user in time, the accuracy of the pushed message is improved, the user experience is improved, and the click rate of the message pushed to the user is also improved.
Before the method provided by the embodiment of the invention is adopted to push the message to the target user, the following steps need to be executed: creating a message to be pushed; and determines the target user of the message to be pushed.
The target user generally refers to an audience group of the message to be pushed, and specifically, the target user may be determined according to the type or specific content of the message to be pushed. For example, when the message to be pushed is entertainment news, the message may be an age-group user who likes to watch the entertainment news.
The execution main body of the message pushing method provided by the embodiment of the invention is the server, and each time a message is created, the server needs to determine the arrangement position of the newly created message in the message queue according to the message pushing method provided by the embodiment of the invention, and then the server pushes the message to the target user according to the arrangement sequence of each message in the message queue.
Fig. 1 is a flowchart of a first method of a message pushing method according to an embodiment of the present invention, as shown in fig. 1, the method at least includes the following steps:
step S102, obtaining the attribute of the message to be pushed and the user behavior data of the target user.
The attribute of the message to be pushed may include a type of the message to be pushed, for example, whether the message to be pushed belongs to a news message or an advertisement message; the attributes of the messages to be pushed may further include the importance degree of the messages, and the importance degree may be marked by an importance score, specifically, when each message is created, the creator of the message may define the importance degree of the message; in addition, the attribute of the message to be pushed may also include the occurrence location of the message to be pushed, or other geographical location information related to the message to be pushed, and so on.
The user behavior data may include at least one of: click information, attention information, and subscription information.
The user behavior data includes at least one of click information, attention information and subscription information, and specifically includes the following conditions: the user behavior data may include any one of click information, attention information and subscription information; or the user behavior data comprises any two items of click information, attention information and subscription information; still alternatively, the user behavior data includes click information, attention information, and subscription information.
The click information at least comprises the content of the message clicked by the user, the type of the message clicked by the user and the like, the subscription information refers to the type of the message subscribed by the user, and the attention information refers to the type of the message concerned by the user.
In the embodiment of the invention, the server always collects the user behavior data and stores the collected user behavior data in the user behavior database, so that after a new message is created, the sending sequence of the newly created message is determined according to the user behavior data stored in the user behavior database.
And step S104, updating the message queue pushed to the target user according to the attribute of the message to be pushed and the user behavior data.
The message queue is obtained by sequencing each message which needs to be pushed to a target user according to a queue value corresponding to the message.
In a specific embodiment, the larger the queue value corresponding to the message to be pushed is, the higher the pushing priority of the message is.
In the embodiment of the present invention, in step S104, updating the message queue pushed to the target user according to the attribute of the message to be pushed and the user behavior data, including the following steps (1) and (2).
(1) Determining a queue value of the message to be pushed according to the attribute of the message to be pushed and the user behavior data;
(2) and inserting the message to be pushed into the message queue according to the queue value of the message to be pushed and the queue value of each message in the message queue.
In the step (2) above, the message to be pushed may be inserted into the message queue by the following procedure: comparing the queue value of the message to be pushed with the queue value of each message in the message queue, and determining the arrangement position of the message to be pushed in the message queue; and inserting the message to be pushed at the arrangement position.
In the embodiment of the invention, the created messages are sequenced according to the sequence of the queue values corresponding to the messages from large to small to obtain the message queue, then the server pushes the messages to the target user in sequence according to the sequence of the messages in the message queue, the larger the value of the message queue is, the more forward the arrangement position of the message in the message queue is, namely, the more preferentially the message is pushed to the target user. When a new message to be pushed is created and obtained, the server compares the queue value of the message to be pushed with the queue value corresponding to each message in the current message queue, determines the arrangement position of the newly created message to be pushed in the current message queue, and inserts the message to be pushed, wherein the process actually does not create a message to be pushed to update the arrangement sequence of each message in the message queue in sequence.
For example, the current queue includes message 1, message 2, and message 3, where the queue value of message 1 is 8.7, the queue value of message 2 is 9.3, and the queue value of message 3 is 9.5, so that the current message queue is ordered as message 3, message 2, and message 1, that is, message 3 is pushed first, then message 2 is pushed, and finally message 1 is pushed; after a message to be pushed is newly created, if the queue value of the message to be pushed is 8.8, it can be determined that the arrangement position of the message to be pushed in the message queue should be between the message 1 and the message 2, so that the message to be pushed is inserted between the message 2 and the message 1, and the updated message queue is the message 3, the message 2, the message to be pushed and the message 1.
Fig. 2 is a flowchart illustrating a method for determining a queue value of a message to be pushed according to an embodiment of the present invention, where in the method illustrated in fig. 2, an attribute of the message to be pushed includes: the message type of the message to be pushed and the importance score of the message to be pushed are obtained; as shown in fig. 2, the determining the queue value of the message to be pushed in step (1) specifically includes the following steps:
step S202, determining a score corresponding to user behavior data according to the message type of the message to be pushed and the behavior data of the user;
and step S204, determining a queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data.
The specific content of the user behavior data described above may include a plurality of situations, and for different situations, the specific method for determining the score corresponding to the user behavior data in step S202 is different, and the following will specifically describe the method for determining the score corresponding to the user behavior data by taking the user behavior data as examples including subscription information, click information, and attention information, and other situations will not be described in detail any more.
In the first case of the above-mentioned case,
the user behavior data includes subscription information, which mainly includes the type of the message subscribed by the user, and the subscription information of the user can be specifically obtained according to the order information of the user and the like.
Correspondingly, in this case, determining the score corresponding to the user behavior data specifically includes: judging whether a target user subscribes to the message of the message type or not according to the subscription information and the message type of the message to be pushed; and if so, determining the score corresponding to the user behavior data as a first score.
In a specific embodiment, the first score and the second score may be preset, if the message type subscribed by the user includes the message type to which the message to be pushed belongs, the score corresponding to the user behavior data may be determined to be the first score, and if the message type subscribed by the user does not include the message type to which the message to be pushed belongs, the score corresponding to the user behavior data may be determined to be the second score.
In another specific embodiment, a user behavior data score mapping table may be preset, in which a mapping relationship between the matching degree of the subscription information of the target user and the message type of the message to be pushed and the user behavior data score is set, as shown in table 1.
Degree of matching User behavior data scoring
M Score 1
N Score 2
P Score 3
The matching degree between the subscription information and the message type of the message to be pushed refers to the similarity between the message type subscribed by the user and the message type of the message to be pushed, for example, the message type subscribed by the user includes the message type of the message to be pushed, and at this time, the matching degree between the subscription information and the message type of the message to be pushed is 100%; if the message type used for subscription comprises the message type of the message to be pushed, the matching degree of the subscription information and the message type of the message to be pushed is zero; in another case, the type of the message subscribed by the user is a story, and the type of the message to be pushed is an emotion, and the two types are partially overlapped, for example, an emotion story in the emotion, and then, the corresponding score may be determined according to the specific matching degree between the two types.
In the table 1, M, N and P are both 0-100%.
In the second case of the above-mentioned case,
the user behavior data includes: attention information, click information and subscription information;
correspondingly, as shown in fig. 3, determining a score corresponding to the user behavior data according to the message type of the message to be pushed and the behavior data of the user specifically includes the following steps:
step S302, according to the subscription information and the message type of the message to be pushed, judging whether the target user subscribes the message of the message type, and obtaining a first judgment result;
step S304, judging whether the target user clicks the message of the message type or not according to the click information and the message type of the message to be pushed to obtain a second judgment result;
step S306, judging whether the target user concerns the message of the message type or not according to the attention information and the message type of the message to be pushed, and obtaining a third judgment result;
and step S308, determining a score corresponding to the user behavior data according to the first judgment result, the second judgment result and the third judgment result.
In this case, the user behavior data includes the attention information of the target user, the click information of the target user, and the subscription information of the target user, and then, the score corresponding to the user behavior data needs to be determined according to the three information.
In a specific embodiment, each corresponding score may be preset according to the importance degrees of the three, for example, if the total score corresponding to the user behavior data is S, each corresponding total score may be determined according to the importance programs of the attention information, the click information, and the subscription information, the total score corresponding to the attention information is X, the total score corresponding to the click information is Y, the total score corresponding to the subscription information is Z, and X + Y + Z is S.
According to the attention information, the click information and the subscription information of the target user, scores corresponding to the attention information, the click information and the subscription information of the target user are respectively determined, and the sum of the scores of the attention information, the click information and the subscription information of the target user can be determined as the score corresponding to the user behavior data.
Specifically, when the user subscribes to the message of the message type to which the message to be pushed belongs, the score 1 corresponding to the subscription information of the target user may be preset, and when the user does not subscribe to the message of the message type to which the message to be pushed belongs, the score 2 corresponding to the subscription information of the target user may be preset;
similarly, when the user clicks the message type to which the message to be pushed belongs, a score 3 corresponding to the click information of the target user is preset, and when the user does not click the message type to which the message to be pushed belongs, a score 4 corresponding to the click information of the target user is preset;
when the type of the message to which the user pays attention to the message to be pushed belongs is preset, the score 5 corresponding to the attention information of the target user is preset, and when the user does not pay attention to the type of the message to which the message to be pushed belongs, the score 6 corresponding to the attention information of the target user is preset.
According to the preset scores, the first judgment result, the second judgment result and the third judgment result, the scores corresponding to the subscription information of the target user, the click information of the target user and the attention information of the target user can be determined, and the scores corresponding to the subscription information of the target user, the click information of the target user and the attention information of the target user are added to obtain the score corresponding to the user behavior data of the target user.
After determining the score corresponding to the user behavior data, the step S204 needs to be executed, that is, determining a queue value of the message to be pushed, which specifically includes:
calculating a queue value of the message to be pushed according to the importance score of the message to be pushed, the weight of the message to be pushed, the score corresponding to the user behavior data and the user behavior weight by the following formula;
Qn=A×N1+B×N2
wherein, in the above formula, QnIs the queue value of the message to be pushed, A is the weight of the message to be pushed, B is the user behavior weight, N1For an importance score of a message to be pushed, N2And the corresponding scores of the user behavior data.
Specifically, a and B may be constants set in advance.
In another embodiment, the attributes of the message to be pushed include an importance score of the message to be pushed and a geographic location associated with the message to be pushed; the user behavior data further comprises the geographic position of the user;
correspondingly, the determining the queue value of the message to be pushed in the step (1) may also be implemented in the following manner, specifically including:
judging whether the geographic position related to the message to be pushed and the geographic position of the user belong to the same geographic area or not; wherein the geographical location associated with the message to be pushed comprises at least one of: the occurrence position of the message to be pushed and the geographic position appearing in the message to be pushed; determining a score corresponding to the user behavior data according to the judgment result; and determining a queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data.
Specifically, the server may obtain a current geographic location of the user, and obtain a location related to the message to be pushed from the message to be pushed.
For example, if the occurrence location of the message to be pushed is a hai lake area and the geographic location information of the user is beijing, it may be determined that both the occurrence location of the message to be pushed and the geographic location information of the user belong to the geographic area of beijing.
The score corresponding to the user behavior data is determined through the method, and the geographic position information of the user is taken into account, so that the determined score of the user behavior data is more reasonable.
In a specific embodiment, the determination result includes two cases of "yes" and "no", and the score corresponding to the user behavior data when the determination result is "yes" and the score corresponding to the user behavior data when the determination result is "no" may be preset. Therefore, when the method provided by the embodiment of the invention is executed, the score corresponding to the judgment result can be called directly according to the judgment result.
And step S106, pushing each message to the target user according to the arrangement sequence of each message in the updated message queue.
Specifically, each message in the message queue is pushed to the target user, and actually, each message in the message queue is pushed to the mobile terminal of the target user.
The mobile terminal may be a mobile phone, a computer, etc.
In addition, in the embodiment of the present invention, the user behavior data of the target user is considered, and different users have different user behavior data, that is, different users obtain different arrangement orders of messages in the message queue, so that messages received by different users may not be the same.
The message in the embodiment of the invention can be news, advertisement, video and the like, and can also be an application program.
To describe the message pushing method provided by the embodiment of the present invention in detail, a specific embodiment will be described below, and fig. 4 shows a flowchart of a second method of the message pushing method provided by the embodiment of the present invention, where the method shown in fig. 4 at least includes the following steps:
step S402, creating a message to be pushed;
step S404, determining a target user of a message to be pushed;
step S406, acquiring attributes of the message to be pushed and user behavior data of a target user, wherein the attributes of the message to be pushed comprise the message type of the message to be pushed and the importance score of the message to be pushed, and the user behavior data of the target user comprises the attention information, the click information and the subscription information of the target user;
step S408, determining a score corresponding to the user behavior data of the target user according to the message type of the message to be pushed and the user behavior data of the target user;
step S410, determining a queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data of the target user;
step S412, comparing the queue value of the message to be pushed with the queue value of each message in the current message queue, and determining the arrangement position of the message queue where the message to be pushed is positioned;
step S414, inserting the message to be pushed into the arrangement position to update the message queue pushed to the target user;
and step S416, pushing each message to the target user according to the arrangement sequence of each message in the updated message queue.
According to the message pushing method provided by the embodiment of the invention, the message queue pushed to the user is updated according to the attribute of the message to be pushed and the collected user behavior data of the target user; then, pushing the messages to the user according to the arrangement sequence of the messages in the message queue; in the embodiment of the invention, when the arrangement sequence of each message in the message queue is determined, the user behavior data is taken into consideration, the message queue is continuously updated, and the message is pushed to the target user according to the arrangement sequence of each message in the message queue, so that the message which is preferentially pushed to the target user is more biased to the message which is wanted by the user, namely, the message which is wanted by the user can be pushed to the user in time, the accuracy of the pushed message is improved, the experience of the user is improved, and the click rate of the message which is pushed to the user and the utilization rate of pushing resources are also improved.
An embodiment of the present invention further provides a message pushing apparatus, where the message pushing apparatus is configured to execute the message pushing method provided in the foregoing embodiment, and the message pushing apparatus is applied to a server, and fig. 5 illustrates a schematic structural diagram of the message pushing apparatus provided in the embodiment of the present invention, and as shown in fig. 5, the apparatus includes:
an obtaining module 51, configured to obtain an attribute of a message to be pushed and user behavior data of a target user;
the updating module 52 is configured to update the message queue pushed to the target user according to the attribute of the message to be pushed and the user behavior data;
and the pushing module 53 is configured to push each message to the target user according to the arrangement order of each message in the updated message queue.
Optionally, the update module 52 includes: a determination unit and an insertion unit;
the determining unit is configured to determine a queue value of the message to be pushed according to the attribute of the message to be pushed and the user behavior data;
the inserting unit is used for inserting the message to be pushed into the message queue according to the queue value of the message to be pushed and the queue value of each message in the message queue.
Optionally, the attributes of the message to be pushed include: the message type of the message to be pushed and the importance score of the message to be pushed are obtained;
accordingly, the determining unit includes: a first determining subunit and a second determining subunit;
the first determining subunit is configured to determine, according to the message type of the message to be pushed and the user behavior data, a score corresponding to the user behavior data;
the second determining subunit is configured to determine a queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data.
Optionally, the second determining subunit is specifically configured to,
calculating a queue value of the message to be pushed according to the importance score of the message to be pushed, the weight of the message to be pushed, the score corresponding to the user behavior data and the user behavior weight by the following formula;
Qn=A×N1+B×N2
wherein, in the above formula, QnIs the queue value of the message to be pushed, A is the weight of the message to be pushed, B is the user behavior weight, N1For an importance score of a message to be pushed, N2And the corresponding scores of the user behavior data.
Optionally, the user behavior data includes subscription information;
accordingly, the first determining subunit is specifically adapted to,
judging whether a target user subscribes to the message of the message type or not according to the subscription information and the message type of the message to be pushed; and if so, determining the score corresponding to the user behavior data as a first score.
Optionally, the user behavior data comprises: attention information, click information and subscription information;
accordingly, the above-mentioned first determining subunit is specifically adapted to,
judging whether a target user subscribes the message of the message type or not according to the subscription information and the message type of the message to be pushed to obtain a first judgment result; judging whether a target user clicks the message of the message type or not according to the click information and the message type of the message to be pushed to obtain a second judgment result; judging whether a target user pays attention to the message of the message type or not according to the attention information and the message type of the message to be pushed to obtain a third judgment result; and determining a score corresponding to the user behavior data according to the first judgment result, the second judgment result and the third judgment result.
Optionally, the attributes of the message to be pushed include: an importance score of the message to be pushed, and a geographic location associated with the message to be pushed; the user behavior data further includes: a geographic location of the user;
correspondingly, the determining unit further includes:
the judging subunit is used for judging whether the geographic position related to the message to be pushed and the geographic position of the user belong to the same geographic area; wherein the geographical location associated with the message to be pushed comprises at least one of: the occurrence position of the message to be pushed and the geographic position appearing in the message to be pushed;
the third determining subunit is used for determining a score corresponding to the user behavior data according to the judgment result;
and the fourth determining subunit is used for determining the queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data.
Optionally, the insertion unit includes: a fifth determining subunit and an inserting subunit;
the fifth determining subunit is configured to compare the queue value of the message to be pushed with the queue value of each message in the message queue, and determine an arrangement position of the message to be pushed in the message queue;
the inserting subunit is configured to insert the message to be pushed at the arrangement position.
Optionally, the apparatus further comprises:
the creating module is used for creating a message to be pushed;
and the determining module is used for determining a target user of the message to be pushed.
According to the message pushing device provided by the embodiment of the invention, the message queue pushed to the user is updated according to the attribute of the message to be pushed and the collected user behavior data of the target user; then, pushing the messages to the user according to the arrangement sequence of the messages in the message queue; in the embodiment of the invention, when the arrangement sequence of each message in the message queue is determined, the user behavior data is taken into consideration, the message queue is continuously updated, and the message is pushed to the target user according to the arrangement sequence of each message in the message queue, so that the message which is preferentially pushed to the target user is more biased to the message which is wanted by the user, namely, the message which is wanted by the user can be pushed to the user in time, the accuracy of the pushed message is improved, the experience of the user is improved, and the click rate of the message which is pushed to the user and the utilization rate of pushing resources are also improved.
Corresponding to the message pushing method provided in the foregoing embodiment, an embodiment of the present invention further provides a message pushing device, and fig. 6 is a schematic structural diagram of a message pushing device according to another embodiment of the present invention. The message pushing apparatus 600 shown in fig. 6 includes: at least one processor 601, memory 602, at least one network interface 604, and a user interface 603. The various components of the message pushing device 600 are coupled together by a bus system 605. It is understood that the bus system 605 is used to enable communications among the components. The bus system 605 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 605 in fig. 6.
The user interface 603 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 602 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 602 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 602 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 6021 and application programs 6022.
The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs such as a media player (MediaPlayer), a Browser (Browser), and the like, and is used to implement various application services. A program implementing the method of an embodiment of the invention can be included in the application program 6022.
In the embodiment of the present invention, the message pushing apparatus 600 includes: a memory 602, a processor 601 and a computer program stored on the memory 602 and executable on the processor 601, which computer program when executed by the processor 601 performs the steps of:
acquiring the attribute of a message to be pushed and user behavior data of a target user;
updating a message queue pushed to a target user according to the attribute of the message to be pushed and the user behavior data;
and pushing each message to the target user according to the arrangement sequence of each message in the updated message queue.
Optionally, when executed by the processor 601, the computer program updates the message queue pushed to the target user according to the attribute of the message to be pushed and the user behavior data, including:
determining a queue value of the message to be pushed according to the attribute of the message to be pushed and the user behavior data;
and inserting the message to be pushed into the message queue according to the queue value of the message to be pushed and the queue value of each message in the message queue.
Optionally, when the computer program is executed by the processor 601, the attributes of the message to be pushed include: the message type of the message to be pushed and the importance score of the message to be pushed are obtained;
correspondingly, determining a queue value of the message to be pushed according to the attribute of the message to be pushed and the user behavior data, comprising:
determining a score corresponding to the user behavior data according to the message type of the message to be pushed and the behavior data of the user;
and determining a queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data.
Optionally, when executed by the processor 601, the computer program determines a queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data, and includes:
calculating a queue value of the message to be pushed according to the importance score of the message to be pushed, the weight of the message to be pushed, the score corresponding to the user behavior data and the user behavior weight by the following formula;
Qn=A×N1+B×N2
wherein, in the formula above,Qnis the queue value of the message to be pushed, A is the weight of the message to be pushed, B is the user behavior weight, N1For an importance score of a message to be pushed, N2And the corresponding scores of the user behavior data.
Optionally, when the computer program is executed by the processor 601, the user behavior data comprises: subscribing to the information;
correspondingly, determining a score corresponding to the user behavior data according to the message type of the message to be pushed and the behavior data of the user, including:
judging whether a target user subscribes a message of the message type or not according to the subscription information and the message type of the message to be pushed;
and if so, determining the score corresponding to the user behavior data as a first score.
Optionally, when the computer program is executed by the processor 601, the user behavior data comprises: attention information, click information and subscription information;
correspondingly, determining a score corresponding to the user behavior data according to the message type of the message to be pushed and the behavior data of the user, including:
judging whether a target user subscribes a message of the message type or not according to the subscription information and the message type of the message to be pushed to obtain a first judgment result;
judging whether a target user clicks the message of the message type or not according to the click information and the message type of the message to be pushed to obtain a second judgment result;
judging whether a target user pays attention to the message of the message type or not according to the attention information and the message type of the message to be pushed to obtain a third judgment result;
and determining a score corresponding to the user behavior data according to the first judgment result, the second judgment result and the third judgment result.
Optionally, when the computer program is executed by the processor 601, the attributes of the message to be pushed include: an importance score of the message to be pushed, and a geographic location associated with the message to be pushed; the user behavior data includes: a geographic location of the user;
correspondingly, determining the queue value of the message to be pushed according to the attribute of the message to be pushed and the user behavior data, and further comprising:
judging whether the geographic position related to the message to be pushed and the geographic position of the user belong to the same geographic area or not; wherein the geographical location associated with the message to be pushed comprises at least one of: the occurrence position of the message to be pushed and the geographic position appearing in the message to be pushed;
determining a score corresponding to the user behavior data according to the judgment result;
and determining a queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data.
Optionally, when executed by the processor 601, the computer program inserts the message to be pushed into the message queue according to the queue value of the message to be pushed and the queue value of each message in the message queue, including:
comparing the queue value of the message to be pushed with the queue value of each message in the message queue, and determining the arrangement position of the message to be pushed in the message queue;
and inserting the message to be pushed at the arrangement position.
Optionally, before the computer program is executed by the processor 601 and acquires the attribute of the message to be pushed and the user behavior data of the target user, the method further includes:
creating a message to be pushed; and are
And determining a target user of the message to be pushed.
According to the message pushing equipment provided by the embodiment of the invention, the message queue pushed to the user is updated according to the attribute of the message to be pushed and the collected user behavior data of the target user; then, pushing the messages to the user according to the arrangement sequence of the messages in the message queue; in the embodiment of the invention, when the arrangement sequence of each message in the message queue is determined, the user behavior data is taken into consideration, the message queue is continuously updated, and the message is pushed to the target user according to the arrangement sequence of each message in the message queue, so that the message which is preferentially pushed to the target user is more biased to the message which is wanted by the user, namely, the message which is wanted by the user can be pushed to the user in time, the accuracy of the pushed message is improved, the experience of the user is improved, and the click rate of the message which is pushed to the user and the utilization rate of pushing resources are also improved.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned message pushing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present invention, and is not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (16)

1. A message pushing method, the method comprising:
acquiring the attribute of a message to be pushed and user behavior data of a target user;
updating a message queue pushed to the target user according to the attribute of the message to be pushed and the user behavior data;
pushing each message to the target user according to the arrangement sequence of each message in the updated message queue;
the step of updating the message queue pushed to the target user according to the attribute of the message to be pushed and the user behavior data comprises the following steps:
determining a queue value of the message to be pushed according to the attribute of the message to be pushed and the user behavior data; inserting the message to be pushed into the message queue according to the queue value of the message to be pushed and the queue value of each message in the message queue;
the attributes of the message to be pushed comprise: correspondingly, the step of determining the queue value of the message to be pushed according to the attribute of the message to be pushed and the user behavior data includes: determining a score corresponding to the user behavior data according to the message type of the message to be pushed and the user behavior data; and determining a queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data.
2. The method according to claim 1, wherein the step of determining the queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data comprises:
according to the importance score of the message to be pushed, the weight of the message to be pushed, the score corresponding to the user behavior data and the user behavior weight, calculating a queue value of the message to be pushed through the following formula;
Qn=A×N1+B×N2
wherein, in the above formula, QnIs the queue value of the message to be pushed, A is the weight of the message to be pushed, B is the user behavior weight, N1For an importance score of a message to be pushed, N2And the scores correspond to the user behavior data.
3. The method of claim 1, wherein the user behavior data comprises: subscribing to the information;
correspondingly, the step of determining the score corresponding to the user behavior data according to the message type of the message to be pushed and the user behavior data includes:
judging whether the target user subscribes the message of the message type or not according to the subscription information and the message type of the message to be pushed;
and if so, determining the score corresponding to the user behavior data as a first score.
4. The method of claim 1, wherein the user behavior data comprises: attention information, click information and subscription information;
correspondingly, the step of determining the score corresponding to the user behavior data according to the message type of the message to be pushed and the user behavior data includes:
judging whether the target user subscribes the message of the message type or not according to the subscription information and the message type of the message to be pushed to obtain a first judgment result;
judging whether the target user clicks the message of the message type or not according to the click information and the message type of the message to be pushed to obtain a second judgment result;
judging whether the target user pays attention to the message of the message type or not according to the attention information and the message type of the message to be pushed to obtain a third judgment result;
and determining a score corresponding to the user behavior data according to the first judgment result, the second judgment result and the third judgment result.
5. The method of claim 1, wherein the attributes of the message to be pushed comprise: in the case of the importance score of the message to be pushed and the geographic location associated with the message to be pushed, the user behavior data further includes: a geographic location of the user; correspondingly, the step of determining the queue value of the message to be pushed according to the attribute of the message to be pushed and the user behavior data includes: judging whether the geographic position related to the message to be pushed and the geographic position of the user belong to the same geographic area or not; wherein the geographical location associated with the message to be pushed comprises at least one of: the occurrence position of the message to be pushed and the geographic position appearing in the message to be pushed; determining a score corresponding to the user behavior data according to a judgment result; and determining a queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data.
6. The method according to claim 1, wherein the step of inserting the message to be pushed into the message queue according to the queue value of the message to be pushed and the queue value of each message in the message queue comprises:
comparing the queue value of the message to be pushed with the queue value of each message in the message queue, and determining the arrangement position of the message to be pushed in the message queue;
and inserting the message to be pushed at the arrangement position.
7. The method according to any of claims 1-6, wherein the step of obtaining attributes of the message to be pushed and user behavior data of the target user is preceded by the method further comprising:
creating the message to be pushed; and are
And determining a target user of the message to be pushed.
8. A message push apparatus, the apparatus comprising:
the acquisition module is used for acquiring the attribute of the message to be pushed and the user behavior data of the target user;
the updating module is used for updating the message queue pushed to the target user according to the attribute of the message to be pushed and the user behavior data;
the pushing module is used for pushing each message to the target user according to the arrangement sequence of each message in the updated message queue;
the update module includes: the determining unit is used for determining a queue value of the message to be pushed according to the attribute of the message to be pushed and the user behavior data; the inserting unit is used for inserting the message to be pushed into the message queue according to the queue value of the message to be pushed and the queue value of each message in the message queue;
the attributes of the message to be pushed comprise: under the condition of the message type of the message to be pushed and the importance score of the message to be pushed, correspondingly, the determining unit includes: the first determining subunit is configured to determine, according to the message type of the message to be pushed and the user behavior data, a score corresponding to the user behavior data; and the second determining subunit is used for determining the queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data.
9. The apparatus according to claim 8, wherein the second determining subunit is specifically configured to,
according to the importance score of the message to be pushed, the weight of the message to be pushed, the score corresponding to the user behavior data and the user behavior weight, calculating a queue value of the message to be pushed through the following formula;
Qn=A×N1+B×N2
wherein, in the above formula, QnIs the queue value of the message to be pushed, A is the weight of the message to be pushed, B is the user behavior weight, N1For an importance score of a message to be pushed, N2And the scores correspond to the user behavior data.
10. The apparatus of claim 8, wherein the user behavior data comprises: subscribing to the information;
accordingly, the first determining subunit is specifically configured to,
judging whether the target user subscribes the message of the message type or not according to the subscription information and the message type of the message to be pushed; and if so, determining the score corresponding to the user behavior data as a first score.
11. The apparatus of claim 8, wherein the user behavior data comprises: attention information, click information and subscription information;
accordingly, the first determining subunit is specifically configured to,
judging whether the target user subscribes the message of the message type or not according to the subscription information and the message type of the message to be pushed to obtain a first judgment result; judging whether a target user clicks the message of the message type or not according to the click information and the message type of the message to be pushed to obtain a second judgment result; judging whether a target user pays attention to the message of the message type or not according to the attention information and the message type of the message to be pushed to obtain a third judgment result; and determining a score corresponding to the user behavior data according to the first judgment result, the second judgment result and the third judgment result.
12. The apparatus of claim 8, wherein the attributes of the message to be pushed comprise: the importance score of the message to be pushed and the geographic position related to the message to be pushed; the user behavior data further comprises: a geographic location of the user;
correspondingly, the determining unit further includes:
the judging subunit is used for judging whether the geographic position related to the message to be pushed and the geographic position of the user belong to the same geographic area; wherein the geographical location associated with the message to be pushed comprises at least one of: the occurrence position of the message to be pushed and the geographic position appearing in the message to be pushed;
the third determining subunit is used for determining a score corresponding to the user behavior data according to the judgment result;
and the fourth determining subunit is configured to determine a queue value of the message to be pushed according to the importance score of the message to be pushed and the score corresponding to the user behavior data.
13. The apparatus of claim 8, wherein the insertion unit comprises:
a fifth determining subunit, configured to determine, according to a comparison between a queue value of the message to be pushed and a queue value of each message in the message queue, an arrangement position of the message to be pushed in the message queue;
and the inserting subunit is used for inserting the message to be pushed at the arrangement position.
14. The apparatus of any one of claims 8-13, further comprising:
the creating module is used for creating the message to be pushed;
and the determining module is used for determining the target user of the message to be pushed.
15. A message push device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the message push method according to any of claims 1 to 7.
16. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the message push method according to any one of claims 1 to 7.
CN201711131324.9A 2017-11-15 2017-11-15 Message pushing method and device Active CN107734062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711131324.9A CN107734062B (en) 2017-11-15 2017-11-15 Message pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711131324.9A CN107734062B (en) 2017-11-15 2017-11-15 Message pushing method and device

Publications (2)

Publication Number Publication Date
CN107734062A CN107734062A (en) 2018-02-23
CN107734062B true CN107734062B (en) 2020-02-07

Family

ID=61216156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711131324.9A Active CN107734062B (en) 2017-11-15 2017-11-15 Message pushing method and device

Country Status (1)

Country Link
CN (1) CN107734062B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109327496B (en) * 2018-07-23 2021-10-22 平安科技(深圳)有限公司 Data pushing method and device, computer equipment and storage medium
CN111984901A (en) * 2020-08-31 2020-11-24 上海博泰悦臻电子设备制造有限公司 Message pushing method and related product thereof
CN112333259A (en) * 2020-10-29 2021-02-05 云账户技术(天津)有限公司 Message pushing method and device and readable storage medium
CN112565342B (en) * 2020-11-13 2023-06-13 广州市百果园网络科技有限公司 Message pushing method, device, equipment and storage medium based on weight calculation
CN113822734A (en) * 2021-01-18 2021-12-21 北京沃东天骏信息技术有限公司 Method and apparatus for generating information
CN113055701B (en) * 2021-04-21 2023-03-14 上海哔哩哔哩科技有限公司 Data processing method and device
CN113329091B (en) * 2021-06-04 2022-08-26 杭州网易云音乐科技有限公司 Data management method and device, storage medium and electronic equipment
CN114172956B (en) * 2021-11-29 2024-03-15 上海金仕达软件科技股份有限公司 Intelligent information pushing method and system
CN114553947B (en) * 2022-01-29 2024-01-19 北京金堤科技有限公司 Method and device for processing message

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523109A (en) * 2011-12-08 2012-06-27 杭州华三通信技术有限公司 Resource state updating method, management client ends, and server
CN103856392B (en) * 2013-06-26 2017-05-24 上海携程商务有限公司 Message push method, outgoing server using message push method and outgoing server system
CN104090912B (en) * 2014-06-10 2017-03-15 腾讯科技(深圳)有限公司 Information-pushing method and device
CN104753769A (en) * 2015-03-24 2015-07-01 新余兴邦信息产业有限公司 Method and device for issuing messages by message queue
CN104750807A (en) * 2015-03-25 2015-07-01 百度在线网络技术(北京)有限公司 Application recommending method and device
KR20160131632A (en) * 2015-05-08 2016-11-16 주식회사 카우치그램 Method and System for Sending and Receiving Push Data
CN106302967A (en) * 2015-05-29 2017-01-04 西安中兴新软件有限责任公司 A kind of information management method, device and mobile terminal
CN105260379B (en) * 2015-09-08 2019-02-01 北京小熊博望科技有限公司 A kind of method and device of information push
CN105068869A (en) * 2015-09-29 2015-11-18 北京网诺星云科技有限公司 Method and device for pushing information in mobile terminal
CN105872111B (en) * 2016-06-20 2019-01-11 腾讯科技(深圳)有限公司 A kind of control method and server of information push
CN106528724B (en) * 2016-10-27 2019-09-10 武汉斗鱼网络科技有限公司 A kind of method and device of pushed information

Also Published As

Publication number Publication date
CN107734062A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN107734062B (en) Message pushing method and device
US9569230B2 (en) Network entity, terminal, computer-readable storage medium and method for providing widgets including advertisements for associated widgets
CN109788020B (en) Agent distribution method and related equipment
EP2282272B1 (en) Method, system and device for presenting advertisement
CN109635199B (en) Application list dynamic recommendation method and system based on user behaviors
CN100559768C (en) A kind of information distribution method and system
EP2579167A1 (en) Method for active information push and server therefor
KR20180022921A (en) Improved push messaging
CN107370780B (en) Media pushing method, device and system based on Internet
CN107330717B (en) Advertisement putting method and system
US11106732B2 (en) Systems and methods for sharing audio feeds
CN102769640B (en) The update method of user profile, server and system
CN111125497A (en) Information recommendation method, device, processor and storage medium
CN108154376B (en) Data processing method and device
CN111193792A (en) Message transmission method and device, electronic equipment and storage medium
US10372784B2 (en) Generating rich digital documents from limited instructional data
CN109587040B (en) Mail processing method, system, computer device and storage medium
CN111143662B (en) Content recommendation method, device and computer storage medium
CN108038714B (en) Advertisement promotion processing method and device
JP2009176242A (en) Information distribution server, information distribution system, and information distribution method
CN109218272B (en) Media content pushing method, device, server, system and storage medium
CN111078219B (en) Page display method, device and system, electronic equipment and storage medium
US20110045807A1 (en) Electronic document callback triggers
CN109032747B (en) Data updating method and device
CN115563134A (en) Interaction method, interaction device, electronic equipment and computer readable 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