主权项 |
1. A method for controlling a ride-sharing service, the method implemented in a first terminal device, a first helmet paired with the first terminal device, a cloud server, at least one second terminal device, and at least one second helmet paired with the at least one second terminal device, the method comprising:
generating, by the first terminal device when the first helmet is within a predetermined distance from the first terminal device and in response to user input on the first terminal device, a ride-sharing request and wirelessly transmitting the ride-sharing request to the cloud server; transmitting wirelessly, by the cloud server to the at least one second terminal device, the ride-sharing request; generating, by the at least one second terminal device when the at least one second helmet is within a predetermined distance from the at least one second terminal device and in response to user input on the at least one second terminal device, a ride-sharing confirmation and wirelessly transmitting the ride-sharing confirmation to the cloud server; transmitting wirelessly, by the cloud server to the first terminal device, the ride-sharing confirmation; generating, by the first terminal device in response to user input on the first terminal device, a selection message comprising information of one second terminal device selected by the first terminal device and wirelessly transmitting the selection message to the cloud server; and transmitting wirelessly, by the cloud server to the selected second terminal device, the selection message. |