1. Technical Field
Embodiments of the present disclosure relate to document management technology, and more particularly to a server and a method for generating object document.
2. Description of Related Art
Different servers may have different file forms. If files of a server are required to transfer to another server, the forms of the files need be changed to accord with a standard file form of another server. For example, when an applicant wants to file a patent application to the USPTO, the applicant can submit files of the patent application to the USPTO manually or adopt electronic delivery. However, the files of the patent application may not be submitted successfully because of the standard file form required by the USPTO.
The present disclosure, including the accompanying drawings, is illustrated by way of examples and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language. One or more software instructions in the modules may be embedded in firmware, such as in an erasable programmable read only memory (EPROM). The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage system. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
The storage system 12 stores a plurality of templates for each type of initial files. The templates accord with the standard form of object documents in the second server 2. Each template can be edited and includes a plurality of columns. The columns may include an applicant column, an application number column, for example. The generation system 10 stores content of the initial files to a corresponding template in the second server 2, and generates object files corresponding to the initial files. Then the object files are transferred to the second server 2.
As shown in
In step S30, the reading module 100 reads the identifiers of all the initial files and all initial files corresponding to the identifiers in the storage system 12. In one embodiment, the identifier may be a country code. The reading module 100 reads the initial files according to the country code. For example, the reading module 100 reads all initial files of US application patent according to the country code “US.”
In step S31, the first obtaining module 101 obtains parameters of the initial files from the storage system 12 according to the identifiers of the initial files.
In step S32, the receiving module 102 receives contents of the initial files inputted by a user via the first server 1. The contents are used to generate object files. For example, the contents may be text of a response file regarding an office action. The receiving module 102 can provide an interface for the user to input the contents. In another embodiment, the receiving module 102 can obtain the contents from a file provided by the user.
In step S33, the second obtaining module 103 obtains a template for each initial file. If the initial file is a US application file, the second obtaining module 103 obtains a template for the US application file.
In step S34, the searching module 104 searches for contents of all columns in the template from the parameters and the input contents of the initial file. For example, the searching module 104 searches the parameters of an initial file for an application number column in a template corresponding to the initial file.
In step S35, the generation module 105 writes the searched contents into corresponding columns of the template. The generation module 105 also stores the template with the written contents to generate an object file corresponding to the written contents.
Although certain disclosed embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2012104856619 | Nov 2012 | CN | national |