CN110267217A - A kind of note transmission method that multichannel is changeable - Google Patents

A kind of note transmission method that multichannel is changeable Download PDF

Info

Publication number
CN110267217A
CN110267217A CN201910520833.3A CN201910520833A CN110267217A CN 110267217 A CN110267217 A CN 110267217A CN 201910520833 A CN201910520833 A CN 201910520833A CN 110267217 A CN110267217 A CN 110267217A
Authority
CN
China
Prior art keywords
channel
short message
weight
changeable
transmission method
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
Application number
CN201910520833.3A
Other languages
Chinese (zh)
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.)
Zhejiang Baiying Technology Co Ltd
Original Assignee
Zhejiang Baiying 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 Zhejiang Baiying Technology Co Ltd filed Critical Zhejiang Baiying Technology Co Ltd
Priority to CN201910520833.3A priority Critical patent/CN110267217A/en
Publication of CN110267217A publication Critical patent/CN110267217A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Abstract

The present invention relates to the changeable note transmission methods of communication field more particularly to a kind of multichannel, comprising the following steps: S1: the channel supported the short message configuration at least two of transmission, and configures weight for each channel;S2: it according to the weight in channel, distributes corresponding channel and sends short message;S3: the success rate that each channel short message is sent is acquired, regenerates the weight in each channel, and enter step S2.The present invention has following the utility model has the advantages that the present invention has following the utility model has the advantages that the transmission for being used for short message by configuring at least two channels, improves the efficiency that short message is sent, and improve the serious forgiveness of channel failure;By the distribution to channel weight, the reasonable utilization of resource is realized;The method rejected and be added by channel again, realization preferably monitor channel.

Description

