Objective:
Just developed a set of SMS platform and a Web-based text messaging system, the SMS platform takes two weeks, the text messaging system takes two months, the development of the use of technology is not high-tech content, this is mainly recorded under a lot of circumstances of the treatment program, I hope to let you put forward the improvement Program and valuable advice.
Project background:
The cause is the unit's new policy, and the leader asks to be able to manipulate workflow approvals via SMS replies. So at the beginning of the year I received a unit this project, the development of a short message platform.
Previous units have a message platform, Shizuki years developed, with some problems, the first is unable to send long and short letter, this is due to mobile components limited, can only send 200 words within the text message, and will be split every 70 words to send a Second, there is no uplink SMS (mobile phone back to the system SMS called Uplink SMS) processing function. Therefore, the task of this project is to be compatible with previous functions, and new uplink SMS processing function.
Due to the limitations of the old SMS platform, the use of the new mobile SMS Service platform, the project using the Mobile Cloud Mas SMS Service platform, the older SMS service platform has more new features. But our main use is to send short and long letter function and receive reply SMS function.
Old message platform too long too old, so this time to abandon the original code, the new design and development of the entire platform.
first, the cloudMASSMS Service Platform
The first is to contact the mobile company, this is a colleague from other departments to talk about, the end of the use of mobile cloud MAS platform.
1. SDK
Mobile Company provides a set of SMS SDK interface including. NET version, Java version, HTTP version, we are generally used within the unit. NET development, so selected. NET version of the SDK for development.
The interface documentation includes the following files, a deme code, a set of dependent package DLLs, an interface usage questionnaire, a user confirmation book, and one of the most important interface descriptions.
2. Demo Development
The demo in the SDK is simple, but includes all the features: sending text messages, receiving uplink text messages, receiving report submissions, receiving status reports.
The SDK dependency package includes a sms-sdk.dll, and 6 dependent DLLs. Needs to be developed using. Net Framework4.5. Create a new console project copy the demo code into, referencing all DLLs. Then configure the login address and account information (required in the cloud MAS platform configuration, here a little), you can test.
3, on-line application
The system needs to contact with mobile customer service before the launch, submit the test environment confirmation, add mobile phone number white list and other steps.
Some definitions:
MT Message terminal--a text message to the phone terminal
MO Message original--uplink SMS, that is, mobile phone users send SMS to the special service number
1. Background introduction and mobile cloud MAS platform--SMS platform