19. The most cost-saving app texting method

Source: Internet
Author: User

In the entrepreneurial team, an important principle is to save the province, the flower on the flower, the silver used in the blade.

Now the app, in order to get the user's social relationship, requires the user's mobile number registration. Registration with the mobile phone number is related to the issue of sending SMS verification code, how can you put the least cost on the SMS service to get the most benefit?

1. What SMS platform do you choose?

SMS service mainly consider the following 2 aspects:

1. Texting is not cheap ah, send a text message price in 5 cents-8 cents between money.

2. Consider the arrival rate and delay of SMS.

Before my mobile phone often received a variety of chaotic text messages, such as invoices ah, personal loans and so on. At the end of 2013, 3 major operators finally to rectify the text message, then a large number of small SMS platform fell, we use which message platform also received a great impact, sent to mobile, unicom SMS no problem, but sent to the telecommunications SMS, incredibly delayed 2 hours!!!

In order to solve this problem, I tried not less than 5 SMS platform, and later felt that Ucloud's monitoring SMS arrival rate is very high, but also ucloud to send text messages to the Python SDK to rewrite the PHP SDK. After a period of time the ucloud of the arrival rate has become lower, and find a very expensive message platform, as if it is 8 cents a text message.

Remember in that period, a friend of mine spit bad, he really can not find a reliable message platform, simply put the SMS verification code this piece removed, the user casually enter the mobile phone number are able to register.

Now the SMS platform has a trial quota, here: Apistore.baidu.com/astore/classificationservicelist/39.html listed some SMS platform, we choose a trial SMS service.

Remember, be sure to try it yourself, others recommend the platform, perhaps only then reliable, after the hard to say.

2. What is the most cost-saving way to send SMS?

First of all, I have nothing to do with SHARESDK, if the hard to have a bit of a relationship, is SHARESDK's office site was in the company I work next door.

SHARESDK now offers a free SMS Verification Code Service (MOB.COM/SMS) that provides developers with 10,000 free SMS verification per app per day during trial operation.

We calculate, according to the cheapest each text message 5 cents, a day free hair 10,000 can save 500, one months can save 15000 yuan.

But I consulted the passer-by, when the trial operation was over, and she did not have a definite answer, only to pay attention to the official website notice.

Therefore, in the enjoyment of this free service at the same time, we must be prepared, if one day, sharesdk SMS service is not reliable, it is necessary to replace it.

But SHARESDK send text message is through the App side SDK package, if the app has been published, how to change the SMS service?

A dual solution is available here:

The first solution: the server to send SMS API, when the need to replace SHARESDK send SMS function, call this API to send text messages. Each time the app side sends the text message, must have a judgment, if sends through SHARESDK the SMS time-out or the return status code is incorrect, invokes the service side sends the SMS API.

In the above solution, is the app every time to make a text message, how to do not need to judge each time, but also to let the app has been released to choose the way to send text messages: Through the server API, or SHARESDK send SMS SDK?

Remember how the 14.app backend design API mentions, "(8) invoking an initialization API to get the necessary information when the app starts?"

Second solution: Return a parameter in this API control the app side choose which method to use to send text messages.

--------------------------------------------------------------------------------------------------------------- ------------

Open the total list of articles in the Link app backend series to see all the original "app backend" articles I've published.

"Author" Zeng Jiansen
"QQ" 190678908
"app back-end QQ Group" 254659220
"public number" Appbackend
"Sina Weibo" @newjueqi
"blog" Http://blog.csdn.net/newjueqi


19. The most cost-saving app texting method

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.