Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for preventing button from being clicked repeatedly and method and system for unlocking button

A button and unlock technology, applied in hardware monitoring, program control devices, etc., can solve the problems of high development and maintenance costs, occupying a lot of system resources, and limited use of button locking. The effect of repeated clicks

Inactive Publication Date: 2013-12-18
ALIBABA GRP HLDG LTD
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present application provides a method and system for preventing buttons from being repeatedly clicked, and a method and system for unlocking buttons, which can solve the problems of limited use range of button locking, excessive occupation of system resources, and high development and maintenance costs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for preventing button from being clicked repeatedly and method and system for unlocking button
  • Method and system for preventing button from being clicked repeatedly and method and system for unlocking button
  • Method and system for preventing button from being clicked repeatedly and method and system for unlocking button

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] refer to figure 1 , showing Embodiment 1 of a method for preventing a button from being repeatedly clicked in the present application, including the following steps:

[0079] Step 101, monitor the operation of the button being clicked.

[0080] Among them, the addEventListener method provided by the browser can be called through JavaScript. For example, Firefox, Chrome, etc. follow the standard browser defined in the W3C standard for the event model, or the attachEvent method (IE browser) monitors the button click (click) event, thereby realizing the monitoring of the operation of the button being clicked.

[0081] Step 102, acquiring the size and position of the clicked button.

[0082] Getting the size and position of the clicked button includes:

[0083] Obtain the width value and height value of the clicked button to determine the size of the clicked button;

[0084] Obtain the horizontal coordinate value and the vertical coordinate value of the clicked button, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for preventing a button from being clicked repeatedly. The method includes monitoring a click operation to the button ; acquiring the size and position of the clicked button; generating dynamic nodes according to the size of the clicked button, and inserting the dynamic nodes into a current page through the position of the clicked button to cover the clicked button. The invention further provides a system for preventing the button from being clicked repeatedly and a method and system for unlocking the button. According to the method and system for preventing the button from being clicked repeatedly and the method and system for unlocking the button, using range is wide, occupation of system source can be reduced, and cost of development and maintenance can be reduced.

Description

technical field [0001] The present application relates to the technical field of computer data processing, in particular to a method and system for preventing buttons from being repeatedly clicked, and a button unlocking method and system. Background technique [0002] There are many buttons (including links) in web applications that need to interact with the server (such as form submission) after the user clicks. This interaction takes a certain amount of time to process. During this period, the user is not expected to click this button again. For example, in the process of online shopping, when the user clicks the button indicating to submit an order, the server needs to process the order. During the processing, if the user clicks repeatedly, the order may be submitted repeatedly and the amount is double calculated. , it may cause processing errors. For this reason, when such buttons are clicked, they need to be locked to avoid processing errors caused by repeated submiss...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/30G06F9/44
Inventor 李鹏展
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products