Office document online editing system
The system for online editing of office documents addresses inefficiencies by allowing seamless browser-based editing and viewing, reducing cumbersome operations and improving user efficiency.
Patent Information
- Application Number
- CN202411416691.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-01-03
AI Technical Summary
Existing systems for online editing of office documents are inefficient and require cumbersome operations, limiting user productivity.
A system for online editing of office documents utilizing a backend management module, service calling module, and office integrated service module, enabling online preview and editing through a react front-end and Java backend, with support from OnlyOffice core service, allowing seamless document access and editing in a browser without local installation.
Enables low-cost, efficient viewing and editing of documents, tables, and presentations directly in a browser, reducing unnecessary operations and enhancing user productivity.
Smart Images

Figure CN119250038A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of cloud storage and document parsing and rendering, and in particular to a system for online editing of office documents. Background Art
[0002] The background technology of online Office is mainly based on the development of cloud computing technology and Internet technology, representing the new trend of remote office and digital office. Users can usually access it through any standard web browser without installing additional software on their devices, which means that no matter whether the user is using Windows, macOS, Linux or a mobile device, they can seamlessly access and edit documents, spreadsheets, and presentations.
[0003] In order to follow the new trend of remote office and digital office, a system for online editing of office documents is proposed, which enables users to open and edit documents directly in the browser without downloading files to the local computer, saving time and storage space. Summary of the invention
[0004] The purpose of the present invention is to provide a system for online editing of office documents in response to the above technical problems.
[0005] A system for online editing of office documents, including a backend management module, a service calling module, and an office integrated service module; The backend management module enables the caller to view the call information of the interface and configure the interface call parameters; The service calling module corresponds to an API interface of application capability; The office integrated service module realizes application capability, application information, application statistics, log management, and system setting functions; The service calling module checks the office integration service module through the back-end management module.
[0006] Furthermore, a system for online editing of office documents, wherein the application capabilities include online preview and online editing; The online preview and online editing are obtained by the service calling module calling the interfaces of the online preview and online editing submodules to obtain the online preview and online editing functions.
[0007] Furthermore, in a system for online editing of office documents, the application information includes key token configuration, service activation whitelist configuration, and application capability application; The secret key token is configured so that the service calling module can view and reset the secret key token by accessing the backend management module; The service mobilization whitelist configuration is a service mobilization whitelist configured by the background management module to configure the service calling module; The application capability application is a function in which the service calling module applies for the application capability of the office integration service module.
[0008] Furthermore, in a system for online editing of office documents, the application statistics include service call statistics and task execution statistics; The service call statistics are service call information recorded by the backend management module. The task execution statistics are the task execution statistics information of the service calling module recorded by the background management module.
[0009] Furthermore, in a system for online editing of office documents, the log management includes file operation logs and background operation logs; The file operation log is an operation record of the service calling module; The background operation log is the operation record of the background management module.
[0010] Furthermore, in a system for online editing of office documents, the system setting function sets the general parameters of the office integration service module.
[0011] Furthermore, a system for online editing of office documents, the system also includes a deployment architecture, the deployment architecture includes an integrated service management end, an integrated service support service, and an integrated service core service; The integrated service management end is a react front-end, and nginx is used as a web container during deployment. The integrated service management end does not directly connect to the back-end service, but directly accesses the gateway, and then connects to the specified service according to the gateway routing rules; The integrated service support service is a Java backend, which serves as the main body of the system and supports and packages the integrated service management end and the integrated service core service; The core service of the integrated service is OnlyOffice, which includes conversion service and document service, and unifies the external calling entry of the built-in service of the core service.
[0012] The beneficial effects of the present invention are as follows: through a system for online editing of office documents, the functions of viewing or editing documents, tables and presentations in a browser are realized in a low-cost manner, unnecessary cumbersome operations are reduced, and user office efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a structural diagram of a system for online editing of office documents.
[0014] Figure 2 It is a flowchart of the line preview process.
[0015] Figure 3 This is a diagram of the deployment architecture. DETAILED DESCRIPTION
[0016] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described with reference to the accompanying drawings.
[0017] As attached Figure 1 As shown, a system for online editing of office documents includes a backend management module, a service calling module, and an office integrated service module; The backend management module enables the caller to view the call information of the interface and configure the interface call parameters; The service calling module corresponds to an API interface of application capability; The office integrated service module realizes application capability, application information, application statistics, log management, and system setting functions; The service calling module checks the office integration service module through the back-end management module.
[0018] Furthermore, a system for online editing of office documents, wherein the application capabilities include online preview and online editing; The online preview and online editing are obtained by the service calling module calling the interfaces of the online preview and online editing submodules to obtain the online preview and online editing functions.
[0019] As attached Figure 2 As shown in the figure, the online preview shows how to create a preview connection, and then describes how to interact with the caller to obtain document information during the link access process. Finally, the document content of the online preview will be displayed in the browser in the form of a web page. The calling process is as follows: S1: The unique identifier fileld of the preview file uploaded by the caller, and the office integration generates a document preview link; S2: The caller's browser accesses the document online preview link, and the office integration obtains the file details and user operation permissions based on the fileld and userid uploaded by the user; S3: The caller returns the file details and user operation permissions, and the office integration returns the document preview page.
[0020] Furthermore, in a system for online editing of office documents, the application information includes key token configuration, service activation whitelist configuration, and application capability application; The secret key token is configured so that the service calling module can view and reset the secret key token by accessing the backend management module; The service mobilization whitelist configuration is a service mobilization whitelist configured by the background management module to configure the service calling module; The application capability application is a function in which the service calling module applies for the application capability of the office integration service module.
[0021] Furthermore, in a system for online editing of office documents, the application statistics include service call statistics and task execution statistics; The service call statistics are service call information recorded by the backend management module. The task execution statistics are the task execution statistics information of the service calling module recorded by the background management module.
[0022] Furthermore, in a system for online editing of office documents, the log management includes file operation logs and background operation logs; The file operation log is an operation record of the service calling module; The background operation log is the operation record of the background management module.
[0023] Furthermore, in a system for online editing of office documents, the system setting function sets the general parameters of the office integration service module.
[0024] A system for online editing of office documents, the implementation principle is: The open source project Only Office is used as the underlying support service for online office preview and editing. The caller exposure service uses the react front-end development framework and the spring boot back-end development framework to implement the development of the management end and API services. After the caller registers the application in the management end, it obtains the issued signature key, and then creates an interface through the office preview and edit link to obtain the online preview and edit link of the document. Then, the preview and edit link can be directly accessed in the browser, so that users can view or edit DOCX, XLSX and PPTX format office files without purchasing and installing related office suites. The creation interface needs to be encrypted with a signature key.
[0025] Furthermore, a system for online editing of office documents, the system also includes a deployment architecture, the deployment architecture includes an integrated service management end, an integrated service support service, and an integrated service core service; The integrated service management end is a react front-end, and nginx is used as a web container during deployment. The integrated service management end does not directly connect to the back-end service, but directly accesses the gateway, and then connects to the specified service according to the gateway routing rules; The integrated service support service is a Java backend, which serves as the main body of the system and supports and packages the integrated service management end and the integrated service core service; The core service of the integrated service is OnlyOffice, which includes conversion service and document service, and unifies the external calling entry of the built-in service of the core service.
[0026] Among them, the deployment method supports containerized deployment and also supports server installation and deployment. Currently, Centos server and Ubuntu server deployment have been verified.
[0027] Among them, the integrated service support service makes the support service the unified calling entry of the office online preview and editing service system. Since it is a backend service developed in the SpringCloud microservice mode, that is, the service is uniformly registered to the service center, the caller does not need to know the specific address of the service, but only needs to know the gateway to call the support service to obtain the online document preview and editing functions.
[0028] Among them, the development method adopted by the core service of the integrated service is NodeJs server-side development technology, which is different from the supporting service. The packaging stage will be packaged into an executable file, which is equivalent to the exe on Windows. It can be run by double-clicking. Nginx is required. The role of nginx is to leave a service that occupies the foreground process in the docker container, and at the same time unify the external calling entry of the built-in service of the core service.
[0029] This solution uses an online office document editing system to achieve the function of viewing or editing documents, tables and presentations in a browser in a low-cost manner, reducing unnecessary tedious operations and improving user office efficiency.
[0030] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A system for online editing of office documents, characterized in that: Including back-end management module, service call module, office integration service module; The backend management module enables the caller to view the call information of the interface and configure the interface call parameters; The service calling module corresponds to an API interface of application capability; The office integrated service module realizes application capability, application information, application statistics, log management, and system setting functions; The service calling module checks the office integration service module through the back-end management module.
2. The system for online editing of office documents according to claim 1, characterized in that: The application capabilities include online preview and online editing; The online preview and online editing are obtained by the service calling module calling the interfaces of the online preview and online editing submodules to obtain the online preview and online editing functions.
3. The system for online editing of office documents according to claim 1, characterized in that: The application information includes key token configuration, service utilization whitelist configuration, and application capability application; The secret key token is configured so that the service calling module can view and reset the secret key token by accessing the backend management module; The service mobilization whitelist configuration is a service mobilization whitelist configured by the background management module to configure the service calling module; The application capability application is a service calling module applying for the application capability function of the office integration service module.
4. The system for online editing of office documents according to claim 1, characterized in that: The application statistics include service call statistics and task execution statistics; The service call statistics are service call information recorded by the backend management module. The task execution statistics are the task execution statistics information of the service calling module recorded by the background management module.
5. The system for online editing of office documents according to claim 1, characterized in that: The log management includes file operation log and background operation log; The file operation log is an operation record of the service calling module; The background operation log is the operation record of the background management module.
6. The system for online editing of office documents according to claim 1, characterized in that: The system setting function sets the general parameters of the office integration service module.
7. The system for online editing of office documents according to claim 1, characterized in that: The system also includes a deployment architecture, which includes an integrated service management terminal, an integrated service support service, and an integrated service core service; The integrated service management end is a react front-end, and nginx is used as a web container during deployment. The integrated service management end does not directly connect to the back-end service, but directly accesses the gateway, and then connects to the specified service according to the gateway routing rules; The integrated service support service is a java backend, which serves as the main body of the system and supports and packages the integrated service management end and the integrated service core service; The core service of the integrated service is OnlyOffice, which includes conversion service and document service, and unifies the external calling entry of the built-in service of the core service.