A kind of note transmission method that multichannel is changeable
Technical field
The present invention relates to the changeable note transmission methods of communication field more particularly to a kind of multichannel.
Background technique
Currently transmitted short message relies primarily on third party's sms sp, if encountering third party's sms sp pair Safeguarded or upgraded that will result in a period of time short message can not send in channel.Meanwhile existing short message transmission can also exist A lot of other problems.Such as:
1. currently submitting short message to sms sp, it is not concerned with the indexs such as arrival rate and delay time;
2. interaction is all by http request, when sms sp interface is different between currently transmitted short message and sms sp Normal low-response can wear whole system down.
Summary of the invention
To solve the above problems, the present invention proposes a kind of note transmission method that multichannel is changeable.
A kind of note transmission method that multichannel is changeable, comprising the following steps:
S1: the channel that the short message configuration at least two of transmission is supported, and weight is configured for each channel;
S2: it according to the weight in channel, distributes corresponding channel and sends short message;
S3: the success rate that each channel short message is sent is acquired, regenerates the weight in each channel, and enter step S2.
Preferably, the channel that the short message configuration at least two of described pair of transmission is supported, and be each channel configuration power Include: again
For each channel allocating default weight, the default-weight configures equalization by the channel of all supports of current short message Weight.
Preferably, the weight according to channel, distributing corresponding channel transmission short message includes:
S21: each channel is set as T1... Ti... TN, the corresponding weight in each channel is Q1... Qi... QN
S22: total section in channel is set as [1, Q1+…+Qi+…+QN], set channel TiSection be [Qi+1, Qi];
S23: in total section [1, Q in channel1+…+Qi+…+QN] between generate random number, determine the random number location Between corresponding channel, and using the channel as send short message channel.
Preferably, the success rate that each channel short message of acquisition is sent, the weight for regenerating each channel include:
S31: the success rate that each channel short message is sent in the unit time is obtained;
S32: the corresponding success rate coefficient of different success rates is set;
S33: it when channel is removed, sets and rejects coefficient as 0;When channel is not removed, sets and reject coefficient as 1;
S34: weight=success rate coefficient * that each channel is calculated rejects coefficient.
Preferably, when continuously transmitting N short message failure in same channel, then the channel is rejected;Wherein, N is setting Threshold value;
Preferably, the channel where a short message encounters in transmission process fuses, then rejects the channel.
Preferably,
It triggers and rejects when channel, then suspend the channel some time;
It after some time, chooses the channel and sends a short message, if sending failure, it is subsequent to continue the pause some time Supervention is sent, and repeats the process until sending successfully;
Rejoin the channel.
The present invention has following the utility model has the advantages that the transmission for being used for short message by configuring at least two channels, improves short message hair The efficiency sent, and improve the serious forgiveness of channel failure;By the distribution to channel weight, the reasonable utilization of resource is realized;Lead to again The method that channel is rejected and is added is crossed, realization preferably monitors channel.
Detailed description of the invention
The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a kind of flow diagram of the changeable note transmission method of multichannel of one embodiment of the invention;
Fig. 2 is the process signal of step S2 in a kind of changeable note transmission method of multichannel of one embodiment of the invention Figure;
Fig. 3 is the process signal of step S3 in a kind of changeable note transmission method of multichannel of one embodiment of the invention Figure.
Specific embodiment
Below in conjunction with attached drawing, technical scheme of the present invention will be further described, but the present invention is not limited to these realities Apply example.
The basic idea of the invention is that by configuring transmission of at least two channels for short message, while by right of way The reasonable utilization of resource is realized in the distribution of weight, then the method rejected and be added by channel, realization preferably monitor channel.
Based on the above design and technology, the embodiment of the present invention proposes a kind of note transmission method that multichannel is changeable, such as Shown in Fig. 1, comprising the following steps:
S1: the channel that the short message configuration at least two of transmission is supported, and weight is configured for each channel;
S2: it according to the weight in channel, distributes corresponding channel and sends short message;
S3: the success rate that each channel short message is sent is acquired, regenerates the weight in each channel, and enter step S2.
In the present embodiment, by the channel supported the short message configuration at least two of transmission, if encountering the third The case where square sms sp is safeguarded or upgraded to a channel, other channels still can be used, and avoid because This and can not provide send short message service.
In addition to this, weight also is configured for each channel in the present embodiment.When initially setting up channel, each channel is matched Set default-weight, the default-weight weight impartial by the channel configuration of all supports of current short message.Such as currently there are 4 to lead to Road, the weight proportion of default are exactly 1:1:1:1.
As shown in Fig. 2, distributing the method that corresponding channel sends short message according to the weight in channel are as follows:
S21: each channel is set as T1... Ti... TN, the corresponding weight in each channel is Q1... Qi... QN
S22: total section in channel is set as [1, Q1+…+Qi+…+QN], set channel TiSection be [Qi+1, Qi];
S23: in total section [1, Q in channel1+…+Qi+…+QN] between generate random number, determine the random number location Between corresponding channel, and using the channel as send short message channel.
In one embodiment, the ratio of each channel weight: channel T1: channel T2: channel T3: channel T4=100:20:0:2, The total weight for calculating channel is 122.Section is distributed for each channel again, the section of channel T1 is [1,100], the section of channel T2 For [101,120], the section of channel T3 is 0, and the section of channel T4 is [121,122], is then generated between section [1,122] Which section random number, the random number fall in, then which channel of corresponding selection.
Due to will receive the influence of the environmental factors such as signal of communication or server reason during short message is sent, Cause the transmission success rate of the short message in each channel different.Therefore, in the present embodiment, according to the transmission success rate of short message to each The weight in a channel is reconfigured, so that the resource distribution in each channel is more reasonable, while the utilization rate of resource is higher.
Specifically, regenerating the weight in each channel as shown in figure 3, acquire the success rate that each channel short message is sent Method are as follows:
S31: the success rate that each channel short message is sent in the unit time is obtained;
S32: the corresponding success rate coefficient of different success rates is set;
S33: it when channel is removed, sets and rejects coefficient as 0;When channel is not removed, sets and reject coefficient as 1;
S34: weight=success rate coefficient * that each channel is calculated rejects coefficient.
In one embodiment, when success rate is greater than 90%, then the rate coefficient that succeeds is 100;When success rate be 80%-90%, The rate coefficient that then succeeds is 20;When success rate is 50%-80%, then the rate coefficient that succeeds is 5;When success rate be 20%-50%, then at Power coefficient is 3;When success rate is 0%-20%, then the rate coefficient that succeeds is 2.
In reality to channel T1、T2、T3、T4It is 95% that channel T1 success rate is obtained after calculating success rate, channel T2 success rate It is 85%, the success rate of channel T3 is 0, and the success rate of channel T4 is 5%, that weight proportion ultimately produced is exactly 100:20: 0:2.
During short message is sent, reconfigured every weight of the setting time to each channel, it can be further Meet actual use demand.
During short message is sent, certain channels may lead to not send by the channel due to extreme case short Letter, needs to reject the channel in this case, rejoin when the routing restoration is normal.Guarantee the channel in nothing During method use, short message no longer is configured to the channel.
In the present embodiment, there are two types of the conditions rejected to channel, when meeting at least one of, then logical to this It is rejected in road.
The first then rejects the channel when continuously transmitting N short message failure in same channel;Wherein, N is setting Threshold value.Threshold value N is set according to actual needs, is generally set to 20.When continuously transmitting N short message failure in same channel, then Illustrate that the channel is not available at present, then rejects the channel.
Second, the channel where a short message encounters in transmission process fuses, then rejects the channel.Its In, the mechanism of fusing are as follows: low-response or corpse occur when relying on interface, continuing for some time situation does not all improve, then Fuse is opened to fuse to the channel.
After channel is removed, need to judge the normal operation in the channel, after judging successfully again by it It is added.
It is specific:
It triggers and rejects when channel, then suspend the channel some time;
It after some time, chooses the channel and sends a short message, if sending failure, it is subsequent to continue the pause some time Supervention is sent, and repeats the process until sending successfully;
Rejoin the channel.
In one embodiment, a channel triggering reject, channel suspend 5 minutes, 5 minutes after, will be exploratory choose This channel sends a short message, then continues pause 5 minutes in case of failure, repeats this logic until sending successfully, then Again channel is added.
In above process, it by rejecting idle channel, avoids the failure due to the channel and leads to not Send short message.It is added into again by the detection to the channel after rejecting in its normal work, improves short message transmission Efficiency.
Those skilled in the art can make various modifications to described specific embodiment Or supplement or be substituted in a similar manner, however, it does not deviate from the spirit of the invention or surmounts the appended claims determines The range of justice.

