CN113891259B - Short message distribution method, device, equipment and computer readable storage medium - Google Patents

Short message distribution method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN113891259B
CN113891259B CN202111035480.1A CN202111035480A CN113891259B CN 113891259 B CN113891259 B CN 113891259B CN 202111035480 A CN202111035480 A CN 202111035480A CN 113891259 B CN113891259 B CN 113891259B
Authority
CN
China
Prior art keywords
short message
channel
score
sms
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111035480.1A
Other languages
Chinese (zh)
Other versions
CN113891259A (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.)
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
MIGU Culture Technology 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 China Mobile Communications Group Co Ltd, MIGU Music Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202111035480.1A priority Critical patent/CN113891259B/en
Publication of CN113891259A publication Critical patent/CN113891259A/en
Application granted granted Critical
Publication of CN113891259B publication Critical patent/CN113891259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method, a device, equipment and a computer readable storage medium for distributing short messages, wherein the method comprises the following steps: acquiring historical short message sending data of at least two preset short message channels; determining attribute parameters of each short message channel according to the historical short message sending data, wherein the attribute parameters comprise channel attribute information, user related information and short message attribute information; determining the comprehensive score of each short message channel according to each attribute parameter; and determining a target short message channel according to the comprehensive score, and sending the target short message through the target short message channel. The invention improves the success rate of sending the short message.

Description

短信分发方法、装置、设备以及计算机可读存储介质Short message distribution method, device, equipment and computer-readable storage medium

技术领域Technical Field

本发明涉及计算机技术领域,尤其涉及一种短信分发方法、装置、设备以及计算机可读存储介质。The present invention relates to the field of computer technology, and in particular to a text message distribution method, device, equipment and computer-readable storage medium.

背景技术Background Art

音乐端口平台,是一个短信类业务统一接入、管理、发送的平台,承载着各类短信下发业务。各类业务是通过端口平台的短信模板进行发送,每个短信模板配置对应的下发通道,端口平台对接的下发通道有彩铃平台、多媒体彩铃平台、彩信中心、异网平台四个下发通道,当有短信业务时,将会按照模板中配置的下发通道进行下发。然而这些下发通道中,一部分通道由于是多接入商共用,在并发是时容易拥堵,一部分通道由于通道的单位时间内下发短信的上限值的限定,使得短信通道存在大量的请求超时,消息严重拥堵,发送失败等情况,以上的情况容易导致短信下发成功率较低。The music port platform is a platform for unified access, management, and delivery of SMS services, and it carries all kinds of SMS delivery services. All kinds of services are delivered through the SMS templates of the port platform. Each SMS template is configured with a corresponding delivery channel. The delivery channels connected to the port platform include the color ring tone platform, multimedia color ring tone platform, MMS center, and other network platform. When there is an SMS service, it will be delivered according to the delivery channel configured in the template. However, among these delivery channels, some channels are shared by multiple access providers, which are prone to congestion during concurrency. Some channels have a large number of request timeouts, serious message congestion, and delivery failures due to the upper limit of the SMS delivery per unit time of the channel. The above situations easily lead to a low success rate of SMS delivery.

发明内容Summary of the invention

本发明的主要目的在于提供一种短信分发方法、装置、设备以及计算机可读存储介质,旨在解决如何提高短信下发成功率的问题。The main purpose of the present invention is to provide a method, device, equipment and computer-readable storage medium for distributing short messages, aiming to solve the problem of how to improve the success rate of sending short messages.

为实现上述目的,本发明提供的一种短信分发方法,所述短信分发方法包括以下步骤:To achieve the above object, the present invention provides a method for distributing short messages, which comprises the following steps:

获取至少两个预设的短信通道的历史短信发送数据;Obtain historical SMS sending data of at least two preset SMS channels;

根据所述历史短信发送数据确定各个所述短信通道的属性参数,所述属性参数包括通道属性信息、用户相关信息以及短信属性信息;Determine attribute parameters of each of the SMS channels according to the historical SMS sending data, wherein the attribute parameters include channel attribute information, user related information, and SMS attribute information;

根据每个所述属性参数确定每个所述短信通道的综合评分;Determine a comprehensive score of each of the SMS channels according to each of the attribute parameters;

根据所述综合评分确定目标短信通道,并通过所述目标短信通道发送目标短信。A target SMS channel is determined according to the comprehensive score, and a target SMS is sent through the target SMS channel.

在一实施例中,所述根据所述属性参数确定各个所述短信通道的综合评分的步骤包括:In one embodiment, the step of determining the comprehensive score of each of the SMS channels according to the attribute parameters includes:

根据所述通道属性信息确定各个所述短信通道的第一得分;Determine a first score for each of the SMS channels according to the channel attribute information;

根据所述用户相关信息确定各个所述短信通道的第二得分;Determine a second score for each of the SMS channels according to the user related information;

根据所述短信属性信息确定各个所述短信通道的第三得分;Determine a third score for each of the SMS channels according to the SMS attribute information;

根据所述第一得分、所述第二得分以及所述第三得分以及各个所述得分对应的权重值确定所述短信通道的所述综合评分。The comprehensive score of the SMS channel is determined according to the first score, the second score, the third score, and weight values corresponding to each of the scores.

在一实施例中,所述通道属性信息包括所述短信通道的延时系数、成功率系数、能力系数以及通道类型,所述能力系数由所述短信通道单位时间内发送的最大短信数量确定;所述根据所述通道属性信息确定各个所述短信通道的第一得分的步骤包括:In one embodiment, the channel attribute information includes a delay coefficient, a success rate coefficient, a capacity coefficient, and a channel type of the SMS channel, wherein the capacity coefficient is determined by a maximum number of SMS messages sent per unit time by the SMS channel; and the step of determining the first score of each SMS channel according to the channel attribute information includes:

生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的相关矩阵,分别确定相同所述通道属性信息对应的各个所述短信通道的判断矩阵;Generate a correlation matrix between the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type, and respectively determine a judgment matrix of each of the SMS channels corresponding to the same channel attribute information;

根据所述相关矩阵生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的第一权重矩阵,根据所述判断矩阵确定各个所述短信通道的第二权重矩阵;Generate a first weight matrix among the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type according to the correlation matrix, and determine a second weight matrix for each of the SMS channels according to the judgment matrix;

根据所述第一权重矩阵中的值与各个所述第二权重矩阵的乘积值确定各个所述短信通道的所述第一得分。The first score of each of the short message channels is determined according to the product value of the value in the first weight matrix and each of the second weight matrices.

在一实施例中,所述根据所述相关矩阵生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的第一权重矩阵的步骤之前,还包括:In one embodiment, before the step of generating the delay coefficient, the success rate coefficient, the capacity coefficient and the first weight matrix between the channel types according to the correlation matrix, the step further includes:

确定所述相关矩阵的第一一致性比率;determining a first consistency ratio of the correlation matrix;

当所述第一一致性比率小于预设阈值时,分别确定各个所述判断矩阵的第二一致性比率;When the first consistency ratio is less than a preset threshold, determining the second consistency ratio of each of the judgment matrices respectively;

当所有的所述第二一致性比率小于预设阈值时,执行所述根据所述相关矩阵生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的第一权重矩阵的步骤。When all of the second consistency ratios are less than a preset threshold, the step of generating the delay coefficient, the success rate coefficient, the capacity coefficient and a first weight matrix between the channel types according to the correlation matrix is performed.

在一实施例中,所述根据所述用户相关信息确定各个所述短信通道的第二得分的步骤包括:In one embodiment, the step of determining the second score of each of the SMS channels according to the user-related information includes:

根据所述用户相关信息确定预设时长内每个短信通道中用户短信的屏蔽数量以及所有短信通道中用户屏蔽的短信总数量;Determine the number of blocked text messages of the user in each text message channel within a preset time period and the total number of text messages blocked by the user in all text message channels according to the user-related information;

根据所述预设时长内每个短信通道中用户短信的屏蔽数量以及所有短信通道中用户屏蔽的短信总数量确定各个短信通道的屏蔽比例;Determining the blocking ratio of each SMS channel according to the number of blocked SMS messages of users in each SMS channel within the preset time period and the total number of SMS messages blocked by users in all SMS channels;

根据所述用户相关信息确定每个预设时间间隔内的各个短信通道的短信的屏蔽数量,所述预设时长分为至少两个所述预设时间间隔;Determine the number of SMS messages blocked in each SMS channel within each preset time interval according to the user related information, wherein the preset time length is divided into at least two preset time intervals;

根据每个预设时间间隔内的各个短信通道的短信的屏蔽数量,获取在每个预设时间间隔内的各个短信通道的短信的所述屏蔽数量的平均值,以及各个短信通道的短信的所述屏蔽数量的上限值;According to the number of blocked text messages of each text message channel in each preset time interval, an average value of the number of blocked text messages of each text message channel in each preset time interval and an upper limit value of the number of blocked text messages of each text message channel are obtained;

根据目标时间间隔内的短信屏蔽数量、所述平均值以及所述上限值确定各个短信通道的屏蔽系数,所述目标时间间隔对应的时间晚于预设时长内其他时间间隔对应的时间;Determine the shielding coefficient of each SMS channel according to the number of SMS shielding within a target time interval, the average value and the upper limit value, the time corresponding to the target time interval is later than the time corresponding to other time intervals within the preset time length;

根据各个短信通道的所述屏蔽比例以及所述屏蔽系数确定各个短信通道的所述第二得分。The second score of each SMS channel is determined according to the shielding ratio and the shielding coefficient of each SMS channel.

在一实施例中,所述根据所述短信属性信息确定第三得分的步骤包括:In one embodiment, the step of determining the third score according to the SMS attribute information includes:

根据所述短信属性信息确定短信的业务类型以及所述短信是否为超长短信;Determine the service type of the SMS and whether the SMS is an extra-long SMS according to the SMS attribute information;

根据各个所述短信通道的业务类型确定各个所述短信通道的业务得分;Determine the service score of each of the SMS channels according to the service type of each of the SMS channels;

根据各个所述短信是否为超长短信确定各个所述短信通道的支持得分;Determining the support score of each of the SMS channels according to whether each of the SMS is an extra-long SMS;

根据所述业务得分以及所述支持得分确定所述第三得分。The third score is determined according to the business score and the support score.

在一实施例中,所述根据所述综合评分确定目标短信通道,并通过所述目标短信通道发送目标短信的步骤包括:In one embodiment, the step of determining a target SMS channel according to the comprehensive score and sending a target SMS through the target SMS channel includes:

根据所述综合评分对各个所述短信通道进行排序;Sorting each of the SMS channels according to the comprehensive score;

将排序最前的短信通道作为所述目标短信通道,根据所述目标短信通道发送所述目标短信;The first SMS channel in the sorting order is used as the target SMS channel, and the target SMS is sent according to the target SMS channel;

若所述目标短信通道发送失败,则将所述目标短信通道的下一个短信通道作为所述目标短信通道,根据所述目标短信通道发送所述目标短信,直至最后一个短信通道,则生成反馈信息并发送至用户。If the target SMS channel fails to send, the next SMS channel of the target SMS channel is used as the target SMS channel, and the target SMS is sent according to the target SMS channel until the last SMS channel is reached, and feedback information is generated and sent to the user.

为实现上述目的,本发明还提供一种短信分发装置,所述短信分发装置包括:To achieve the above object, the present invention further provides a short message distribution device, the short message distribution device comprising:

获取模块,用于获取至少两个预设的短信通道的历史短信发送数据;An acquisition module, used to acquire historical SMS sending data of at least two preset SMS channels;

确定模块,用于根据所述历史短信发送数据确定各个所述短信通道的属性参数,所述属性参数包括通道属性信息、用户相关信息以及短信属性信息;A determination module, used to determine attribute parameters of each of the SMS channels according to the historical SMS sending data, wherein the attribute parameters include channel attribute information, user related information and SMS attribute information;

计算模块,用于根据每个所述属性参数确定每个所述短信通道的综合评分;A calculation module, used to determine a comprehensive score of each of the SMS channels according to each of the attribute parameters;

分发模块,用于根据所述综合评分确定目标短信通道,并通过所述目标短信通道发送目标短信。The distribution module is used to determine a target SMS channel according to the comprehensive score, and send the target SMS through the target SMS channel.

为实现上述目的,本发明还提供一种短信分发设备,所述短信分发设备包括存储器、处理器以及存储在所述存储器并可在所述处理器上执行的短信分发程序,所述短信分发程序被所述处理器执行时实现如上所述的短信分发方法的各个步骤。To achieve the above-mentioned purpose, the present invention also provides a text message distribution device, which includes a memory, a processor, and a text message distribution program stored in the memory and executable on the processor. When the text message distribution program is executed by the processor, the various steps of the text message distribution method described above are implemented.

为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有短信分发程序,所述短信分发程序被处理器执行时实现如上所述的短信分发方法的各个步骤。To achieve the above object, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a short message distribution program, and when the short message distribution program is executed by a processor, the various steps of the short message distribution method described above are implemented.

本发明提供的一种短信分发方法、装置、设备以及计算机可读存储介质,获取至少两个预设的短信通道的历史短信发送数据;根据历史短信发送数据确定各个短信通道的属性参数;根据每个属性参数确定每个短信通道的综合评分;根据综合评分确定目标短信通道,并通过目标短信通道发送目标短信。通过各个短信通道的属性参数确定各个短信通道的综合评分,根据综合评分确定发送目标短信的目标短信通道,提高了目标短信的发送速率和成功率。The present invention provides a method, device, equipment and computer-readable storage medium for distributing short messages, which obtain historical short message sending data of at least two preset short message channels; determine the attribute parameters of each short message channel according to the historical short message sending data; determine the comprehensive score of each short message channel according to each attribute parameter; determine the target short message channel according to the comprehensive score, and send the target short message through the target short message channel. The comprehensive score of each short message channel is determined by the attribute parameters of each short message channel, and the target short message channel for sending the target short message is determined according to the comprehensive score, thereby improving the sending rate and success rate of the target short message.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明实施例涉及的短信分发设备的硬件结构示意图;FIG1 is a schematic diagram of the hardware structure of a short message distribution device according to an embodiment of the present invention;

图2为本发明短信分发方法的第一实施例的流程示意图;FIG2 is a schematic flow chart of a first embodiment of a method for distributing short messages according to the present invention;

图3为本发明短信分发方法的第二实施例的步骤S30的细化流程示意图;FIG3 is a detailed flow chart of step S30 of the second embodiment of the method for distributing short messages of the present invention;

图4为本发明短信分发方法的第三实施例的步骤S31的细化流程示意图;FIG4 is a detailed flow chart of step S31 of the third embodiment of the method for distributing short messages of the present invention;

图5为本发明短信分发方法的第四实施例的步骤S31的细化流程示意图;FIG5 is a detailed flow chart of step S31 of the fourth embodiment of the method for distributing short messages of the present invention;

图6为本发明短信分发方法的第五实施例的步骤S32的细化流程示意图;FIG6 is a detailed flow chart of step S32 of the fifth embodiment of the method for distributing short messages of the present invention;

图7为本发明短信分发方法的第六实施例的步骤S33的细化流程示意图;FIG7 is a detailed flow chart of step S33 of the sixth embodiment of the method for distributing short messages of the present invention;

图8为本发明短信分发装置的逻辑结构示意图。FIG8 is a schematic diagram of the logical structure of the short message distribution device of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings.

具体实施方式DETAILED DESCRIPTION

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

本发明实施例的主要解决方案是:获取至少两个预设的短信通道的历史短信发送数据;根据历史短信发送数据确定各个短信通道的属性参数;根据每个属性参数确定每个短信通道的综合评分;根据综合评分确定目标短信通道,并通过目标短信通道发送目标短信。The main solution of the embodiment of the present invention is: obtaining historical SMS sending data of at least two preset SMS channels; determining the attribute parameters of each SMS channel according to the historical SMS sending data; determining the comprehensive score of each SMS channel according to each attribute parameter; determining the target SMS channel according to the comprehensive score, and sending the target SMS through the target SMS channel.

通过各个短信通道的属性参数确定各个短信通道的综合评分,根据综合评分确定发送目标短信的目标短信通道,提高了目标短信的发送速率和成功率。The comprehensive score of each SMS channel is determined by the attribute parameters of each SMS channel, and the target SMS channel for sending the target SMS is determined according to the comprehensive score, thereby improving the sending rate and success rate of the target SMS.

作为一种实现方案,短信分发设备可以如图1所示。As an implementation solution, the SMS distribution device may be as shown in FIG1 .

本发明实施例方案涉及的是短信分发设备,短信分发设备包括:处理器101,例如CPU,存储器102,通信总线103。其中,通信总线103用于实现这些组件之间的连接通信。The embodiment of the present invention relates to a short message distribution device, which includes: a processor 101, such as a CPU, a memory 102, and a communication bus 103. The communication bus 103 is used to realize connection and communication between these components.

存储器102可以是高速RAM存储器,也可以是稳定的存储器(non-volatilememory),例如磁盘存储器。如图1所示,作为一种计算机可读存储介质的存储器102中可以包括短信分发程序;而处理器101可以用于调用存储器102中存储的短信分发程序,并执行以下操作:The memory 102 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. As shown in FIG1 , the memory 102 as a computer-readable storage medium may include a short message distribution program; and the processor 101 may be used to call the short message distribution program stored in the memory 102 and perform the following operations:

获取至少两个预设的短信通道的历史短信发送数据;Obtain historical SMS sending data of at least two preset SMS channels;

根据所述历史短信发送数据确定各个所述短信通道的属性参数,所述属性参数包括通道属性信息、用户相关信息以及短信属性信息;Determine attribute parameters of each of the SMS channels according to the historical SMS sending data, wherein the attribute parameters include channel attribute information, user related information, and SMS attribute information;

根据每个所述属性参数确定每个所述短信通道的综合评分;Determine a comprehensive score of each of the SMS channels according to each of the attribute parameters;

根据所述综合评分确定目标短信通道,并通过所述目标短信通道发送目标短信。A target SMS channel is determined according to the comprehensive score, and a target SMS is sent through the target SMS channel.

在一实施例中,处理器101可以用于调用存储器102中存储的短信分发程序,并执行以下操作:In one embodiment, the processor 101 may be used to call the short message distribution program stored in the memory 102 and perform the following operations:

根据所述通道属性信息确定各个所述短信通道的第一得分;Determine a first score for each of the SMS channels according to the channel attribute information;

根据所述用户相关信息确定各个所述短信通道的第二得分;Determine a second score for each of the SMS channels according to the user related information;

根据所述短信属性信息确定各个所述短信通道的第三得分;Determine a third score for each of the SMS channels according to the SMS attribute information;

根据所述第一得分、所述第二得分以及所述第三得分以及各个所述得分对应的权重值确定所述短信通道的所述综合评分。The comprehensive score of the SMS channel is determined according to the first score, the second score, the third score, and weight values corresponding to each of the scores.

在一实施例中,处理器101可以用于调用存储器102中存储的短信分发程序,并执行以下操作:In one embodiment, the processor 101 may be used to call the short message distribution program stored in the memory 102 and perform the following operations:

生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的相关矩阵,分别确定相同所述通道属性信息对应的各个所述短信通道的判断矩阵;Generate a correlation matrix between the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type, and respectively determine a judgment matrix of each of the SMS channels corresponding to the same channel attribute information;

根据所述相关矩阵生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的第一权重矩阵,根据所述判断矩阵确定各个所述短信通道的第二权重矩阵;Generate a first weight matrix among the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type according to the correlation matrix, and determine a second weight matrix for each of the SMS channels according to the judgment matrix;

根据所述第一权重矩阵中的值与各个所述第二权重矩阵的乘积值确定各个所述短信通道的所述第一得分。The first score of each of the short message channels is determined according to the product value of the value in the first weight matrix and each of the second weight matrices.

在一实施例中,处理器101可以用于调用存储器102中存储的短信分发程序,并执行以下操作:In one embodiment, the processor 101 may be used to call the short message distribution program stored in the memory 102 and perform the following operations:

确定所述相关矩阵的第一一致性比率;determining a first consistency ratio of the correlation matrix;

当所述第一一致性比率小于预设阈值时,分别确定各个所述判断矩阵的第二一致性比率;When the first consistency ratio is less than a preset threshold, determining the second consistency ratio of each of the judgment matrices respectively;

当所有的所述第二一致性比率小于预设阈值时,执行所述根据所述相关矩阵生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的第一权重矩阵的步骤。When all of the second consistency ratios are less than a preset threshold, the step of generating the delay coefficient, the success rate coefficient, the capacity coefficient and a first weight matrix between the channel types according to the correlation matrix is performed.

在一实施例中,处理器101可以用于调用存储器102中存储的短信分发程序,并执行以下操作:In one embodiment, the processor 101 may be used to call the short message distribution program stored in the memory 102 and perform the following operations:

