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

Online editing service system and implementation method thereof Download PDF

Info

Publication number
CN113256259A
CN113256259A CN202110607743.5A CN202110607743A CN113256259A CN 113256259 A CN113256259 A CN 113256259A CN 202110607743 A CN202110607743 A CN 202110607743A CN 113256259 A CN113256259 A CN 113256259A
Authority
CN
China
Prior art keywords
component
online editing
editing
service
function
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.)
Granted
Application number
CN202110607743.5A
Other languages
Chinese (zh)
Other versions
CN113256259B (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

Images

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

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 the online editing function of the document; the service component is used for judging the online editing mode according to the relevant parameters of the data configuration, and further determining the function started by the JS component; the business system is internally provided with: the calling module is used for calling the online editing function in the JS component according to the started function of the service component; the editing module is used for editing the document on line according to the called online editing function; the callback module is used for storing the document after online editing by adopting a predefined callback method.

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, deploying and installing a first browser module, a file storage system and a document calling system, responding to an online editing Office document 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 any more, and simultaneously supports the interaction of JavaScript and Office documents.
However, this approach is still based on a more traditional client and server model for user usage. If the server is changed, the client may need to perform synchronous version upgrade to use the server, so that the system integration mode is not user-friendly, and related components are integrated to cause larger intrusion and more dependence on the system. And the high coupling degree of the component service and the system service brings a series of problems, such as the rise of the cost of version upgrading, defect repairing 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 an implementation method thereof, which can fully decouple a document from a business system during online editing.
In order to achieve the purpose, the invention adopts the following technical scheme: an online editing service system comprises a service platform and at least one business 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 the online editing function of the document;
the service component is used for judging the online editing mode according to the relevant parameters of the data configuration, and further determining the function started by the JS component;
each service system is internally provided with:
the calling module is used for calling the online editing function in the JS component according to the started function of the service component;
the editing module is used for editing the document on line according to the called online 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 calls the online editing function in the JS component and simultaneously transmits the corresponding system identification, and transmits the transmitted system identification to the routing layer, and the routing layer is used for forwarding the received system identification to the corresponding service platform for processing.
Further, be provided with in the service assembly:
the function list configuration module is used for configuring the online edited function list;
the editing mode configuration module is used for configuring an editing mode of online editing;
the authority checking module is used for checking the authority of the service system;
and the system management module is used for carrying out user management, authority management and dictionary management.
Furthermore, a bottom layer assembly is arranged in the service platform, and a storage module is arranged in the bottom layer assembly and is used for storing a database, storing files and caching.
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.
An implementation method of an online editing service system comprises the following contents:
1) packaging the online editing function of the document into a JS component of the service platform, and meanwhile, setting data configuration related parameters and a predefined callback method for storing file storage information in the JS component;
2) the service platform issues a quote path of the JS component, and the JS component is quoted by the business system on a 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 of starting the JS component;
4) the service system calls an online editing function in the JS component according to actual requirements, and transmits data configuration related parameters and a predefined callback method in the JS component in the calling process;
5) the service system edits the document on line according to the called on-line editing function;
6) and the service system stores the document after online editing by adopting a predefined callback method.
Further, in the step 4), the service system calls the online editing function in the JS component and simultaneously transmits the corresponding system identifier, and sends the transmitted system identifier to the routing layer, and the routing layer forwards the received system identifier to the corresponding service platform for processing.
A processor comprises computer program instructions, wherein the computer program instructions, when executed by the processor, are configured to implement the steps corresponding to the implementation method of the online editing service system.
A computer readable storage medium, having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, are used for implementing the corresponding steps of the implementation method of the online editing service system.
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 quote the component when using the online editing function, does not need to care about specific implementation logic, only needs to transmit required parameters, and stores the document result after online editing in the callback module, thereby realizing the high decoupling of the online editing and the service logic of the service system.
2. If the service platform needs to be upgraded, the method only needs to upgrade related component functions in the service platform, a terminal user does not sense the component functions and does not need related processing, only the authority of the service system needs to be managed in the later stage, and related development work is avoided on the premise that no new function is added, so that the method can be widely applied to the field of online editing.
Drawings
Fig. 1 is a schematic structural diagram of an online editing service system according to an embodiment of the present invention;
fig. 2 is a schematic deployment diagram of an implementation method provided in the second embodiment of the present invention;
fig. 3 is a schematic diagram of an integration process of a JS component in the implementation method according to the second embodiment of the present invention;
fig. 4 is a schematic diagram of adding a routing layer in the implementation method provided by 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 invention are shown in the drawings, it should be understood that the invention can 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" may be intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises," "comprising," "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 specifically identified as an order of performance. It should also be understood 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 when the online editing function is used by the service system, access calling can be completed only by remotely quoting the JS component provided by the online editing service and directly calling the online editing function, and the whole calling process is simple and has less dependence. For the online editing function, if the related expansion is needed, the mode of adding a new function in the JS component can be adopted, the business system is not required to be informed to carry out related upgrading operation, the online editing service system adopts a layered mode during construction, all important components form an independent module, and the stability of the system and the expandability of the online editing service can be greatly enhanced.
Example 1
As shown in fig. 1, the embodiment provides an online editing service system, which includes a service platform and at least one service system, where a JS component (JS is a short for JavaScript and is a scripting language for Web page development) and the service component are disposed in the service platform, and each service system is provided with a call module, an editing module, and a callback module.
The JS component is internally provided with data configuration related parameters and a predefined callback method for storing file saving information, and is used for packaging the online editing function of the 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 the online editing mode according to the relevant parameters of the data configuration, and further determining the function started by the JS component.
And the calling module is used for calling the online editing function in the JS component according to the actual requirement and the function started by the service component.
And the editing module carries out online editing on the document according to the called online editing function.
The callback module is used for storing the document after online editing by adopting a predefined callback method, wherein relevant data is called back in a data flow or document directory mode.
In a preferred embodiment, the online editing service system further includes a routing layer, the calling module of the business system also transmits the corresponding system identifier while calling the online editing function in the JS component, and sends the transmitted system identifier to the routing layer, and the routing layer is configured to forward the received system identifier to the corresponding service platform for processing.
In a preferred embodiment, a function list configuration module, an editing 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 the online edited function list, and comprises storage, watermarking, review, read-only, content locking, template parameter rendering, red setting, electronic seal adding and the like.
The editing mode configuration module is used for configuring the editing modes of online editing, and comprises an editing mode, a read-only mode and a review mode.
And the authority checking module is used for checking the authority of the service 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 storing a database, storing files and caching.
The office calling module is used for calling office services such as payment services (such as an online editing function of android software pageoffice), open source components (such as a webofice open source version) and self-research components in a mode of opening a modal window or opening an integrated function page.
Example 2
As shown in fig. 2 and fig. 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, and meanwhile, setting data configuration related parameters and a predefined callback method for storing file saving information in the JS component.
2) And the service platform issues a quote path of the JS component, and the business system quotes the JS component on a front-end page.
3) And the service platform is used for configuring relevant parameters according to the data in the JS component, judging the mode of online editing and further determining the function started by the JS component.
4) And the business system calls an online editing function in the JS component according to actual requirements, and transmits data configuration related parameters and a predefined callback method in the JS component in the calling process.
5) The service platform performs database storage, file storage and cache storage, and performs payment service, open source components, self-research components and the like.
6) And the service system carries out online editing on the document according to the called online editing function.
7) And the service system stores the document after online editing by adopting a predefined callback method.
In the foregoing embodiment, as shown in fig. 4, in step 4), the service system transfers the corresponding system identifier while calling the online editing function in the JS component, and sends the transferred system identifier to the routing layer, and the routing layer forwards the received system identifier to the corresponding service platform for processing.
The key point of the invention is the JS component and the using mode thereof, the service component and the bottom layer component provide the support of the service, and the calling of the user is linked with the bottom layer service through the remote use of the JS component.
Example 3
This embodiment provides a processing device corresponding to the implementation method of the online editing system service provided in embodiment 2, where the processing device may be a processing device for a client, such as a mobile phone, a notebook computer, a tablet computer, a desktop computer, and the like, to execute the method of embodiment 1.
The processing equipment 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 mutual communication. The memory stores a computer program that can be run on the processor, and the processor executes the method for implementing the online editing system service provided in embodiment 1 when running the computer program.
In some implementations, the Memory may be a high-speed Random Access Memory (RAM), and may also include a non-volatile Memory, such as at least one disk Memory.
In other implementations, the processor may be various general-purpose processors such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), and the like, and is not limited herein.
Example 4
The implementation method of the online editing system service of embodiment 2 can be embodied as a computer program product, which may include a computer readable storage medium on which computer readable program instructions for executing the voice recognition method described in embodiment 1 are loaded.
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 memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any combination of the foregoing.
The above embodiments are only used for illustrating the present invention, and the structure, connection mode, manufacturing process, etc. of the components may be changed, and all equivalent changes and modifications performed on the basis of the technical solution of the present invention should not be excluded from the protection scope of the present invention.

