主权项 |
1. A system that generates an authentication code, comprising:
one or more processors; memory to maintain a plurality of components each comprising a computer readable program module executable by the one or more processors, the plurality of components comprising:
a context generating module configured to generate a plurality of contexts based on a rendering style configuration file, each generated context of the plurality of contexts being different from each other and corresponding to each of the plurality of components, respectively,a random word generating module configured to generate a word from a word library based on a word context,a background generating module configured to generate a background diagram based on a background context,wherein the system generates the authentication code at least based on the generated word and the generated background diagram, anda checking module configured to
check the generated authentication code based on a predefined checking rule comprising at least one prohibited combination of a first context used in a first component of the plurality of components to generate the authentication code, and a second context used in a second component of the plurality of components to generate the authentication code, andrestart a configuration of a context for a corresponding component of the plurality of components based on the predefined checking rule to generate an additional authentication code; and an output interface that outputs the generated additional authentication code based on checking the generated authentication code against the predefined checking rule. |