Method for realizing enterprise document center based on online collaborative editing
Through onlyoffice online collaborative editing service, a unified corporate document center is established, which solves the problem of dispersed document management and incompatibility in enterprise information construction, realizes centralized document management and knowledge sharing, and reduces cost and integration difficulty.
Patent Information
- Application Number
- CN202510505672.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-08-29
AI Technical Summary
The document management of various business systems in enterprise information construction is scattered, resulting in increased costs and difficulty in sharing knowledge, complex development of integrated interfaces and incompatible document formats.
Onlyoffice online collaborative editing service is adopted to establish a unified document center, and document upload, download and editing interface services are realized through onlyoffice online collaborative editor, forming a unified document editor, and integrating it based on business system identification and user identification to solve the problem of document format incompatibility.
It realizes centralized management of enterprise documents, reduces the cost of informatization construction, improves development efficiency, realizes knowledge sharing and document format compatibility, and reduces integration difficulty.
Smart Images

Figure CN120562385A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of document center management, and in particular to a method for realizing an enterprise document center based on online collaborative editing. Background Art
[0002] Today, enterprises build various business systems as part of their information technology initiatives. Each system requires document upload and download, as well as online document review and modification. Consequently, each system requires its own document management module, increasing the cost of enterprise information technology development. Furthermore, the need to review and push documents between business systems necessitates the development of separate integration interfaces for each system, wasting manpower and resources. Furthermore, document centers rarely offer document editor functionality, requiring business systems to integrate third-party document editors. Consequently, cross-system document review can lead to format incompatibilities.
[0003] This approach has the following problems: a) Different business systems built by the enterprise will establish differentiated document management, which increases the cost of information construction; b) The documents of each business system are stored in a scattered manner, which is not conducive to knowledge sharing; c) The mutual reference and push of documents between different business systems requires the additional development of integration interfaces, which further wastes manpower and material resources, and the integration interfaces are not unified, making integration more difficult; d) Different business systems have different document editors, and the mutual reference of documents between business systems will lead to document format incompatibility issues. Summary of the Invention
[0004] Purpose of the invention: The present invention proposes a method for realizing an enterprise document center based on online collaborative editing, which is used for unified management of enterprise documents to avoid duplicate construction of document management; unify the document integration interface between various business systems to improve development efficiency; unify the document editors of various business systems to solve the problem of incompatibility of document formats between different business systems.
[0005] Technical solution:
[0006] A method for realizing an enterprise document center based on online collaborative editing is provided, comprising:
[0007] Build the OnlyOffice online collaborative editing service, create a database to store attachment information of various business systems, and implement document upload and download interface services based on the OnlyOffice service;
[0008] Use the onlyoffice online collaborative editor to view and modify document interface services, forming a unified document editor in the document center;
[0009] An interface for querying user documents based on business system ID and user ID, used for integration between various business systems to form a unified integration interface for the document center;
[0010] When each business system needs the document mounting function, it calls the upload interface service or integration interface service developed based on OnlyOffice to classify the documents of each business system according to the business system ID, user ID, and file ID, and store them in the document warehouse. When users use various business systems, an enterprise document center can be formed.
[0011] Furthermore, the construction of the onlyoffice online collaborative editing service includes:
[0012] For OnlyOffice, we used a text search engine to locate the number limit configuration, modified the source code to change the number limit to the maximum value, and then recompiled the OnlyOffice source code on an Ubuntu 18 computer. The compiled software package was deployed using Docker, and then commonly used Chinese fonts were integrated into OnlyOffice to solve the problem of garbled Chinese characters and complete the construction of the OnlyOffice online collaborative editing service.
[0013] Furthermore, the attachment information includes: business system ID, user ID, document ID, and document name.
[0014] Furthermore, the interface service of the OnlyOffice online collaborative editor for viewing and modifying documents is used to form a unified document editor in the document center, including:
[0015] When writing a servlet for document review and editing, identify in the code which business system the document requested for review and editing belongs to. After locating the document in the document center, call the onlyoffice document editor to open the document online for the user. In this way, an interface service that meets the needs of reviewing and editing documents from different business systems is implemented. A unified online document editor is used to open documents for different business systems to solve the problem of document format incompatibility. The received parameters include the business system ID, user ID, and document ID.
[0016] Furthermore, the interface service of using the onlyoffice online collaborative editor to view and modify documents forms a unified document editor in the document center, which also includes:
[0017] When writing a servlet for document upload, determine in the code which business system the uploaded document belongs to, and then store the document in the document center according to the business system ID. In this way, the code implements the document upload interface service. The received parameters include the business system ID, user ID, and document name, and the information is recorded in the database in the second step. The interface returns the document's unique ID, which is used by each business system to access the document.
[0018] Furthermore, an interface for querying user documents based on business system ID and user ID is used for integration between various business systems to form a unified integrated interface of the document center, including:
[0019] Based on the database, a servlet is written for integration between business systems. In the code, the document center database is queried according to the business system ID requested by the user, and a list of all document information under the business system requested by the user is returned. After the business system obtains the information, it can bind the documents of other business systems. In this way, a unified integration interface service is implemented between business systems, and there is no need to repeatedly develop the integration interface in each business system. The accepted parameters include the business system ID and the user ID, and all the documents of the user in the business system are returned.
[0020] Furthermore, by calling the upload interface service or integration interface service developed based on OnlyOffice, documents from various business systems are classified and stored in the document warehouse according to business system ID, user ID, and file ID. When users use various business systems, an enterprise document center can be formed. It also includes:
[0021] When each business system needs the document mounting function, it calls the upload interface service or the integration interface service;
[0022] If the business system calls the upload interface service, a unique document ID is generated, and the uploaded documents are classified and stored in the document warehouse according to the business system ID, user ID, and document ID, and the document unique ID is returned; if the user calls the integration interface service, the document is not saved separately, and the document unique ID is returned to avoid repeated saving of documents. With the use of various business systems, an enterprise document center is formed imperceptibly.
[0023] Beneficial effects:
[0024] The method of realizing enterprise document center based on OnlyOffice online collaborative editing has the advantages of simple calling of various business systems, which can reduce the development work of business systems, greatly reduce the cost of information construction, achieve centralized document management, full knowledge sharing, convenient and fast mutual sharing of documents between business systems, effectively improve the utilization rate of enterprise documents, and form an enterprise knowledge document center. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 The present invention is a flowchart of a method for realizing an enterprise document center based on online collaborative editing. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solutions and advantages of the implementation of this application clearer, the technical solutions in the implementation of this application will be described in more detail below in conjunction with the drawings in the implementation of this application. In the drawings, the same or similar numbers throughout represent the same or similar elements or elements with the same or similar functions. The described implementation is a part of the implementation of this application, not all of the implementations. The implementation described below with reference to the drawings is exemplary and is intended to be used to explain this application, and should not be understood as a limitation on this application. Based on the implementation in this application, all other implementations obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. The implementation of this application is described in detail below in conjunction with the drawings.
[0027] In the description of the present invention, it should be understood that the terms "center", "axial", "vertical", "up", "down", "upper end", "bottom end", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the scope of protection of the present invention.
[0028] The present invention proposes a method for realizing an enterprise document center based on online collaborative editing, such as Figure 1 As shown, this method includes the following steps:
[0029] Build the onlyoffice online collaborative editing service, create a database to store the attachment information of each business system, and implement the document upload and download interface service based on the onlyoffice service; implement the interface service for using the onlyoffice online collaborative editor to view and modify documents, solve the problem of document format incompatibility caused by different editors, and form a unified document editor for the document center; implement the interface for querying user documents based on business system identification, user identification, etc., for integration between various business systems, and form a unified integration interface for the document center; when each business system needs a document mounting function, call the upload interface service or integration interface service developed based on onlyoffice, and classify the documents of each business system according to the business system identification, user identification, and file identification, and store them in the document warehouse. When users use various business systems, an enterprise document center can be formed. The specific implementation process is divided into the following steps:
[0030] The first step is that although OnlyOffice is an open source project, it has a limit on the number of online users. Use a text search engine to locate the limit configuration, modify the source code to change the limit to the maximum value, and then recompile the OnlyOffice source code on an Ubuntu 18 computer. The compiled software package is deployed using Docker, and then commonly used Chinese fonts are integrated into OnlyOffice to solve the problem of garbled Chinese characters. This completes the construction of the OnlyOffice online collaborative editing service, which mainly provides online reading and collaborative editing of documents for document centers.
[0031] The second step is to create a database to store the documents of each business system, which mainly saves information such as business system identification, user identification, document identification, document name, etc.
[0032] The third step is to write a servlet for document review and editing. Identify in the code which business system the document requested for review and editing belongs to. After locating the document in the document center, call the onlyoffice document editor to open the document online for the user. In this way, an interface service that meets the needs of reviewing and editing documents from different business systems is implemented. A unified online document editor is used to open documents for different business systems to solve the problem of document format incompatibility. The received parameters include the business system ID, user ID, and document ID.
[0033] The fourth step is to write a servlet for document upload. In the code, determine which business system the uploaded document belongs to, and then store the document in the document center according to the business system ID. In this way, the code implements the document upload interface service. The received parameters include business system ID, user ID, document name and other information, and the information is recorded in the database in the second step. The interface returns the unique ID of the document, and each business system uses this ID to search for the document.
[0034] The fifth step is to write a servlet for integration between business systems based on the database in the second step. In the code, query the document center database according to the business system ID requested by the user, and return a list of all document information under the business system requested by the user. After the business system obtains the information, it can bind the documents of other business systems. In this way, a unified integration interface service is implemented between business systems, and there is no need to repeatedly develop an integration interface for each business system. The accepted parameters include the business system ID and the user ID, and all the documents of the user in the business system are returned.
[0035] In the sixth step, when each business system needs the document mounting function, it calls the upload interface service in the third step or the integration interface service in the fifth step.
[0036] In the seventh step, if the business system calls the upload interface service, a unique document identifier is generated, and the uploaded documents are classified and stored in the document warehouse according to the business system identifier, user identifier, and document identifier, and the document unique identifier is returned; if the user calls the integration interface service, the document is not saved separately, and the document unique identifier is returned to avoid repeated saving of documents. With the use of various business systems, an enterprise document center is formed imperceptibly.
[0037] Build the onlyoffice online collaborative editing service, create a database to store attachment information for each business system, and implement document upload interface services, download interface services, document online viewing and editing interface services, and interface services for document integration of each business system based on the onlyoffice service. When each business system requires document mounting functionality, it calls the upload interface service or integration interface service developed based on onlyoffice, and categorizes and centrally stores documents from each business system in the document warehouse according to business system identification, user identification, and file identification. This will form an enterprise document center while users use each business system. The specific implementation process is divided into the following steps:
[0038] The first step is that although OnlyOffice is an open source project, it has a limit on the number of online users. Use a text search engine to locate the limit configuration, modify the source code to change the limit to the maximum value, and then recompile the OnlyOffice source code on an Ubuntu 18 computer. The compiled software package is deployed using Docker, and then commonly used Chinese fonts are integrated into OnlyOffice to solve the problem of garbled Chinese characters. This completes the construction of the OnlyOffice online collaborative editing service, which mainly provides online reading and collaborative editing of documents for document centers.
[0039] The second step is to create a database to store the documents of each business system, which mainly saves information such as business system identification, user identification, document identification, document name, etc.
[0040] The third step is to write a servlet for document review and editing. Identify in the code which business system the document requested for review and editing belongs to. After locating the document in the document center, call the onlyoffice document editor to open the document online for the user. In this way, an interface service that meets the needs of reviewing and editing documents from different business systems is implemented. A unified online document editor is used to open documents for different business systems to solve the problem of document format incompatibility. Each business system adds the business system ID, user ID, and document ID to the request, and can then review and edit documents in the document center online.
[0041] The fourth step is to write a servlet for document upload. In the code, determine which business system the uploaded document belongs to, and then store the document in the document center according to the business system ID. In this way, the code implements the document upload interface service. The received parameters include business system ID, user ID, document name and other information, and the information is recorded in the database in the second step. The interface returns the unique ID of the document. Each business system adds system ID, user ID, document name and other information in the request to upload the document to the document center.
[0042] The fifth step is to write a servlet for integration between business systems based on the database in the second step. In the code, query the document center database according to the business system ID requested by the user, and return a list of all document information under the business system requested by the user. After the business system obtains the information, it can bind the documents of other business systems. In this way, a unified integration interface service is implemented between business systems, and there is no need to repeatedly develop an integration interface for each business system. The accepted parameters include the business system ID and the user ID, and all the documents of the user in the business system are returned.
[0043] In the sixth step, when each business system needs the document mounting function, it calls the upload interface service in the third step or the integration interface service in the fifth step.
[0044] In the seventh step, if the business system calls the upload interface service, a unique document identifier is generated, and the uploaded documents are classified and stored in the document warehouse according to the business system identifier, user identifier, and document identifier, and the document unique identifier is returned; if the user calls the integration interface service, the document is not saved separately, and the document unique identifier is returned to avoid repeated saving of documents. With the use of various business systems, an enterprise document center is formed imperceptibly.
[0045] Example 1:
[0046] Taking the online system editing system as an example, a research institute established an online collaborative editing system to solve the problem of multiple people collaborating to complete the writing of large documents, filling in and summarizing data tables, as well as monitoring document progress, effectively managing versions, and improving collaboration efficiency. The open source project onlyoffice online collaborative editing was used to embed the implementation steps of the present invention into the online collaborative editing system and provide it to all users of the unit. The implementation process of this method is now explained using this scenario as an example:
[0047] The first step is to build the onlyoffice online collaborative editing service, which mainly provides online reading and collaborative editing of documents for the document center.
[0048] In the second step, when a user creates or uploads a document using the online collaborative editing system, the document center receives the request and saves the document information in the database, mainly saving information such as the business system ID, user ID, document ID, and document name.
[0049] In the third step, when the user uses the online collaborative editing system to view the document, the document center receives the request, locates the document from the document repository based on the business system ID, user ID, and document ID in the parameters, and uses the OnlyOffice document editor to open the document online for the user.
[0050] In the fourth step, when a user uses the online collaborative editing system to edit a personal document, the document center receives the request and saves the document in a folder belonging to the user under the name of the online collaborative editing folder.
[0051] In the fifth step, the online collaborative editing system calls the integration interface of the document center to read the documents uploaded by other business systems. The document center returns the unique identifier of the document and the unique identifier of the business system to which the document belongs. The online collaborative editing system will save this information.
[0052] In the sixth step, when the online collaborative editing system mounts the document, it calls the upload interface service in the third step or the integration interface service in the fifth step.
[0053] In the seventh step, with the use of the online collaborative editing system and the subsequent construction of other business systems according to the method of the present invention, an enterprise document center can be formed imperceptibly.
[0054] The present invention provides a unified online document review editor, which solves the problem of incompatible document formats between various business systems, provides a unified business system document integration service, reduces the integration difficulty of document sharing between business systems, and centrally manages enterprise documents by providing a unified document upload and download interface service. As various business systems are used, an enterprise document center is formed.
[0055] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0056] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for realizing an enterprise document center based on online collaborative editing, characterized in that: include: Build the OnlyOffice online collaborative editing service, create a database to store attachment information of various business systems, and implement document upload and download interface services based on the OnlyOffice service; Use the onlyoffice online collaborative editor to view and modify document interface services, forming a unified document editor in the document center; An interface for querying user documents based on business system ID and user ID, used for integration between various business systems to form a unified integration interface for the document center; When each business system needs the document mounting function, it calls the upload interface service or integration interface service developed based on OnlyOffice to classify the documents of each business system according to the business system ID, user ID, and file ID, and store them in the document warehouse. When users use various business systems, an enterprise document center can be formed.
2. The method according to claim 1, characterized in that The construction of the onlyoffice online collaborative editing service includes: For OnlyOffice, we used a text search engine to locate the number limit configuration, modified the source code to change the number limit to the maximum value, and then recompiled the OnlyOffice source code on an Ubuntu 18 computer. The compiled software package was deployed using Docker, and then commonly used Chinese fonts were integrated into OnlyOffice to solve the problem of garbled Chinese characters and complete the construction of the OnlyOffice online collaborative editing service.
3. The method according to claim 2, characterized in that Attachment information includes: business system ID, user ID, document ID, and document name.
4. The method according to claim 2, characterized in that Use the onlyoffice online collaborative editor to view and modify documents, forming a unified document editor in the document center, including: When writing a servlet for document review and editing, identify in the code which business system the document requested for review and editing belongs to. After locating the document in the document center, call the onlyoffice document editor to open the document online for the user. In this way, an interface service that meets the needs of reviewing and editing documents from different business systems is implemented. A unified online document editor is used to open documents for different business systems to solve the problem of document format incompatibility. The received parameters include the business system ID, user ID, and document ID.
5. The method according to claim 4, characterized in that Use the onlyoffice online collaborative editor to review and modify documents, forming a unified document editor in the document center, which also includes: When writing a servlet for document upload, determine in the code which business system the uploaded document belongs to, and then store the document in the document center according to the business system ID. In this way, the code implements the document upload interface service. The received parameters include the business system ID, user ID, and document name, and the information is recorded in the database in the second step. The interface returns the document's unique ID, which is used by each business system to access the document.
6. The method according to claim 5, characterized in that The interface for querying user documents based on business system ID and user ID is used for integration between various business systems to form a unified integration interface for the document center, including: Based on the database, a servlet is written for integration between business systems. In the code, the document center database is queried according to the business system ID requested by the user, and a list of all document information under the business system requested by the user is returned. After the business system obtains the information, it can bind the documents of other business systems. In this way, a unified integration interface service is implemented between business systems, and there is no need to repeatedly develop the integration interface in each business system. The accepted parameters include the business system ID and the user ID, and all the documents of the user in the business system are returned.
7. The method according to claim 6, characterized in that Call the upload interface service or integration interface service developed based on OnlyOffice to classify and centrally store documents from various business systems in the document warehouse according to business system ID, user ID, and file ID. This will form an enterprise document center while users use various business systems. It also includes: When each business system needs the document mounting function, it calls the upload interface service or the integration interface service; If the business system calls the upload interface service, a unique document ID is generated, and the uploaded documents are classified and stored in the document warehouse according to the business system ID, user ID, and document ID, and the document unique ID is returned; if the user calls the integration interface service, the document is not saved separately, and the document unique ID is returned to avoid repeated saving of documents. With the use of various business systems, an enterprise document center is formed imperceptibly.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.