Disclosure of Invention
In view of the above, it is necessary to provide a message pushing method, an apparatus, a computer device, a computer readable storage medium, and a computer program product capable of saving resources in view of the above technical problems.
In a first aspect, the present application provides a message pushing method. The method comprises the following steps:
receiving a message pushing request, wherein the message pushing request carries service information, object identity information and message template identification information;
matching a corresponding message template and a message pushing channel according to the message template identification information;
acquiring a preset object service label according to the object identity information, and matching a message pushing strategy according to the object service label;
generating a message to be pushed according to the service information and the message template;
and screening out a target message pushing channel according to the message pushing strategy, and pushing the message to be pushed through the target message pushing channel.
In one embodiment, before obtaining the preset object service tag according to the object identity information, the method further includes:
acquiring object operation data and credit data according to the object identity information;
constructing object feature tags based on the object operation data and the credit data;
determining the message reach rates of the object aiming at different message push channels according to the object operation data;
constructing an object message label according to message reach rates of the object aiming at different message pushing channels;
and determining the object service label according to the object characteristic label and the object message label.
In one embodiment, constructing the object feature tag based on the object operation data and the credit data comprises:
based on the object operation data, constructing an initial object feature tag, and carrying out grading processing on the object to obtain the level of the object;
determining the risk level of the object according to the credit data and the object operation data;
and constructing the object feature tag according to the initial object feature tag, the object belonging level and the risk level.
In one embodiment, the hierarchical processing of the object based on the object operation data includes:
determining object preference data, message pushing channel viscosity and message sensitivity based on the object operation data;
and grading the object according to the object preference data, the message pushing channel adhesion degree and the message sensitivity to obtain the grade of the object.
In one embodiment, the message push strategy comprises a cost-first push strategy, a standard push strategy and a total push strategy;
screening out a target message pushing channel according to the message pushing strategy, and pushing a message to be pushed through the target message pushing channel comprises the following steps:
when the message pushing strategy is a cost-first pushing strategy, message pushing channels which can generate expenses in the message pushing channels are removed to obtain a target message pushing channel, and a message to be pushed is pushed through the target message pushing channel;
when the message pushing strategy is a standard pushing strategy, a target message pushing channel with a service record is screened out for each type of message pushing channel, and a message to be pushed is pushed through the target message pushing channel;
and when the message pushing strategy is the all-pushing strategy, pushing the message to be pushed through the message pushing channel.
In one embodiment, the method further comprises:
and under the condition that the message pushing strategy is a cost-first pushing strategy or a standard pushing strategy, when a receipt which is touched by the message to be pushed is received for the first time, closing the message pushing channel of the message to be pushed which is remained in the current time.
In one embodiment, the method further comprises:
and when the message pushing strategy is a standard pushing strategy, if the message pushing channel does not contain a message pushing channel with a service record, screening out a target message pushing channel which is concerned most recently, and pushing the message to be pushed through the target message pushing channel.
In a second aspect, the application further provides a message pushing device. The device comprises:
the request receiving module is used for receiving a message pushing request, and the message pushing request carries service information, object identity information and message template identification information;
the data matching module is used for matching a corresponding message template and a message pushing channel according to the message template identification information;
the strategy determining module is used for acquiring a preset object service label according to the object identity information and matching a message pushing strategy according to the object service label;
the message generating module is used for generating a message to be pushed according to the service information and the message template;
and the message pushing module is used for screening out a target message pushing channel according to the message pushing strategy and pushing the message to be pushed through the target message pushing channel.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the following steps when executing the computer program:
receiving a message pushing request, wherein the message pushing request carries service information, object identity information and message template identification information;
matching a corresponding message template and a message pushing channel according to the message template identification information;
acquiring a preset object service label according to the object identity information, and matching a message pushing strategy according to the object service label;
generating a message to be pushed according to the service information and the message template;
and screening out a target message pushing channel according to the message pushing strategy, and pushing the message to be pushed through the target message pushing channel.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
receiving a message pushing request, wherein the message pushing request carries service information, object identity information and message template identification information;
matching a corresponding message template and a message pushing channel according to the message template identification information;
acquiring a preset object service label according to the object identity information, and matching a message pushing strategy according to the object service label;
generating a message to be pushed according to the service information and the message template;
and screening out a target message pushing channel according to the message pushing strategy, and pushing the message to be pushed through the target message pushing channel.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which when executed by a processor performs the steps of:
receiving a message pushing request, wherein the message pushing request carries service information, object identity information and message template identification information;
matching a corresponding message template and a message pushing channel according to the message template identification information;
acquiring a preset object service label according to the object identity information, and matching a message pushing strategy according to the object service label;
generating a message to be pushed according to the service information and the message template;
and screening out a target message pushing channel according to the message pushing strategy, and pushing the message to be pushed through the target message pushing channel.
According to the message pushing method, the message pushing device, the computer equipment, the storage medium and the computer program product, a more targeted and novel message pushing scheme is introduced, after a message pushing request is received, a corresponding message template and a message pushing channel are matched according to message template identification information, a message pushing strategy is matched according to an object service label, finally, a target message pushing channel is screened out according to the message pushing strategy, and a message to be pushed is pushed through the target message pushing channel. According to the scheme, the traditional single push strategy or all push strategies are not limited, the corresponding message push strategy is matched according to the object service label, the final target message push channel is further screened out according to the message speculation strategy, and the message is pushed through the target message push channel, so that the message push quantity can be reduced on the premise of high message reach rate, and the resource consumption is greatly saved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The message pushing method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Wherein the service terminal 102 communicates with the message server 104 via a network. The data storage system may store data that message server 104 needs to process. The data storage system may be integrated on the server message 104, or may be placed on the cloud or other network server. Specifically, a service person may operate at the service terminal 102 to send a message pushing request carrying service information, object identity information, and message template identification information to the message server 104, the message server 104 receives the request, matches a corresponding message template and a message pushing channel according to the message template identification information, then obtains a preset object service tag according to the object identity information, matches a message pushing policy according to the object service tag, generates a message to be pushed according to the service information and the message template, and finally, screens out a target message pushing channel according to the message pushing policy, and pushes the message to be pushed through the target message pushing channel. The service terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. Message server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a message pushing method is provided, which is described by taking the method as an example applied to the message server 104 in fig. 1, and includes the following steps:
step S100, receiving a message pushing request, wherein the message pushing request carries service information, object identity information and message template identification information.
The service information includes service identification information, service knowledge information, and the like. The object identity information comprises identity identification information, attribute information and the like, wherein the identity identification information can be an identity number, a user name and the like, and the attribute information comprises the related message push channel type and other basic information. The message template identification information may be a message template number. In practical application, a service person may submit object identity information, message template identification information and corresponding service information in a service terminal according to service requirements, and then send a message pushing request to a server, and the server receives the message pushing request to push a message to a client according to the service requirements.
And step S200, matching a corresponding message template and a message pushing channel according to the message template identification information.
The message template is a set of messaging dialogs set up for a particular message trigger scenario. In this embodiment, the message template may include a short message template, a mail template, an APP message template, a public number template, an applet template, and the like. The message pushing channel refers to a specific carrier under each message pushing channel type, and the message pushing channel types comprise a short message channel, a mail channel, an APP channel, a public number channel, an applet channel and the like. In this embodiment, after the information template identification information is obtained, the corresponding information template may be obtained according to the information template identification information, where each information template corresponds to a specific information pushing channel, and thus, after the corresponding information template is obtained, the corresponding information pushing channel may be determined according to the field information in the information template.
Step S300, obtaining a preset object service label according to the object identity information, and matching a message pushing strategy according to the object service label.
The object service label is a label for guiding which message pushing strategy is adopted to push the message. The number of object service tags may be plural. In this embodiment, the target service tags include marketable tags, non-marketable tags, in-transit service tags, activity offer tags, old customer recall tags, new customer tags, and loan repayment tags. The internet labels comprise various types of application service providers such as X letter and XX treasure, and the operator labels comprise short message labels, telephone labels and the like. And the station internal message tag is an APP Push message sent to the user by the APP. A message push policy refers to a policy that directs what message push channel, in what order, and when messages are sent. In this embodiment, the message pushing policy may include a cost-first pushing policy, a standard pushing policy, and an all-sending policy. In specific implementation, the object takes the user as an example, the object service tag is a tag preset by a developer according to behavior data of the user and corresponding service data, a corresponding relationship between object identity information and the object service tag is preset in the database, and a corresponding relationship between the object service tag and the message pushing policy is also preset, and specifically, the corresponding relationship between the object service tag and the message pushing policy may be preset by the developer according to rich experience and service rules. After the object identity information is obtained, the object service label corresponding to the object identity information can be obtained in the database according to the object identity information. Further, a corresponding message pushing strategy is matched according to the object service label. The message push policy may be a cost-first push policy, a standard push policy, or a full send policy.
And step S400, generating a message to be pushed according to the service information and the message template.
After the message template and the service information are obtained, the service information may be filled in the message template, or a variable placeholder in the message template is replaced with corresponding service information to generate a message to be pushed. Specifically, when the message template corresponds to the short message template, the variable information in the short message template may be replaced with the service information field in the service information, and when the message pushing template corresponds to the mail template, the variable information in the mail template may be replaced with the service information field; and when the message template corresponds to the application program template, replacing variable information in the application program message template with an interactive information field of the service information and the like.
And step S500, screening out a target message pushing channel according to the message pushing strategy, and pushing the message to be pushed through the target message pushing channel.
With the above embodiment, since the types, the number, and the priorities of the message push channels to be delivered corresponding to different message push policies may be different, after matching the message push policy, the target message push channel to be delivered may be screened according to the specific message push policy, and then the message to be pushed is pushed through the target message push channel. For example, if the message push policy is a total sending policy, the target message push channel is a total message push channel, and if the message push policy is a cost-first sending policy, the target message push channel may be a message push channel from which a message push channel requiring a high sending cost is removed.
The message pushing method introduces a more targeted and completely new message pushing scheme, matches a corresponding message template and a message pushing channel according to message template identification information after receiving a message pushing request, matches a message pushing strategy according to an object service tag, and finally screens out a target message pushing channel according to the message pushing strategy and pushes a message to be pushed through the target message pushing channel. According to the scheme, the traditional single pushing strategy or all pushing strategies are not limited, the corresponding message pushing strategy is matched according to the object service label, the final target message pushing channel is further screened out according to the message speculation strategy, and the message is pushed through the target message pushing channel, so that the message pushing quantity can be reduced on the premise that the message reach rate is high, and the resource consumption is greatly saved.
In one embodiment, before obtaining the preset object service tag according to the object identity information, the method further includes the step of constructing the object service tag, specifically, as shown in fig. 3, the step of constructing the object service tag includes the following steps:
step S210, according to the object identity information, object operation data and credit data are obtained.
And step S230, constructing an object feature tag based on the object operation data and the credit data.
And step S250, determining the message reach rates of the object aiming at different message pushing channels according to the object operation data.
And step S270, constructing object message labels according to the message reach rates of the objects aiming at different message pushing channels.
Step S290, determining an object service tag according to the object feature tag and the object message tag.
The object operation data comprises browsing data, interaction data, generated corresponding service data and the like of the object aiming at different message push channels. The browsing data includes browsing duration, browsing page number and the like. Interaction data includes clicks, swipes, and other interactive actions, among others. The credit data may be the credit data acquired by calling the third-party information data management platform based on the identity information of the object, or the credit data determined by evaluation based on the data such as business data, basic data and the like of the stock object, such as credit score data, credit rating data and the like. An object message tag is a tag that characterizes an object, which may be understood as image data. The message reach rate may also be referred to as an information reach rate or a push reach rate, and is mainly an index for measuring the robust capability of a message push channel, and the index is expressed by a percentage, and the specific calculation may be to divide the effective number of clicks by the total number of clicks. The object message tag comprises a third party internet tag, an own internet tag, an operator tag and the like. The third-party internet tags comprise third-party application tags which can be used for receiving and sending messages, such as X-mail, XX treasure life numbers, applets and the like. The self internet tags comprise APP tags and APP in-station information tags. The operator label comprises a short message label, a telephone label and the like.
In specific implementation, the object service tag may be constructed before the object service tag is acquired, or may be constructed in advance before the message push request is received. Specifically, after obtaining a data acquisition authorization allowing the object to acquire identity information, behavior data and credit data and a subsequent data analysis authorization, the object operation data and the credit data are acquired according to the object identity identification data, and then, on one hand, based on the object operation data and the credit data, accurate imaging is performed to construct and obtain an object feature tag, such as "good credit" and "high internet application use frequency". On the other hand, the interactive data of the object in the preset time period aiming at different message pushing channels can be analyzed according to the object operation data, and the corresponding message reach rate can be estimated. And then, the score of each message pushing channel can be determined based on the message reach rate of each message pushing channel, and an object message label, such as a third-party internet label, is constructed according to the score ratio of each message pushing channel. And finally, determining an object service label according to the object feature label and the object message label.
The message reach rate can be estimated by setting corresponding weights for data of each dimension according to data of use frequency, stay time, message reply frequency, last access time and the like in the last half year, and then estimating and determining the message reach rates of the object for different message push channels in a weighted summation mode. In this embodiment, the message reach rate may be determined in the following manner: message reach rate = (whether it is a message source channel (= 1, no = 0) × 10% + (the number of times the message push channel is operated for nearly 10 days/the total number of message push channels operated for nearly 10 days) × 20% + (the message delivery success rate of the message push channel for nearly three months:. 50% + the message click rate of the message push channel for nearly three months:. 20%) message push channel traffic conversion rate, where message push channel traffic conversion rate = (within the same time) number of objects triggering traffic operations/number of message deliveries of the message push channel. The object is considered to have good credit, the message reach rate of the X message pushing channel and the APP message pushing head channel is high, namely the object can be considered to have a plurality of channels for acquiring messages, the messages can be generally checked, the message reach rate is high, the object is judged to have higher service reach potential, and the object service label is determined to be a marketable label. In the embodiment, the targeted, accurate and objective message pushing label is obtained by analyzing the object operation data and the credit data, so that the consumption and the cost of resources are saved while the higher message reach rate is ensured.
As shown in fig. 4, in one embodiment, step S230 includes:
step S232, based on the object operation data, an initial object feature tag is constructed, the object is subjected to grading processing to obtain the class of the object, the risk class of the object is determined according to the credit data and the object operation data, and the object feature tag is constructed according to the initial object feature tag, the class of the object and the risk class.
The object belonging level can be divided according to the dependency of the object on different message pushing channels, and the object belonging level can be divided in a mode of I level, II level, III level and the like. The risk classes include complaint risks and repayment risks, etc. In connection with the above embodiment, the object message tag may be constructed as follows: and analyzing the characteristics of the object, such as use frequency, preference degree, behavior habit and the like, aiming at different message push channels based on object operation data including browsing data, operation data and service data of different message push channels, and accurately portraying to obtain an initial object characteristic label. Meanwhile, based on the preference degree, behavior habit and the like obtained by analysis, the object is graded, and the level to which the object belongs is determined. Then, the risk level of the object is analyzed based on the credit data and the object operation data, for example, the complaint risk is determined based on the complaint data in the object operation data, and the repayment risk of the object is analyzed based on the purchase data, the payment data, and the like in the object operation data. And then, constructing an object feature label by adopting a weight proportion mode based on the initial object feature label, the object belonging level and the risk level. In the embodiment, the object feature labels are constructed by performing hierarchical processing on the objects and combining the initial object feature labels, the levels to which the objects belong and the risk levels, so that the constructed object feature labels are more comprehensive and accurate.
In one embodiment, the hierarchical processing of the object based on the object operation data includes: and determining object preference data, the adhesion degree of the message pushing channel and the message sensitivity based on the object operation data, and grading the object according to the object preference data, the adhesion degree of the message pushing channel and the message sensitivity to obtain the belonging grade of the object.
The object preference data includes a message push channel preferred by the object, such as a public number message push channel. Message sensitivity refers to the degree of acuity in acquiring, authenticating, and responsiveness in utilizing information. In this embodiment, after the message sensitivity available object receives the pushed message, the number of active clicks and interactions is a proportion of the total number of the pushed message. In this embodiment, the message sensitivity may be represented as a message click rate of the message push channel within approximately three months, where the message push channel is issued with a success rate & & approximately three months. It is understood that in other embodiments, the data in the last half year may be selected, as the case may be. The degree of adhesion of the message push channel refers to the degree of tightness between the object and the message push channel, and may be expressed as a percentage, for example, the degree of adhesion of the operator message push channel is 50%, and the degree of adhesion of the public number message push channel is 70%. The degree of adhesion of the message push channels may be determined according to the interactive data of the object for each message push channel, for example, the degree of adhesion of the message push channels may be evaluated according to the usage frequency and the retention time of each message push channel. In this embodiment, the message push channel adhesion = the message source channel & & the message push channel of the operation of approximately 10 days.
In specific implementation, the step of performing the hierarchical processing on the object may be to analyze preference data of the object for the message push channel according to the object operation data, and analyze the message push channel delivery success rate in approximately three months and the message click rate of the message push channel in approximately three months to obtain the message sensitivity. And evaluating the adhesion degree of the message pushing channel according to the current message pushing channel of the object and the message pushing channel operated in the last 10 days. And finally, performing grading processing on the object based on the object preference data, the adhesion degree of the message pushing channel and the message sensitivity to obtain the belonging level of the object, for example, if the object preference data is 'the preference to use the third-party internet message pushing channel', the adhesion degree of the corresponding message pushing channel is 75% and the message sensitivity is 80%, representing that the sensitivity of the object to the message pushing is very high, and being willing to actively reply, determining that the belonging level of the object is II level. In this embodiment, the object may be classified according to the object preference data, the adhesion degree of the message push channel, and the message sensitivity, so that the class to which the object belongs may be determined comprehensively and objectively.
In one embodiment, the message push policy includes a cost-first push policy, a standard push policy, and a full push policy;
step S500 includes:
and when the message pushing strategy is a cost-first pushing strategy, eliminating a message pushing channel which can generate cost in the message pushing channel to obtain a target message pushing channel, and pushing the message to be pushed through the target message pushing channel.
And when the message pushing strategy is a standard pushing strategy, screening out a target message pushing channel with a service record aiming at each type of message pushing channel, and pushing the message to be pushed through the target message pushing channel.
And when the message pushing strategy is the all-pushing strategy, pushing the message to be pushed through the message pushing channel.
In this embodiment, the message push policy includes a cost-first push policy, a standard push policy, and a total push policy. In specific implementation, matching a corresponding message pushing policy according to the object service tag may be: if the target service tag is a "marketable tag" or an "activity offer tag" or a "new customer tag", the matched message push strategy is a "cost-first push strategy", if the target service tag is a "borrow/repayment tag", the matched message push strategy is a "total transmission strategy", if the target service tag is a "non-marketable strategy", the matched message push strategy is a "standard transmission strategy", and if the target service tag is an "in-transit service tag", the matched message push strategy is a standard transmission strategy. It is to be understood that the above matching process is exemplary, and in other embodiments, other matching schemes may be employed.
In specific implementation, since the number of the matched target message push channels may be multiple, in an actual message push process, the call sequence of each message push channel needs to be sequenced. In this embodiment, the calling order of the message push channels is arranged in order according to the product of the message reach rate of the message push channel and the cost of the message push channel, wherein the cost of the message push channel is divided according to 1-10, the cost of the free message push channel is 1, the cost of the charged message push channel is increased progressively according to the cost, and 10 is the maximum. In other embodiments, the message pushing channel may be sorted according to whether the message pushing channel is free, whether a service record is generated, and the degree of adhesion, which is not limited herein. After the calling sequence of each message pushing channel is determined, message waiting reply time (set according to experience) can be set for each message pushing channel, the message waiting reply time is used as a time interval for calling the next message pushing channel to push a message, and a target message pushing channel is sequentially called to push the message to be pushed according to the arrangement sequence and the time interval. For example, the reply waiting time may be set to be 5 minutes for the sms message push channel, and the reply waiting time may be set to be 3 minutes for the X message push channel, which may be determined according to actual situations, and is not limited herein.
Specifically, when the message push policy is a cost-first push policy, message push channels that may generate charges in the message push channels, such as operator message push channels, are removed, and the remaining message push channels are determined as target message push channels, and if there are a plurality of target message push channels, the message to be pushed may be pushed sequentially through the target message push channels according to a preset sending time interval. And when the message pushing strategy is a standard pushing strategy, namely, aiming at each type of message pushing channel, screening out the target message pushing channel message with the service record. For example, if there is a service record in the X message and the APP, the target message push channel is an X message push channel and an intra-site message push channel. If there are a plurality of public number platforms in the X-mail, the public number platforms having business transactions are preferentially screened out, and if there are a plurality of public number platforms having business transactions, the business data may be sorted according to the transaction amount, or the business data may be sorted according to the frequency of use of the public number, which may be specific, and is not limited herein. If the message pushing channel does not contain the message pushing channel with the service record, screening out the target message pushing channel which is concerned most recently, and pushing the message to be pushed through the target message pushing channel. And when the message pushing strategy is a total pushing strategy, determining all the message pushing channels obtained in the earlier stage as target message pushing channels, and pushing the message to be pushed through each message pushing channel. In the embodiment, different message pushing channels are selected to push messages according to different message pushing strategies, so that a high message reach rate is ensured, message sending resources and cost are saved, and disturbance to users is reduced.
In one embodiment, the method further comprises: if the message pushing strategy is a cost-first pushing strategy or a standard pushing strategy, when a receipt which is touched by the message to be pushed is received for the first time, closing a message pushing channel of the message to be pushed which is remained in the current time, and stopping pushing the message to be pushed.
The receipt triggered by the message can be actively sent by a message pushing channel or triggered by the active click of an object. In another embodiment, when the number of the screened target message push channels is two, the target message push channels are sequentially called according to the order and the time interval to push the message to be pushed, so that when the message push policy is a cost-first push policy or a standard push policy, the server closes the message push channels of the message to be pushed remaining in the current time when the message pushed by a certain message push channel reaches the object and receives the receipt of the message reached for the first time, and stops pushing the message to be pushed. Therefore, resource consumption and sending cost of message pushing can be greatly saved.
For a clearer explanation of the message pushing method provided by the present application, the following description is made with reference to fig. 5 and a specific embodiment, where the specific embodiment includes the following steps:
step S1: and acquiring object operation data and credit data, and constructing an object service label based on the object operation data and the credit data.
Specifically, the constructing of the object service tag may be to construct an initial object feature tag based on the object operation data, determine the object preference data, the message push channel adhesion degree and the message sensitivity based on the object operation data, and perform a classification process on the object according to the object preference data, the message push channel adhesion degree and the message sensitivity to obtain the class to which the object belongs. And then, determining the risk level of the object according to the credit data and the object operation data, and constructing an object message label according to the initial object feature label, the object belonging level and the risk level. Determining the message reach rates of the object for different message pushing channels according to the object operation data, constructing an object message label according to the message reach rates of the object for different message pushing channels, and constructing an object service label according to the object feature label and the object message label. The target service labels comprise a marketable label, a non-marketable label, an activity invitation label, an old customer recall label, a new customer label, a loan and repayment label and the like.
Step S2: and receiving a message pushing request carrying service information, object identity information and message template identification information.
And step S3: and matching a corresponding message template and a message pushing channel according to the message template identification information.
And step S4: and acquiring a preset object service label according to the object identity information, and matching a message pushing strategy according to the object service label.
Specifically, if the target service tag is a "marketable tag" or an "activity offer tag" or a "new customer tag", the matched message push policy is a "cost-first push policy", if the target service tag is a "borrowing/repayment tag", the matched message push policy is a "total sending policy", if the target service tag is a "non-marketable policy", the matched message push policy is a "standard sending policy", and if the target service tag is an "in-transit service tag", the matched message push policy is a standard sending policy.
Step S5: and generating a message to be pushed according to the service information and the message template.
Step S6: and screening out a target message pushing channel according to the message pushing strategy, and pushing the message to be pushed through the target message pushing channel.
Specifically, when the message push policy is a cost-first push policy, message push channels that may generate charges in the message push channels, such as operator message push channels, are removed, and the remaining message push channels are determined as target message push channels, and if there are a plurality of target message push channels, the message to be pushed may be pushed sequentially through the target message push channels according to a preset sending time interval. And when the message pushing strategy is a standard pushing strategy, namely, aiming at each type of message pushing channel, screening out the target message pushing channel message with the service record. And if the message pushing channel does not contain the message pushing channel with the service record, screening out the target message pushing channel which is concerned with the latest, and pushing the message to be pushed through the target message pushing channel. And when the message pushing strategy is a total pushing strategy, determining all the message pushing channels obtained in the earlier stage as target message pushing channels, and pushing the message to be pushed through each message pushing channel. When the message pushing strategy is a cost-first pushing strategy or a standard pushing strategy, and when a receipt which is touched by the message to be pushed is received for the first time, the message pushing channel of the message to be pushed which is remained in the current time is closed, and the pushing of the message to be pushed is stopped.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a message pushing apparatus for implementing the above-mentioned message pushing method. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme described in the above method, so the specific limitations in one or more message pushing apparatus embodiments provided below may refer to the limitations on the message pushing method in the foregoing, and are not described herein again.
In one embodiment, as shown in fig. 6, there is provided a message pushing apparatus including: a request receiving module 610, a data matching module 620, a policy determining module 630, a message generating module 640, and a message pushing module 650, wherein:
the request receiving module 610 is configured to receive a message pushing request, where the message pushing request carries service information, object identity information, and message template identification information.
And the data matching module 620 is configured to match a corresponding message template and a message pushing channel according to the message template identification information.
The policy determining module 630 is configured to obtain a preset object service tag according to the object identity information, and match a message pushing policy according to the object service tag.
And the message generating module 640 is configured to generate a message to be pushed according to the service information and the message template.
And the message pushing module 650 is configured to filter out a target message pushing channel according to the message pushing policy, and push a message to be pushed through the target message pushing channel.
The message pushing device introduces a more targeted and completely new message pushing scheme, after a message pushing request is received, a corresponding message template and a message pushing channel are matched according to message template identification information, a message pushing strategy is matched according to an object service tag, finally, a target message pushing channel is screened out according to the message pushing strategy, and a message to be pushed is pushed through the target message pushing channel. According to the scheme, the traditional single push strategy or all push strategies are not limited, the corresponding message push strategy is matched according to the object service tag, the final target message push channel is further screened out according to the message speculation strategy, and the message is pushed through the target message push channel, so that the number of message push can be reduced on the premise of high message reach rate, and the consumption of resources is greatly saved.
As shown in fig. 7, in one embodiment, the apparatus further includes an object service tag constructing module 602, configured to obtain object operation data and credit data according to the identity information of the object, construct an object feature tag based on the object operation data and the credit data, determine message reach rates of the object for different message push channels according to the object operation data, construct an object message tag according to the message reach rates of the object for different message push channels, and determine an object service tag according to the object feature tag and the object message tag.
In one embodiment, the object service tag constructing module 602 is further configured to construct an initial object feature tag based on the object operation data, perform hierarchical processing on the object to obtain a class to which the object belongs, determine a risk class of the object according to the credit data and the object operation data, and construct an object message tag according to the initial object feature tag, the class to which the object belongs, and the risk class.
In one embodiment, the object service tag constructing module 602 is further configured to determine object preference data, a message pushing channel adhesion degree, and a message sensitivity based on the object operation data, and perform a classification process on the object according to the object preference data, the message pushing channel adhesion degree, and the message sensitivity, so as to obtain a class to which the object belongs.
In one embodiment, the message push strategy comprises a cost-first push strategy, a standard push strategy and a total push strategy;
the message pushing module 650 is further configured to, when the message pushing policy is a cost-first pushing policy, reject a message pushing channel that may generate a cost in the message pushing channel to obtain a target message pushing channel, push a message to be pushed through the target message pushing channel, when the message pushing policy is a standard pushing policy, screen out, for each type of message pushing channel, a target message pushing channel having a service record, push the message to be pushed through the target message pushing channel, and when the message pushing policy is a full pushing policy, push the message to be pushed through the message pushing channel.
As shown in fig. 6, in one embodiment, the apparatus further includes a message pushing channel closing module 660, configured to close the message pushing channel of the message to be pushed remaining in the current time and stop pushing the message to be pushed when the message pushing policy is the cost-first pushing policy or the standard pushing policy and when the receipt of the message to be pushed is received for the first time.
In one embodiment, the message pushing module 650 is further configured to, when the message pushing policy is a standard pushing policy, if the message pushing channel does not include a message pushing channel having a service record, screen out a target message pushing channel that is most recently concerned, and push the message to be pushed through the target message pushing channel.
The modules in the message pushing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, an Input/Output interface (I/O for short), and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as object service label data, object operation data, credit data and the like. The input/output interface of the computer device is used for exchanging information between the processor and an external device. The communication interface of the computer device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a message push method.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the message pushing method when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps in the message pushing method described above.
In one embodiment, a computer program product is provided, which comprises a computer program, when executed by a processor, implements the steps in the message push method described above.
It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) referred to in the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with the relevant laws and regulations and standards of the relevant countries and regions. If the pushed message comprises the advertisement, the user can reject or can conveniently reject the advertisement pushing message and the like.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, databases, or other media used in the embodiments provided herein can include at least one of non-volatile and volatile memory. The nonvolatile Memory may include a Read-Only Memory (ROM), a magnetic tape, a floppy disk, a flash Memory, an optical Memory, a high-density embedded nonvolatile Memory, a resistive Random Access Memory (ReRAM), a Magnetic Random Access Memory (MRAM), a Ferroelectric Random Access Memory (FRAM), a Phase Change Memory (PCM), a graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.