Claims (10)

1. The utility model provides an online editing service system which characterized in that, includes service platform and at least one business system, wherein, be provided with in the service platform:
the JS component is internally provided with data configuration related parameters and a predefined callback method and is used for packaging the online editing function of the document;
the service component is used for judging the online editing mode according to the relevant parameters of the data configuration, and further determining the function started by the JS component;
each service system is internally provided with:
the calling module is used for calling the online editing function in the JS component according to the started function of the service component;
the editing module is used for editing the document on line according to the called online editing function;
and the callback module is used for storing the document after online editing by adopting a predefined callback method.
2. The online editing service system of claim 1, wherein the online editing service system further comprises a routing layer;
the calling module calls the online editing function in the JS component and simultaneously transmits the corresponding system identification, and transmits the transmitted system identification to the routing layer, and the routing layer is used for forwarding the received system identification to the corresponding service platform for processing.
3. An online editing service system according to claim 1 or 2, characterized in that, said service component is provided with:
the function list configuration module is used for configuring the online edited function list;
the editing mode configuration module is used for configuring an editing mode of online editing;
the authority checking module is used for checking the authority of the service system;
and the system management module is used for carrying out user management, authority management and dictionary management.
4. The online editing service system as claimed in claim 1 or 2, wherein a bottom component is further disposed in the service platform, and a storage module is disposed in the bottom component for database storage, file storage, and cache storage.
5. The online editing service system of claim 1, wherein the data configuration-related parameters include a document storage path, a document editing type, and a system identification.
6. The online editing service system of claim 1, wherein the editing modes of the online editing include an editing mode, a read-only mode, and a review mode.
7. An implementation method of an online editing service system is characterized by comprising the following contents:
1) packaging the online editing function of the document into a JS component of the service platform, and meanwhile, setting data configuration related parameters and a predefined callback method for storing file storage information in the JS component;
2) the service platform issues a quote path of the JS component, and the JS component is quoted by the business system on a 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 of starting the JS component;
4) the service system calls an online editing function in the JS component according to actual requirements, and transmits data configuration related parameters and a predefined callback method in the JS component in the calling process;
5) the service system edits the document on line according to the called on-line editing function;
6) and the service system stores the document after online editing by adopting a predefined callback method.
8. The method as claimed in claim 7, wherein in step 4), the service system calls the online editing function in the JS component and also introduces the corresponding system identifier, and sends the introduced system identifier to the routing layer, and the routing layer forwards the received system identifier to the corresponding service platform for processing.
9. A processor, characterized by comprising computer program instructions, wherein the computer program instructions, when executed by the processor, are used for implementing the steps corresponding to the implementation method of the online editing service system according to any one of claims 7 to 8.
10. A computer readable storage medium, wherein the computer readable storage medium stores computer program instructions, and the computer program instructions when executed by a processor are used for implementing the steps corresponding to the implementation method of the online editing service system according to any one of claims 7 to 8.
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 true CN113256259A (en) 2021-08-13
CN113256259B 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 (7)

