CN113256259B - Online editing service system and implementation method thereof - Google Patents

Online editing service system and implementation method thereof Download PDF

Info

Publication number
CN113256259B
CN113256259B CN202110607743.5A CN202110607743A CN113256259B CN 113256259 B CN113256259 B CN 113256259B CN 202110607743 A CN202110607743 A CN 202110607743A CN 113256259 B CN113256259 B CN 113256259B
Authority
CN
China
Prior art keywords
component
editing
online editing
service
online
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110607743.5A
Other languages
Chinese (zh)
Other versions
CN113256259A (en
Inventor
张�杰
单涛
郭静宁
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Institute of Smart City Research and Design Co Ltd
Original Assignee
CRSC Institute of Smart City Research and Design Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRSC Institute of Smart City Research and Design Co Ltd filed Critical CRSC Institute of Smart City Research and Design Co Ltd
Priority to CN202110607743.5A priority Critical patent/CN113256259B/en
Publication of CN113256259A publication Critical patent/CN113256259A/en
Application granted granted Critical
Publication of CN113256259B publication Critical patent/CN113256259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Operations Research (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Artificial Intelligence (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to an online editing service system and an implementation method thereof, which are characterized by comprising a service platform and a service system, wherein the service platform is internally provided with: the JS component is internally provided with data configuration related parameters and a predefined callback method, and is used for packaging an online editing function of a document; the service component is used for judging an online editing mode according to the data configuration related parameters so as to determine the functions started by the JS component; the service system is internally provided with: the calling module is used for calling an online editing function in the JS component according to the function started by the service component; the editing module is used for editing the document on line according to the called on-line editing function; the callback module is used for storing the document after online editing by adopting a predefined callback method, and the method can be widely applied to the online editing field.

Description

Online editing service system and implementation method thereof
Technical Field
The invention relates to an online editing service system and an implementation method thereof, belonging to the technical field of software development.
Background
The prior art discloses an Office document online editing method compatible with multiple browsers, which comprises the steps of constructing a server end, deploying and installing a first browser module, a file storage system and a document calling system, responding to an online Office document editing request uploaded by a client, and calling a locally stored document through the first browser module. The method develops the browser integrated with the IE kernel, is not limited by the traditional IE browser, and simultaneously supports the interaction of JavaScript and Office documents.
But the method is still based on a more traditional client and server mode for user usage. If the server side is changed, the client side may need to synchronously update the relevant version for use, so that the system integration mode is not friendly for users, and the system is more invaded and more dependent by integrating relevant components. And the too high coupling degree of the component service and the system service can bring a series of problems, such as the rise of the cost of version upgrade, defect repair and the like.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide an online editing service system and a method for implementing the same, which can sufficiently decouple a business system when a document is edited online.
In order to achieve the above purpose, the present invention adopts the following technical scheme: the online editing service system comprises a service platform and at least one service system, wherein the service platform is internally provided with:
The JS component is internally provided with data configuration related parameters and a predefined callback method, and is used for packaging an online editing function of a document;
the service component is used for judging an online editing mode according to the data configuration related parameters so as to determine the functions started by the JS component;
each business system is internally provided with:
the calling module is used for calling an online editing function in the JS component according to the function started by the service component;
The editing module is used for editing the document on line according to the called on-line editing function;
and the callback module is used for storing the document after online editing by adopting a predefined callback method.
Further, the online editing service system also comprises a routing layer;
The calling module is used for calling the online editing function in the JS component, simultaneously transmitting a corresponding system identifier, and transmitting the transmitted system identifier to the routing layer, wherein the routing layer is used for forwarding the received system identifier to the corresponding service platform for processing.
Further, the service component is internally provided with:
The function list configuration module is used for configuring a function list edited online;
The editing mode configuration module is used for configuring an editing mode of online editing;
the permission checking module is used for checking the permission of the business system;
And the system management module is used for carrying out user management, authority management and dictionary management.
Further, a bottom layer component is further arranged in the service platform, and a storage module is arranged in the bottom layer component and used for carrying out database storage, file storage and cache storage.
Further, the data configuration related parameters include a document storage path, a document editing type, and a system identification.
Further, the editing modes of the online editing include an editing mode, a read-only mode and a review mode.
The implementation method of the online editing service system comprises the following steps:
1) The online editing function of the document is packaged into a JS component of a service platform, and meanwhile, data configuration related parameters and a predefined callback method for storing file storage information are also arranged in the JS component;
2) The service platform issues a reference path of the JS component, and the service system references the JS component on a front-end page;
3) The service platform configures related parameters according to data in the JS component, judges an online editing mode, and further determines the function started by the JS component;
4) The service system calls an online editing function in the JS component according to actual requirements, and data in the JS component is transmitted to configure related parameters and a predefined callback method in the calling process;
5) The business system edits the document online according to the called online editing function;
6) The business system adopts a predefined callback method to store the document after online editing.
Further, in the step 4), the service system invokes the online editing function in the JS component and simultaneously transmits a corresponding system identifier, and the transmitted system identifier is sent to the routing layer, and the routing layer forwards the received system identifier to a corresponding service platform for processing.
A processor comprises computer program instructions which, when executed by the processor, are adapted to carry out the steps corresponding to the implementation method of an online editing service system.
A computer readable storage medium having stored thereon computer program instructions, wherein the computer program instructions, when executed by a processor, are adapted to implement steps corresponding to a method for implementing an online editing service system as described above.
Due to the adoption of the technical scheme, the invention has the following advantages:
1. After the JS component is packaged, the service system only needs to refer to the component when using an online editing function, does not need to care about specific realization logic, only needs to transmit required parameters, and stores the document result after online editing in the callback module, thereby realizing high decoupling of the online editing and the service logic of the service system.
2. In the invention, if the service platform needs to be upgraded, the service platform only needs to upgrade the related component functions, the terminal user does not feel the service platform, the related processing is not needed, the authority of the service system only needs to be managed in the later stage, and on the premise of no new function increase, the related development work is not needed, so that the method and the device can be widely applied to the field of online editing.
Drawings
FIG. 1 is a schematic diagram of an online editing service system according to an embodiment of the present invention;
fig. 2 is a deployment schematic diagram of an implementation method according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of an integration process of a JS component in the implementation method provided by the second embodiment of the present invention;
fig. 4 is a schematic diagram of adding a routing layer in the implementation method provided in the second embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
It is to be understood that the terminology used herein is for the purpose of describing particular example embodiments only, and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises," "comprising," "includes," "including," and "having" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order described or illustrated, unless an order of performance is explicitly stated. It should also be appreciated that additional or alternative steps may be used.
The online editing service system and the implementation method thereof provided by the embodiment of the invention can realize that the access calling can be completed by directly calling the online editing function only by remotely referencing the JS component provided by the online editing service when the service system uses the online editing function, and the whole calling process is simple and has little dependence. For the online editing function, if related expansion is needed, the online editing function can be performed in a mode of adding a new function in the JS component, a business system is not required to be informed to perform related upgrading operation, and a layering mode is adopted when the online editing service system is constructed, so that each important component forms an independent module, and the stability of the system and the expandability of online editing service can be greatly enhanced.
Example 1
As shown in fig. 1, the present embodiment provides an online editing service system, which includes a service platform and at least one service system, wherein a JS component (JS is a script language developed by a Web page for short) and a service component are provided in the service platform, and a calling module, an editing module and a callback module are provided in each service system.
The JS component is internally provided with data configuration related parameters and a predefined callback method for storing file storage information, and the data configuration related parameters are used for packaging an online editing function of an office document, wherein the data configuration related parameters comprise a document storage path, a document editing type and a system identifier.
The service component is used for judging an online editing mode according to the data configuration related parameters, and further determining the functions started by the JS component.
The calling module is used for calling the online editing function in the JS component according to the actual requirements and the function started by the service component.
And the editing module edits the document online according to the called online editing function.
The callback module is used for storing the online edited document by adopting a predefined callback method, wherein the related data is callback in the form of data flow or document catalogue.
In a preferred embodiment, the online editing service system further includes a routing layer, the calling module of the service system calls the online editing function in the JS component, and simultaneously transmits the corresponding system identifier, and the routing layer is used for forwarding the received system identifier to the corresponding service platform for processing.
In a preferred embodiment, a function list configuration module, an edit mode configuration module, a permission verification module and a system management module are arranged in the service component.
The function list configuration module is used for configuring an online edited function list, and comprises the steps of storing, watermarking, reviewing, reading only, locking content, rendering template parameters, sleeving red, stamping electronic chapters and the like.
The editing mode configuration module is used for configuring an editing mode of online editing, including an editing mode, a read-only mode and a review mode.
The permission checking module is used for checking the permission of the business system.
The system management module is used for user management, authority management, dictionary management and the like.
In a preferred embodiment, a bottom layer component is further arranged in the service platform, and a storage module and an office calling module are arranged in the bottom layer component.
The storage module is used for carrying out database storage, file storage and cache storage.
The office calling module is used for calling office services in the form of opening a modal window or opening an integrated function page, such as payment services (e.g. Zhuo Zheng on-line editing functions of software pageoffice), open source components (e.g. weboffice open source version), self-grinding components and the like.
Example 2
As shown in fig. 2 and 3, the present embodiment provides a method for implementing an online editing system service, including the following steps:
1) And packaging the online editing function of the office document into a JS component of the service platform, wherein the JS component is also internally provided with data configuration related parameters and a predefined callback method for storing file storage information.
2) The service platform issues a reference path of the JS component, and the service system references the JS component on the front-end page.
3) The service platform configures related parameters according to the data in the JS component, judges the mode of online editing, and further determines the function started by the JS component.
4) And the service system calls an online editing function in the JS component according to actual requirements, and data in the JS component is transmitted to configure related parameters and a predefined callback method in the calling process.
5) The service platform performs database storage, file storage and cache storage, and performs payment service, an open source component, a self-research component and the like.
6) And the business system edits the document on line according to the called on-line editing function.
7) The business system adopts a predefined callback method to store the document after online editing.
In the above embodiment, as shown in fig. 4, in step 4), the service system invokes the online editing function in the JS component and simultaneously transmits a corresponding system identifier, and the routing layer sends the transmitted system identifier to the routing layer, and forwards the received system identifier to the corresponding service platform for processing.
The core of the invention is a JS component and a using mode thereof, the service component and the bottom layer component provide support for service, and the remote use of the JS component links the call of a user with the service of the bottom layer.
Example 3
The present embodiment provides a processing device corresponding to the implementation method of the online editing system service provided in the present embodiment 2, where the processing device may be a processing device for a client, for example, a mobile phone, a notebook computer, a tablet computer, a desktop computer, or the like, to execute the method of embodiment 1.
The processing device comprises a processor, a memory, a communication interface and a bus, wherein the processor, the memory and the communication interface are connected through the bus so as to complete communication among each other. The memory stores a computer program executable on a processor, and the processor executes the method for implementing the online editing system service provided in embodiment 1 when executing the computer program.
In some implementations, the memory may be a high-speed random access memory (RAM: random Access Memory), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
In other implementations, the processor may be a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or other general-purpose processor, which is not limited herein.
Example 4
The implementation method of the online editing system service of this embodiment 2 may be embodied as a computer program product, which may include a computer readable storage medium having computer readable program instructions for performing the voice recognition method described in this embodiment 1.
The computer readable storage medium may be a tangible device that retains and stores instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination of the preceding.
The foregoing embodiments are only for illustrating the present invention, wherein the structures, connection modes, manufacturing processes, etc. of the components may be changed, and all equivalent changes and modifications performed on the basis of the technical solutions of the present invention should not be excluded from the protection scope of the present invention.

