19. The most cost-effective app text messaging method, 19 the most cost-effective app text messaging Method

Source: Internet
Author: User

19. The most cost-effective app text messaging method, 19 the most cost-effective app text messaging Method

In a startup team, an important principle is to save money and use it to save money.

In order to obtain the social relationship of a user, the current app must register the user's mobile phone number. Registering with a mobile phone number involves sending a text message verification code. How can we get the maximum benefit from the lowest investment in the text message service?

 

1. What SMS platform should I choose?

 

The text message service mainly considers the following two aspects:

1. text messages are not cheap. The price for sending a text message is between 5 cents and 8 cents.

2. Consider the SMS arrival rate and delay.

 

In the past, my mobile phone often received various messy text messages, such as invoices and personal loans. At the end of 2013, the three major carriers finally reorganized their text messages. At that time, a large number of small text messaging platforms fell down, and which one of our messaging platforms was also greatly affected and sent to Mobile, there is no problem with China Unicom's text message, but the text message sent to China Telecom has been delayed for 2 hours !!!

 

To solve this problem, I tried no more than five text messaging platforms. Later I thought that ucloud's SMS delivery rate was very high, and I changed the python sdk for sending text messages from ucloud to the php sdk. After using ucloud text messages for a period of time, the arrival rate became lower. I found another very expensive text messaging platform, which seems to be a text message with 8 cents.

 

I remember that during that period, a friend of mine vomited, but he could not find a reliable text message platform, so he simply removed the text message verification code, and users could enter their mobile phone numbers to register.

 

Currently, the SMS platform has a quota for trial use. Here: Quota.

 

Remember, you must try it yourself. The platforms recommended by others may only be reliable at that time, and it will be hard to say later.

 

2. How to save the most cost by sending text messages?

 

First, I declare that I have nothing to do with sharesdk. If it is hard to say that sharesdk is located next to the company where I used to work.

 

Currently, sharesdk provides free message Verification Code Service (mob.com/sms). During the trial operation, developers are provided with 10000 free text message verification messages per day for each App.

 

For example, if you pay 5 cents for the cheapest text message, you can save 10000 yuan by sending 500 messages free of charge each day and 15000 yuan in a month.

 

However, I have consulted the customer service. When did the trial operation end? She did not give a clear answer, so she had to pay attention to the notifications on the official website.

 

Therefore, while enjoying this free service, we should be prepared. If one day, sharesdk's Short Message Service is unreliable, We should replace it.

 

But sharesdk sends text messages through the app sdk package. If the app has been released, how can I change this text message service?

 

Here we provide a two-way solution:

 

Solution 1: The server must have an api for sending text messages. When sharesdk needs to be replaced with the SMS sending function, this api is called to send text messages. Each time the app sends a text message, it must have a judgment. If the message sent through sharesdk times out or the returned status code is incorrect, it calls the server's sending SMS api.

 

In the above solution, every time the app sends a text message, it has to make a decision. How can I send a text message to a published app without having to make a decision? Which method can I use? Through the Server api, or can sharesdk send text message sdk?

 

Remember to mention in "14. How to Design the api at the app backend" that "(8) When an app is started, call an initialization api to obtain necessary information "?

 

Solution 2: In this api, a parameter is returned to control the method used by the app to send text messages.

Bytes ---------------------------------------------------------------------------------------------------------------------------

Open the General Directory of the back-end articles of the linked app series to view all the original "app back-end" articles published by me.

【Author】 Zeng jiansheng
[QQ] 190678908
[Backend QQ group of app] 254659220
[Public Account] appbackend
[Sina Weibo] @ newjueqi
Blog http://blog.csdn.net/newjueqi

 

 

 

 


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.