主权项 |
1. A method for searching the premium merchant based on an intelligent terminal, wherein: the intelligent terminal is provided with an acceleration sensor and a control module connected to the acceleration sensor; the control module is provided with a timer; the method comprises:
A) Judging whether the acceleration sensor outputs a signal, if so, executing step B); otherwise, continuing to conduct the judgment of this step; B) Assigning 1 to the timer, searching the most premium merchant within a first preset distance range by a remote server and sending the searching results to the intelligent terminal, and executing step C), wherein the timer is used for calculating the number of times that the acceleration sensor outputs the signal; C) Judging whether the acceleration sensor outputs a signal once again, if so, executing step D); otherwise, continuing to conduct the judgment of this step; D) Judging whether the number of times that the acceleration sensor outputs the signal is less than or equal to a preset number of times, if so, adding 1 to the timer, searching the most premium merchant within the Nth preset distance range by the remote server and sending the searching results to the intelligent terminal, wherein N is equal to the numerical value of the timer; otherwise, returning to step B). |