Method for improving short message arrival rate based on multi-dimensional data
Technical Field
The application relates to the technical field of communication, in particular to a short message arrival rate improving method based on multi-dimensional data.
Background
The short message arrival rate is the ratio of the number of the short messages successfully received by the user to the total number of the short messages sent by the user multiplied by 100 percent, and as the radio signals for sending the short messages have different strengths in different areas, when the total number of the short messages sent is continuously increased, individual data loss inevitably occurs. In addition, if the content of the short message contains keywords prohibited by the policy, the short message is intercepted by the gateway of the operator, and the user can not successfully receive the short message. Due to the above reasons, when sending a short message, part of numbers cannot be normally received, which is a normal phenomenon, so that the short message arrival rate is difficult to reach 100%. Some important service short messages, such as virtual coupons exchanged through points, rechargeable card passwords and the like, need to improve the short message arrival rate as much as possible so as to improve user experience and reduce customer complaints.
In order to increase the short message arrival rate, a mode of mutually supplementing a plurality of short message service platforms is generally adopted. When the short message is issued, the short message service platform with higher short message arrival rate is selected for issuing. The current short message arrival rate algorithm is generally calculated according to two modes, namely total network merging statistics or three-network respective statistics and the like. Generally, different short message template contents contain different keywords, and the different keywords are influenced by policies and subjected to different interception probabilities of an operator gateway, so that different short message templates have larger difference in arrival rates under the same short message service platform. Because the signal intensity coverage of the same operator (mobile, telecom or Unicom) in different areas is different or the keyword interception policies of different areas are different, the same short message template is under the same operator, but the receiving numbers belonging to different areas or different number sections have obvious arrival rate differences. Compared with the same operator, the same short message template is more seriously influenced by factors such as signal strength coverage, keyword interception policy and the like under different operators (mobile, telecommunication or Unicom), and the short message arrival rate is more different.
In summary, the total number of sent messages and the total number of received messages of different message templates are accumulated together for calculation, and the obtained total network comprehensive message arrival rate or the message arrival rates under different operators can only represent the total arrival rate of the message service platform, so that the statistical dimensionality is too single, the message arrival rate deviation is large, and the reference significance is not high.
Disclosure of Invention
In order to solve the problems and defects of the prior art, the application provides a method for improving the short message arrival rate based on multi-dimensional data,
in order to achieve the above object, the technical solution of the present application is as follows:
a method for improving short message arrival rate based on multi-dimensional data is characterized in that each short message service platform is used as a basic statistical unit, corresponding short message arrival rates are respectively counted from 7 dimensions, namely, the whole network, an operator, a mobile phone number attribution, the first 3 bits of a mobile phone number, the first 7 bits of the mobile phone number, a short message template and a keyword, and the short message arrival rates of the 7 dimensions in each short message service platform are updated in a database in real time; when sending short messages, firstly, excluding the short message service platform with the current number failed to send the short messages to obtain a plurality of available short message service platforms, then identifying the 7 dimensions according to the short message content and the mobile phone number, respectively calculating the weight scores of the short message arrival rates of the 7 dimensions under each available short message service platform, accumulating the weight scores of the 7 dimensions to obtain the total weight score of the short message arrival rates of the corresponding short message service platforms, finally, selecting the short message service platform with the highest total weight score to send the short messages, and after the short messages are successfully sent, maintaining the arrival rates of the short message service platforms corresponding to the issued short messages in each dimension.
Preferably, the total weight score of the short message arrival rate of each short message service platform is calculated according to the formula (1)
Wherein k isiWeight coefficient R representing corresponding dimension under corresponding short message service platformiAnd Q represents the total weight score of the corresponding short message service platform.
Preferably, if no available platform exists after the short message service platform which fails to send is eliminated, the elimination is not carried out, and the method is continuously adopted to calculate the weight score of the short message arrival rate of each dimension and the total weight score of the short message arrival rate of the corresponding short message service platform.
Preferably, if there is no corresponding short message arrival rate data in the corresponding dimension under the available short message service platform, the short message arrival rate in the dimension is calculated according to 70%.
Preferably, in each dimension, the total short message sending amount T and the total short message receiving success amount S are respectively recorded, and the short message arrival rate R in the dimension is correspondingly calculated according to the formula (2)
Preferably, the method further comprises the step of creating a keyword library according to historical experience or operator policies, and updating and maintaining the keywords in the keyword library according to the subsequent short message sending contents.
Preferably, when the short message arrival rate under the short message template dimension is estimated, the sending quantity and the receiving success quantity of the keyword with the lowest arrival rate are obtained by identifying the keyword in the short message template, and after weighting, the sending quantity and the receiving success quantity are combined with the sending total quantity and the receiving total quantity under the short message template to calculate the arrival rate.
Preferably, the short message arrival rate under the short message template dimension is calculated according to the formula 3
Wherein S is
AIndicating the total successful receiving amount of the short message under the corresponding short message template,
indicates the receiving success quantity, T, of the keyword with the lowest arrival rate contained in the short message template
ARepresents the total amount of the short messages sent under the corresponding short message template,
the delivery amount of the keyword with the lowest arrival rate included in the short message template is represented.
The beneficial effect of this application:
(1) the method enriches the statistical dimensionality of the short message arrival rate, and can respectively count the total arrival rate of the whole network, the arrival rates of different operators, the arrival rates of different number segments, the arrival rates of different short message templates and the arrival rates of different keywords for different short message service platforms, so that the arrival rate statistical data is more three-dimensional and comprehensive, and the referential performance is higher. When the merchant sends the short message, the platform with higher comprehensive arrival rate is selected to send the short message, so that the arrival rate of the short message is improved, the experience degree of the user is improved, and the customer complaint is reduced.
(2) According to the method and the device, the arrival rate of the short message template which is never sent on a certain short message service platform can be estimated by identifying the keyword, the arrival rate is weighted and has high reliability, a decision basis can be provided for selecting the short message sending platform for the short message template, and the arrival rate of the short message is finally improved.
(3) When the short message is sent, the unavailable short message service platforms are eliminated firstly, then the total weight score of each platform is calculated in the remaining available short message service platforms respectively, and finally the short message service platform with the highest total weight score is selected to send the corresponding short message, so that the evaluation of different short message service platforms is more comprehensive when the specific number sends the specific short message, and the short message arrival rate can be obviously improved.
(4) According to the method and the system, the total weight score of each short message service platform can be changed continuously along with the continuous sending of the short messages, the platform with the highest total weight score is preferentially selected to send the short messages, so that the automatic switching of the platforms can be realized, and the short message arrival rate is kept at a higher level all the time.
(5) In the method, the dimension of the keyword has a larger weight on the final score, and after the short message content is identified by the keyword, the short message service platform with higher possibility of reaching rate can be screened out, so that the reaching rate of the newly applied short message template can be better guaranteed.
Detailed Description
The technical solutions for achieving the objects of the present invention are further described below by specific examples, and it should be noted that the technical solutions claimed in the present application include, but are not limited to, the following examples.
The application discloses a method for improving short message arrival rate based on multi-dimensional data, which comprises the following specific steps:
taking each short message service platform as an independent basic statistical unit, wherein each statistical unit respectively counts corresponding short message arrival rates from 7 dimensions of a whole network, an operator, a mobile phone number attribution, the first 3 bits of a mobile phone number, the first 7 bits of the mobile phone number, a short message template and a keyword, and the short message arrival rates of the 7 dimensions in each short message service platform are updated in a database in real time after the statistics is completed;
when sending a short message, firstly eliminating a short message service platform with a current number and a short message failure to send the short message, when the short message service platform with the failure to send the short message is eliminated, the rest is the available short message service platform, then identifying the 7 dimensions according to the content of the short message and the mobile phone number, respectively calculating the weight scores q 'of the short message arrival rates of the 7 dimensions of each available short message service platform, accumulating the calculated weight scores q' of the 7 dimensions to obtain the total weight score q of the short message arrival rates of the corresponding short message service platform, and finally selecting the short message service platform with the highest total weight score q to send the short message;
after the short message is successfully sent, the short message arrival rate of each dimension of the short message service platform for sending the short message needs to be maintained.
The maintenance specifically refers to updating the short message arrival rate of each dimension under the short message service platform in real time.
The short message service platform for the current number to send the short message fails specifically means that when the mobile phone number sends the short message content of a certain template through the short message service platform, a corresponding sending record is formed, and whether the mobile phone number fails to send the current short message under the short message service platform can be known through sending record query. The transmission failure is a self-defined strategy, and can be determined to be successful or failed only according to the result of the last transmission, or can be determined to be successful or failed according to the number of times of success and failure of multiple transmissions reaching a certain proportion.
Further, the method for calculating the total score of the weight score of the short message arrival rate of each short message service platform specifically comprises the following steps:
wherein k isiWeight coefficient R representing corresponding dimension under corresponding short message service platformiAnd Q represents the total weight score of the corresponding short message service platform.
The dimensions 1 to 7 refer to 7 dimensions, namely, the whole network, the operator, the mobile phone number attribution, the first 3 digits of the mobile phone number, the first 7 digits of the mobile phone number, the short message template and the keyword respectively.
The weight coefficient specifically means that different proportional coefficients are respectively given to each dimension according to the importance degree of each dimension under the corresponding short message service platform. In this embodiment, the weight coefficient of the short message template in this dimension is 0.3, the weight coefficient of the keyword in this dimension is 0.3, the weight coefficient of the mobile phone number in the top 7 is 0.1, the weight coefficient of the mobile phone number in the top 3 bits in this dimension is 0.1, the weight coefficient of the mobile phone number in this dimension is 0.1, the weight coefficient of the operator in this dimension is 0.05, and the weight coefficient of the whole network in this dimension is 0.05.
The weight total of the short message service platforms is divided into a custom strategy which is set according to the requirement, but the weight total of each short message service platform needs to be set to be consistent. For convenience of calculation, in this embodiment, the total weight score of all the sms platforms is set to 100.
Further, when sending the short message, if the short message service platform which fails in sending is eliminated and no available short message service platform exists, then the elimination is not carried out, the method is continuously adopted to obtain the total score q of the weight scores of the short message arrival rates of all the short message service platforms, and the short message service platform with the highest total score q of the weight scores is selected to send the short message.
Further, if no corresponding short message arrival rate data exists in the corresponding dimension under the available short message service platform, an initial value is given to the short message arrival rate R of the dimension according to historical experience, and then the method is continuously adopted to calculate the total weight score q of the short message arrival rate of the short message service platform. In the actual operation process, if a certain short message service platform is a new platform and is never used before, the short message arrival rates of 7 dimensions of the short message service platform have no corresponding numerical value, at this time, the short message arrival rates of 7 dimensions in the short message service platform need to be respectively given an initial value according to historical experience, and the total weight score of the short message arrival rates of the platform is calculated by using the given initial values. In this embodiment, the short message arrival rates of the short message service platform in 7 dimensions are all calculated by 70%.
Further, in each dimension, the total short message sending amount T and the total short message receiving success amount S are recorded respectively, and then the short message arrival rate R in the dimension is calculated as follows
Further, the method for improving the short message arrival rate further comprises the step of creating a keyword library according to historical experience or operator policies, and updating and maintaining keywords in the keyword library according to the contents sent by subsequent short messages. The arrival rates of different dimensions can be selected from a database or cache storage, and each dimension can generate a key as a mark according to a self-defined rule. For example: and a short message channel A, wherein the total network arrival rate key is A: net: All, the mobile arrival rate is A: net: mobile, if the attribution is Chengdu, the key is A: locate: cd, when the different dimensionality arrival rates are updated, the key is generated according to the rule, and then the corresponding records are directly updated in a database or a cache.
Further, when the short message arrival rate under the short message template dimension is estimated, the sending quantity and the receiving success quantity of the keyword with the lowest arrival rate are obtained by identifying the keyword in the short message template, and after weighting, the sending quantity and the receiving success quantity are combined with the sending total quantity and the receiving total quantity under the short message template to calculate the arrival rate.
Further, the method for calculating the short message arrival rate under the short message template dimension is concretely as follows
Wherein S is
AIndicating corresponding short messageThe total successful receiving amount of the short messages under the template,
indicates the receiving success quantity, T, of the keyword with the lowest arrival rate contained in the short message template
ARepresents the total amount of the short messages sent under the corresponding short message template,
the delivery amount of the keyword with the lowest arrival rate included in the short message template is represented.
The foregoing is directed to embodiments of the present invention, which are not limited thereto, and any simple modifications and equivalents thereof according to the technical spirit of the present invention may be made within the scope of the present invention.