根据所述用户相关信息确定预设时长内每个短信通道中用户短信的屏蔽数量以及所有短信通道中用户屏蔽的短信总数量;Determine the number of blocked text messages of the user in each text message channel within a preset time period and the total number of text messages blocked by the user in all text message channels according to the user-related information;

根据所述预设时长内每个短信通道中用户短信的屏蔽数量以及所有短信通道中用户屏蔽的短信总数量确定各个短信通道的屏蔽比例;Determining the blocking ratio of each SMS channel according to the number of blocked SMS messages of users in each SMS channel within the preset time period and the total number of SMS messages blocked by users in all SMS channels;

根据所述用户相关信息确定每个预设时间间隔内的各个短信通道的短信的屏蔽数量,所述预设时长分为至少两个所述预设时间间隔;Determine the number of SMS messages blocked in each SMS channel within each preset time interval according to the user related information, wherein the preset time length is divided into at least two preset time intervals;

根据每个预设时间间隔内的各个短信通道的短信的屏蔽数量,获取在每个预设时间间隔内的各个短信通道的短信的所述屏蔽数量的平均值,以及各个短信通道的短信的所述屏蔽数量的上限值;According to the number of blocked text messages of each text message channel in each preset time interval, an average value of the number of blocked text messages of each text message channel in each preset time interval and an upper limit value of the number of blocked text messages of each text message channel are obtained;

根据目标时间间隔内的短信屏蔽数量、所述平均值以及所述上限值确定各个短信通道的屏蔽系数,所述目标时间间隔对应的时间晚于预设时长内其他时间间隔对应的时间;Determine the shielding coefficient of each SMS channel according to the number of SMS shielding within a target time interval, the average value and the upper limit value, the time corresponding to the target time interval is later than the time corresponding to other time intervals within the preset time length;

根据各个短信通道的所述屏蔽比例以及所述屏蔽系数确定各个短信通道的所述第二得分。The second score of each SMS channel is determined according to the shielding ratio and the shielding coefficient of each SMS channel.

在一实施例中,处理器101可以用于调用存储器102中存储的短信分发程序,并执行以下操作:In one embodiment, the processor 101 may be used to call the short message distribution program stored in the memory 102 and perform the following operations:

根据所述短信属性信息确定短信的业务类型以及所述短信是否为超长短信;Determine the service type of the SMS and whether the SMS is an extra-long SMS according to the SMS attribute information;

根据各个所述短信通道的业务类型确定各个所述短信通道的业务得分;Determine the service score of each of the SMS channels according to the service type of each of the SMS channels;

根据各个所述短信是否为超长短信确定各个所述短信通道的支持得分;Determining the support score of each of the SMS channels according to whether each of the SMS is an extra-long SMS;

根据所述业务得分以及所述支持得分确定所述第三得分。The third score is determined according to the business score and the support score.

在一实施例中,处理器101可以用于调用存储器102中存储的短信分发程序,并执行以下操作:In one embodiment, the processor 101 may be used to call the short message distribution program stored in the memory 102 and perform the following operations:

根据所述综合评分对各个所述短信通道进行排序;Sorting each of the SMS channels according to the comprehensive score;

将排序最前的短信通道作为所述目标短信通道,根据所述目标短信通道发送所述目标短信;The first SMS channel in the sorting order is used as the target SMS channel, and the target SMS is sent according to the target SMS channel;

若所述目标短信通道发送失败,则将所述目标短信通道的下一个短信通道作为所述目标短信通道,根据所述目标短信通道发送所述目标短信,直至最后一个短信通道,则生成反馈信息并发送至用户。If the target SMS channel fails to send, the next SMS channel of the target SMS channel is used as the target SMS channel, and the target SMS is sent according to the target SMS channel until the last SMS channel is reached, and feedback information is generated and sent to the user.

基于上述短信分发设备的硬件构架,提出本发明短信分发方法的实施例。Based on the hardware architecture of the above-mentioned SMS distribution device, an embodiment of the SMS distribution method of the present invention is proposed.

参照图2,图2为本发明短信分发方法的第一实施例,所述短信分发方法包括以下步骤:Referring to FIG. 2 , FIG. 2 is a first embodiment of a method for distributing short messages according to the present invention, and the method for distributing short messages comprises the following steps:

步骤S10,获取至少两个预设的短信通道的历史短信发送数据。Step S10, obtaining historical SMS sending data of at least two preset SMS channels.

具体的,短信通道可以是多媒体彩铃平台、彩铃平台或者彩信中心等短信通道,历史短信发送信息可以包括在一段时间内的用户的短信发送的成功率、延时情况、用户对短信的屏蔽情况以及短信类型等情况,也可以包括监测中心发送的测试短信的成功率、延时情况、用户对短信的屏蔽情况以及短信类型等情况,例如监测中心计算发送测试短信以及接受测试短信的时间。Specifically, the SMS channel may be an SMS channel such as a multimedia ringback tone platform, a ringback tone platform or a MMS center. The historical SMS sending information may include the success rate, delay, user blocking of SMS and SMS type of the user within a period of time. It may also include the success rate, delay, user blocking of SMS and SMS type of test SMS sent by the monitoring center. For example, the monitoring center calculates the time for sending and receiving test SMS.

步骤S20,根据所述历史短信发送数据确定各个所述短信通道的属性参数,所述属性参数包括通道属性信息、用户相关信息以及短信属性信息。Step S20, determining attribute parameters of each of the SMS channels according to the historical SMS sending data, wherein the attribute parameters include channel attribute information, user-related information, and SMS attribute information.

具体的,根据短信通道对应的历史短信发送数据确定短信通道的属性参数,属性参数包括通道属性信息、用户相关信息以及短信属性信息,通道属性信息包括短信通道的延时系数、成功率系数、能力系数以及通道类型。Specifically, the attribute parameters of the SMS channel are determined according to the historical SMS sending data corresponding to the SMS channel. The attribute parameters include channel attribute information, user-related information and SMS attribute information. The channel attribute information includes the delay coefficient, success rate coefficient, capacity coefficient and channel type of the SMS channel.

短信通道的延时系数由短信通道对应的短信发送的延时率确定,示例性的,以采样时间跨度为粒度,如2分钟,监测中心使用测试号码向各短信通道发送测试短信维持心跳,收集各通道的响应时间确保为最新的状态。The delay coefficient of the SMS channel is determined by the delay rate of the SMS sending corresponding to the SMS channel. For example, the sampling time span is used as the granularity, such as 2 minutes. The monitoring center uses a test number to send test SMS to each SMS channel to maintain the heartbeat and collects the response time of each channel to ensure the latest status.

T=t2-t1T = t 2 - t 1 ;

其中,T表示耗时时间,单位为毫秒;t1为提交请求至通道的时间,格式可以表示为yyMMddHHmmssffff;t2为接收到通道返回的时间,格式可以表示为yyMMddHHmmssffff。示例性的,得到每个下发通道的响应时间后,确定通道延时系数,延时系数参考如下表:Wherein, T represents the time taken, in milliseconds; t1 is the time to submit the request to the channel, which can be expressed in the format of yyMMddHHmmssffff; t2 is the time to receive the channel response, which can be expressed in the format of yyMMddHHmmssffff. For example, after obtaining the response time of each channel, the channel delay coefficient is determined, and the delay coefficient is referred to the following table:

耗时(毫秒)Time consumed (milliseconds) 延时系数Delay Factor 反映实际情况Reflect the actual situation <500<500 100100 良好good 500-1000500-1000 9090 可用Available 1000-30001000-3000 3030 拥堵Congestion >3000>3000 1010 严重拥堵Severe congestion 超时time out 00 不可用Unavailable

短信通道的成功率系数由短信通道对应的短信发送的成功率确定,示例性的,以采样时间跨度为粒度,如5分钟,统计各短信通道发送和短信通道返回情况,以此来确定通道的下发成功率。The success rate coefficient of the SMS channel is determined by the success rate of SMS sending corresponding to the SMS channel. For example, the sampling time span is used as the granularity, such as 5 minutes, and the sending and returning situations of each SMS channel are counted to determine the channel's sending success rate.

Figure BDA0003245904340000091
Figure BDA0003245904340000091

其中,V为成功率,R为采样时间粒度内的发送数量,C为采样时间粒度内的返回结果中标记为成功的数量。得到每个下发通道的成功率后,确定通道成功率系数,参考如下表:Among them, V is the success rate, R is the number of sends within the sampling time granularity, and C is the number of return results marked as successful within the sampling time granularity. After obtaining the success rate of each downlink channel, determine the channel success rate coefficient, refer to the following table:

成功率Success rate 成功率系数Success rate coefficient 反映实际情况Reflect the actual situation >98%>98% 100100 良好good 90%-98%90%-98% 9090 正常normal 80%-90%80%-90% 3030 一般generally 50%-80%50%-80% 1010 Difference <50%<50% 33 不满足生产Not satisfied with production

短信通道的能力系数有短信通道单位时间内能发送的最大短信数量确定,例如,彩铃平台的能力系数为每秒100条、多媒体彩铃平台的能力系数每秒300条、彩信中心的能力系数为每秒50条。The capacity coefficient of the SMS channel is determined by the maximum number of SMS messages that can be sent by the SMS channel per unit time. For example, the capacity coefficient of the color ring tone platform is 100 messages per second, the capacity coefficient of the multimedia color ring tone platform is 300 messages per second, and the capacity coefficient of the MMS center is 50 messages per second.

短信通道的通道类型可以包括彩铃平台、多媒体彩铃平台以及彩信中心等短信通道。Channel types of SMS channels may include SMS channels such as color ring back tone platform, multimedia color ring back tone platform and MMS center.

步骤S30,根据每个所述属性参数确定每个所述短信通道的综合评分。Step S30, determining a comprehensive score of each of the SMS channels according to each of the attribute parameters.

具体的,可以根据短信通道的每个属性参数对应的得分的平均值或者中间值等确定短信通道的综合评分,也可以根据短信通道的每个属性参数以及每个属性参数的权重值确定短信通道的综合评分。Specifically, the comprehensive score of the SMS channel may be determined based on the average or median value of the score corresponding to each attribute parameter of the SMS channel, or based on each attribute parameter of the SMS channel and the weight value of each attribute parameter.

步骤S40,根据所述综合评分确定目标短信通道,并通过所述目标短信通道发送目标短信。Step S40, determining a target SMS channel according to the comprehensive score, and sending a target SMS through the target SMS channel.