Claims (8)

1. The online editing service system is characterized by comprising a service platform and at least one service system, wherein the service platform is internally provided with:
The JS component is internally provided with data configuration related parameters and a predefined callback method, and is used for packaging an online editing function of a document;
the service component is used for judging an online editing mode according to the data configuration related parameters so as to determine the functions started by the JS component;
each business system is internally provided with:
the calling module is used for calling an online editing function in the JS component according to the function started by the service component;
The editing module is used for editing the document on line according to the called on-line editing function;
The callback module is used for storing the document after online editing by adopting a predefined callback method;
the online editing service system also comprises a routing layer;
The calling module is used for calling the online editing function in the JS component, simultaneously transmitting a corresponding system identifier, and transmitting the transmitted system identifier to the routing layer, wherein the routing layer is used for forwarding the received system identifier to the corresponding service platform for processing.
2. The online editing service system according to claim 1, wherein the service component is provided with:
The function list configuration module is used for configuring a function list edited online;
The editing mode configuration module is used for configuring an editing mode of online editing;
the permission checking module is used for checking the permission of the business system;
And the system management module is used for carrying out user management, authority management and dictionary management.
3. The online editing service system according to claim 1, wherein a bottom layer component is further provided in the service platform, and a storage module is provided in the bottom layer component, for performing database storage, file storage and cache storage.
4. An online editing service system as in claim 1 wherein the data configuration related parameters include document storage path, document editing type and system identification.
5. The online editing service system of claim 1, wherein the editing modes of online editing include an editing mode, a read-only mode, and a review mode.
6. The implementation method of the online editing service system is characterized by comprising the following steps:
1) The online editing function of the document is packaged into a JS component of a service platform, and meanwhile, data configuration related parameters and a predefined callback method for storing file storage information are also arranged in the JS component;
2) The service platform issues a reference path of the JS component, and the service system references the JS component on a front-end page;
3) The service platform configures related parameters according to data in the JS component, judges an online editing mode, and further determines the function started by the JS component;
4) The service system calls an online editing function in the JS component according to actual requirements, and data in the JS component is transmitted to configure related parameters and a predefined callback method in the calling process; the service system calls an online editing function in the JS component and simultaneously transmits a corresponding system identifier, the transmitted system identifier is transmitted to a routing layer, and the routing layer forwards the received system identifier to a corresponding service platform for processing;
5) The business system edits the document online according to the called online editing function;
6) The business system adopts a predefined callback method to store the document after online editing.
7. A processor comprising computer program instructions which, when executed by the processor, are adapted to carry out the corresponding steps of a method for implementing an online editing service system as claimed in claim 6.
8. A computer readable storage medium, wherein computer program instructions are stored on the computer readable storage medium, wherein the computer program instructions, when executed by a processor, are adapted to implement the steps corresponding to the method for implementing an online editing service system according to claim 6.
CN202110607743.5A 2021-06-01 2021-06-01 Online editing service system and implementation method thereof Active CN113256259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110607743.5A CN113256259B (en) 2021-06-01 2021-06-01 Online editing service system and implementation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110607743.5A CN113256259B (en) 2021-06-01 2021-06-01 Online editing service system and implementation method thereof