Claims (7)

1. a kind of changeable note transmission method of multichannel, which comprises the following steps:
S1: the channel that the short message configuration at least two of transmission is supported, and weight is configured for each channel;
S2: it according to the weight in channel, distributes corresponding channel and sends short message;
S3: the success rate that each channel short message is sent is acquired, regenerates the weight in each channel, and enter step S2.
2. a kind of changeable note transmission method of multichannel according to claim 1, which is characterized in that described pair of transmission At least two channels supported of short message configuration, and configure weight for each channel and include:
For each channel allocating default weight, the default-weight power impartial by the channel configuration of all supports of current short message Weight.
3. a kind of changeable note transmission method of multichannel according to claim 1, which is characterized in that the basis is logical The weight in road, distributing corresponding channel transmission short message includes:
S21: each channel is set as T1... Ti... TN, the corresponding weight in each channel is Q1... Qi... QN
S22: total section in channel is set as [1, Q1+…+Qi+…+QN], set channel TiSection be [Qi+1, Qi];
S23: in total section [1, Q in channel1+…+Qi+…+QN] between generate random number, determine section pair where the random number The channel answered, and using the channel as the channel for sending short message.
4. a kind of changeable note transmission method of multichannel according to claim 1, which is characterized in that the acquisition is each The success rate that a channel short message is sent, the weight for regenerating each channel include:
S31: the success rate that each channel short message is sent in the unit time is obtained;
S32: the corresponding success rate coefficient of different success rates is set;
S33: it when channel is removed, sets and rejects coefficient as 0;When channel is not removed, sets and reject coefficient as 1;
S34: weight=success rate coefficient * that each channel is calculated rejects coefficient.
5. a kind of changeable note transmission method of multichannel according to claim 4, which is characterized in that
When continuously transmitting N short message failure in same channel, then the channel is rejected;Wherein, N is the threshold value of setting.
6. a kind of changeable note transmission method of multichannel according to claim 4, which is characterized in that
Channel where a short message encounters in transmission process fuses, then rejects the channel.
7. a kind of changeable note transmission method of multichannel according to claim 5 or 6, which is characterized in that
It triggers and rejects when channel, then suspend the channel some time;
It after some time, chooses the channel and sends a short message, if sending failure, continue to suspend some time subsequent supervention It send, repeats the process until sending successfully;
Rejoin the channel.
CN201910520833.3A 2019-06-17 2019-06-17 A kind of note transmission method that multichannel is changeable Pending CN110267217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910520833.3A CN110267217A (en) 2019-06-17 2019-06-17 A kind of note transmission method that multichannel is changeable

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910520833.3A CN110267217A (en) 2019-06-17 2019-06-17 A kind of note transmission method that multichannel is changeable