具体的,可以确定综合评分最高的短信通道作为目标短信通道,并通过目标短信通道发送目标短信。也可以根据综合评分对各个短信通道进行排序;将排序最前的短信通道作为目标短信通道,根据目标短信通道发送目标短信;若目标短信通道发送失败,则将目标短信通道的下一个短信通道作为目标短信通道,根据目标短信通道发送目标短信,直至最后一个短信通道,则生成反馈信息并发送至用户。Specifically, the SMS channel with the highest comprehensive score can be determined as the target SMS channel, and the target SMS can be sent through the target SMS channel. The SMS channels can also be sorted according to the comprehensive score; the SMS channel with the highest ranking can be used as the target SMS channel, and the target SMS can be sent through the target SMS channel; if the target SMS channel fails to send, the next SMS channel of the target SMS channel can be used as the target SMS channel, and the target SMS can be sent through the target SMS channel until the last SMS channel is reached, and feedback information is generated and sent to the user.

在本实施例的技术方案中,获取至少两个预设的短信通道的历史短信发送数据;根据历史短信发送数据确定各个短信通道的属性参数;根据每个属性参数确定每个短信通道的综合评分;根据综合评分确定目标短信通道,并通过目标短信通道发送目标短信。通过各个短信通道的属性参数确定各个短信通道的综合评分,根据综合评分确定发送目标短信的目标短信通道,提高了目标短信的发送速率和成功率。In the technical solution of this embodiment, historical SMS sending data of at least two preset SMS channels are obtained; attribute parameters of each SMS channel are determined according to the historical SMS sending data; a comprehensive score of each SMS channel is determined according to each attribute parameter; a target SMS channel is determined according to the comprehensive score, and a target SMS is sent through the target SMS channel. The comprehensive score of each SMS channel is determined according to the attribute parameters of each SMS channel, and the target SMS channel for sending the target SMS is determined according to the comprehensive score, thereby improving the sending rate and success rate of the target SMS.

参照图3,图3为本发明短信分发方法的第二实施例,基于第一实施例,所述步骤S30包括:Referring to FIG. 3 , FIG. 3 is a second embodiment of the method for distributing short messages of the present invention. Based on the first embodiment, step S30 includes:

步骤S31,根据所述通道属性信息确定各个所述短信通道的第一得分;Step S31, determining a first score of each of the SMS channels according to the channel attribute information;

步骤S32,根据所述用户相关信息确定各个所述短信通道的第二得分;Step S32, determining a second score for each of the SMS channels according to the user-related information;

步骤S33,根据所述短信属性信息确定各个所述短信通道的第三得分;Step S33, determining a third score of each of the SMS channels according to the SMS attribute information;

步骤S34,根据所述第一得分、所述第二得分以及所述第三得分以及各个所述得分对应的权重值确定所述短信通道的所述综合评分。Step S34: determining the comprehensive score of the SMS channel according to the first score, the second score, the third score, and the weight values corresponding to the scores.

具体的,根据通道属性信息确定各个短信通道的第一得分w1,根据用户相关信息确定各个短信通道的第二得分w2,根据短信属性信息确定各个短信通道的第三得分w3,根据第一得分、第二得分以及第三得分以及各个得分对应的权重值确定短信通道的综合评分,如下公式所示:Specifically, a first score w 1 of each SMS channel is determined according to the channel attribute information, a second score w 2 of each SMS channel is determined according to the user-related information, a third score w 3 of each SMS channel is determined according to the SMS attribute information, and a comprehensive score of the SMS channel is determined according to the first score, the second score, the third score and the weight values corresponding to each score, as shown in the following formula:

w=w1×α1+w2×α2+w3×α3w=w 1 ×α 1 +w 2 ×α 2 +w 3 ×α 3 ;

其中,w表示短信通道的综合评分,α1表示短信通道的第一得分对应的权重值,α2表示短信通道的第二得分对应的权重值,α3表示短信通道的第三得分对应的权重值。Wherein, w represents the comprehensive score of the SMS channel, α1 represents the weight value corresponding to the first score of the SMS channel, α2 represents the weight value corresponding to the second score of the SMS channel, and α3 represents the weight value corresponding to the third score of the SMS channel.

在本实施例的技术方案中,根据通道属性信息确定各个短信通道的第一得分;根据用户相关信息确定各个短信通道的第二得分;根据短信属性信息确定各个短信通道的第三得分;根据第一得分、第二得分以及第三得分以及各个得分对应的权重值确定短信通道的综合评分。通过通道属性信息、用户相关性以及短信属性信息综合确定了短信通道的综合评分,提高了综合评分的全面性和准确性。In the technical solution of this embodiment, the first score of each SMS channel is determined according to the channel attribute information; the second score of each SMS channel is determined according to the user-related information; the third score of each SMS channel is determined according to the SMS attribute information; and the comprehensive score of the SMS channel is determined according to the first score, the second score, the third score and the weight values corresponding to each score. The comprehensive score of the SMS channel is determined by comprehensively determining the channel attribute information, the user relevance and the SMS attribute information, thereby improving the comprehensiveness and accuracy of the comprehensive score.

参照图4,图4为本发明短信分发方法的第三实施例,基于第二实施例,所述步骤S31包括:Referring to FIG. 4 , FIG. 4 is a third embodiment of the method for distributing short messages according to the present invention. Based on the second embodiment, step S31 includes:

步骤S311,生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的相关矩阵,分别确定相同所述通道属性信息对应的各个所述短信通道的判断矩阵;Step S311, generating a correlation matrix among the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type, and respectively determining a judgment matrix of each of the SMS channels corresponding to the same channel attribute information;

步骤S312,根据所述相关矩阵生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的第一权重矩阵,根据所述判断矩阵确定各个所述短信通道的第二权重矩阵;Step S312, generating a first weight matrix among the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type according to the correlation matrix, and determining a second weight matrix for each of the SMS channels according to the judgment matrix;

步骤S313,根据所述第一权重矩阵以及各个所述第二权重矩阵的乘积值确定各个所述短信通道的所述第一得分。Step S313: determining the first score of each of the short message channels according to the product value of the first weight matrix and each of the second weight matrices.

具体的,通道属性信息包括短信通道的延时系数、成功率系数、能力系数以及通道类型,能力系数由所述短信通道单位时间内发送的最大短信数量确定。生成延时系数、成功率系数、能力系数以及通道类型之间的相关矩阵,示例性的,相关矩阵和判断矩阵描述相对重要性或优越性,如下表所示,各个要素在对比时采用的标度,以尽可能减少性质不同要素相互比较的困难,以提高准确度。Specifically, the channel attribute information includes the delay coefficient, success rate coefficient, capacity coefficient and channel type of the SMS channel, and the capacity coefficient is determined by the maximum number of SMS sent per unit time of the SMS channel. Generate a correlation matrix between the delay coefficient, success rate coefficient, capacity coefficient and channel type. Exemplarily, the correlation matrix and the judgment matrix describe the relative importance or superiority, as shown in the following table. The scale used for each element when comparing is to minimize the difficulty of comparing elements of different natures to improve accuracy.

标度Scale 含义meaning 11 两个要素相比,重要性相同The two factors are equally important. 33 两要素相比,前者比后者稍微重要或有优势Compared with the two factors, the former is slightly more important or has an advantage over the latter. 55 两要素相比,前者比后者比较重要或有优势Compared with the two factors, the former is more important or has an advantage over the latter. 77 两要素相比,前者比后者十分重要或有优势Compared with the two factors, the former is more important or has an advantage over the latter. 99 两要素相比,前者比后者绝对重要或有优势Compared with the two factors, the former is absolutely more important or has an advantage over the latter. 2,4,6,82,4,6,8 为上述标度之间的中间值is the middle value between the above scales

若要描述后者与前者重要或有优势,则用倒数为标度,例如1/3描述的是后者比前者稍微重要或有优势。根据标度确定延时系数、成功率系数、能力系数以及通道类型之间的关系,如下表所示:If you want to describe the latter as being more important or having an advantage over the former, use the reciprocal as the scale, for example, 1/3 describes that the latter is slightly more important or has an advantage over the former. The relationship between the delay coefficient, success rate coefficient, capacity coefficient, and channel type is determined based on the scale, as shown in the following table:

短信通道SMS channel 成功率系数Success rate coefficient 延时系数Delay Factor 能力系数Capacity coefficient 通道类型Channel Type 成功率系数Success rate coefficient 11 1/31/3 1/51/5 11 延时系数Delay Factor 33 11 11 55 能力系数Capacity coefficient 55 11 11 55 通道类型Channel Type 11 1/51/5 1/51/5 11

相关矩阵A1如下所示:The correlation matrix A1 is shown below:

Figure BDA0003245904340000121
Figure BDA0003245904340000121

分别确定相同通道属性信息对应的各个短信通道的判断矩阵。Determine the judgment matrix of each SMS channel corresponding to the same channel attribute information respectively.

成功率系数下各个短信通道之间的关系如下表所示:The relationship between each SMS channel under the success rate coefficient is shown in the following table:

成功率系数Success rate coefficient 彩铃平台Ringtone Platform 多媒体彩铃平台Multimedia Ringback Tone Platform 彩信中心MMS Center 彩铃平台Ringtone Platform 11 1/71/7 1/51/5 多媒体彩铃平台Multimedia Ringback Tone Platform 77 11 22 彩信中心MMS Center 55 1/21/2 11

成功率系数的判断矩阵A2如下所示:The judgment matrix A2 of the success rate coefficient is as follows:

Figure BDA0003245904340000122
Figure BDA0003245904340000122

因成功率系数在实时变化,在此矩阵中的标度也会实时变化,成功率系数与标度的对应关系如下表所示:Because the success rate coefficient changes in real time, the scale in this matrix will also change in real time. The corresponding relationship between the success rate coefficient and the scale is shown in the following table:

Figure BDA0003245904340000123
Figure BDA0003245904340000123

Figure BDA0003245904340000131
Figure BDA0003245904340000131

延时系数下各个短信通道之间的关系如下表所示:The relationship between each SMS channel under the delay coefficient is shown in the following table:

延时系数Delay Factor 彩铃平台Ringtone Platform 多媒体彩铃平台Multimedia Ringback Tone Platform 彩信中心MMS Center 彩铃平台Ringtone Platform 11 22 55 多媒体彩铃平台Multimedia Ringback Tone Platform 1/21/2 11 44 彩信中心MMS Center 1/51/5 1/41/4 11

延时系数的判断矩阵A3如下所示:The judgment matrix A3 of the delay coefficient is as follows:

