CN109474542A - Message pushing request flow control method, device and medium based on business rules - Google Patents

Message pushing request flow control method, device and medium based on business rules Download PDF

Info

Publication number
CN109474542A
CN109474542A CN201811242274.6A CN201811242274A CN109474542A CN 109474542 A CN109474542 A CN 109474542A CN 201811242274 A CN201811242274 A CN 201811242274A CN 109474542 A CN109474542 A CN 109474542A
Authority
CN
China
Prior art keywords
message
push
business
request amount
business dimension
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.)
Granted
Application number
CN201811242274.6A
Other languages
Chinese (zh)
Other versions
CN109474542B (en
Inventor
乐志能
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811242274.6A priority Critical patent/CN109474542B/en
Publication of CN109474542A publication Critical patent/CN109474542A/en
Priority to PCT/CN2019/089152 priority patent/WO2020082733A1/en
Application granted granted Critical
Publication of CN109474542B publication Critical patent/CN109474542B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to big data analysis, and provides a message pushing request flow control method based on a business rule, which comprises the following steps: obtaining a message pre-sent by a pushing end, inputting a classifier to classify the message, wherein each class corresponds to a service dimension and comprises group pushing, single pushing, label pushing and alias pushing; setting a threshold value of each service dimension; detecting the request quantity of pushing each service dimension message at a set time; respectively judging whether the request quantity of message pushing of each service dimension is not greater than the set threshold value of the corresponding service dimension; if the service dimension is not larger than the threshold value, pushing the message of the service dimension; if the quantity of the requests for message pushing exceeds the threshold value, an alarm signal indicating that the quantity of the requests for message pushing exceeds the threshold value is returned to the pushing end. The invention also provides an electronic device and a computer readable storage medium. The invention carries out flow control of different service dimensions and meets the requirement of service personalized flow control.

Description

Message push request flow control methods, device and medium based on business rule
Technical field
The present invention relates to big data analysis technical fields, more specifically, are related to a kind of message based on business rule and push away Send request flow control methods, device and medium.
Background technique
With the service that the development of network technology, user use network operator to provide, by consuming certain flow, into The access of row network, flow control become the most concerned content of user, and most of push request flow control is all to pass through control at present System request network bandwidth flow or control request the frequency to control, and can only compare the request amount of thick control system rank in this way, Flow control cannot be carried out for specific area business rule, it is inflexible, it also can not meet service personalization flow control Demand.
Summary of the invention
In view of the above problems, the object of the present invention is to provide a kind of flow controls for carrying out different business dimension based on industry Message push request flow control methods, electronic device and the computer readable storage medium of business rule.
To achieve the goals above, the present invention provides a kind of electronic device, and the electronic device includes memory and processing Device includes the message push request flow control procedure based on business rule in the memory, described based on business rule Message push request flow control procedure realizes following steps when being executed by the processor:
The message that push end is sent in advance is obtained, input classifier classifies to message, a kind of every a kind of corresponding business dimension Degree, the classification include that group pushes away, singly pushes away, label pushes away, alias pushes away, wherein the group, which pushes away, refers to that push end is sent message in advance to be sent out It gives and related with the push end all is pushed end;It is described singly push away refer to will push the message that sends in advance of end be sent to it is specified One be pushed end;The label push refers to that will push the message that end is sent in advance is sent to the recommended of designated user's label End;The alias, which pushes away, to be referred to the alias account for pushing the message that is sent in advance of end and being pushed to specified transmission being pushed end;
Set the threshold value of every kind of business dimension;
Detect the request amount of each business dimension message push of setting time;
Judge whether the request amount of the message push of every kind of business dimension is not more than the corresponding business dimension of setting respectively Threshold value;
If the request amount that the message of business dimension pushes is not more than corresponding threshold value, disappearing for the business dimension is pushed Breath;
If the request amount that the message of business dimension pushes is greater than corresponding threshold value, the request amount by message push is more than threshold The alarm signal of value returns to push end.
In addition, to achieve the goals above, the present invention also provides a kind of, and flow is requested in the message push based on business rule Control method, comprising:
The message that push end is sent in advance is obtained, input classifier classifies to message, a kind of every a kind of corresponding business dimension Degree, the classification include that group pushes away, singly pushes away, label pushes away, alias pushes away, wherein the group, which pushes away, refers to that push end is sent message in advance to be sent out It gives and related with the push end all is pushed end;It is described singly push away refer to will push the message that sends in advance of end be sent to it is specified One be pushed end;The label push refers to that will push the message that end is sent in advance is sent to the recommended of designated user's label End;The alias, which pushes away, to be referred to the alias account for pushing the message that is sent in advance of end and being pushed to specified transmission being pushed end;
Set the threshold value of every kind of business dimension;
Detect the request amount of each business dimension message push of setting time;
Judge whether the request amount of the message push of every kind of business dimension is not more than the corresponding business dimension of setting respectively Threshold value;
If the request amount that the message of business dimension pushes is not more than corresponding threshold value, disappearing for the business dimension is pushed Breath;
If the request amount that the message of business dimension pushes is greater than corresponding threshold value, the request amount by message push is more than threshold The alarm signal of value returns to push end.
Preferably, further includes: after the request amount of message push for obtaining setting time, execute the timing for removing request amount Task resets the request amount of the message push of each business dimension.
Preferably, further includes: assign different weights to different business dimension, pushed when the message of all business dimensions When the sum of request amount is more than that the request amount of the message push of given threshold or the biggish business dimension of weight is more than given threshold, Increase the threshold value of the biggish business dimension of the weight, reduces the threshold value of the lesser business dimension of weight.
In addition, to achieve the goals above, the present invention also provides a kind of computer readable storage medium, the computer can It reads to include the message push request flow control procedure based on business rule, the message based on business rule in storage medium When push request flow control procedure is executed by processor, the above-mentioned message push request flow control based on business rule is realized The step of method processed.
Message push request flow control methods, device and medium of the present invention based on business rule is pushed away by control The business dimension of the side's of sending type of message (group pushes away, singly pushes away, label pushes away, alias pushes away) carries out the flow control of message push, can not The business rule of same domain carries out the flow control of different business dimension, meets the needs of service personalization flow control.
Detailed description of the invention
By reference to the explanation below in conjunction with attached drawing, and with a more complete understanding of the present invention, of the invention is other Purpose and result will be more clearly understood and understood.In the accompanying drawings:
Fig. 1 is that the present invention is based on the application environments that the message of business rule pushes request flow control methods preferred embodiment Schematic diagram;
Fig. 2 is the module signal of the message push request flow control procedure preferred embodiment in Fig. 1 based on business rule Figure;
Fig. 3 is that the present invention is based on the flow charts that the message of business rule pushes request flow control methods preferred embodiment.
Identical label indicates similar or corresponding feature or function in all the appended drawings.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Hereinafter, specific embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The present invention provides a kind of message push request flow control methods based on business rule, is applied to a kind of electronics and fills Set 1.Shown in referring to Fig.1, for the present invention is based on the message of business rule to push answering for request flow control methods preferred embodiment Use environment schematic.
In the present embodiment, electronic device 1 can be server, mobile phone, tablet computer, portable computer, desktop meter Calculation machine etc. has the terminal device of calculation function.
The electronic device 1 includes memory 11, processor 12, network interface 13 and communication bus 14.
Memory 11 includes the readable storage medium storing program for executing of at least one type.The readable storage medium storing program for executing of at least one type It can be the non-volatile memory medium of such as flash memory, hard disk, multimedia card, card-type memory 11.In some embodiments, described Readable storage medium storing program for executing can be the internal storage unit of the electronic device 1, such as the hard disk of the electronic device 1.At other In embodiment, the readable storage medium storing program for executing is also possible to the external memory 11 of the electronic device 1, such as the electronic device The plug-in type hard disk being equipped on 1, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card) etc..
In the present embodiment, the readable storage medium storing program for executing of the memory 11 is installed on the electronic device commonly used in storage 1 message push request flow control procedure 10, database and the preparatory trained classifier based on business rule predicts mould Type, Clustering Model etc..The memory 11 can be also used for temporarily storing the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chips, program code or processing data for being stored in run memory 11, example Such as execute the message push request flow control procedure 10 based on business rule.
Network interface 13 may include radio network interface or wired network interface, which is commonly used in described Communication connection is established between electronic device 1 and other electronic devices.For example, the network interface 13 will be described for passing through network Electronic device 1 is connected with exterior terminal, establishes data transmission channel and communication between the electronic device 1 and exterior terminal Connection etc..The network can be intranet (Intranet), internet (Intemet), global system for mobile communications (Global System of Mobile communication, GSM), wideband code division multiple access (Wideband CodeDivision Multiple Access, WCDMA), 4G network, 5G network, bluetooth (Bluetooth), Wi-Fi etc. is wireless Or cable network.
Communication bus 14 is for realizing the connection communication between these components.
Fig. 1 illustrates only the electronic device 1 with component 11-14, it should be understood that being not required for implementing all show Component out, the implementation that can be substituted is more or less component.
Optionally, which can also include user interface, and user interface may include input unit such as keyboard (Keyboard), speech input device such as microphone (microphone) etc. has the equipment of speech identifying function, voice defeated Device such as sound equipment, earphone etc. out, optionally user interface can also include standard wireline interface and wireless interface.
Optionally, which can also include display, and display is referred to as display screen or display unit.
It can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and organic light emission in some embodiments Diode (Organic Light-Emitting Diode, OLED) touches device etc..Display is for showing in the electronic apparatus 1 The information of processing and for showing visual user interface.
Optionally, which further includes touch sensor.It is touched provided by the touch sensor for user The region for touching operation is known as touch area.In addition, touch sensor described here can be resistive touch sensor, capacitor Formula touch sensor etc..Moreover, the touch sensor not only includes the touch sensor of contact, proximity may also comprise Touch sensor etc..In addition, the touch sensor can be single sensor, or such as multiple biographies of array arrangement Sensor.
Optionally, which can also include logic gates, and sensor, voicefrequency circuit etc. are no longer superfluous herein It states.
In Installation practice shown in Fig. 1, as may include in a kind of memory 11 of computer storage medium behaviour Make system and message push request flow control procedure 10;Processor 12 executes the message push stored in memory 11 and asks Following steps are realized when seeking flow control procedure 10:
The message that push end is sent in advance is obtained, input classifier classifies to message, a kind of every a kind of corresponding business dimension Degree, the classification include that group pushes away, singly pushes away, label pushes away, alias pushes away, wherein the group, which pushes away, refers to that push end is sent message in advance to be sent out It gives and related with the push end all is pushed end;It is described singly push away refer to will push the message that sends in advance of end be sent to it is specified One be pushed end;The label push refers to that will push the message that end is sent in advance is sent to the recommended of designated user's label End, the user tag can be set, and can also be obtained, be can also be through web crawlers technology etc. from network from push end It obtains;The alias, which pushes away, to be referred to the alias account for pushing the message that is sent in advance of end and being pushed to specified transmission being pushed end, The alias account can be the user identifier for being pushed end of push end setting;
Set the threshold value of every kind of business dimension;
Detect the request amount of each business dimension message push of setting time;
Judge whether the request amount of the message push of every kind of business dimension is not more than the corresponding business dimension of setting respectively Threshold value;
If the request amount that the message of business dimension pushes is not more than corresponding threshold value, disappearing for the business dimension is pushed Breath;
If the request amount that the message of business dimension pushes is greater than corresponding threshold value, the request amount by message push is more than threshold The alarm signal of value returns to push end.
Preferably, the processor executes after the request amount for the message push for obtaining setting time and removes request amount Timed task, the request amount of the message of each business dimension push is reset.
Preferably, the processor assigns different weights to different business dimension, when the message of all business dimensions pushes away The sum of request amount sent is more than that the request amount of the message push of given threshold or the biggish business dimension of weight is more than setting threshold When value, increase the threshold value of the biggish business dimension of the weight, reduces the threshold value of the lesser business dimension of weight.
In other embodiments, message push request flow control procedure 10 can also be divided into one or more A module, one or more module are stored in memory 11, and are executed by processor 12, to complete the present invention.This hair Bright so-called module is the series of computation machine program instruction section for referring to complete specific function.It is in Fig. 1 referring to shown in Fig. 2 The functional block diagram of message push request 10 preferred embodiment of flow control procedure.The message push request flow control procedure 10 can be divided into:
Transceiver module 110 obtains the message that push end is sent in advance;
Classifier 120, classifies to message, and a kind of every a kind of corresponding business dimension, the classification includes that group pushes away, is single Push away, label pushes away, alias pushes away, wherein the group push away refer to will push end send in advance message be sent to it is related with the push end It is all to be pushed end;Described singly push away refers to push the message that sends in advance of end and be sent to specified one and is pushed end;The mark Label push refers to that the message for sending at push end in advance is sent to the recommended end of designated user's label;The alias, which pushes away, to be referred to and will push away What the message that sending end is sent in advance was pushed to the alias account of specified transmission is pushed end;
Setting module 130 sets the threshold value of every kind of business dimension;
Detection module 140 detects the request amount of each business dimension message push of setting time;
Judgment module 150, judges whether the request amount of the message push of every kind of business dimension is not more than pair of setting respectively The threshold value for the business dimension answered, if the request amount that the message of business dimension pushes is sent a signal to no more than corresponding threshold value Pushing module;If the request amount that the message of business dimension pushes is greater than corresponding threshold value, the request amount for sending message push is super The alarm signal of threshold value is crossed to transceiver module 110, so that the alarm signal is returned to push end.
In one embodiment of the invention, further includes:
Sequence construct module is changed over time by the message request amount that detection module 140 constructs each business dimension Request amount time series;
Prediction module predicts the message request amount of the business dimension of future time by prediction model;
Threshold adjustment module adjusts the threshold value of each business dimension according to the message request amount of each business dimension of prediction.
In one embodiment of the invention, tag along sort, institute is arranged in the message that classifier 120 also pushes push end in advance State message push request flow control procedure 10 further include: cluster module, group pushes away, label pushes away or/and what alias pushed away disappears to carrying out Breath clusters the attention rate of tag along sort to end is pushed according to end is pushed, after sending the message to cluster It is pushed end.
In addition, the present invention also provides a kind of, flow control methods are requested in the message push based on business rule.Referring to Fig. 3 institute Show, for the flow chart of message of the present invention push request flow control methods preferred embodiment.This method can be held by a device Row, which can be by software and or hardware realization.
In the present embodiment, message push request flow control methods include:
Step S1 obtains the message that push end is sent in advance, and input classifier classifies to message, every a kind of corresponding a kind of Business dimension;
Step S2 sets the threshold value of every kind of business dimension;
Step S3, the request amount of each business dimension message push of detection setting time (such as 5s);
Step S4, judges whether the request amount of the message push of every kind of business dimension is not more than the corresponding industry of setting respectively The threshold value for dimension of being engaged in;
If the request amount that the message of business dimension pushes pushes the business in step S5a no more than corresponding threshold value The message of dimension.
If the request amount that the message of business dimension pushes is greater than corresponding threshold value, in step S5b, by message push Request amount is more than that the alarm signal of threshold value returns to push end.
Preferably, further include assigning different weights to different business dimension, pushed when the message of all business dimensions When the sum of request amount is more than that the request amount of the message push of given threshold or the biggish business dimension of weight is more than given threshold, The threshold value of the biggish business dimension of weight is upgraded, business dimension degradation is carried out to the lesser business dimension of weight, also It is to say, increases the threshold value of the biggish business dimension of the weight, reduce the threshold value of the lesser business dimension of the weight, wherein institute State weight can according to the importance of business carry out assignment, the importance of business is higher, and weight is bigger, weight it is larger and it is smaller can With by set benchmark weight distinguish, be greater than benchmark weight it is larger, be less than benchmark weight it is smaller, can also lead to The difference crossed between weight distinguishes, and difference is more than setting range, and corresponding two weights of the difference are respectively compared with authority Weight and smaller weight, but the present invention is not limited thereto.
Further include following step between step S3 and S4:
After the request amount of message push for obtaining setting time, the timed task for removing request amount is executed, to each business The request amount of the message push of dimension is reset, wherein
In the request amount of message push for obtaining setting time, the time reset apart from last time is calculated, if it exceeds on The time of secondary resetting removes the time of the last time resetting, for example, resetting TSId+broadcast+ apart from last time for example, calculating The time of countKey, Time=Now ()-TSId+broadcast+clearTime, TSID refer to the mark of some push section Knowing, such as TSID of the bank as push section are as follows: 5b7245c93290d61a926b09a5, Broadcast are the marks that group pushes away, It is to identify group's pushing news;CountKey is the name taken, represents and counts, Time=Now ()-TSId+ Broadcast+clearTime refers to current time minus last clearance time, on TSId+broadcast+clearTime refers to Secondary clearance time for another example records the time of the time counting of last time and the time of cleaning, for example, last time be 1 point 05 second 05 minute, under Secondary to 1 point 05 minute 10s when, just count former to being disposed.
In one embodiment of the invention, further includes:
Construct the request amount time series that the message request amount of each business dimension changes over time;
The message request amount of the business dimension of future time is predicted by prediction model, such as: building neural network Prediction model, the prediction model is trained, after the request amount time series of each business dimension is substituted into training Prediction model, obtain the message request amount of the business dimension of future time instance;
The threshold value of each business dimension is adjusted according to the message request amount of each business dimension of prediction.
Preferably, the method packet of the message request amount of the business dimension that future time is predicted by prediction model It includes:
Using the request amount time series of business dimension as First ray;
The First ray is divided by multiple second sequences, the sequence of second sequence using at least one sequence length Column are shorter in length than the sequence length of the First ray;
According to the dendrogram of the second sequence construct First ray, comprising: with each request amount occurred in First ray As a root node, various request amount combinations are used as each branch in each second sequence, and each root node is connected with the root node Each branch constitute each subtree, the frequency that the request amount of root nodes stand occurs in First ray is the root node Nodal value, the sum of frequency that the request amount combination represented from root node to child node occurs in each second sequence are the sub- section The nodal value of point;
The request amount for predicting the lower order of each second sequence is the probability of any request amount in First ray, described general Rate (1) can calculate according to the following formula,
Wherein, i indicates the number of plies index of the dendrogram of first behavior sequence, y1Indicate one of the subtree of dendrogram Root node, y2,...,yiIndicate the root node y of the subtree1A branch the 2nd layer to i-th layer of child node, y1y2...yiIndicate that the corresponding sequence length of the branch is the second viewing behavior sequence of i, x indicates the request amount to be predicted, p (x|y1y2...yi) indicate the inside probability that the request amount that second sequence order is i+1 is x, N (yi+1=x) indicate described in Branch the i-th node layer yiI+1 layer child node be x nodal value, N (yi) indicate i-th layer of node y of the branchi's Nodal value;
Using the maximum value of the probability as the request amount of next order.
In one embodiment of the invention, further includes:
To message be arranged tag along sort, the tag along sort include message type (product push, notice, buying etc.), Push end identifier, keyword of message etc.;
When carrying out that group pushes away, label pushes away or/and alias pushes away to message, according to being pushed end to the attention rate pair of tag along sort End is pushed to be clustered, the attention rate can be client to the browsing time of message, it can also be after obtaining message, according to The behavioral data of message, for example, according to product PUSH message to the purchase number of product;
End is pushed after sending the message to cluster.
Above-mentioned basis is pushed end and includes: to the method that end is clustered is pushed to the attention rate of tag along sort
The concern matrix that end is pushed to the attention rate building of tag along sort is held according to being pushed
B=[b1...bj]
Wherein, XB indicates information tag along sort set, and m indicates information bar number, x1…xmFor the title of information, indicate the 1st to M information, [fbm,1,…fbm,k] indicate information xm1 to k tag along sort, the number of k presentation class label; For the set of all nonzero sum non-overlap tag along sorts in information tag along sort set XB, j indicates information x1To xmTag along sort Nonzero sum non-overlap number, 0 < j≤mk, G be concern matrix, gnjRefer to and is pushed end ymTo tag along sort bjAttention rate, When having identical tag along sort in different information, it is pushed end and the attention rate of the information is averaged as to the classification The attention rate of label, the attention rate of nonoverlapping tag along sort are exactly attention rate of the user to information;
It regards each row element paid close attention in matrix as a vector, randomly selects the vector of setting number, randomly select Cluster centre of one vector as the initial cluster of setting number;
Analysis concern matrix in addition to cluster centre other vectors and the cluster centre Euclidean distance, by other to Amount is directed toward the smallest initial cluster of Euclidean distance, forms new cluster;
Other vectors are directed toward after the most like new cluster of cluster synthesis, each column of the concern matrix of new cluster are separately summed and are asked It is average, obtain the cluster centre of new cluster;
Judge whether the cluster centre of new cluster is equal to the cluster centre of initial cluster.
If being equal to, it is pushed end cluster grouping and completes;
If being not equal to, using the center of the new cluster as the cluster centre of initial cluster, return between analysis vector it is European away from From the step of, until the center of new cluster is no longer changed, that is, be pushed end cluster grouping and complete.
Preferably, further includes: the support and confidence level of each tag along sort and combinations thereof in above-mentioned concern matrix are analyzed, it is defeated Meet the correlation rule of tag along sort of minimum support or/and min confidence requirement and combinations thereof out, specifically:
Scanning has information tag along sort set, obtains the according to the support of each nonzero sum non-overlap tag along sort One tag along sort set, for example, tag along sort bjSupport support (bj) are as follows:
Wherein, | bj| presentation class label bjIn the frequency of occurrence of information tag along sort set XB, d is information tag along sort The sum of non-zero message in set XB, 0 < d≤(n*m);
If support (bj) meet support (bj) > minsup, by bjThe first contingency table is brought into as an element Set FT is signed, the first tag along sort set FT, FT=[ft is obtained1 ... fta],Wherein, minsup is most Small support threshold meets 0 < minsup < 1, is a setting value;A is of the tag along sort greater than minimum support threshold value Number, 0≤a≤j, ft1 ... ftaTag along sort title in first tag along sort set FT of presentation class label.
After obtaining the first tag along sort set, the nonvoid proper subset of the first tag along sort set is constructed respectively;
Calculate the confidence level of each nonvoid proper subset, for example, in the first tag along sort set FT proper subclass t confidence level For,
Wherein, | FT | indicate frequency of occurrence of the first tag along sort set FT in tag along sort set XB, | t | it is the Frequency of occurrence of the nonvoid proper subset t of one tag along sort set FT in tag along sort set XB.
After obtaining the confidence level of all nonvoid proper subsets, judge whether the confidence level of nonvoid proper subset is greater than minimum confidence Spend threshold value.
If the confidence level of nonvoid proper subset is greater than minimal confidence threshold, correlation rule is generated:Illustrate generate correlation rule nonvoid proper subset in tag along sort or tag along sort combination with Tag along sort or tag along sort combination in the supplementary set of the proper subclass have stronger incidence relation, for example, very sub in upper example The t confidence level conf (t) of collection > minconf,That is, tag along sort in proper subclass t and its Contingency table in supplementary set (FT-t) is signed with stronger incidence relation, wherein minconf is minimal confidence threshold, is one and sets Definite value, for another example, FT are the first tag along sort set of { " discounting ", " daily necessities ", " a line brand " } three tag along sorts composition, If generating correlation ruleIllustrate tag along sort [discounting] and [daily necessities] combination There is stronger incidence relation with class object label [a line brand], that is, the cluster for being pushed end plays the daily necessities of a line brand It is interested to roll over information.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium In include based on business rule message push request flow control procedure, it is described based on business rule message push request stream Amount control program realizes following steps when being executed by the processor:
The message that push end is sent in advance is obtained, input classifier classifies to message, a kind of every a kind of corresponding business dimension Degree, the classification include that group pushes away, singly pushes away, label pushes away, alias pushes away, wherein the group, which pushes away, refers to that push end is sent message in advance to be sent out It gives and related with the push end all is pushed end;It is described singly push away refer to will push the message that sends in advance of end be sent to it is specified One be pushed end;The label push refers to that will push the message that end is sent in advance is sent to the recommended of designated user's label End;The alias, which pushes away, to be referred to the alias account for pushing the message that is sent in advance of end and being pushed to specified transmission being pushed end;
Set the threshold value of every kind of business dimension;
Detect the request amount of each business dimension message push of setting time;
Judge whether the request amount of the message push of every kind of business dimension is not more than the corresponding business dimension of setting respectively Threshold value;
If the request amount that the message of business dimension pushes is not more than corresponding threshold value, disappearing for the business dimension is pushed Breath;
If the request amount that the message of business dimension pushes is greater than corresponding threshold value, the request amount by message push is more than threshold The alarm signal of value returns to push end.
The specific embodiment of the computer readable storage medium of the present invention and the above-mentioned message based on business rule push Request flow control methods, the specific embodiment of electronic device roughly the same, details are not described herein.
Message push request flow control methods, electronic device and readable storage medium of the present invention based on business rule Matter realizes traffic management and control by each service attribute angle to push end, meets the traffic management and control requirement of business fining, simultaneously Traffic management and control and business association are got up, by business dimension degraded service, ensure that kernel service operates normally.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, device of element, article or method.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.Pass through above embodiment party The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software The mode of hardware platform is realized, naturally it is also possible to which by hardware, but in many cases, the former is more preferably embodiment.It is based on Such understanding, substantially the part that contributes to existing technology can be with software product in other words for technical solution of the present invention Form embody, which is stored in a storage medium (such as ROM/RAM, magnetic disk, light as described above Disk) in, including some instructions use is so that a terminal device (can be mobile phone, computer, server or the network equipment Deng) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of message push request flow control methods based on business rule, are applied to electronic device, which is characterized in that institute The method of stating includes:
The message that push end is sent in advance is obtained, input classifier classifies to message, a kind of every a kind of corresponding business dimension, institute State classification include group pushes away, singly pushes away, label pushes away, alias pushes away, wherein the group push away refer to will push end send in advance message be sent to The push end is related all to be pushed end;Described singly push away refers to that will push the message that end is sent in advance is sent to specified one It is pushed end;The label push refers to that the message for sending at push end in advance is sent to the recommended end of designated user's label;Institute It states alias and pushes away and refer to the alias account for pushing the message that is sent in advance of end and being pushed to specified transmission is pushed end;
Set the threshold value of every kind of business dimension;
Detect the request amount of each business dimension message push of setting time;
Judge whether the request amount of the message push of every kind of business dimension is not more than the threshold of the corresponding business dimension of setting respectively Value;
If the request amount that the message of business dimension pushes is not more than corresponding threshold value, the message of the business dimension is pushed;
If the request amount that the message of business dimension pushes is greater than corresponding threshold value, the request amount by message push is more than threshold value Alarm signal returns to push end.
2. message push request flow control methods according to claim 1, which is characterized in that further include:
After the request amount of message push for obtaining setting time, the timed task for removing request amount is executed, to each business dimension Message push request amount reset.
3. message push request flow control methods according to claim 2, which is characterized in that further include: it is being set When the request amount for the message push fixed time, the time reset apart from last time is calculated, if it exceeds the time of last time resetting, removes The time of the last time resetting.
4. message push request flow control methods according to claim 1, which is characterized in that further include: to not of the same trade or business Business dimension assigns different weights, when the sum of the request amount that the message of all business dimensions pushes is more than given threshold or weight When the request amount of the message push of biggish business dimension is more than given threshold, increase the threshold of the biggish business dimension of the weight Value reduces the threshold value of the lesser business dimension of weight.
5. message push request flow control methods according to claim 1, which is characterized in that further include:
Construct the request amount time series that the message request amount of each business dimension changes over time;
The message request amount of the business dimension of future time is predicted by prediction model;
The threshold value of each business dimension is adjusted according to the message request amount of each business dimension of prediction.
6. message push request flow control methods according to claim 1, which is characterized in that further include:
Tag along sort is arranged to message;
When carrying out that group pushes away, label pushes away or/and alias pushes away to message, according to being pushed end to the attention rate of tag along sort to being pushed away Sending end is clustered;End is pushed after sending the message to cluster.
7. a kind of electronic device, which is characterized in that the electronic device includes memory and processor, includes in the memory Message push request flow control procedure based on business rule, the message push request flow control based on business rule Program realizes following steps when being executed by the processor:
The message that push end is sent in advance is obtained, input classifier classifies to message, a kind of every a kind of corresponding business dimension, institute State classification include group pushes away, singly pushes away, label pushes away, alias pushes away, wherein the group push away refer to will push end send in advance message be sent to The push end is related all to be pushed end;Described singly push away refers to that will push the message that end is sent in advance is sent to specified one It is pushed end;The label push refers to that the message for sending at push end in advance is sent to the recommended end of designated user's label;Institute It states alias and pushes away and refer to the alias account for pushing the message that is sent in advance of end and being pushed to specified transmission is pushed end;
Set the threshold value of every kind of business dimension;
Detect the request amount of each business dimension message push of setting time;
Judge whether the request amount of the message push of every kind of business dimension is not more than the threshold of the corresponding business dimension of setting respectively Value;
If the request amount that the message of business dimension pushes is not more than corresponding threshold value, the message of the business dimension is pushed;
If the request amount that the message of business dimension pushes is greater than corresponding threshold value, the request amount by message push is more than threshold value Alarm signal returns to push end.
8. electronic device according to claim 7, which is characterized in that the processor is in the message for obtaining setting time After the request amount of push, the timed task for removing request amount is executed, weight is carried out to the request amount of the message push of each business dimension It sets.
9. electronic device according to claim 7, which is characterized in that the processor assigns different business dimension different Weight, when the sum of request amount that the message of all business dimensions pushes is more than given threshold or the biggish business dimension of weight The request amount of message push when being more than given threshold, increase the threshold value of the biggish business dimension of the weight, reduce weight compared with The threshold value of small business dimension.
10. a kind of computer readable storage medium, which is characterized in that include the business that is based in the computer readable storage medium The message push request flow control procedure of rule, the message push request flow control procedure based on business rule are located When managing device execution, the message push request flow control as described in any one of claims 1 to 6 based on business rule is realized The step of method.
CN201811242274.6A 2018-10-24 2018-10-24 Message push request flow control method, device and medium based on business rules Active CN109474542B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811242274.6A CN109474542B (en) 2018-10-24 2018-10-24 Message push request flow control method, device and medium based on business rules
PCT/CN2019/089152 WO2020082733A1 (en) 2018-10-24 2019-05-30 Method for message push request flow control based on service rules, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811242274.6A CN109474542B (en) 2018-10-24 2018-10-24 Message push request flow control method, device and medium based on business rules

