A project, customer requirements for the group to send text messages such as, the greeting message, and so on. In addition, support to send voice messages to the leader. The implementation method is as follows.
1, mass SMS has several ways:
1.1 SMS Cat: A common industrial computer, insert a SIM card, you can send a message through the interface, point-to-point transmission, the arrival rate is accurate, but the number of calls is a normal mobile phone number. Disadvantage: The move to the SIM card is limited to 200 per hour, sending too much will lock the card. At present, SMS Cat has 8 ports, that is, 1 hours can send up to 1600. The price of each message is 0.1 yuan.
Technology implementation: General with SMS Cat has SDK components, only to share the database as an interface. Define 4 tables: To send a table, send a success table, send a failure table, the message received table (the system can receive and process SMS messages sent by users, two-way interaction).
1.2 SP mode: There are specialized to do SMS SP vendors to provide a variety of interfaces, only need to call can be, to achieve the rate of what you are applying for the business, you can also ensure that you exhale is a special service number, do not need to buy any equipment, suitable for the provision of public information business, the target number is not Specific delivery costs need to negotiate with SP manufacturer, said the cheapest can talk about 4 cents.
Here, to condemn the SP manufacturers to spam SMS indulgence.
1.3 Mobile Enterprise communication: an industrial control machine, mobile provided. There is a special service number, the arrival rate is very high, but there are the restrictions on the sending of personnel whitelist, suitable for internal use of enterprises. Mobile provides the SDK development package, the specific cost according to the number of SMS using the corresponding monthly subscription mode, send a fee of 5 cents. This is the way we are prepared to adopt.
2, mass voice SMS
Contact SP Manufacturers, can be used to rent seats to do outside the call, only play voice. Vendors provide interfaces, upload WAV files and send a list of people to the server.
In the development of voice short message, it involves how to read the input text aloud and save it as a WAV file, that is, TTS. The project uses Microsoft's SAPI 5 development steps as follows:
1. Download the SAPI SDK and language packs (support Chinese and Japanese):
SAPI 5 Sdk:http://download.microsoft.com/download/speechsdk/sdk/5.1/wxp/en-us/speechsdk51.exe