Joke Collection Website - Public benefit messages - How to realize short message service with java web program

How to realize short message service with java web program

It depends on how you want to achieve it. Just use GSM cat. This requires sending commands to the cat through the serial port, and then the cat is responsible for sending and receiving short messages.

In addition, you can directly apply for short message service from mobile and send and receive short messages through their short message interface (CMPP3.0), which is a way of large-scale short message application. But in this case, if your short message volume does not reach a certain number, it will not be opened for you. In this case, you may need to find another service provider for yourself.

I have done a project before, because there are not enough short messages, no short message gateway service, and there is no way to do it in the form of a cat.

However, don't ask me for the code, it involves confidentiality. Of course, the code is very simple, that is, be familiar with the serial port protocol of the cat you choose, and then use the java communication API mentioned upstairs to send and receive data through the serial port.