Publications (2)

Publication Number Publication Date
CN109474542A true CN109474542A (en) 2019-03-15
CN109474542B CN109474542B (en) 2022-05-13

Family

ID=65666022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811242274.6A Active CN109474542B (en) 2018-10-24 2018-10-24 Message push request flow control method, device and medium based on business rules

Country Status (2)

Country Link
CN (1) CN109474542B (en)
WO (1) WO2020082733A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677824A (en) * 2019-08-29 2020-01-10 凡普数字技术有限公司 Short message sending method, device and storage medium
WO2020082733A1 (en) * 2018-10-24 2020-04-30 平安科技(深圳)有限公司 Method for message push request flow control based on service rules, device and medium
CN111131063A (en) * 2019-12-31 2020-05-08 腾讯科技(深圳)有限公司 Flow control method, related device, equipment and storage medium
CN112581150A (en) * 2019-09-27 2021-03-30 北京国双科技有限公司 Information management method, device, equipment and storage medium
CN113765969A (en) * 2020-09-28 2021-12-07 北京沃东天骏信息技术有限公司 Flow control method and device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637295B (en) * 2020-12-15 2023-04-28 平安普惠企业管理有限公司 Service object pushing method, device, equipment and storage medium
CN115002691B (en) * 2021-03-01 2023-08-15 ***通信集团四川有限公司 Message sending method, device, equipment and computer readable storage medium
CN114710556B (en) * 2022-06-08 2022-09-16 深圳市信润富联数字科技有限公司 Multi-system integrated message pushing method, device, equipment and storage medium
CN115665074B (en) * 2022-10-08 2023-09-15 广州市玄武无线科技股份有限公司 Message flow-limiting sending method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026802A (en) * 2007-03-16 2007-08-29 华为技术有限公司 Information push method and device
US20090280849A1 (en) * 2008-05-12 2009-11-12 Qualcomm Incorporated Method and apparatus for adaptive dynamic call setup based on real-time network resource availability
CN105704312A (en) * 2016-01-20 2016-06-22 广东欧珀移动通信有限公司 Message push processing method and device
CN105791910A (en) * 2016-03-08 2016-07-20 北京四达时代软件技术股份有限公司 Multimedia resource pushing system and multimedia resource pushing method
CN107872483A (en) * 2016-09-27 2018-04-03 腾讯科技(北京)有限公司 Method for pushing, the apparatus and system of media content
CN108400927A (en) * 2018-01-22 2018-08-14 广州欧赛斯信息科技有限公司 A kind of information push method and device for high concurrent message

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9779260B1 (en) * 2012-06-11 2017-10-03 Dell Software Inc. Aggregation and classification of secure data
CN104731958B (en) * 2015-04-03 2018-11-13 北京航空航天大学 A kind of cloud manufacturing service recommendation method of Users ' Need-oriented tendency
CN109474542B (en) * 2018-10-24 2022-05-13 平安科技(深圳)有限公司 Message push request flow control method, device and medium based on business rules

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026802A (en) * 2007-03-16 2007-08-29 华为技术有限公司 Information push method and device
US20090280849A1 (en) * 2008-05-12 2009-11-12 Qualcomm Incorporated Method and apparatus for adaptive dynamic call setup based on real-time network resource availability
CN105704312A (en) * 2016-01-20 2016-06-22 广东欧珀移动通信有限公司 Message push processing method and device
CN105791910A (en) * 2016-03-08 2016-07-20 北京四达时代软件技术股份有限公司 Multimedia resource pushing system and multimedia resource pushing method
CN107872483A (en) * 2016-09-27 2018-04-03 腾讯科技(北京)有限公司 Method for pushing, the apparatus and system of media content
CN108400927A (en) * 2018-01-22 2018-08-14 广州欧赛斯信息科技有限公司 A kind of information push method and device for high concurrent message

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
古国杰: "移动互联网消息智能推送服务的研究", 《 CNKI优秀硕士学位论文全文库》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020082733A1 (en) * 2018-10-24 2020-04-30 平安科技(深圳)有限公司 Method for message push request flow control based on service rules, device and medium
CN110677824A (en) * 2019-08-29 2020-01-10 凡普数字技术有限公司 Short message sending method, device and storage medium
CN112581150A (en) * 2019-09-27 2021-03-30 北京国双科技有限公司 Information management method, device, equipment and storage medium
CN111131063A (en) * 2019-12-31 2020-05-08 腾讯科技(深圳)有限公司 Flow control method, related device, equipment and storage medium
CN113765969A (en) * 2020-09-28 2021-12-07 北京沃东天骏信息技术有限公司 Flow control method and device