Figure BDA0003245904340000132
Figure BDA0003245904340000132

因延时判断在实时变化,在此矩阵中的标度也会实时变化,延时系数标度的对应关系:Since the delay judgment changes in real time, the scale in this matrix will also change in real time. The corresponding relationship between the delay coefficient scale is:

Figure BDA0003245904340000133
Figure BDA0003245904340000133

能力系数下各个短信通道之间的关系如下表所示:The relationship between each SMS channel under the capacity coefficient is shown in the following table:

能力系数Capacity coefficient 彩铃平台Ringtone Platform 多媒体彩铃Multimedia Ringback Tone 彩信中心MMS Center 彩铃平台Ringtone Platform 11 33 1/21/2 多媒体彩铃Multimedia Ringback Tone 1/31/3 11 1/51/5 彩信中心MMS Center 22 55 11

延时系数的判断矩阵A4如下所示:The judgment matrix A4 of the delay coefficient is as follows:

Figure BDA0003245904340000141
Figure BDA0003245904340000141

通道类型下各个短信通道之间的关系如下表所示:The relationship between each SMS channel under channel type is shown in the following table:

Figure BDA0003245904340000142
Figure BDA0003245904340000142

延时系数的判断矩阵A5如下所示:The judgment matrix A5 of the delay coefficient is as follows:

Figure BDA0003245904340000143
Figure BDA0003245904340000143

根据相关矩阵生成延时系数、成功率系数、能力系数以及通道类型之间的第一权重矩阵,根据判断矩阵确定各个短信通道的第二权重矩阵,均可以由如下公式所示:The first weight matrix between the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type is generated according to the correlation matrix, and the second weight matrix of each SMS channel is determined according to the judgment matrix, which can be shown by the following formula:

Figure BDA0003245904340000144
Figure BDA0003245904340000144

采用方根法求出矩阵A中各行元素的几何平均数,并归一化得到权重矩阵,如下所示:The square root method is used to find the geometric mean of the elements in each row of matrix A, and normalized to obtain the weight matrix, as shown below:

Figure BDA0003245904340000145
Figure BDA0003245904340000145

得到相关矩阵或者判断矩阵的权重矩阵为:

Figure BDA0003245904340000146
The weight matrix of the correlation matrix or judgment matrix is obtained as:
Figure BDA0003245904340000146

示例性的,相关矩阵A1对应的第一权重矩阵

Figure BDA0003245904340000147
可以如下所示:Exemplarily, the first weight matrix corresponding to the correlation matrix A1 is
Figure BDA0003245904340000147
It can be as follows:

Figure BDA0003245904340000151
Figure BDA0003245904340000151

Figure BDA0003245904340000152
Figure BDA0003245904340000152

按照如上公式计算可得到成功率系数的第二权重矩阵为

Figure BDA0003245904340000153
延时系数的第二权重矩阵为
Figure BDA0003245904340000154
能力系数的第二权重矩阵为
Figure BDA0003245904340000155
通道类型的第二权重矩阵为
Figure BDA0003245904340000156
According to the above formula, the second weight matrix of the success rate coefficient can be obtained as follows:
Figure BDA0003245904340000153
The second weight matrix of delay coefficient is
Figure BDA0003245904340000154
The second weight matrix of capability coefficient is
Figure BDA0003245904340000155
The second weight matrix of channel type is
Figure BDA0003245904340000156

根据第一权重矩阵中的值与各个第二权重矩阵的乘积值确定各个短信通道的第一得分,如下表所示:The first score of each SMS channel is determined according to the product value of the value in the first weight matrix and each second weight matrix, as shown in the following table:

Figure BDA0003245904340000157
Figure BDA0003245904340000157

各短信通道的第一得分具体计算过程如下:The specific calculation process of the first score of each SMS channel is as follows:

彩铃平台的第一得分:0.098×0.075+0.381×0.570+0.433×0.309+0.087×0.101=0.367;The first score of the ringback tone platform: 0.098×0.075+0.381×0.570+0.433×0.309+0.087×0.101=0.367;

多媒体彩铃平台的第一得分:0.098×0.592+0.381×0.333+0.433×0.109+0.087×0.674=0.291;The first score of the multimedia ring back tone platform: 0.098×0.592+0.381×0.333+0.433×0.109+0.087×0.674=0.291;

彩信中心的第一得分:0.098×0.333+0.381×0.097+0.433×0.582+0.087×0.226=0.342。The first score of the MMS center: 0.098×0.333+0.381×0.097+0.433×0.582+0.087×0.226=0.342.

在本实施例的技术方案中,生成延时系数、成功率系数、能力系数以及通道类型之间的相关矩阵,分别确定相同通道属性信息对应的各个所述短信通道的判断矩阵;根据相关矩阵生成第一权重矩阵,根据判断矩阵确定第二权重矩阵;根据第一权重矩阵中的值与各个第二权重矩阵的乘积值确定各个短信通道的第一得分。通过对通道属性信息确定第一权重矩阵以及第二权重矩阵,准确计算出通道属性信息的第一得分,便于后续对综合评分的计算。In the technical solution of this embodiment, a correlation matrix between the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type is generated, and the judgment matrix of each of the SMS channels corresponding to the same channel attribute information is determined respectively; a first weight matrix is generated according to the correlation matrix, and a second weight matrix is determined according to the judgment matrix; and a first score of each SMS channel is determined according to the product value of the value in the first weight matrix and each second weight matrix. By determining the first weight matrix and the second weight matrix for the channel attribute information, the first score of the channel attribute information is accurately calculated, which is convenient for the subsequent calculation of the comprehensive score.

参照图5,图5为本发明短信分发方法的第四实施例,基于第三实施例,所述步骤S312之前,还包括:Referring to FIG. 5 , FIG. 5 is a fourth embodiment of the method for distributing short messages of the present invention. Based on the third embodiment, before step S312, the method further includes:

步骤S314,确定所述相关矩阵的第一一致性比率;Step S314, determining a first consistency ratio of the correlation matrix;

步骤S315,当所述第一一致性比率小于预设阈值时,分别确定各个所述判断矩阵的第二一致性比率;Step S315, when the first consistency ratio is less than a preset threshold, determining the second consistency ratio of each of the judgment matrices respectively;

步骤S316,当所有的所述第二一致性比率小于预设阈值时,执行所述根据所述相关矩阵生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的第一权重矩阵的步骤。Step S316, when all of the second consistency ratios are less than a preset threshold, execute the step of generating the delay coefficient, the success rate coefficient, the capacity coefficient and the first weight matrix between the channel types according to the correlation matrix.

具体的,确定相关矩阵的第一一致性比率与确定判断矩阵的第二一致性比率的计算方法相同,如下所示:Specifically, the calculation method for determining the first consistency ratio of the correlation matrix is the same as the calculation method for determining the second consistency ratio of the judgment matrix, as shown below:

Figure BDA0003245904340000161
Figure BDA0003245904340000161

Figure BDA0003245904340000162
Figure BDA0003245904340000162

Figure BDA0003245904340000163
Figure BDA0003245904340000163

其中,C.I.为一致性指标,A为相关矩阵或者判断矩阵,

Figure BDA0003245904340000164
为相关矩阵对应的第一权重矩阵的值或者判断矩阵对应的第二权重矩阵的值。Among them, CI is the consistency index, A is the correlation matrix or judgment matrix,
Figure BDA0003245904340000164
is the value of the first weight matrix corresponding to the correlation matrix or the value of the second weight matrix corresponding to the judgment matrix.

第一一致性比率或者第二一致性比率C.R.如下公式所示:The first consistency ratio or the second consistency ratio C.R. is shown in the following formula:

Figure BDA0003245904340000171
Figure BDA0003245904340000171

其中,R.I.为平均随机一致性指标;R.I.的值要参考平均随机一致性指标表来确定,其值由相关矩阵或者判断矩阵的阶数n确定,可参考下表,若n=4,则R.I.=0.89。Among them, R.I. is the average random consistency index; the value of R.I. should be determined by referring to the average random consistency index table, and its value is determined by the order n of the correlation matrix or judgment matrix. Please refer to the table below. If n=4, then R.I.=0.89.

nn 11 22 33 44 55 66 77 88 99 1010 1111 1212 1313 1414 R.I.R.I. 00 00 0.520.52 0.890.89 1.121.12 1.261.26 1.361.36 1.411.41 1.461.46 1.491.49 1.521.52 1.541.54 1.561.56 1.581.58

若C.R.<0.1,则认为判断矩阵通过了一致性检验,若不满足条件则需要对判断矩阵的值进行调整。If C.R.<0.1, the judgment matrix is considered to have passed the consistency test. If the condition is not met, the value of the judgment matrix needs to be adjusted.

示例性的,确定相关矩阵的计算过程的参数可以如下表所示:Exemplarily, the parameters of the calculation process for determining the correlation matrix may be shown in the following table:

Figure BDA0003245904340000172
Figure BDA0003245904340000172

可以得到相关矩阵对应的λmax=4.035;C.I.=0.012;R.I.=0.89;相关矩阵的第一一致性比率C.R.=0.013,第一一致性比率小于0.1,通过了一致性检验,可继续进行后续的步骤。It can be obtained that λ max =4.035, CI=0.012, RI=0.89, and the first consistency ratio CR of the correlation matrix=0.013, the first consistency ratio is less than 0.1, and the consistency test is passed, and the subsequent steps can be continued.

在本实施例的技术方案中,确定相关矩阵的第一一致性比率;当第一一致性比率小于预设阈值时,分别确定各个判断矩阵的第二一致性比率;当所有的第二一致性比率小于预设阈值时,执行根据相关矩阵生成延时系数、成功率系数、能力系数以及通道类型之间的第一权重矩阵的步骤。通过对相关矩阵以及判断矩阵的一致性比率的计算,确定相关矩阵以及判断矩阵中取值准确后计算第一得分,避免相关矩阵或者判断矩阵本身的取值不准确导致第一评分的计算错误的情况,提高了综合评分计算的准确性。In the technical solution of this embodiment, the first consistency ratio of the correlation matrix is determined; when the first consistency ratio is less than the preset threshold, the second consistency ratio of each judgment matrix is determined respectively; when all the second consistency ratios are less than the preset threshold, the step of generating the first weight matrix between the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type according to the correlation matrix is performed. By calculating the consistency ratio of the correlation matrix and the judgment matrix, the first score is calculated after determining that the values in the correlation matrix and the judgment matrix are accurate, avoiding the situation where the calculation error of the first score caused by the inaccurate values of the correlation matrix or the judgment matrix itself is avoided, and the accuracy of the comprehensive score calculation is improved.

