CN112272363A - Method for comparing quality of short message channel - Google Patents
Method for comparing quality of short message channel Download PDFInfo
- Publication number
- CN112272363A CN112272363A CN202011153177.7A CN202011153177A CN112272363A CN 112272363 A CN112272363 A CN 112272363A CN 202011153177 A CN202011153177 A CN 202011153177A CN 112272363 A CN112272363 A CN 112272363A
- Authority
- CN
- China
- Prior art keywords
- short message
- channel
- distance
- index
- sending
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method for comparing the quality of short message channels, which comprises the steps of collecting data and establishing a short message scoring index system; constructing an original matrix of the short message channel, and carrying out forward processing on the original matrix; carrying out standardized calculation on each index of each channel; respectively calculating the distance between each index and the minimum value in the n channels, and dividing the distance by the maximum distance in the n channels minus the minimum distance; calculating positive and negative ideal solutions, adding preset weight in the distance calculation according to the distance from each scoring index to the positive and negative ideal solutions, and calculating the relative closeness of each scoring index; carrying out normalization processing and sequencing on the m short message scoring indexes of each channel; the invention can improve the reliability of the short message transmission and reduce the system resource consumption by evaluating the quality of the short message channel, sequencing the channel quality and carrying out certain judgment standard on the further adoption of the short message transmission related strategy.
Description
The invention belongs to the technical field of communication, and particularly relates to a method for comparing the quality of a short message channel.
Background
Currently, when a user uses various services provided by a website or a mobile app, the user often needs to input a verification code received in a short message manner, and after the verification of the verification code is successful, the user can enjoy the corresponding services. The application scene has high requirements on the quality of the short message channel. Generally, when the verification code is sent in a short message mode, a corresponding short message channel is selected according to a number segment to which a mobile phone number receiving the verification code belongs, and the quality of the selected short message channel directly influences whether the verification code sent in the short message mode can successfully reach the mobile phone of the user or not, and further influences whether the user can successfully verify the verification code within a specified time. Therefore, the quality evaluation of the short message channel is of great importance, and the short message channel with poor quality or even unavailable quality should be found in time to avoid continuously using the short message channel to send the verification code.
At present, the algorithm for comparing the quality of the short message channel in the market is less researched, and the problem of short message sending failure is generally solved by using multiple channels. For the quality of the short message channel, only the index of the short message arrival rate is concerned, and the indexes of the arrival rate, the delay time and the like are not concerned. When a short message is sent by using multiple channels, the quality of the short message channels is not compared, and when one short message channel fails to send, only unused channels can be randomly selected, and system resources are wasted to a certain extent.
Disclosure of Invention
In view of this, the present invention provides an algorithm for comparing the quality of short message channels, so that when a problem occurs in a single short message channel, the short message channel with the highest quality is selected at the highest speed to send a short message.
In order to achieve the purpose, the technical scheme provided by the invention is as follows:
the invention relates to a method for comparing the quality of a short message channel, which comprises the following steps:
(1) collecting data and establishing a short message scoring index system;
(2) constructing an original matrix P of the short message channels, wherein the original matrix P comprises n short message channels, and each short message channel comprises m scoring indexes;
(3) carrying out forward processing on the original matrix P;
(4) carrying out standardized calculation on each index of each channel;
(5) respectively calculating the distance between each index and the minimum value in the n channels, and dividing the distance by the maximum distance minus the minimum distance in the n channels;
(6) calculating positive and negative ideal solutions, adding preset weight in the distance calculation according to the distance from each scoring index to the positive and negative ideal solutions, and calculating the relative closeness of each scoring index;
(7) carrying out normalization processing and sequencing on the m short message scoring indexes of each channel;
(8) and collecting data and displaying a short message channel quality report.
Preferably, in the step (1), the short message scoring indexes include a success rate a of short message sending in a specified time, an average request sending time consumption b, an average receipt sending time c and an unanswered number d exceeding 72 hours, a weighted average of the indexes in a specified time range is calculated, and a weight is set for the data indexes.
Preferably, in step (3), when performing the forward processing for the average request sending time b, the average status report sending time c and the number of unreflected messages exceeding 72 hours, the calculation formula of the forward processing is to use the maximum value of the parameter of the current matrix to subtract the current value and replace the current value with the result.
Preferably, in the step (4), each value of the success rate a of sending the short message in the specified time, the average time consumed for sending the request b, the average receipt time c of sending the status report, and the number d of unanswered messages exceeding 72 hours is squared and normalized, and the calculation formula is as follows:
in the formula pmnThe index value of the nth channel.
Preferably, in step (5), the maximum distance is calculated by the formula: dmax=pmn-pm(max)(ii) a The minimum distance is calculated as: dmin=pmn-pm(min);
In the formula: p is a radical ofm(max)Is the maximum value of the m-th column, pm(min)Is the minimum value in the m-th column.
Preferably, in step (6),
the scoring formula for adding weight is: s ═ Dmin/(Dmax+Dmin);
The most important index of a certain short message channelThe large value calculation formula is as follows:
short message channel and maximum distance DmaxThe calculation formula is as follows:
current short message channel and minimum distance DminThe calculation formula is as follows:
the score of the short message channel score is as follows:
in the formula of omegaiIs the weight of the current index.
Compared with the prior art, the technical scheme provided by the invention has the following beneficial effects:
1. the invention counts the quality of the short message channel by multi-channel intelligent switching, increases the success rate of short message sending and reduces the consumption of system resources.
2. The invention adopts a multi-attribute decision method to evaluate the quality of the short message channel, and fully considers the industrial characteristics of the short message, so that the short message channel with the highest quality can be selected to send the short message at the highest speed when a single short message channel business has problems.
3. The invention evaluates the quality of the short message channel, sorts the channel quality, and carries out certain judgment standard on the further adoption of short message sending related strategies, thereby improving the reliability of short message sending and reducing the consumption of system resources.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of the present invention.
Detailed Description
For further understanding of the present invention, the present invention will be described in detail with reference to examples, which are provided for illustration of the present invention but are not intended to limit the scope of the present invention.
Referring to fig. 1, the present embodiment relates to a method for comparing quality of short message channels, which includes the following steps:
(1) collecting data and establishing a short message scoring index system;
(2) constructing an original matrix P of the short message channels, wherein the original matrix P comprises n short message channels (y)1、y2、y3……yn) Each short message channel contains m scoring indexes;
(3) carrying out forward processing on the original matrix P;
(4) carrying out standardized calculation on each index of each channel;
(5) respectively calculating the distance between each index and the minimum value in the n channels, and dividing the distance by the maximum distance in the n channels minus the minimum distance;
(6) calculating positive and negative ideal solutions, adding preset weight in the distance calculation according to the distance from each scoring index to the positive and negative ideal solutions, and calculating the relative closeness of each scoring index;
(7) carrying out normalization processing and sequencing on the m short message scoring indexes of each channel;
(8) and collecting data and displaying a short message channel quality report.
Referring to the table I, in the step (1), the short message scoring indexes include a success rate a of short message sending in a specified time, average request sending time b, average receipt sending time c and number d of unanswered messages in more than 72 hours, a weighted average of the indexes in a specified time range is calculated, and a weight is set for the data indexes.
In step (3), in order to eliminate the influence of the values of different indexes a, b, c and d on the calculation result, taking out the non-uniformity among data units (eliminating dimension), and when carrying out forward processing on the average request sending time consumption b, the average return receipt time c of the status report sending and the number of unreflected data exceeding 72 hours, the calculation formula of the forward processing is to use the maximum value of the parameter of the current matrix to subtract the current value and replace the current value with the result.
In the step (4), each value of the success rate a of sending the short message in the specified time, the average time consumed for sending the request b, the average receipt time c of sending the status report and the number d of unanswered messages in more than 72 hours is respectively squared and normalized, the obtained data is equivalent to the ratio of the square sum, and the calculation formula is as follows:
in the formula pmnThe index value of the nth channel.
In the step (5), the calculation formula of the maximum distance is as follows: dmax=pmn-pm(max);
The minimum distance is calculated as: dmin=pmn-pm(min);
In the formula: p is a radical ofm(max)Is the maximum value of the m-th column, pm(min)Is the minimum value in the m-th column.
For a (success rate of sending short message at specified time), the calculation of the channel y1 is: da (max) p11-p1(max), and p1(max) is the maximum value of the current column, i.e. the euclidean distance of the value of the current short message success rate from the maximum value.
Similarly, for b (average request time spent sending), the calculation at this time is: d (max) is calculated for indexes a, b, c and d by analogy with the sequence of p21-p2(max), and d (max) is the square sum multiplied by the weight root. Namely the score of the maximum distance of the current short message channel.
Similarly, the minimum distance d (min) can be found from d (min) p11-p1 (min).
In the step (6), the scoring calculation formula added with the weight is as follows: s ═ Dmin/(Dmax+Dmin);
short message channel and maximum distance DmaxThe calculation formula is as follows:
current short message channel and minimum distance DminThe calculation formula is as follows:
the score of the short message channel score is as follows:
in the formula of omegaiIs the weight of the current index.
Table one: short message scoring index matrix
The present invention and its embodiments have been described above schematically, without limitation, and the embodiments of the present invention are shown in the drawings, and the actual structures are not limited thereto. Therefore, those skilled in the art should understand that they can easily and effectively design and modify the structure and embodiments of the present invention without departing from the spirit and scope of the present invention.
Claims (6)
1. A method for comparing the quality of a short message channel is characterized by comprising the following steps:
(1) collecting data and establishing a short message scoring index system;
(2) constructing an original matrix P of the short message channels, wherein the original matrix P comprises n short message channels, and each short message channel comprises m scoring indexes;
(3) carrying out forward processing on the original matrix P;
(4) carrying out standardized calculation on each index of each channel;
(5) respectively calculating the distance between each index and the minimum value in the n channels, and dividing the distance by the maximum distance in the n channels minus the minimum distance;
(6) calculating positive and negative ideal solutions, adding preset weight in the distance calculation according to the distance from each scoring index to the positive and negative ideal solutions, and calculating the relative closeness of each scoring index;
(7) carrying out normalization processing and sequencing on the m short message scoring indexes of each channel;
(8) and collecting data and displaying a short message channel quality report.
2. The method according to claim 1, wherein in the step (1), the short message score indicators include a success rate a of short message sending in a specified time, a time consumed for sending an average request b, an average receipt time c of a sending status report, and an unanswered number d of more than 72 hours, the weighted average of the indicators in a specified time range is calculated, and a weight is set for the data indicators.
3. The method according to claim 1, wherein in step (3), when performing forward processing on the average request sending time b, the average status report sending time c, and the number of unanswered messages exceeding 72 hours, the forward processing is calculated by subtracting the current value from the maximum value of the parameter in the current matrix and replacing the current value with the result.
4. The method for comparing the channel quality of short messages according to claim 2, wherein in the step (4), the square and normalization are respectively performed on each value of the success rate a of short message sending in the specified time, the average time consumed for sending request b, the average receipt time c of the status report sending and the number d of unanswered messages in more than 72 hours, and the calculation formula is as follows:
in the formula pmnThe index value of the nth channel.
5. The method for comparing the quality of the short message channel according to claim 1, wherein in the step (5), the calculation formula of the maximum distance is as follows: dmax=pmn-pm(max);
The minimum distance is calculated as: dmin=pmn-pm(min);
In the formula: p is a radical ofm(max)Is the maximum value of the m-th column, pm(min)Is the minimum value in the m-th column.
6. The method for comparing channel quality of short messages according to claim 1, wherein in the step (5),
the scoring formula for adding weight is: s ═ Dmin/(Dmax+Dmin);
short message channel and maximum distance DmaxThe calculation formula is as follows:
current short message channel and minimum distance DminThe calculation formula is as follows:
the score of the short message channel score is as follows:
in the formula of omegaiIs the weight of the current index.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011153177.7A CN112272363A (en) | 2020-10-26 | 2020-10-26 | Method for comparing quality of short message channel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011153177.7A CN112272363A (en) | 2020-10-26 | 2020-10-26 | Method for comparing quality of short message channel |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112272363A true CN112272363A (en) | 2021-01-26 |
Family
ID=74341934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011153177.7A Pending CN112272363A (en) | 2020-10-26 | 2020-10-26 | Method for comparing quality of short message channel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112272363A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114245410A (en) * | 2021-10-21 | 2022-03-25 | 湖南省梦网科技发展有限公司 | Method, equipment and system for detecting credibility of communication channel |
CN115226050A (en) * | 2022-06-22 | 2022-10-21 | 百果园技术(新加坡)有限公司 | Flow distribution method, flow distribution device, flow distribution equipment, storage medium and program product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105451197A (en) * | 2014-09-29 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Method and device of sending communication information |
CN106028299A (en) * | 2016-06-30 | 2016-10-12 | 上海斐讯数据通信技术有限公司 | Method and system for selecting short message transmitting channel |
CN110751413A (en) * | 2019-10-28 | 2020-02-04 | 湘潭大学 | Energy efficiency assessment model for cloud computing |
CN111182482A (en) * | 2020-03-17 | 2020-05-19 | 深圳市朱墨科技有限公司 | Short message distribution method, device, storage medium and short message platform |
-
2020
- 2020-10-26 CN CN202011153177.7A patent/CN112272363A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105451197A (en) * | 2014-09-29 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Method and device of sending communication information |
CN106028299A (en) * | 2016-06-30 | 2016-10-12 | 上海斐讯数据通信技术有限公司 | Method and system for selecting short message transmitting channel |
CN110751413A (en) * | 2019-10-28 | 2020-02-04 | 湘潭大学 | Energy efficiency assessment model for cloud computing |
CN111182482A (en) * | 2020-03-17 | 2020-05-19 | 深圳市朱墨科技有限公司 | Short message distribution method, device, storage medium and short message platform |
Non-Patent Citations (2)
Title |
---|
HAHAHAER~: "数学建模第二讲(一)----TOPSIS(优劣解距离法)", 《HTTPS://BLOG.CSDN.NET/QQ_44587145/ARTICLE/DETAILS/107582944》 * |
二进制人工智能: "数学建模 优劣解距离法(TOPSIS)", 《HTTPS://BLOG.CSDN.NET/WEIXIN_44378835/ARTICLE/DETAILS/104276337》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114245410A (en) * | 2021-10-21 | 2022-03-25 | 湖南省梦网科技发展有限公司 | Method, equipment and system for detecting credibility of communication channel |
CN114245410B (en) * | 2021-10-21 | 2024-02-09 | 湖南省梦网科技发展有限公司 | Method, equipment and system for detecting creditworthiness of communication channel |
CN115226050A (en) * | 2022-06-22 | 2022-10-21 | 百果园技术(新加坡)有限公司 | Flow distribution method, flow distribution device, flow distribution equipment, storage medium and program product |
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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112272363A (en) | Method for comparing quality of short message channel | |
CN107438138A (en) | A kind of channel touches the recommendation method and device up to mode | |
CN104469703B (en) | A kind of channel dynamic allocation method of group calling system | |
CN109548164B (en) | Self-adaptive scheduling switching method and system based on load demand | |
CN1551539A (en) | Forward channel schedule algorithm for HDR system | |
CN104619034A (en) | Real-time service-oriented packet scheduling method for LTE communication system | |
CN105517177A (en) | Small data packet scheduling method of uplink grouping access system | |
CN105306347B (en) | The method for pushing and device of user information | |
CN106028364A (en) | Virtual cell forming method for 5G high-density network | |
CN103533628A (en) | Downlink power distribution method | |
EP2600551A1 (en) | Method and equipment for increasing bitwise throughput in transmitter of lte base station | |
CN101557559A (en) | Method for switching transmission modes of multimedia broadcasting service and multicasting service | |
CN103118338B (en) | Trunked communication system method for controlling downlink power and device based on eMBMS | |
CN1874297A (en) | Techniques for efficient control of aggregating wireless voice communications | |
CN104427624A (en) | Distribution method and system of public network resources | |
CN104581958A (en) | Resource allocation method and device based on rate self-adaption norm | |
CN111935842B (en) | Multi-user clustering scheduling method for non-orthogonal multiple access | |
CN103458525B (en) | Scheduling strategy system of selection and device in heterogeneous network | |
CN104243587A (en) | Load balancing method and system for message servers | |
CN103747421A (en) | Two-stage cooperative multicast method and system | |
CN114096008A (en) | Partial bandwidth adjusting method and device, electronic equipment and storage medium | |
CN101730234B (en) | Method for dispatching resource, system and device | |
CN105515731B (en) | A kind of method and device for realizing downlink CoMP | |
CN104469702A (en) | Trunking communication calling method | |
CN103634922B (en) | Method, system and base station based on dispatching priority dispatch terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210126 |