Methods and devices of implementing and generating crack-resistant identifying code
暂无分享,去创建一个
The invention discloses a method of implementing a crack-resistant identifying code. The method comprises the following steps that a server randomly generates a foreground character according to a first preset generation rule; the server randomly generates a background pattern formed by repeated pattern elements according to a second preset generation rule; the server synthesizes the foreground character and the background pattern to generate an identifying code picture capable of disturbing human eye discrimination, and stores the identifying code picture in an identifying code picture pool; and when monitoring that a user makes a request for logging in an application program provided by the server through a client or the client logs in the server with abnormity, the server randomly draws one identifying code picture from the identifying code picture pool to be issued to the client, so that the identifying code picture issued by the server is displayed in a page to be identified by the client. In addition, the invention also provides a device of implementing the crack-resistant identifying code as well as a method and a device of generating the crack-resistant identifying code. According to the method and the device of implementing the crack-resistant identifying code, the artificial crack resistance of the identifying code can be improved.