参照图6,图6为本发明短信分发方法的第五实施例,基于第二实施例,所述步骤S32包括:Referring to FIG. 6 , FIG. 6 is a fifth embodiment of the method for distributing short messages according to the present invention. Based on the second embodiment, step S32 includes:

步骤S321,根据所述用户相关信息确定预设时长内每个短信通道中用户短信的屏蔽数量以及所有短信通道中用户屏蔽的短信总数量;Step S321, determining the number of blocked SMS messages of the user in each SMS channel within a preset time period and the total number of SMS messages blocked by the user in all SMS channels according to the user-related information;

步骤S322,根据所述预设时长内每个短信通道中用户短信的屏蔽数量以及所有短信通道中用户屏蔽的短信总数量确定各个短信通道的屏蔽比例;Step S322, determining the blocking ratio of each SMS channel according to the number of blocked SMS messages of users in each SMS channel within the preset time period and the total number of SMS messages blocked by users in all SMS channels;

步骤S323,根据所述用户相关信息确定每个预设时间间隔内的各个短信通道的短信的屏蔽数量,所述预设时长分为至少两个所述预设时间间隔;Step S323, determining the number of SMS messages to be blocked in each SMS channel within each preset time interval according to the user-related information, wherein the preset time length is divided into at least two preset time intervals;

步骤S324,根据每个预设时间间隔内的各个短信通道的短信的屏蔽数量,获取在每个预设时间间隔内的各个短信通道的短信的所述屏蔽数量的平均值,以及各个短信通道的短信的所述屏蔽数量的上限值;Step S324, according to the number of blocked text messages of each text message channel in each preset time interval, obtaining an average value of the number of blocked text messages of each text message channel in each preset time interval and an upper limit value of the number of blocked text messages of each text message channel;

步骤S325,根据目标时间间隔内的短信屏蔽数量、所述平均值以及所述上限值确定各个短信通道的屏蔽系数,所述目标时间间隔对应的时间晚于预设时长内其他时间间隔对应的时间;Step S325, determining the shielding coefficient of each SMS channel according to the number of SMS shielding within the target time interval, the average value and the upper limit value, wherein the time corresponding to the target time interval is later than the time corresponding to other time intervals within the preset time length;

步骤S326,根据各个短信通道的所述屏蔽比例以及所述屏蔽系数确定各个短信通道的所述第二得分。Step S326: determining the second score of each SMS channel according to the shielding ratio and the shielding coefficient of each SMS channel.

具体的,根据所述用户相关信息确定预设时长内每个短信通道中用户短信的屏蔽数量a1以及所有短信通道中用户屏蔽的短信总数量a2确定各个短信通道的屏蔽比例d1,如下公式所示:Specifically, the number a1 of blocked SMS messages of users in each SMS channel within a preset time period and the total number a2 of SMS messages blocked by users in all SMS channels are determined according to the user-related information to determine the blocking ratio d1 of each SMS channel, as shown in the following formula:

Figure BDA0003245904340000181
Figure BDA0003245904340000181

示例性的,多媒体彩铃平台、彩铃平台以及彩信中心的历史屏蔽数量为300万、200万、180万,多媒体彩铃平台的屏蔽比例为55.88、彩铃平台的屏蔽比例为70.59、彩信中心的屏蔽比例为73.53。For example, the historical blocking numbers of the multimedia ringback tone platform, the ringback tone platform and the MMS center are 3 million, 2 million and 1.8 million respectively, the blocking ratio of the multimedia ringback tone platform is 55.88, the blocking ratio of the ringback tone platform is 70.59 and the blocking ratio of the MMS center is 73.53.

获取每个预设时间间隔内的各个短信通道的短信的屏蔽数量,预设时长分为至少两个预设时间间隔,其中预设时间间隔可以按照天数确定;根据每个预设时间间隔内的各个短信通道的短信的屏蔽数量,获取在每个预设时间间隔内的各个短信通道的短信的屏蔽数量的平均值μ,以及各个短信通道的短信的屏蔽数量的上限值UCL,如下公式所示:The number of blocked text messages of each text message channel within each preset time interval is obtained, where the preset time length is divided into at least two preset time intervals, wherein the preset time interval can be determined according to the number of days; according to the number of blocked text messages of each text message channel within each preset time interval, the average value μ of the number of blocked text messages of each text message channel within each preset time interval and the upper limit value UCL of the number of blocked text messages of each text message channel are obtained, as shown in the following formula:

UCL=μ+kσ;UCL=μ+kσ;

Figure BDA0003245904340000191
Figure BDA0003245904340000191

其中,μ为平均值,k=3,d表示无偏常量,d=1.128。

Figure BDA0003245904340000192
表示极差平均值,极差平均值的计算方式如下:Wherein, μ is the mean value, k = 3, and d represents the unbiasing constant, d = 1.128.
Figure BDA0003245904340000192
Represents the average value of the range, which is calculated as follows:

Figure BDA0003245904340000193
Figure BDA0003245904340000193

其中,MRi表示相邻时间间隔的差值,n表示时间间隔的总数,w=2。Wherein, MR i represents the difference between adjacent time intervals, n represents the total number of time intervals, and w=2.

示例性的,三个短信通道前一天到前六天的短信的屏蔽数量、平均值、极差平均值以及上限值如下所示:For example, the number of blocked text messages, average values, average values of the extreme differences, and upper limits of the three text message channels from the previous day to the previous six days are as follows:

Figure BDA0003245904340000194
Figure BDA0003245904340000194

根据目标时间间隔内的短信屏蔽数量、平均值以及上限值确定各个通道的屏蔽系数d2,目标时间间隔对应的时间晚于预设时长内其他时间间隔对应的时间。若目标时间间隔的短信屏蔽数量大于上限值,则屏蔽系数为50%;若目标时间间隔的短信屏蔽数量小于上限值并且大于平均值,则屏蔽系数为70%;若目标时间间隔的短信屏蔽数量小于平均值,则屏蔽系数为90%。如上表所示,前一天多媒体彩铃平台、彩铃平台、彩信中心的屏蔽数量分别为1133、210、23,那么可得到屏蔽系数为90%、70%、70%。The shielding coefficient d 2 of each channel is determined according to the number of SMS shielding, the average value and the upper limit value within the target time interval. The time corresponding to the target time interval is later than the time corresponding to other time intervals within the preset time length. If the number of SMS shielding in the target time interval is greater than the upper limit value, the shielding coefficient is 50%; if the number of SMS shielding in the target time interval is less than the upper limit value and greater than the average value, the shielding coefficient is 70%; if the number of SMS shielding in the target time interval is less than the average value, the shielding coefficient is 90%. As shown in the table above, the shielding numbers of the multimedia ring back tone platform, the ring back tone platform and the MMS center on the previous day were 1133, 210 and 23 respectively, so the shielding coefficients can be obtained as 90%, 70% and 70%.

根据各个短信通道的屏蔽比例以及屏蔽系数确定各个短信通道的第二得分,三个短信通道的得分为s=d1×d2。示例性的,多媒体彩铃平台的屏蔽比例为55.88、彩铃平台的屏蔽比例为70.59、彩信中心的屏蔽比例为73.53,多媒体彩铃平台、彩铃平台、彩信中心的屏蔽系数为90%、70%、70%,则多媒体彩铃平台的第二得分为55.88x90%=50.292;彩铃平台的第二得分为70.59x70%=49.413;彩信中心的第二得分为73.53x70%=51.471。The second score of each SMS channel is determined according to the shielding ratio and shielding coefficient of each SMS channel, and the score of the three SMS channels is s=d 1 ×d 2 . For example, the shielding ratio of the multimedia color ring back tone platform is 55.88, the shielding ratio of the color ring back tone platform is 70.59, and the shielding ratio of the multimedia color ring back tone center is 73.53. The shielding coefficients of the multimedia color ring back tone platform, the color ring back tone platform, and the multimedia message center are 90%, 70%, and 70%, respectively. Then, the second score of the multimedia color ring back tone platform is 55.88x90%=50.292; the second score of the color ring back tone platform is 70.59x70%=49.413; and the second score of the multimedia message center is 73.53x70%=51.471.

在本实施例的技术方案中,根据预设时长内每个短信通道中用户短信的屏蔽数量以及所有短信通道中用户屏蔽的短信总数量确定各个短信通道的屏蔽比例;根据目标时间间隔内的短信屏蔽数量、平均值以及上限值确定各个短信通道的屏蔽系数,根据各个短信通道的屏蔽比例以及屏蔽系数确定各个短信通道的第二得分。通过用户相关信息确定屏蔽比例以及屏蔽系数,准确计算出用户相关信息的第二得分,便于后续对综合评分的计算。In the technical solution of this embodiment, the shielding ratio of each SMS channel is determined according to the number of shielded SMS messages of users in each SMS channel within a preset time period and the total number of SMS messages shielded by users in all SMS channels; the shielding coefficient of each SMS channel is determined according to the number of shielded SMS messages within a target time interval, the average value, and the upper limit value; and the second score of each SMS channel is determined according to the shielding ratio and shielding coefficient of each SMS channel. The shielding ratio and shielding coefficient are determined by user-related information, and the second score of user-related information is accurately calculated, which is convenient for the subsequent calculation of the comprehensive score.

参照图7,图7为本发明短信分发方法的第六实施例,基于第二实施例,所述步骤S33包括:Referring to FIG. 7 , FIG. 7 is a sixth embodiment of the method for distributing short messages of the present invention. Based on the second embodiment, step S33 includes:

步骤S331,根据所述短信属性信息确定短信的业务类型以及所述短信是否为超长短信;Step S331, determining the service type of the SMS and whether the SMS is an extra-long SMS according to the SMS attribute information;

步骤S332,根据各个所述短信通道的业务类型确定各个所述短信通道的业务得分;Step S332, determining a service score of each of the SMS channels according to the service type of each of the SMS channels;

步骤S333,根据各个所述短信是否为超长短信确定各个所述短信通道的支持得分;Step S333, determining the support score of each SMS channel according to whether each SMS is an extra-long SMS;

步骤S334,根据所述业务得分以及所述支持得分确定所述第三得分。Step S334: determining the third score according to the business score and the support score.

具体的,根据短信属性信息确定短信通道支持的短信的业务类型,根据各个短信通道的业务类型确定各个短信通道的业务得分。示例性的,每个短信通道对于不同业务支持度的评分如下:Specifically, the SMS service type supported by the SMS channel is determined according to the SMS attribute information, and the service score of each SMS channel is determined according to the service type of each SMS channel. Exemplarily, the score of each SMS channel for different service support is as follows:

业务类型Business Type 彩铃平台Ringtone Platform 多媒体彩铃Multimedia Ringback Tone 彩信中心MMS Center 营销类业务Marketing business 5050 2020 3030 交互类业务Interactive business 3030 6060 1010 通知业务Notification service 4040 5050 1010

当短信下发时,短信的业务类型为“交互类业务”,多媒体彩铃平台的业务得分为60、彩铃平台的业务得分为30、彩信中心的业务得分为10。When the SMS is sent, the service type of the SMS is "interactive service", the service score of the multimedia ringback tone platform is 60, the service score of the ringback tone platform is 30, and the service score of the MMS center is 10.

根据所述短信属性信息确定短信是否为超长短信,根据各个短信是否为超长短信确定各个所述短信通道的支持得分。当短信为正常短信时,那么所有下发通道的评分都为100。当短信为超长短信,每个通道对各省的超长短信评分为:支持的省份数/所有省份数×100。示例性的,当短信下发的内容为200字的超长短信时,多媒体彩铃平台的支持得分为31/31×100=100;彩铃平台的支持得分28/31×100=90;彩信中心的支持得分31/31×100=100。根据业务得分以及支持得分确定第三得分。Determine whether the SMS is an extra-long SMS based on the SMS attribute information, and determine the support score of each SMS channel based on whether each SMS is an extra-long SMS. When the SMS is a normal SMS, the scores of all the sending channels are 100. When the SMS is an extra-long SMS, each channel scores the extra-long SMS of each province as follows: the number of supported provinces/the number of all provinces×100. Exemplarily, when the content of the SMS sent is an extra-long SMS of 200 words, the support score of the multimedia ringback tone platform is 31/31×100=100; the support score of the ringback tone platform is 28/31×100=90; the support score of the MMS center is 31/31×100=100. Determine the third score based on the business score and the support score.

在本实施例的技术方案中,根据短信属性信息确定短信的业务类型以及短信是否为超长短信;根据各个短信通道的业务类型确定各个短信通道的业务得分;根据各个短信是否为超长短信确定各个短信通道的支持得分;根据业务得分以及支持得分确定第三得分。通过短信属性信息确定业务得分以及支持得分,准确计算出短信属性信息的第三得分,便于后续对综合评分的计算。In the technical solution of this embodiment, the service type of the SMS and whether the SMS is an extra-long SMS are determined according to the SMS attribute information; the service score of each SMS channel is determined according to the service type of each SMS channel; the support score of each SMS channel is determined according to whether each SMS is an extra-long SMS; and the third score is determined according to the service score and the support score. The service score and the support score are determined by the SMS attribute information, and the third score of the SMS attribute information is accurately calculated, which is convenient for the subsequent calculation of the comprehensive score.

参照图8,本发明提供了一种短信分发装置,所述短信分发装置包括:8, the present invention provides a short message distribution device, the short message distribution device comprising:

获取模块100,用于获取至少两个预设的短信通道的历史短信发送数据;The acquisition module 100 is used to acquire historical SMS sending data of at least two preset SMS channels;

确定模块200,用于根据所述历史短信发送数据确定各个所述短信通道的属性参数,所述属性参数包括通道属性信息、用户相关信息以及短信属性信息;A determination module 200, configured to determine attribute parameters of each of the SMS channels according to the historical SMS sending data, wherein the attribute parameters include channel attribute information, user-related information, and SMS attribute information;

计算模块300,用于根据每个所述属性参数确定每个所述短信通道的综合评分;A calculation module 300, configured to determine a comprehensive score of each of the SMS channels according to each of the attribute parameters;

分发模块400,用于根据所述综合评分确定目标短信通道,并通过所述目标短信通道发送目标短信。The distribution module 400 is used to determine a target SMS channel according to the comprehensive score, and send a target SMS through the target SMS channel.

在一实施例中,在根据所述属性参数确定各个所述短信通道的综合评分方面,所述计算模块300具体用于:In one embodiment, in determining the comprehensive score of each of the SMS channels according to the attribute parameters, the calculation module 300 is specifically used to:

根据所述通道属性信息确定各个所述短信通道的第一得分;Determine a first score for each of the SMS channels according to the channel attribute information;

根据所述用户相关信息确定各个所述短信通道的第二得分;Determine a second score for each of the SMS channels according to the user related information;

根据所述短信属性信息确定各个所述短信通道的第三得分;Determine a third score for each of the SMS channels according to the SMS attribute information;

根据所述第一得分、所述第二得分以及所述第三得分以及各个所述得分对应的权重值确定所述短信通道的所述综合评分。The comprehensive score of the SMS channel is determined according to the first score, the second score, the third score, and weight values corresponding to each of the scores.

在一实施例中,在根据所述通道属性信息确定各个所述短信通道的第一得分方面,所述计算模块300具体用于:In one embodiment, in determining the first score of each of the short message channels according to the channel attribute information, the calculation module 300 is specifically used to:

生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的相关矩阵,分别确定相同所述通道属性信息对应的各个所述短信通道的判断矩阵;Generate a correlation matrix between the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type, and respectively determine a judgment matrix of each of the SMS channels corresponding to the same channel attribute information;

根据所述相关矩阵生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的第一权重矩阵,根据所述判断矩阵确定各个所述短信通道的第二权重矩阵;Generate a first weight matrix among the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type according to the correlation matrix, and determine a second weight matrix for each of the SMS channels according to the judgment matrix;

根据所述第一权重矩阵中的值与各个所述第二权重矩阵的乘积值确定各个所述短信通道的所述第一得分。The first score of each of the short message channels is determined according to the product value of the value in the first weight matrix and each of the second weight matrices.

在一实施例中,在根据所述相关矩阵生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的第一权重矩阵之前,所述计算模块300具体用于:In one embodiment, before generating the delay coefficient, the success rate coefficient, the capacity coefficient, and the first weight matrix between the channel types according to the correlation matrix, the calculation module 300 is specifically used to:

确定所述相关矩阵的第一一致性比率;determining a first consistency ratio of the correlation matrix;

当所述第一一致性比率小于预设阈值时,分别确定各个所述判断矩阵的第二一致性比率;When the first consistency ratio is less than a preset threshold, determining the second consistency ratio of each of the judgment matrices respectively;

当所有的所述第二一致性比率小于预设阈值时,执行所述根据所述相关矩阵生成所述延时系数、所述成功率系数、所述能力系数以及所述通道类型之间的第一权重矩阵的步骤。When all of the second consistency ratios are less than a preset threshold, the step of generating the delay coefficient, the success rate coefficient, the capacity coefficient and a first weight matrix between the channel types according to the correlation matrix is performed.

在一实施例中,在根据所述用户相关信息确定各个所述短信通道的第二得分方面,所述计算模块300具体用于:In one embodiment, in determining the second score of each of the SMS channels according to the user-related information, the calculation module 300 is specifically configured to:

根据所述用户相关信息确定预设时长内每个短信通道中用户短信的屏蔽数量以及所有短信通道中用户屏蔽的短信总数量;Determine the number of blocked text messages of the user in each text message channel within a preset time period and the total number of text messages blocked by the user in all text message channels according to the user-related information;

根据所述预设时长内每个短信通道中用户短信的屏蔽数量以及所有短信通道中用户屏蔽的短信总数量确定各个短信通道的屏蔽比例;Determining the blocking ratio of each SMS channel according to the number of blocked SMS messages of users in each SMS channel within the preset time period and the total number of SMS messages blocked by users in all SMS channels;

根据所述用户相关信息确定每个预设时间间隔内的各个短信通道的短信的屏蔽数量,所述预设时长分为至少两个所述预设时间间隔;Determine the number of SMS messages blocked in each SMS channel within each preset time interval according to the user related information, wherein the preset time length is divided into at least two preset time intervals;

根据每个预设时间间隔内的各个短信通道的短信的屏蔽数量,获取在每个预设时间间隔内的各个短信通道的短信的所述屏蔽数量的平均值,以及各个短信通道的短信的所述屏蔽数量的上限值;According to the number of blocked text messages of each text message channel in each preset time interval, an average value of the number of blocked text messages of each text message channel in each preset time interval and an upper limit value of the number of blocked text messages of each text message channel are obtained;

根据目标时间间隔内的短信屏蔽数量、所述平均值以及所述上限值确定各个短信通道的屏蔽系数,所述目标时间间隔对应的时间晚于预设时长内其他时间间隔对应的时间;Determine the shielding coefficient of each SMS channel according to the number of SMS shielding within a target time interval, the average value and the upper limit value, wherein the time corresponding to the target time interval is later than the time corresponding to other time intervals within the preset time length;

根据各个短信通道的所述屏蔽比例以及所述屏蔽系数确定各个短信通道的所述第二得分。The second score of each SMS channel is determined according to the shielding ratio and the shielding coefficient of each SMS channel.

在一实施例中,在根据所述短信属性信息确定第三得分方面,所述计算模块300具体用于:In one embodiment, in determining the third score according to the SMS attribute information, the calculation module 300 is specifically used to:

根据所述短信属性信息确定短信的业务类型以及所述短信是否为超长短信;Determine the service type of the SMS and whether the SMS is an extra-long SMS according to the SMS attribute information;

根据各个所述短信通道的业务类型确定各个所述短信通道的业务得分;Determine the service score of each of the SMS channels according to the service type of each of the SMS channels;

根据各个所述短信是否为超长短信确定各个所述短信通道的支持得分;Determining the support score of each of the SMS channels according to whether each of the SMS is an extra-long SMS;

根据所述业务得分以及所述支持得分确定所述第三得分。The third score is determined according to the business score and the support score.

在一实施例中,在根据所述综合评分确定目标短信通道,并通过所述目标短信通道发送目标短信方面,所述分发模块400具体用于:In one embodiment, in determining a target SMS channel according to the comprehensive score and sending a target SMS through the target SMS channel, the distribution module 400 is specifically configured to:

根据所述综合评分对各个所述短信通道进行排序;Sorting each of the SMS channels according to the comprehensive score;

将排序最前的短信通道作为所述目标短信通道,根据所述目标短信通道发送所述目标短信;The first SMS channel in the sorting order is used as the target SMS channel, and the target SMS is sent according to the target SMS channel;

