The invention relates to a method and 
system for the 
verification code service based on the cloud service. The method for the 
verification code service based on the cloud service comprises the following steps that firstly, a 
verification code request is sent to a could 
server on a WEB 
client, and the 
control parameters of a verification code is attached to the verification code request; secondly, the 
cloud server responds the verification code request and generates a verification code image, and the verification code image is returned to the WEB 
client to be displayed; thirdly, a verification event is logged in a verification code input box of the WEB 
client based on the verification code image; fourthly, after the verification code is input, the verification event is triggered, and an 
AJAX request with the input verification code is sent to the 
cloud server; fifthly, the 
cloud server verifies the 
AJAX request and returns a verification result to the WEB client to be displayed, and the verification code image is updated. The 
system is established based on the method for the verification code service based on the cloud service. By the adoption of the method and 
system for the verification code service based on the cloud service, the verification code cloud service can be provided for various websites, the problem that the websites are not identical in level is solved, and the safety of the verification code is improved.