CN110147440A - Information push method, device, computer equipment and storage medium - Google Patents
Information push method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110147440A CN110147440A CN201910301187.1A CN201910301187A CN110147440A CN 110147440 A CN110147440 A CN 110147440A CN 201910301187 A CN201910301187 A CN 201910301187A CN 110147440 A CN110147440 A CN 110147440A
- Authority
- CN
- China
- Prior art keywords
- push
- text
- message
- content
- similarity
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/335—Filtering based on additional data, e.g. user or group profiles
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of information push method, device, computer equipment and storage mediums, the described method includes: comparing the first title keyword and the second title keyword, the first text similarity is obtained, and whether detects the first text similarity more than the first similarity threshold;When the first text similarity is less than the first similarity threshold, first content keyword and the second content keyword are compared, obtains the second text similarity, and whether detects the second text similarity more than the second similarity threshold;When the second text similarity is less than the second similarity threshold, PUSH message is waited for push Object Push.The present invention will be compared to the key message in PUSH message with the key message in history PUSH message, to confirm to which whether PUSH message is to repeat push content, to avoid carrying out multiple message push under with a trading floor scape or repeat the case where reminding appearance to the same hot spot, user experience is optimized, unnecessary customer complaint is avoided.
Description
Technical field
The present invention relates to data processing fields, and in particular to a kind of information push method, device, computer equipment and storage
Medium.
Background technique
Message push is that commonly a kind of touching, can be by one by message push up to mode in the application program of intelligent terminal
A little hot spots and key message prompt and inform in time user.Currently, can have the shapes such as multi-exchange payment in transaction scene
State, for example, payment withhold, refund, reimbursement success or failure the case where, therefore, it is necessary to for above situation to user carry out message
It pushes to be signaled to user, but since same transaction scene may access multiple and different transaction platform or channel of disbursement
(for example grind channel, wechat payment, Alipay payment, Unionpay's payment certainly etc.), therefore, it is right against same transaction scene, it may
Following scenario described occur: channel of disbursement trades for this time and informs this pay content to user's transmission PUSH message, opens bank
The bank of informing business also can for this time transaction progress message push of user, meanwhile, grind channel (such as transaction platform pair certainly
The application program answered) it is that channel of disbursement and bank side is avoided not to prompt that message push can also be arranged, at this point, will result in multi-party
It carries out repeating push to user for same trade, causes user to continuously receive the case where information is repeated several times, give user
Bad user experience is brought, or even user can be misled this is the push repeatedly withholdd, causes unnecessary customer complaint.
Summary of the invention
The embodiment of the present invention provides a kind of information push method, device, computer equipment and storage medium, and the present invention can be with
It avoids carrying out multiple message push under with a trading floor scape or the case where reminding appearance is repeated to the same hot spot, by user
It is freed from the push prompting of bombing formula, optimizes user experience, while avoiding unnecessary customer complaint.
A kind of information push method, comprising:
It is receiving comprising push object and when the push of PUSH message request, is obtaining described to the mark in PUSH message
Text is inscribed, and extracts the first title keyword from the title text in PUSH message;
The second title keyword extracted in the title text for the history PUSH message being obtained from preset period of time;It is described to go through
History PUSH message refers to the message pushed to the push object user;
First title keyword and second title keyword are compared, obtains the first text similarity, and detect
Whether first text similarity is more than the first similarity threshold;
When first text similarity is less than first similarity threshold, obtain described in PUSH message
Hold text, and extracts first content keyword from the content text to PUSH message;
It is obtained from the second content keyword extracted in the content text of the history PUSH message;
The first content keyword and second content keyword are compared, obtains the second text similarity, and detect
Whether second text similarity is more than the second similarity threshold;
When second text similarity is less than second similarity threshold, to described in the push Object Push
To PUSH message.
A kind of information push method, comprising:
It is receiving comprising push object and when the push of PUSH message request, is obtaining described to the mark in PUSH message
Text and content text are inscribed, and extracts the first text key from the title text in PUSH message and content text
Word;
The second text extracted in the title text and content text of the history PUSH message being obtained from preset period of time closes
Keyword;The history PUSH message refers to the message pushed to the push object user;
First text key word and second text key word are compared, obtains third text similarity, and detect
Whether the third text similarity is more than third similarity threshold;
When the third text similarity is less than the third similarity threshold, to described in the push Object Push
To PUSH message;
It is true according to first text key word when the third text similarity is more than the third similarity threshold
Recognize it is described to PUSH message whether be authorize repeatable push content, and it is described to PUSH message be not that the authorization is repeatable
When pushing content, refuse the push request, and is to repeat push content to PUSH message described in prompt;Disappear described wait push
When breath is the authorization repeatable push content, to described in the push Object Push to PUSH message.
A kind of message driving means, comprising:
First obtains module, for receiving comprising push object and when the push of PUSH message request, obtains institute
It states to the title text in PUSH message, and extracts the first title keyword from the title text in PUSH message;
Second obtains module, second extracted in the title text of the history PUSH message for being obtained from preset period of time
Title keyword;The history PUSH message refers to the message pushed to the push object user;
First detection module obtains first for comparing first title keyword and second title keyword
Text similarity, and whether first text similarity is detected more than the first similarity threshold;
Third obtains module, for obtaining when first text similarity is less than first similarity threshold
The content text to PUSH message, and first content keyword is extracted from the content text to PUSH message;
4th obtains module, and the second content extracted in the content text for being obtained from the history PUSH message is crucial
Word;
Second detection module obtains second for comparing the first content keyword and second content keyword
Text similarity, and whether second text similarity is detected more than the second similarity threshold;
First pushing module, for when second text similarity is less than second similarity threshold, to institute
It states described in push Object Push to PUSH message.
A kind of message driving means, comprising:
5th obtains module, for receiving comprising push object and when the push of PUSH message request, obtains institute
It states to the title text and content text in PUSH message, and from the title text and content text in PUSH message
Extract the first text key word;
Extraction module extracts in the title text and content text of the history PUSH message for being obtained from preset period of time
The second text key word;The history PUSH message refers to the message pushed to the push object user;
Third detection module obtains third for comparing first text key word and second text key word
Text similarity, and detect whether the third text similarity is more than third similarity threshold;
Second pushing module, for when the third text similarity is less than the third similarity threshold, to institute
It states described in push Object Push to PUSH message;
Third pushing module is used for when the third text similarity is more than the third similarity threshold, according to institute
Whether to PUSH message be authorize repeatable push content, and described to PUSH message if it is described to state the confirmation of the first text key word
When not being the repeatable push content of the authorization, refuse the push request, and prompts described to PUSH message to be to repeat push
Content;Described when PUSH message is the authorization repeatable push content, to described in the push Object Push wait push
Message.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing
The computer-readable instruction run on device, the processor realize above-mentioned message push side when executing the computer-readable instruction
Method.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer-readable instruction, institute
It states and realizes above-mentioned information push method when computer-readable instruction is executed by processor.
Information push method, device, computer equipment and storage medium provided by the invention, by extracting to push object
Send to the key message in PUSH message, (including the first title keyword, first content keyword and the first text are crucial
One of word is a variety of), and the mode that the key message is compared with the key message in history PUSH message, confirmation
It whether should be to repeat push content to avoid so that it is primary to achieve the purpose that the same push content only pushes to PUSH message
Carry out multiple message push under with trading floor scape or repeat the case where reminding to the same hot spot occurring, by user from Hong
Fried formula push frees in reminding, and optimizes user experience, while avoiding unnecessary customer complaint.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the application environment schematic diagram of information push method in one embodiment of the invention;
Fig. 2 is the flow chart of information push method in one embodiment of the invention;
Fig. 3 is the flow chart of information push method in another embodiment of the present invention;
Fig. 4 is the functional block diagram of message driving means in one embodiment of the invention;
Fig. 5 is the functional block diagram of message driving means in another embodiment of the present invention;
Fig. 6 is the schematic diagram of computer equipment in one embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Information push method provided by the invention can be applicable in the application environment such as Fig. 1, wherein client (computer
Equipment) it is communicated by network with server.Wherein, client (computer equipment) includes but is not limited to for various personal meters
Calculation machine, laptop, smart phone, tablet computer, camera and portable wearable device.Server can be with independent
The server cluster of server either multiple servers composition is realized.
In one embodiment, as shown in Fig. 2, providing a kind of information push method, the service in Fig. 1 is applied in this way
It is illustrated for device, comprising the following steps:
S10 is being received comprising push object and when the push of PUSH message request, is being obtained described in PUSH message
Title text, and extract the first title keyword from the title text in PUSH message.
Wherein, described to refer to that the push received from server is wanted to push away to described included in requesting to PUSH message
Send the hot spot or key message that object is pushed.It in the present embodiment, include heading-text to PUSH message described in each single item
This and content text, the title text to PUSH message refer to the push theme to PUSH message, are described wait push away
The summary and general introduction of the content text of message are sent, the content text refers to the full content to PUSH message push.
First title keyword refers to that extracts from the title text to PUSH message pushes content with it
Associated hot spot or the corresponding keyword of key message.For example, a title text to PUSH message are as follows: China Merchants Bank refunds
Note.At this point, being somebody's turn to do the first title keyword to extract in the title text of PUSH message are as follows: China Merchants Bank refunds.
In one embodiment, in the step S10, the first title is extracted from the title text in PUSH message
Keyword, comprising:
A carries out word segmentation processing to the title text in PUSH message, obtains multiple words.
B, from the words belonged in default dictionary is chosen in the multiple words as the first title keyword.
The default dictionary refers to word composed by the preset words that can be selected as the first title keyword
Library.It include multiple words in default dictionary, for segment obtained words in the title text in PUSH message, if should
Words is present in default dictionary, then the words is chosen for the first title keyword;If the words is not present in default word
In library, it is determined that the words is not the first title keyword.By the above-mentioned means, without distinguishing to the heading-text in PUSH message
Whether each of this words is keyword, but directly words is compared with the words in default dictionary, is facilitated
Calculation amount is reduced, the efficiency of the extraction of the first title keyword is improved.
It in the present invention, can be described default for difference to the corresponding scene of PUSH message (such as transaction scene)
The words of different classifications is set in dictionary, and all words of every one kind are associated with same scene.That is, each scene
Corresponding at least one first title keyword that can be selected as such scene preset in default dictionary.For example,
Scene is " transaction scene ", at this point, the words to the scene relating includes relevant word with transaction in the default dictionary
Word, such as type of transaction (refund, payment, bill), transaction amount, transaction channel (bank, Alipay etc.), bank card tail number,
The words such as exchange hour.Understandably, one to may be crucial comprising multiple first titles in the title text in PUSH message
Word, and multiple first title keywords likely correspond to different scenes or multiple first title keywords correspond only to same field
Scape.
S20, the second title keyword extracted in the title text for the history PUSH message being obtained from preset period of time;Institute
It states history PUSH message and refers to the message pushed to the push object user.
Wherein, the history PUSH message refer in preset period of time from server receive to the push object
The hot spot or key message that user pushed.The duration of the preset period of time can be according to user demand sets itself, for example sets
It is set to the durations such as one month, 10 days or 8 hours, setting the preset period of time is because for the same hot spot or trading floor
For scape, certain timeliness is all had to the key message of push Object Push hot spot or scene of trading, that is,
A possibility that repetition push content is received in the preset period of time is maximum, therefore sets the preset period of time, can guaranteed
In the case that precisely screening repeats push content, effectively mitigate the load carried of server.
In the present embodiment, history PUSH message described in each single item includes title text and content text, the history
The title text of PUSH message refers to the push theme of the history PUSH message, is the summary and general introduction of the content text,
The content text of the history PUSH message refers to the full content of the history PUSH message push.
Second title keyword refers to that extracts from the title text of the history PUSH message pushes away with the history
Send the associated hot spot of content or the corresponding keyword of key message, wherein mention from the title text of the history PUSH message
The process of second title keyword is taken to be referred to the step S101-102, details are not described herein.For example, a history
The title text of PUSH message are as follows: you come China Merchants Bank's September bill;At this point, being mentioned in the title text of the history PUSH message
The second title keyword taken are as follows: trade and investment promotion bill is come.
In one embodiment, the step S20 specifically:
According to the unique identification of the push object, the title text of history PUSH message is obtained from propelling data library
The second title keyword;Wherein, the history PUSH message, second title keyword and the push object be only
One mark associated storage in the library of propelling data.That is, the history PUSH message is pushed to the push
After object, the unique identification of the history PUSH message, second title keyword and the push object can be closed
Connection is stored in the propelling data library, before being pushed to the history PUSH message, equally can as to
PUSH message is compared with the every other history PUSH message being stored in the propelling data library before this, that is, first
First as described in the step S10-S30, confirm whether it is to repeat in push according to the title text of the history PUSH message
Hold, if it is not, be then pushed to the push client, and by above- mentioned information associated storage to propelling data library;If repeating
Content is pushed, then such as step S40 and its later the step of described in, is continued according to the confirmation of the content text of the history PUSH message
Whether it is to repeat push content, if it is not, be then pushed to the push client, and by above- mentioned information associated storage to having pushed away
Send database;If repeating push content, then refuse this push request.
S30 compares first title keyword and second title keyword, obtains the first text similarity, and
First text similarity is detected whether more than the first similarity threshold.
Wherein, first text similarity refers in first title keyword and second title keyword
The similar proportion of text, first similarity threshold refer to the similarity threshold set according to demand;First text
The comparison process of this similarity specifically includes: being first decomposed into above-mentioned first title keyword and second keyword multiple
The words of first title keyword and second keyword after decomposition is carried out traversal comparison, obtains phase by words
With words quantity M and not identical words quantity N, compared later according to M and N, obtain the similarity of text, than
Such as, in one embodiment, the first similarity S=N/ (M+N).
In one embodiment, after the step S30 further include:
It is true according to first title keyword when first text similarity is more than first similarity threshold
Recognize it is described to PUSH message whether be authorize repeatable push content, and it is described to PUSH message be not that the authorization is repeatable
When pushing content, refuse the push request, and is to repeat push content to PUSH message described in prompt.
That is, in the present embodiment, if first text similarity is more than first similarity threshold, illustrating basis
After this waits for that the title text of PUSH message is determined, show that this is still determining to PUSH message to repeat push content
Among information to be pushed to repeat push content, it might have some extremely important and need to carry out not within preset duration
The content only once reminded, at this time, it may be necessary to first according to first title keyword confirmation it is described to PUSH message whether be
Authorization in preset duration (can set according to demand, the preset period of time can be identical or different with the preset duration) can weigh
Content is pushed again, for example, being important refund information to PUSH message, if forgetting after reminding for the first time, may be missed also
Money day to influence the credit value of user, therefore, system (namely preset duration within a period of time after first time reminds
Within, for example, can be set between the date of refunding a refund information corresponding some time point close to the date of refunding
Period is a preset duration, at this point, more than after the refund date, it is believed that it is not within preset duration), detection
It not yet refunds to user, may will do it secondary or reminds three times, such prompting is necessary, therefore need not be shielded to it
It covers but needs to set it to the repeatable push content of authorization.Understandably, the repeatable push content of all authorizations can be with
There is user's sets itself, and all repeatable push contents of authorization can store in the preset database, as long as by first
Title keyword, which match with the repeatable push content of all authorizations in presetting database, can confirm that this disappears wait push
Whether breath is to authorize repeatable push content, should be the repeatable push content of authorization to PUSH message if matching, at this time can be with
It should be to PUSH message to user's push.It should not be at this time may be used to authorize repeatable push content to PUSH message if mismatching
To reaffirm that this is to repeat PUSH message, and refuse the push request, while disappearing described in prompt wait push to PUSH message
Breath be to repeat push content (only needing to confirm by title text in the embodiment described to PUSH message be repetition push
Content, server no longer need to further be parsed for content text, alleviate server load, improve operation efficiency).
Preferably, in some embodiments, after being determined according to the main contents being somebody's turn to do in the title text to PUSH message,
After obtaining this to PUSH message to repeat push content, in order to guarantee also may be used for the precision for repeating to push Content Selection
With referring to step S40 and its later the step of, further determine that whether it attaches most importance to according to the content text to PUSH message
Content is pushed again.
For example, in one example, first similarity threshold is 80%, a title text to PUSH message are as follows:
China Merchants Bank refund note.At this point, being somebody's turn to do the first title keyword to extract in the title text of PUSH message are as follows: China Merchants Bank is also
Money.The title text of one history PUSH message are as follows: China Merchants Bank [6604], which refunds, reminds;Content text are as follows: 09 month No. 25 be
The repayment date of your China Merchants Bank [6604], you can log in xx progress bill and check and refund, if you have refunded, please sail.
At this point, the second title keyword extracted in the title text of the history PUSH message are as follows: promote trade and investment and refund.At this point, of the two
With the first similarity S=N/ (M+N)=100% later, at this point, first text similarity is more than (being greater than) described first
Similarity threshold, therefore refuse the push request, and be to repeat push content to PUSH message described in prompt.
S40 is obtained described to PUSH message when first text similarity is less than first similarity threshold
Content text, and from the content text to PUSH message extract first content keyword.
Understandably, when first text similarity is less than the first similarity threshold, illustrate that basis should be wait push
After the title text of message is determined, obtain this to PUSH message be not repeat push content, at this point, in order to guarantee for
The precision for repeating to push Content Selection, need in step S40 and its later the step of, according to the content to PUSH message
Text further determines that whether it is to repeat push content.
For example, in one example, first similarity threshold is 80%, a title text to PUSH message are as follows:
China Merchants Bank refund note.At this point, being somebody's turn to do the first title keyword to extract in the title text of PUSH message are as follows: China Merchants Bank is also
Money.The title text of one history PUSH message are as follows: you come China Merchants Bank's September bill.At this point, the mark of the history PUSH message
The second title keyword extracted in topic text are as follows: trade and investment promotion bill is come.At this point, the first similarity S after the matching of the two
=N/ (M+N)=40% at this point, first text similarity is less than and (is less than) first similarity threshold, therefore is needed
Further judged.
The first content keyword refers to that extracts from the content text to PUSH message pushes content with it
Associated hot spot or the corresponding keyword of key message.Wherein, from described to extract described the in the content text of PUSH message
The process of one content keyword is referred to the step S101-102, and details are not described herein.For example, one to PUSH message
Title text are as follows: China Merchants Bank refund note;Content text are as follows: 09 month No. 25 be your China Merchants Bank repayment date, bill gold
6454.3 yuan of volume, 645.43 yuan of minimum amount to pay please sail if you have refunded.At this point, should be to the content text of PUSH message
The first content keyword extracted in this are as follows: 09 month 6454.3 yuan of No. 25 China Merchants Bank's repayment amount, 645.43 yuan of minimum amount to pay.
S50 is obtained from the second content keyword extracted in the content text of the history PUSH message.
Second content keyword refers to that extracts from the content text of the history PUSH message pushes away with the history
Send the associated hot spot of content or the corresponding keyword of key message.
In one embodiment, the step S50 specifically:
According to the unique identification of the push object, the content text of history PUSH message is obtained from propelling data library
The second content keyword;Wherein, the history PUSH message, second title keyword, second content keyword
And it is described push object unique identification associated storage in the library of propelling data.
For example, the title text of a history PUSH message are as follows: you come China Merchants Bank's September bill;Content text are as follows: you
6454.3 yuan of China Merchants Bank's September billing amount, 09 month No. 25 be your repayment date, you can be used XX and refund.At this point, should
The second content keyword extracted in the content text of history PUSH message are as follows: 6454.3 yuan of China Merchants Bank's September billing amount.
S60 compares the first content keyword and second content keyword, obtains the second text similarity, and
Second text similarity is detected whether more than the second similarity threshold.
That is, second text similarity refers in the first content keyword and second content keyword
The similar proportion of text, second similarity threshold refer to the similarity threshold set according to demand;The third phase
It can be identical or different with first similarity threshold like degree threshold value.The specific embodiment of the present embodiment is referred to step
Described in S30, details are not described herein.
S70, when second text similarity is less than second similarity threshold, to the push Object Push
It is described to PUSH message.
That is, illustrating that basis should be wait push when second text similarity is less than second similarity threshold
After the content text of message is determined, still showing that this waits for PUSH message not is the conclusion for repeating to push content, at this time may be used
To think that the push object is not to repeat push content really, pushed away described at this time to PUSH message to the push object
It send.Meanwhile it will be described to PUSH message, first title keyword, the first content keyword and the push object
Unique identification (for example bank's card number of the object to be pushed, phone number, identification card number etc. have unique identification feature
Mark) associated storage is in the library of propelling data.For pushing the unique of object according to described when needing above-mentioned data
Mark is transferred at any time, for example, being required in step S20, S50 and subsequent step S110 according to the push object
Unique identification transfers the document in the propelling data library.
For example, a content text to PUSH message are as follows: 09 month No. 25 be your China Merchants Bank repayment date, billing amount
6454.3 yuan, 645.43 yuan of minimum amount to pay please sail if you have refunded.At this point, being somebody's turn to do the content text to PUSH message
The first content keyword of middle extraction are as follows: 09 month 6454.3 yuan of No. 25 China Merchants Bank's repayment amount, 645.43 yuan of minimum amount to pay.
The content text of one history PUSH message are as follows: your 6454.3 yuan of China Merchants Bank's September billing amount, 09 month No. 25 be
Your repayment date, you can be used XX and refund.At this point, the second content extracted in the content text of the history PUSH message
Keyword are as follows: 6454.3 yuan of China Merchants Bank's September billing amount.
It can be seen from the above, above-mentioned crucial to the first content keyword of PUSH message and the second content of history PUSH message
The similarity of word is 25%, if second similarity threshold is 60% at this time, illustrates that second text similarity is less than
When second similarity threshold, illustrate according to should to PUSH message content text be determined after, still obtain this to
PUSH message is not the conclusion for repeating to push content, therefore thinks that the push Object Push is above-mentioned to PUSH message.
Above-mentioned information push method provided by the invention, by extracting to push object transmission to the pass in PUSH message
Key information, and the mode that the key message is compared with the key message in history PUSH message, confirmation should disappear wait push
Whether breath is to repeat push content to avoid so that it is primary to achieve the purpose that the same push content only pushes in same primary friendship
Multiple message push is carried out under easy scene or is occurred the case where repeating prompting to the same hot spot, and user is mentioned from the push of bombing formula
It is freed in waking up, optimizes user experience, while avoiding unnecessary customer complaint.
In one embodiment, after the step S70, further includes:
When second text similarity is more than second similarity threshold, according to first title keyword and
It to PUSH message whether is to authorize repeatable push content, and disappear wait push described described in the first content keyword recognition
When breath is not the authorization repeatable push content, refuse the push request, and prompts described to PUSH message to be that repetition pushes away
Send content.
That is, in the present embodiment, if second text similarity is more than second similarity threshold, illustrating basis
After this waits for that the title text of PUSH message is determined, show that this is not to repeat push content to PUSH message;But into
After one step to the more detailed content text of PUSH message according to that should be determined, show that this is pushed away to PUSH message for repetition
Send the conclusion of content, still, be determined as repeat push content information to be pushed among, might have it is some extremely important and
The content for needing to be reminded more than once within preset duration, at this time, it may be necessary to first according to first title keyword
With to PUSH message whether be that authorization in preset duration (can set according to demand) can weigh described in first content keyword recognition
Content is pushed again, for example, being important refund information to PUSH message, if forgetting after reminding for the first time, may be missed also
Money day, therefore, system detected user still within a period of time after first time reminds to influence the credit value of user
It does not refund, may will do it secondary or reminds three times, such prompting is necessary, therefore need not be shielded but be needed to it
Set it to the repeatable push content of authorization.Understandably, the repeatable push content of all authorizations can have user certainly
Row setting, and all repeatable push contents of authorization can store in the preset database, as long as by the first title key
Word match with the repeatable push content of all authorizations in presetting database can confirm this to PUSH message whether be
The repeatable push content of authorization should be the repeatable push content of authorization to PUSH message, can push away at this time to user if matching
Give this to PUSH message.It should not be to push content for authorization is repeatable to PUSH message if mismatching, it at this time can again really
This is recognized to PUSH message to repeat PUSH message, and refuses the push request, while being to repeat to PUSH message described in prompt
Content is pushed, in this way, ensure that the precision for repeating to push Content Selection, so that the repetition that the push object receives
Push content can be reduced utmostly, greatly improve user experience.
Understandably, in order to guarantee that the judgement for repeating push content, can be directly according to the result is that accurately
Title text and content text to PUSH message determine whether it is repetition push content jointly, avoid some non-duplicate push
To PUSH message after just being judged as repeating to push content by the decision stage of title text, be rejected push, into
And it avoids and omits the key message that push to user (the present embodiment is using title text and content text as one text progress
Processing, optimizes operation process, while improving operation efficiency, and improves screening and repeat to push the precision of content).This
When, as shown in figure 3, the present invention also provides a kind of information push methods, comprising:
S100 is being received comprising push object and when the push of PUSH message request, is being obtained described to PUSH message
In title text and content text, and extract the first text from the title text in PUSH message and content text
Keyword;
S110, the second text extracted in the title text and content text of the history PUSH message being obtained from preset period of time
This keyword;The history PUSH message refers to the message pushed to the push object user;Preferably, described
Step S110 specifically: according to the unique identification of the push object, history PUSH message is obtained from propelling data library
Second text key word of title text and content text;Wherein, the history PUSH message, second content keyword with
And the unique identification of the push object is associated with (after the history PUSH message is pushed to the push object) and deposits
Storage is in the library of propelling data.
S120 compares first text key word and second text key word, obtains third text similarity, and
Detect whether the third text similarity is more than third similarity threshold.
S130 is pushed away when the third text similarity is less than the third similarity threshold to the push object
It send described to PUSH message;
S140 is closed when the third text similarity is more than the third similarity threshold according to first text
Keyword confirmation it is described to PUSH message whether be authorize repeatable push content, and it is described be not the authorization to PUSH message
When repeating push content, refuse the push request, and is to repeat push content to PUSH message described in prompt;It is described to
When PUSH message is the authorization repeatable push content, to described in the push Object Push to PUSH message;
In this embodiment, first text key word refers to from the title text to PUSH message and content text
That extracts in this pushes the associated hot spot of content or the corresponding keyword of key message with it.Second text key word refers to
That extracts from the title text of the history PUSH message and content text pushes the associated hot spot of content or pass with the history
The corresponding keyword of key information.The third text similarity refers to that first text key word and second text are crucial
The similar proportion of text in word, the third similarity threshold refer to the similarity threshold set according to demand.It is described
Third similarity threshold can be identical or different with first similarity threshold.The specific implementation of all step S100-S140
Mode is referred to described in above-mentioned other embodiments, and details are not described herein.
Above-mentioned information push method provided by the invention, by extracting to push object transmission to the pass in PUSH message
Key information, and the mode that the key message is compared with the key message in history PUSH message, confirmation should disappear wait push
Whether breath is to repeat push content to avoid so that it is primary to achieve the purpose that the same push content only pushes in same primary friendship
Multiple message push is carried out under easy scene or is occurred the case where repeating prompting to the same hot spot, and user is mentioned from the push of bombing formula
It is freed in waking up, optimizes user experience, while avoiding unnecessary customer complaint.
In one embodiment, as shown in figure 4, providing a kind of message driving means, the message driving means and above-mentioned implementation
Information push method corresponds in example.The message driving means includes:
First obtains module 11, for receiving comprising push object and when the push of PUSH message request, obtains
The title text in PUSH message, and the first title key is extracted from the title text in PUSH message
Word;
Second obtains module 12, the extracted in the title text of the history PUSH message for being obtained from preset period of time
Two title keywords;The history PUSH message refers to the message pushed to the push object user;
First detection module 13 obtains for comparing first title keyword and second title keyword
One text similarity, and whether first text similarity is detected more than the first similarity threshold;
Third obtains module 14, for obtaining when first text similarity is less than first similarity threshold
The content text to PUSH message is taken, and extracts first content keyword from the content text to PUSH message;
4th obtains module 15, and the second content extracted in the content text for being obtained from the history PUSH message is closed
Keyword;
Second detection module 16 obtains for comparing the first content keyword and second content keyword
Two text similarities, and whether second text similarity is detected more than the second similarity threshold;
First pushing module 17, for when second text similarity is less than second similarity threshold, to
To PUSH message described in the push Object Push.
In one embodiment, as shown in figure 5, providing a kind of message driving means, the message driving means and above-mentioned implementation
Information push method corresponds in example.The message driving means includes:
5th obtains module 21, for receiving comprising push object and when the push of PUSH message request, obtains
The title text and content text in PUSH message, and from the title text and content text in PUSH message
The first text key word of middle extraction;
Extraction module 22 mentions in the title text and content text of the history PUSH message for being obtained from preset period of time
The second text key word taken;The history PUSH message refers to the message pushed to the push object user;
Third detection module 23 obtains for comparing first text key word and second text key word
Three text similarities, and detect whether the third text similarity is more than third similarity threshold;
Second pushing module 24, for when the third text similarity is less than the third similarity threshold, to
To PUSH message described in the push Object Push;
Third pushing module 25 is used for when the third text similarity is more than the third similarity threshold, according to
Whether described first text key word confirmation to PUSH message is to authorize repeatable push content, and disappear wait push described
When breath is not the authorization repeatable push content, refuse the push request, and prompts described to PUSH message to be that repetition pushes away
Send content;Described when PUSH message is the authorization repeatable push content, to described in the push Object Push wait push away
Send message.
Specific about message driving means limits the restriction that may refer to above for information push method, herein not
It repeats again.Modules in above-mentioned message driving means can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form
In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 6.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium be stored with operating system, computer-readable instruction and
Database.The built-in storage provides ring for the operation of operating system and computer-readable instruction in non-volatile memory medium
Border.To realize a kind of information push method when the computer-readable instruction is executed by processor.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer-readable instruction that can be run on a processor, processor perform the steps of when executing computer-readable instruction
It is receiving comprising push object and when the push of PUSH message request, is obtaining described to the mark in PUSH message
Text is inscribed, and extracts the first title keyword from the title text in PUSH message;
The second title keyword extracted in the title text for the history PUSH message being obtained from preset period of time;It is described to go through
History PUSH message refers to the message pushed to the push object user;
First title keyword and second title keyword are compared, obtains the first text similarity, and detect
Whether first text similarity is more than the first similarity threshold;
When first text similarity is less than first similarity threshold, obtain described in PUSH message
Hold text, and extracts first content keyword from the content text to PUSH message;
It is obtained from the second content keyword extracted in the content text of the history PUSH message;
The first content keyword and second content keyword are compared, obtains the second text similarity, and detect
Whether second text similarity is more than the second similarity threshold;
When second text similarity is less than second similarity threshold, to described in the push Object Push
To PUSH message.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer-readable instruction that can be run on a processor, processor perform the steps of when executing computer-readable instruction
It is receiving comprising push object and when the push of PUSH message request, is obtaining described to the mark in PUSH message
Text and content text are inscribed, and extracts the first text key from the title text in PUSH message and content text
Word;
The second text extracted in the title text and content text of the history PUSH message being obtained from preset period of time closes
Keyword;The history PUSH message refers to the message pushed to the push object user;
First text key word and second text key word are compared, obtains third text similarity, and detect
Whether the third text similarity is more than third similarity threshold;
When the third text similarity is less than the third similarity threshold, to described in the push Object Push
To PUSH message;
It is true according to first text key word when the third text similarity is more than the third similarity threshold
Recognize it is described to PUSH message whether be authorize repeatable push content, and it is described to PUSH message be not that the authorization is repeatable
When pushing content, refuse the push request, and is to repeat push content to PUSH message described in prompt;Disappear described wait push
When breath is the authorization repeatable push content, to described in the push Object Push to PUSH message.
In one embodiment, a kind of computer readable storage medium is provided, computer-readable instruction is stored thereon with,
It is performed the steps of when computer-readable instruction is executed by processor
It is receiving comprising push object and when the push of PUSH message request, is obtaining described to the mark in PUSH message
Text is inscribed, and extracts the first title keyword from the title text in PUSH message;
The second title keyword extracted in the title text for the history PUSH message being obtained from preset period of time;It is described to go through
History PUSH message refers to the message pushed to the push object user;
First title keyword and second title keyword are compared, obtains the first text similarity, and detect
Whether first text similarity is more than the first similarity threshold;
When first text similarity is less than first similarity threshold, obtain described in PUSH message
Hold text, and extracts first content keyword from the content text to PUSH message;
It is obtained from the second content keyword extracted in the content text of the history PUSH message;
The first content keyword and second content keyword are compared, obtains the second text similarity, and detect
Whether second text similarity is more than the second similarity threshold;
When second text similarity is less than second similarity threshold, to described in the push Object Push
To PUSH message.
In one embodiment, a kind of computer readable storage medium is provided, computer-readable instruction is stored thereon with,
It is performed the steps of when computer-readable instruction is executed by processor
It is receiving comprising push object and when the push of PUSH message request, is obtaining described to the mark in PUSH message
Text and content text are inscribed, and extracts the first text key from the title text in PUSH message and content text
Word;
The second text extracted in the title text and content text of the history PUSH message being obtained from preset period of time closes
Keyword;The history PUSH message refers to the message pushed to the push object user;
First text key word and second text key word are compared, obtains third text similarity, and detect
Whether the third text similarity is more than third similarity threshold;
When the third text similarity is less than the third similarity threshold, to described in the push Object Push
To PUSH message;
It is true according to first text key word when the third text similarity is more than the third similarity threshold
Recognize it is described to PUSH message whether be authorize repeatable push content, and it is described to PUSH message be not that the authorization is repeatable
When pushing content, refuse the push request, and is to repeat push content to PUSH message described in prompt;Disappear described wait push
When breath is the authorization repeatable push content, to described in the push Object Push to PUSH message.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer-readable instruction, it is non-volatile that the computer-readable instruction can be stored in one
Property computer-readable storage medium in, the computer-readable instruction is when being executed, it may include as above-mentioned each method embodiment
Process.Wherein, to memory, storage, database or other media used in each embodiment provided by the present invention
Any reference may each comprise non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory
(ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.It is volatile
Property memory may include random access memory (RAM) or external cache.By way of illustration and not limitation, RAM
It is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram
(DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link DRAM (SLDRAM), the direct RAM of memory bus (RDRAM),
Direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit or module division progress for example, in practical application, can according to need and by above-mentioned function distribution by difference
Functional unit or module complete, i.e., the internal structure of described device is divided into different functional unit or module, with complete
All or part of function described above.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of information push method characterized by comprising
It is receiving comprising push object and when the push of PUSH message request, is obtaining described to the heading-text in PUSH message
This, and the first title keyword is extracted from the title text in PUSH message;
The second title keyword extracted in the title text for the history PUSH message being obtained from preset period of time;The history pushes away
Message is sent to refer to the message pushed to the push object user;
First title keyword and second title keyword are compared, obtains the first text similarity, and described in detection
Whether the first text similarity is more than the first similarity threshold;
When first text similarity is less than first similarity threshold, the content text to PUSH message is obtained
This, and first content keyword is extracted from the content text to PUSH message;
It is obtained from the second content keyword extracted in the content text of the history PUSH message;
The first content keyword and second content keyword are compared, obtains the second text similarity, and described in detection
Whether the second text similarity is more than the second similarity threshold;
When second text similarity is less than second similarity threshold, to described in the push Object Push wait push away
Send message.
2. information push method as described in claim 1, which is characterized in that described to compare first title keyword and institute
The second title keyword is stated, the first text similarity is obtained, and whether detect first text similarity similar more than first
It spends after threshold value, comprising:
When first text similarity is more than first similarity threshold, institute is confirmed according to first title keyword
State to PUSH message whether be authorize repeatable push content, and it is described be not the repeatable push of the authorization to PUSH message
When content, refuse the push request, and is to repeat push content to PUSH message described in prompt.
3. the method for message push as described in claim 1, which is characterized in that described from the heading-text in PUSH message
The first title keyword is extracted in this, comprising:
Word segmentation processing is carried out to the title text in PUSH message, obtains multiple words;
From the words belonged in default dictionary is chosen in the multiple words as the first title keyword.
4. information push method as described in claim 1, which is characterized in that the history push being obtained from preset period of time
The second title keyword extracted in the title text of message, comprising:
According to the unique identification of the push object, the of the title text of history PUSH message is obtained from propelling data library
Two title keywords;Wherein, unique mark of the history PUSH message, second title keyword and the push object
Know associated storage in the library of propelling data;
The second content keyword extracted in the content text for being obtained from the history PUSH message, comprising:
According to the unique identification of the push object, the content of the history PUSH message is obtained from the library of propelling data
Second content keyword of text;Wherein, the history PUSH message, second title keyword, second content are closed
Keyword and it is described push object unique identification associated storage in the library of propelling data.
5. information push method as described in claim 1, which is characterized in that described to compare the first content keyword and institute
The second content keyword is stated, the second text similarity is obtained, and whether detect second text similarity similar more than second
It spends after threshold value, comprising:
When second text similarity is more than second similarity threshold, according to first title keyword and described
Described in first content keyword recognition to PUSH message whether be authorize repeatable push content, and it is described to PUSH message not
When being the repeatable push content of the authorization, refuse the push request, and prompt it is described to PUSH message be repeat to push in
Hold.
6. a kind of information push method characterized by comprising
It is receiving comprising push object and when the push of PUSH message request, is obtaining described to the heading-text in PUSH message
Sheet and content text, and the first text key word is extracted from the title text in PUSH message and content text;
The second text key word extracted in the title text and content text of the history PUSH message being obtained from preset period of time;
The history PUSH message refers to the message pushed to the push object user;
First text key word and second text key word are compared, obtains third text similarity, and described in detection
Whether third text similarity is more than third similarity threshold;
When the third text similarity is less than the third similarity threshold, to described in the push Object Push wait push away
Send message;
When the third text similarity is more than the third similarity threshold, institute is confirmed according to first text key word
State to PUSH message whether be authorize repeatable push content, and it is described be not the repeatable push of the authorization to PUSH message
When content, refuse the push request, and is to repeat push content to PUSH message described in prompt;It is to PUSH message described
When the repeatable push content of the authorization, to described in the push Object Push to PUSH message.
7. a kind of message driving means characterized by comprising
First obtains module, for receiving comprising push object and when the push of PUSH message request, obtain it is described to
Title text in PUSH message, and the first title keyword is extracted from the title text in PUSH message;
Second obtains module, the second title extracted in the title text of the history PUSH message for being obtained from preset period of time
Keyword;The history PUSH message refers to the message pushed to the push object user;
First detection module obtains the first text for comparing first title keyword and second title keyword
Similarity, and whether first text similarity is detected more than the first similarity threshold;
Third obtains module, for when first text similarity is less than first similarity threshold, described in acquisition
To the content text of PUSH message, and first content keyword is extracted from the content text to PUSH message;
4th obtains module, the second content keyword extracted in the content text for being obtained from the history PUSH message;
Second detection module obtains the second text for comparing the first content keyword and second content keyword
Similarity, and whether second text similarity is detected more than the second similarity threshold;
First pushing module, for when second text similarity is less than second similarity threshold, Xiang Suoshu to be pushed away
It send described in Object Push to PUSH message.
8. a kind of message driving means characterized by comprising
5th obtains module, for receiving comprising push object and when the push of PUSH message request, obtain it is described to
Title text and content text in PUSH message, and extracted from the title text in PUSH message and content text
First text key word;
Extraction module, extracted in the title text and content text of the history PUSH message for being obtained from preset period of time
Two text key words;The history PUSH message refers to the message pushed to the push object user;
Third detection module obtains third text for comparing first text key word and second text key word
Similarity, and detect whether the third text similarity is more than third similarity threshold;
Second pushing module, for when the third text similarity is less than the third similarity threshold, Xiang Suoshu to be pushed away
It send described in Object Push to PUSH message;
Third pushing module, for when the third text similarity is more than the third similarity threshold, according to described the
Whether one text key word confirmation described to PUSH message is to authorize repeatable push content, and be not to PUSH message described
When the repeatable push content of the authorization, refuse the push request, and prompts described to PUSH message to be to repeat to push content;
Described when PUSH message is the authorization repeatable push content, to described in the push Object Push to PUSH message.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor
The computer-readable instruction of upper operation, which is characterized in that the processor is realized when executing the computer-readable instruction as weighed
Benefit requires any one of 1 to 6 information push method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer-readable instruction, special
Sign is, the message push side as described in any one of claim 1 to 6 is realized when the computer-readable instruction is executed by processor
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910301187.1A CN110147440A (en) | 2019-04-15 | 2019-04-15 | Information push method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910301187.1A CN110147440A (en) | 2019-04-15 | 2019-04-15 | Information push method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110147440A true CN110147440A (en) | 2019-08-20 |
Family
ID=67588255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910301187.1A Pending CN110147440A (en) | 2019-04-15 | 2019-04-15 | Information push method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110147440A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110661925A (en) * | 2019-08-30 | 2020-01-07 | 咪咕动漫有限公司 | Shielding method, server and computer readable storage medium |
CN111401684A (en) * | 2020-02-13 | 2020-07-10 | 中国建设银行股份有限公司 | Task processing method and device |
CN112738336A (en) * | 2021-01-22 | 2021-04-30 | 维沃移动通信有限公司 | Message processing method and device |
CN114398968A (en) * | 2022-01-06 | 2022-04-26 | 北京博瑞彤芸科技股份有限公司 | Method and device for labeling similar customer-obtaining files based on file similarity |
-
2019
- 2019-04-15 CN CN201910301187.1A patent/CN110147440A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110661925A (en) * | 2019-08-30 | 2020-01-07 | 咪咕动漫有限公司 | Shielding method, server and computer readable storage medium |
CN111401684A (en) * | 2020-02-13 | 2020-07-10 | 中国建设银行股份有限公司 | Task processing method and device |
CN112738336A (en) * | 2021-01-22 | 2021-04-30 | 维沃移动通信有限公司 | Message processing method and device |
CN114398968A (en) * | 2022-01-06 | 2022-04-26 | 北京博瑞彤芸科技股份有限公司 | Method and device for labeling similar customer-obtaining files based on file similarity |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11663654B2 (en) | System and method for processing transaction records for users | |
CN110147440A (en) | Information push method, device, computer equipment and storage medium | |
CN109284044A (en) | A kind of function menu methods of exhibiting and relevant device based on big data | |
US20060218407A1 (en) | Method of confirming the identity of a person | |
CN110322317B (en) | Transaction data processing method and device, electronic equipment and medium | |
CN112308710B (en) | Loan data processing method, loan data processing device, computer equipment and storage medium | |
CN108256996A (en) | For the single method and system of two partition in credit repaying business | |
WO2014071327A1 (en) | Dynamic fraud alert system | |
CN107944851B (en) | Group fund account management method, device and system | |
US20220005045A1 (en) | Participant identification for bill splitting | |
CN108595579A (en) | Contact person's cohesion evaluation method, device, computer equipment and storage medium | |
US20200242600A1 (en) | System for leveraged collaborative pre-verification and authentication for secure real-time resource distribution | |
CN113168650B (en) | Method for automatic transfer of money between banks and system for implementing same | |
US20150149337A1 (en) | Apparatus, method, system, and storage medium | |
WO2016131084A1 (en) | Bill payment system | |
CN107730259A (en) | Fingerprint payment method and device and user terminal | |
CN111192035A (en) | Multi-system consumption clearing configuration processing method and system | |
CN111539807A (en) | Transfer method and device | |
CN111369347A (en) | Service processing method, device, equipment and storage medium | |
CN116578681A (en) | Service method, device, computer equipment and system for improving user experience | |
CN109598479A (en) | A kind of bill extracting method, device, electronic equipment and medium | |
CN112561518A (en) | Information identification method, device and storage medium | |
CN113822660A (en) | Data processing method and device, electronic equipment and medium | |
CN112929499A (en) | Dialogue interaction method and device, computer equipment and computer-readable storage medium | |
CN110929153A (en) | Personalized start page pushing method, device and system |
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 |