CPC H04L 63/083 (2013.01) [H04L 63/08 (2013.01); H04L 63/10 (2013.01); H04W 12/08 (2013.01)] | 18 Claims |
1. A service processing method performed by a computer server acting as a message queuing telemetry transport (MQTT) server, and the service processing method comprising:
receiving a message transmission request transmitted by a target Internet of Things device, the message transmission request carrying login information for the target Internet of Things device to access the MQTT server;
acquiring the login information of the target Internet of Things device from the message transmission request;
invoking a service processing plug-in to perform access authentication on the target Internet of Things device by matching the login information carried in the message transmission request in an access authentication control database (DB), wherein the access authentication control DB is generated by storing access authentication reference information of a plurality of Internet of Things devices and their corresponding login information in the form of a key-value pair during historical login;
determining that the access authentication on the target Internet of Things device is passed when target access authentication reference information matching the login information of the target Internet of Things device exists in the access authentication control DB;
invoking the service processing plug-in to acquire a message operation permission of the target Internet of Things device based on the login information of the target Internet of Things device in the access authentication control DB when the access authentication is passed, the message operation permission indicating a type of message of the target Internet of Things device and a message operation rule corresponding to the type of message of the target Internet of Things device; and
executing a message transmission service indicated by the message transmission request when the message transmission request matches the message operation rule indicated by the message operation permission.
|