1. An application server, comprising: a file configuration module configured for creating multiple extensible markup language (XML) templates, for setting basic requirements of drafted files, and for mapping the XML templates to chapter headers in the drafted files; a file loading module configured for analyzing and verifying whether the drafted files meet the basic requirements; a file parsing module configured for reading the drafted files, for opening corresponding XML templates when reading the chapter headers in the drafted files, and for parsing contents of the drafted files into the XML templates, the contents in the drafted files comprising an equation object, the equation object being parsed into the corresponding XML template by copying the equation object in the drafted files onto a clipboard, creating a tagged image file format (TIFF) image of the equation object on the clipboard, converting the TIFF image into a joint photographic experts group (JPEG) image, saving the JPEG image of the equation object at a specified path, recording the specified path of the JPEG image with XML codes, and inserting the XML codes into the corresponding XML template; a file generating module configured for generating patent application files according to the XML templates; and at least one processor for executing the file configuration module, the file loading module, the file parsing module, and the file generating module.