To build your own server or use a third-party cloud service, you can take a look at firebase, which was introduced a lot on googleIO this year. As for transmission, the most basic one is http, but it is best to use https, and the data format is json, which is used by the client It is quite comfortable to use retroful to achieve network layer access. There are also some IM requirements that require long connections, xmpp protocol or MQTT protocol. Both the server and the client have open source implementations. Just google it and it will be OK.
1. It is necessary to have a server to connect to the database and do business logic processing 2. HTTP REST API, generally transmit data in JSON form 3. Data encryption and decryption
1. The communication server provides an interface and data encryption is enough. 2. Data persistence. The terminal has a persistence method, such as sqlite, and the data from the server can be stored in the database.
To build your own server or use a third-party cloud service, you can take a look at firebase, which was introduced a lot on googleIO this year.
As for transmission, the most basic one is http, but it is best to use https, and the data format is json, which is used by the client It is quite comfortable to use retroful to achieve network layer access.
There are also some IM requirements that require long connections, xmpp protocol or MQTT protocol. Both the server and the client have open source implementations. Just google it and it will be OK.
1. It is necessary to have a server to connect to the database and do business logic processing
2. HTTP REST API, generally transmit data in JSON form
3. Data encryption and decryption
1. The communication server provides an interface and data encryption is enough.
2. Data persistence. The terminal has a persistence method, such as sqlite, and the data from the server can be stored in the database.