The invention belongs to the technical field of automobiles, and particularly relates to a method for preventing a user from connecting points in an Android vehicle end network connection application. Comprising the following steps: step 1, starting a click event; 2, the page responds to the user action; step 3, acquiring the current system starting duration as the click time of this time; step 4, calculating a difference value between the current click time and the last click time; step 5, updating the last click time by using the current click time and recording the last click time; 6, judging whether the difference value between the current click time and the last click time is greater than the minimum interval or not; and if not, directly ending the operation. According to the method, the state of the control is not changed, the limitation of state resetting does not exist, the service logic is simplified, the control can make page response for each click, a user can clearly know the behavior of the user effectively, meaningless click is avoided, the user is correctly guided to know the time needed by system response, and positive user experience is generated.
本发明属于汽车技术领域,具体的说是一种Android车端网联应用防止用户连点的方法。包括以下步骤:步骤一、点击事件开始;步骤二、页面响应用户动作;步骤三、获取当前系统启动持续时间,作为本次点击时间;步骤四、计算当前点击时间与上次点击时间的差值;步骤五、用本次点击时间更新上次点击时间并且记录;步骤六、判断当前点击时间与上次点击时间的差值是否大于最小间隔;若大于处理业务后结束,若不大于直接结束。本发明不变更控件状态,没有状态复归的限制,简化了业务逻辑,控件可以对每次点击都做出页面响应,让用户很清楚的知道自己的行为是有效的,避免没有意义的点击,正确的引导用户认识到系统响应需要时间,产生积极的用户体验。
Method for preventing user connection in Android vehicle end network connection application
一种Android车端网联应用防止用户连点的方法
2023-11-10
Patent
Elektronische Ressource
Chinesisch
VEHICLE NETWORK SYSTEM, TERMINAL CONNECTION DEVICE, AND TERMINAL CONNECTION METHOD
Europäisches Patentamt | 2018
|Vehicle connection device and vehicle connection system
Europäisches Patentamt | 2020
|Europäisches Patentamt | 2020
|VEHICLE CONNECTION DEVICE AND VEHICLE CONNECTION SYSTEM
Europäisches Patentamt | 2019
|