The invention belongs to the technical field of computer gateways, and relates to a browser end interface document automatic type generation method and
system, a medium and equipment. The method comprises the following steps: inputting a
server end language interface type document, analyzing different
server ends, and outputting a type scalar; judging whether the input
client language is of a basic type, if so, adding a type scalar of the input
client language into a type
queue to be output, and adding a type name and a type value of the input
client language into the type
queue to be output, and if not, entering the next step; generating a new type, counting all the new types, and adding attributes of upward connection types; and combining all types in the to-be-output type
queue, adding the to-be-output type queue into an output type queue, adding non-empty attribute identifiers to the types and corresponding fields, and outputting a final converted type set. According to the scheme, the client
language type can be automatically generated, the generation result is more accurate, and the efficiency is higher.