Publications (1)

Publication Number Publication Date
CN110267217A true CN110267217A (en) 2019-09-20

Family

ID=67918726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910520833.3A Pending CN110267217A (en) 2019-06-17 2019-06-17 A kind of note transmission method that multichannel is changeable

Country Status (1)

Country Link
CN (1) CN110267217A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110582064A (en) * 2019-10-30 2019-12-17 杭州数跑科技有限公司 Short message distribution method, device, equipment and medium
CN111212391A (en) * 2020-01-14 2020-05-29 中保车服科技服务股份有限公司 Short message pushing method, device, equipment and readable medium
CN111369970A (en) * 2020-06-01 2020-07-03 浙江百应科技有限公司 Method for intelligent routing of TTS (text to speech) channel with high availability
CN111432357A (en) * 2020-02-24 2020-07-17 车智互联(北京)科技有限公司 Information processing method and system and computing equipment
CN112887919A (en) * 2021-01-18 2021-06-01 浙江百应科技有限公司 Short message sending method and system for multi-channel short message cluster scheduling and electronic equipment
CN115474167A (en) * 2022-09-16 2022-12-13 中信百信银行股份有限公司 Method, system, terminal equipment and storage medium for intelligent flow scheduling based on quality of short message service provider
CN117202117A (en) * 2023-09-18 2023-12-08 广州市玄武无线科技股份有限公司 System and method for fusing and degrading short message channel

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106255081A (en) * 2016-10-11 2016-12-21 福建方维信息科技有限公司 A kind of note transmission method and system
CN106255080A (en) * 2016-09-27 2016-12-21 上海斐讯数据通信技术有限公司 The sending method of note and system
CN107347182A (en) * 2016-05-04 2017-11-14 北京京东尚科信息技术有限公司 Short message distribution method and system
CN108513271A (en) * 2018-06-22 2018-09-07 武汉斑马快跑科技有限公司 Short message distribution method and equipment based on multiple short message channels
US20180302361A1 (en) * 2015-08-31 2018-10-18 Microsoft Technology Licensing, Llc Proxy email server for routing messages
CN109168135A (en) * 2018-11-09 2019-01-08 上海银赛计算机科技有限公司 Selection method, device, SMS platform and the storage medium of short message sendaisle

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180302361A1 (en) * 2015-08-31 2018-10-18 Microsoft Technology Licensing, Llc Proxy email server for routing messages
CN107347182A (en) * 2016-05-04 2017-11-14 北京京东尚科信息技术有限公司 Short message distribution method and system
CN106255080A (en) * 2016-09-27 2016-12-21 上海斐讯数据通信技术有限公司 The sending method of note and system
CN106255081A (en) * 2016-10-11 2016-12-21 福建方维信息科技有限公司 A kind of note transmission method and system
CN108513271A (en) * 2018-06-22 2018-09-07 武汉斑马快跑科技有限公司 Short message distribution method and equipment based on multiple short message channels
CN109168135A (en) * 2018-11-09 2019-01-08 上海银赛计算机科技有限公司 Selection method, device, SMS platform and the storage medium of short message sendaisle

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110582064A (en) * 2019-10-30 2019-12-17 杭州数跑科技有限公司 Short message distribution method, device, equipment and medium
CN111212391A (en) * 2020-01-14 2020-05-29 中保车服科技服务股份有限公司 Short message pushing method, device, equipment and readable medium
CN111212391B (en) * 2020-01-14 2022-04-29 中保车服科技服务股份有限公司 Short message pushing method, device, equipment and readable medium
CN111432357A (en) * 2020-02-24 2020-07-17 车智互联(北京)科技有限公司 Information processing method and system and computing equipment
CN111432357B (en) * 2020-02-24 2022-07-08 车智互联(北京)科技有限公司 Information processing method and system and computing equipment
CN111369970A (en) * 2020-06-01 2020-07-03 浙江百应科技有限公司 Method for intelligent routing of TTS (text to speech) channel with high availability
CN112887919A (en) * 2021-01-18 2021-06-01 浙江百应科技有限公司 Short message sending method and system for multi-channel short message cluster scheduling and electronic equipment
CN112887919B (en) * 2021-01-18 2022-07-05 浙江百应科技有限公司 Short message sending method and system for multi-channel short message cluster scheduling and electronic equipment
CN115474167A (en) * 2022-09-16 2022-12-13 中信百信银行股份有限公司 Method, system, terminal equipment and storage medium for intelligent flow scheduling based on quality of short message service provider
CN117202117A (en) * 2023-09-18 2023-12-08 广州市玄武无线科技股份有限公司 System and method for fusing and degrading short message channel
CN117202117B (en) * 2023-09-18 2024-04-16 广州市玄武无线科技股份有限公司 System and method for fusing and degrading short message channel