Also Published As

Publication number Publication date
CN109474542B (en) 2022-05-13
WO2020082733A1 (en) 2020-04-30

Similar Documents

Publication Publication Date Title
CN109474542A (en) Message pushing request flow control method, device and medium based on business rules
CN109271512B (en) Emotion analysis method, device and storage medium for public opinion comment information
JP6117452B1 (en) System and method for optimizing content layout using behavioral metric
US20150169710A1 (en) Method and apparatus for providing search results
CN109474483A (en) A kind of detection method, detection device and the terminal device of unit exception situation
CN105164712B (en) Sorting by priority for polymerization account notice is shown with context
CN109753601B (en) Method and device for determining click rate of recommended information and electronic equipment
US20230401122A1 (en) Detecting, diagnosing, and alerting anomalies in network applications
CN109509010B (en) Multimedia information processing method, terminal and storage medium
US11748452B2 (en) Method for data processing by performing different non-linear combination processing
WO2012092196A1 (en) Recommendation of search keywords based on indication of user intention
CN109993627B (en) Recommendation method, recommendation model training device and storage medium
WO2013189296A1 (en) Method and system for processing recommended target software
CN104598511A (en) Method, device and system for recommending search results
CN110275952A (en) News recommended method, device and medium based on user&#39;s short-term interest
CN109493101A (en) Target brand message determines method, apparatus, electronic equipment and storage medium
CN105956086B (en) Multimedia resource recommendation method and device
CN109840120A (en) Decouple micro services dissemination method, electronic device and computer readable storage medium
Kang et al. Tree-based real-time advertisement recommendation system in online broadcasting
CN109165077A (en) A kind of web page processing method, device, electronic equipment and storage medium
CN111078646B (en) Method and system for grouping software based on operation data of Internet equipment
US20230342391A1 (en) Publisher tool for controlling sponsored content quality across mediation platforms
CN111353052B (en) Multimedia object recommendation method and device, electronic equipment and storage medium
KR20050109106A (en) Internet search system and method for providing integrated search results efficiently
JP5642220B2 (en) Advertisement extraction apparatus, advertisement extraction method, and advertisement extraction program

Legal Events

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