* 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
US20150199307A1 (en) * 2012-08-08 2015-07-16 Google Inc. Pluggable Architecture For Optimizing Versioned Rendering of Collaborative Documents
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

Patent Citations (7)

* 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
US20150199307A1 (en) * 2012-08-08 2015-07-16 Google Inc. Pluggable Architecture For Optimizing Versioned Rendering of Collaborative Documents
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
CN113256259B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN107896162B (en) Deployment method and device of monitoring system, computer equipment and storage medium
CN102542382B (en) The method of operating of business rule and device
CN104866383B (en) Interface calling method and device and terminal
US20220156133A1 (en) Cross-Process Communication Method, Apparatus, and Device
CN104704468A (en) Cross system installation of WEB applications
CN114925084B (en) Distributed transaction processing method, system, equipment and readable storage medium
CN106528210A (en) Application running method and apparatus
CN111857777B (en) System updating method and device based on double-core intelligent ammeter and computer equipment
CN111414391A (en) Method and system for accessing multiple data sources
CN103853535A (en) Method and device for modifying middleware
WO2023071424A1 (en) Electronic device
JP6002302B2 (en) Web application generation system, Web application generation system control method, Web application generation system program, Web application generation device, Web application generation device control method, and Web application generation device program
CN113256259A (en) Online editing service system and implementation method thereof
CN115150392B (en) Remote file copying method, system, computing equipment and storage medium
US20040205744A1 (en) Management of co-processor information by integrating non-program information with program information
CN115630835A (en) Activity-based workflow general parameter configuration method and system
CN112380411B (en) Sensitive word processing method, device, electronic equipment, system and storage medium
CN111736930B (en) Program front-back end interface calling method and device, computer equipment and storage medium
CN112241276A (en) Equipment upgrading method and device
CN117234512B (en) Method, system, electronic equipment and storage medium for rapidly developing business
KR101771438B1 (en) Mobile communication terminal and Method for installing application thereof
CN114756291B (en) Hardware self-adaption method and device
JP4523196B2 (en) Management server for exchanging data with IC card and method executed by management server
JP2017228135A (en) Terminal device
CN115202830A (en) Root file system preparation method, system, computing device and readable storage medium

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