主权项 |
1. An intelligent guiding method based on a Machine-to-Machine/Man (M2M) system, comprising:
when an intelligent guiding M2M platform receives a service request message from an intelligent guiding M2M terminal device, requesting, by the intelligent guiding M2M platform, guiding information or a guiding information identifier from an intelligent guiding M2M application according to location information of the intelligent guiding M2M terminal device; and sending, by the intelligent guiding M2M platform, to the intelligent guiding M2M terminal device the guiding information provided by the intelligent guiding M2M application or guiding information that is retrieved according to the guiding information identifier provided by the intelligent guiding M2M application; wherein the service request message sent from the intelligent guiding M2M terminal device comprises the location information of the intelligent guiding M2M terminal device; the step of requesting, by the intelligent guiding M2M platform, a guiding information identifier from an intelligent guiding M2M application according to location information of the intelligent guiding M2M terminal device comprises: parsing, by the intelligent guiding M2M platform, the service request message from the intelligent guiding M2M terminal device; building, by the intelligent guiding M2M platform, a new service request message according to the location information of the intelligent guiding M2M terminal device parsed out; and sending, by the intelligent guiding M2M platform, the new service request message to the M2M application according to an application port number parsed out; searching for, by the intelligent guiding M2M application, a corresponding guiding information identifier locally according to the location information of the intelligent guiding M2M terminal device included in the received service request message, and returning, by the intelligent guiding M2M application, the corresponding guiding information identifier to the intelligent guiding M2M platform via a service response message;the method further comprises:
retrieving, by the intelligent guiding M2M platform, the corresponding guiding information locally according to the corresponding guiding information identifier included in the service response message. |