若所述目标短信通道发送失败,则将所述目标短信通道的下一个短信通道作为所述目标短信通道,根据所述目标短信通道发送所述目标短信,直至最后一个短信通道,则生成反馈信息并发送至用户。If the target SMS channel fails to send, the next SMS channel of the target SMS channel is used as the target SMS channel, and the target SMS is sent according to the target SMS channel until the last SMS channel is reached, and feedback information is generated and sent to the user.

本发明还提供一种短信分发设备,所述短信分发设备包括存储器、处理器以及存储在所述存储器并可在所述处理器上执行的短信分发程序,所述短信分发程序被所述处理器执行时实现如上实施例所述的短信分发方法的各个步骤。The present invention also provides a text message distribution device, which includes a memory, a processor, and a text message distribution program stored in the memory and executable on the processor. When the text message distribution program is executed by the processor, the various steps of the text message distribution method described in the above embodiment are implemented.

本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有短信分发程序,所述短信分发程序被处理器执行时实现如上实施例所述的短信分发方法的各个步骤。The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a short message distribution program, and when the short message distribution program is executed by a processor, each step of the short message distribution method described in the above embodiment is implemented.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、系统、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、系统、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、系统、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, system, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, system, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, system, article or device including the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例系统可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个计算机可读存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,停车管理设备,空调器,或者网络设备等)执行本发明各个实施例所述的系统。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment system can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a parking management device, an air conditioner, or a network device, etc.) to execute the system described in each embodiment of the present invention.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims (9)

1. The short message distribution method is characterized by comprising the following steps:
acquiring historical short message sending data of at least two preset short message channels;
determining attribute parameters of each short message channel according to the historical short message sending data, wherein the attribute parameters comprise channel attribute information, user related information and short message attribute information; the channel attribute information comprises a delay coefficient, a success rate coefficient, a capacity coefficient and a channel type of the short message channel; the user related information comprises the shielding quantity of user short messages in each short message channel within a preset time length and the total quantity of the short messages shielded by the users in all the short message channels; the short message attribute information comprises the service type executed by the short message channel and whether the short message is an ultralong short message or not;
determining a first score of each short message channel according to the channel attribute information; determining a second score of each short message channel according to the user related information; determining a third score of each short message channel according to the short message attribute information; determining a comprehensive score of the short message channel according to the first score, the second score, the third score and the weight value corresponding to each score;
And determining a target short message channel according to the comprehensive score, and sending the target short message through the target short message channel.
2. The short message distribution method as claimed in claim 1, wherein the channel attribute information includes a delay coefficient, a success rate coefficient, a capacity coefficient and a channel type of the short message channel, the capacity coefficient being determined by a maximum number of short messages transmitted per unit time of the short message channel; the step of determining the first score of each short message channel according to the channel attribute information comprises the following steps:
generating a correlation matrix among the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type, and respectively determining a judgment matrix of each short message channel corresponding to the same channel attribute information;
generating a first weight matrix among the delay coefficient, the success rate coefficient, the capacity coefficient and the channel type according to the correlation matrix, and determining a second weight matrix of each short message channel according to the judgment matrix;
and determining the first score of each short message channel according to the product value of the value in the first weight matrix and each second weight matrix.
3. The method for distributing short messages according to claim 2, wherein said step of generating a first weight matrix between said delay coefficient, said success rate coefficient, said capacity coefficient and said channel type according to said correlation matrix further comprises:
determining a first consistency ratio of the correlation matrix;
when the first consistency ratio is smaller than a preset threshold value, respectively determining second consistency ratios of the judgment matrixes;
and when all the second consistency ratios are smaller than a preset threshold value, executing the step of generating the first weight matrix among the time delay coefficient, the success rate coefficient, the capacity coefficient and the channel type according to the correlation matrix.
4. The short message distribution method as claimed in claim 1, wherein the step of determining the second score of each of the short message channels according to the user-related information comprises:
determining the shielding quantity of the user short messages in each short message channel and the total quantity of the short messages shielded by the users in all the short message channels within a preset time length according to the user related information;
determining the shielding proportion of each short message channel according to the shielding quantity of the user short messages in each short message channel and the total quantity of the short messages shielded by the users in all the short message channels within the preset time length;
Determining the shielding quantity of short messages of each short message channel in each preset time interval according to the user related information, wherein the preset time length is divided into at least two preset time intervals;
according to the shielding quantity of the short messages of each short message channel in each preset time interval, acquiring an average value of the shielding quantity of the short messages of each short message channel in each preset time interval and an upper limit value of the shielding quantity of the short messages of each short message channel;
determining the shielding coefficient of each short message channel according to the short message shielding quantity, the average value and the upper limit value in a target time interval, wherein the time corresponding to the target time interval is later than the time corresponding to other time intervals in a preset duration;
and determining the second score of each short message channel according to the shielding proportion and the shielding coefficient of each short message channel.
5. The short message distribution method as claimed in claim 1, wherein the step of determining a third score according to the short message attribute information comprises:
determining the service type of the short message and whether the short message is an ultralong short message according to the short message attribute information;
determining service scores of the short message channels according to service types of the short message channels;
Determining the support score of each short message channel according to whether each short message is an ultralong short message;
and determining the third score according to the business score and the support score.
6. The short message distribution method as claimed in claim 1, wherein the step of determining a target short message channel according to the composite score and transmitting the target short message through the target short message channel comprises:
sequencing the short message channels according to the comprehensive scores;
taking the short message channel with the forefront sequencing as the target short message channel, and sending the target short message according to the target short message channel;
if the target short message channel fails to be sent, the next short message channel of the target short message channel is used as the target short message channel, the target short message is sent according to the target short message channel, and feedback information is generated and sent to a user until the last short message channel.
7. A short message distribution apparatus, characterized in that the short message distribution apparatus comprises:
the acquisition module is used for acquiring historical short message sending data of at least two preset short message channels;
the determining module is used for determining attribute parameters of each short message channel according to the historical short message sending data, wherein the attribute parameters comprise channel attribute information, user related information and short message attribute information; the channel attribute information comprises a delay coefficient, a success rate coefficient, a capacity coefficient and a channel type of the short message channel; the user related information comprises the shielding quantity of user short messages in each short message channel within a preset time length and the total quantity of the short messages shielded by the users in all the short message channels; the short message attribute information comprises the service type executed by the short message channel and whether the short message is an ultralong short message or not;
The computing module is used for determining a first score of each short message channel according to the channel attribute information; determining a second score of each short message channel according to the user related information; determining a third score of each short message channel according to the short message attribute information; determining a comprehensive score of the short message channel according to the first score, the second score, the third score and the weight value corresponding to each score;
and the distribution module is used for determining a target short message channel according to the comprehensive score and sending the target short message through the target short message channel.
8. A short message distribution device, characterized in that the short message distribution device comprises a memory, a processor and a short message distribution program stored in the memory and executable on the processor, which short message distribution program, when executed by the processor, implements the steps of the short message distribution method according to any of claims 1-6.
9. A computer-readable storage medium storing a short message distribution program which, when executed by a processor, implements the steps of the short message distribution method according to any one of claims 1 to 6.
CN202111035480.1A 2021-09-03 2021-09-03 Short message distribution method, device, equipment and computer readable storage medium Active CN113891259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111035480.1A CN113891259B (en) 2021-09-03 2021-09-03 Short message distribution method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111035480.1A CN113891259B (en) 2021-09-03 2021-09-03 Short message distribution method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113891259A CN113891259A (en) 2022-01-04
CN113891259B true CN113891259B (en) 2023-04-28

Family

ID=79008216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111035480.1A Active CN113891259B (en) 2021-09-03 2021-09-03 Short message distribution method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113891259B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115226050B (en) * 2022-06-22 2024-04-19 百果园技术(新加坡)有限公司 Traffic distribution method, traffic distribution device, traffic distribution apparatus, traffic distribution storage medium, and traffic distribution program product
CN115988436A (en) * 2022-12-22 2023-04-18 厦门友微科技有限公司 Multi-channel short message sending system and device
CN116367102B (en) * 2023-06-01 2023-08-01 北京容大友信科技有限公司 Method and device for automatically switching short message route

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004202A (en) * 2020-10-29 2020-11-27 北京淇瑀信息科技有限公司 Short message channel routing method and device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364967B (en) * 2011-11-21 2013-11-06 携程计算机技术(上海)有限公司 Short message transmission method and system
CN106255080A (en) * 2016-09-27 2016-12-21 上海斐讯数据通信技术有限公司 The sending method of note and system
CN111182482A (en) * 2020-03-17 2020-05-19 深圳市朱墨科技有限公司 Short message distribution method, device, storage medium and short message platform
CN113038396B (en) * 2021-02-26 2022-09-02 平安壹钱包电子商务有限公司 Scheduling method, device and equipment of short message channel and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004202A (en) * 2020-10-29 2020-11-27 北京淇瑀信息科技有限公司 Short message channel routing method and device and electronic equipment

Also Published As

Publication number Publication date
CN113891259A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN113891259B (en) Short message distribution method, device, equipment and computer readable storage medium
CN109104336B (en) Service request processing method and device, computer equipment and storage medium
CN109032801B (en) Request scheduling method, system, electronic equipment and storage medium
CN108196961B (en) Asynchronous message processing method, terminal, system and storage medium
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
CN110175110A (en) Method for testing pressure, device, system, equipment and computer readable storage medium
US20140032531A1 (en) System and method for a service metering framework in a network environment
CN103516585B (en) Method and system for distributing messages according to priorities
CN106649638B (en) A method of acquiring big data
CN111338967A (en) Shunting test method and device, electronic equipment and storage medium
CN111142746B (en) System quota calculation method and device
CN112235140A (en) Network slice management method, device, network equipment and storage medium
CN111563115B (en) Statistical method and device for data distribution information in distributed database
CN112187667B (en) Data downloading method, device, equipment and storage medium
CN113194339A (en) Live list generation method and device, electronic equipment and readable storage medium
CN113190578A (en) Multi-source data query system, method, device, equipment and storage medium
CN101751436A (en) Method and system for generating reports
CN109885384B (en) Task parallelism optimization method and device, computer equipment and storage medium
CN111464618A (en) Message pushing method, device, equipment and storage medium
CN113422808B (en) Internet of things platform HTTP information pushing method, system, device and medium
CN110704094A (en) Code statistical method and device
US20200218708A1 (en) Methods, Systems, Databases and Network Nodes of Data Communication Networks for Handling Data Posts
CN112965912A (en) Interface test case generation method and device and electronic equipment
CN104735134B (en) A kind of method and apparatus serviced for providing calculating
CN112434056A (en) Method and device for inquiring detailed data

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