Publications (2)

Publication Number Publication Date
CN113256259A CN113256259A (en) 2021-08-13
CN113256259B true CN113256259B (en) 2024-04-19

Family

ID=77185795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110607743.5A Active CN113256259B (en) 2021-06-01 2021-06-01 Online editing service system and implementation method thereof

Country Status (1)

Country Link
CN (1) CN113256259B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567065A (en) * 2009-05-26 2009-10-28 杭州世导科技有限公司 Cross-platform online file editing system and method thereof
CN105653363A (en) * 2015-12-28 2016-06-08 北京致远协创软件有限公司 Interface function realization method and apparatus
CN106844316A (en) * 2016-12-13 2017-06-13 北京中船信息科技有限公司 Process the method and system of office documents online on a web browser
CN110196971A (en) * 2019-04-23 2019-09-03 平安科技(深圳)有限公司 Online document edit methods, device, terminal device and storage medium
CN112528203A (en) * 2020-12-18 2021-03-19 平安国际智慧城市科技股份有限公司 Webpage-based online document making method and system
CN112632917A (en) * 2019-10-14 2021-04-09 腾讯科技(深圳)有限公司 Online document processing method and device, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150199307A1 (en) * 2012-08-08 2015-07-16 Google Inc. Pluggable Architecture For Optimizing Versioned Rendering of Collaborative Documents

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567065A (en) * 2009-05-26 2009-10-28 杭州世导科技有限公司 Cross-platform online file editing system and method thereof
CN105653363A (en) * 2015-12-28 2016-06-08 北京致远协创软件有限公司 Interface function realization method and apparatus
CN106844316A (en) * 2016-12-13 2017-06-13 北京中船信息科技有限公司 Process the method and system of office documents online on a web browser
CN110196971A (en) * 2019-04-23 2019-09-03 平安科技(深圳)有限公司 Online document edit methods, device, terminal device and storage medium
CN112632917A (en) * 2019-10-14 2021-04-09 腾讯科技(深圳)有限公司 Online document processing method and device, electronic equipment and storage medium
CN112528203A (en) * 2020-12-18 2021-03-19 平安国际智慧城市科技股份有限公司 Webpage-based online document making method and system