Similar Documents

Publication Publication Date Title
CN110267217A (en) A kind of note transmission method that multichannel is changeable
CN106465084A (en) Charging method, network device, and charging system
CN106921594B (en) A kind of dynamic network resource reservation QoS assurance towards industrial SDN
CN105871977A (en) Long connection establishment method and system, and devices
CN106936729A (en) Control method, system and broadband access network system that a kind of terminal device is accessed
CN104301813A (en) Ethernet passive optical network system and configuration method
CN106067886B (en) Security strategy update method and system
CN105812504A (en) Intelligent communication address coding method
CN101707750A (en) Flow control method based on cross operator SMS application
CN101227299A (en) Method, system and device for implementing charging data function
CN105430028A (en) Service calling method, service providing method, and node
CN105591790B (en) Data communication connection pool management device
CN106301804B (en) A kind of server that realizing Wake on LAN, system and method
CN101436953B (en) Management method and processing module for on-line announcement message of network appliance
CN104617666A (en) Power distribution network data transmission method using publishing and subscribing communication model
CN103595649A (en) Method and system for achieving load balance
CN105791015A (en) High-availability information transmission channel and high-availability information transmission method for aiming at distributed alarm processing system
CN102685130A (en) Dispatching control method and system for cloud conference
CN110035334A (en) A kind of power telecom network dynamically bandwidth resource optimization method
CN106936606A (en) Service implementation method and system and arranging service equipment
CN108600208A (en) A kind of fine granularity flow arbitration device and method for server cluster
CN102820991B (en) Annular webmaster topological network implementation method and system
CN105429852B (en) Adaptive message handling system suitable for large capacity packet delivery system
CN111522672B (en) Method and system for repeated consumption of fusing data
CN102710528A (en) Terminal and method for adjusting sockets in 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

Application publication date: 20190920

RJ01 Rejection of invention patent application after publication