Also Published As

Publication number Publication date
CN113256259A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
US10846153B2 (en) Bot creation with workflow development system
US8898285B2 (en) Service oriented architecture version and dependency control
US7941546B2 (en) Cross-domain communication technique for execution of web mashups
CN110764752B (en) System and method for realizing graphic service arrangement of Restful service
US20100281463A1 (en) XML based scripting framework, and methods of providing automated interactions with remote systems
CN109617647B (en) Message conversion method and device, computer equipment and computer readable storage medium
CN102087615A (en) Automated merger of logically associated messages in a message queue
CN102542382A (en) Method and device for managing business rule
CN102946415B (en) A kind of implementation method of mobile terminal this locality application and device
US11005719B2 (en) Internet of Things system topology generation
CN111414391A (en) Method and system for accessing multiple data sources
CN102135895B (en) System upgrading method and system
CN103853535A (en) Method and device for modifying middleware
KR101086620B1 (en) Smart office system and server for managing the sames and method for managing the sames
CN113256259B (en) Online editing service system and implementation method thereof
CN112506590A (en) Interface calling method and device and electronic equipment
CN113885886A (en) Method, device, system and storage medium for processing activity service
CN113032004A (en) Method, apparatus and program product for managing development jobs in a development environment
CN112261072B (en) Service calling method, device, equipment and storage medium
JP2011065367A (en) Device, program and method for managing workflow
CN118069539B (en) Data processing method, device, electronic equipment and storage medium
KR101771438B1 (en) Mobile communication terminal and Method for installing application thereof
CN115618396B (en) Data encryption method and device
CN112947950B (en) Method and system for realizing direct-connection software management of banking enterprises of multiple banks
CN117234512B (en) Method, system, electronic equipment and storage medium for rapidly developing business

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant