Online document editing and displaying method and device, electronic equipment and storage medium

A document editing and document technology, applied in the direction of program control devices, electrical digital data processing, instruments, etc., can solve the problems of unsupported, unfavorable expansion, unfavorable complex functions, etc., achieve the effect of optimizing performance overhead and improving application fluency

Pending Publication Date: 2021-02-26
BEIJING MININGLAMP SOFTWARE SYST CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. Directly operate the Dom to edit the document, which is not conducive to the realization of some complex functions
[0006] 2. The server stores all document nodes as a whole, not small reusable units, which is not conducive to expansion
[0007] 3. All nodes are directly inserted into the document when displaying, which is not conducive to personalized display according to different needs
[0008] 4. The support for collaborative editing is not friendly, or even not supported

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Online document editing and displaying method and device, electronic equipment and storage medium
  • Online document editing and displaying method and device, electronic equipment and storage medium
  • Online document editing and displaying method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] refer to figure 1 as shown, figure 1 It is a schematic diagram of the steps of the method for realizing online document editing and display based on the enterprise WeChat provided by the present invention. Such as figure 1 As shown, this embodiment discloses a specific implementation of a method for editing and displaying online documents based on WeChat Enterprise (hereinafter referred to as the "method").

[0067] Specifically, the method disclosed in this embodiment mainly includes the following steps:

[0068] Step S1: Get the document data from the server and initialize the document state, and judge whether the data unit is obtained.

[0069] Specifically, a layer of data middle layer is optimized and abstracted between user operations and Dom operations. The data middle layer is composed of multiple data units, and the data units are used to record user operations. Among them, the Document Object Model (Document ObjectModel, DOM for short) is a standard API fo...

Embodiment 2

[0093] Combining with the method for realizing online document editing and display based on corporate WeChat disclosed in Embodiment 1, this embodiment discloses a specific implementation example of a device for realizing online document editing and display based on corporate WeChat (hereinafter referred to as "device").

[0094] refer to image 3 As shown, the device includes:

[0095] Initialization module 11: obtain the document data from the server and initialize the document state, and judge whether the data unit is obtained;

[0096] Data intermediate layer updating module 12: if the data unit is not obtained, the user performs an operation to call a service provided by the data intermediate layer to update the data intermediate layer;

[0097] The application update module 13; the data intermediate layer changes, triggers the monitoring service, and notifies the application update;

[0098] Judging module 14: the application obtains all data units of the data middle l...

Embodiment 3

[0109] combine Figure 4 As shown, this embodiment discloses a specific implementation manner of a computer device. The computer device may comprise a processor 81 and a memory 82 storing computer program instructions.

[0110] Specifically, the processor 81 may include a central processing unit (CPU), or an Application Specific Integrated Circuit (ASIC for short), or may be configured to implement one or more integrated circuits in the embodiments of the present application.

[0111] Among them, the memory 82 may include mass storage for data or instructions. For example without limitation, the memory 82 may include a hard disk drive (Hard Disk Drive, referred to as HDD), a floppy disk drive, a solid state drive (SolidState Drive, referred to as SSD), flash memory, optical disk, magneto-optical disk, magnetic tape or universal serial bus (Universal Serial Bus, referred to as USB) drive or a combination of two or more of the above. Storage 82 may comprise removable or non-r...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an online document editing and displaying method and device, electronic equipment and a storage medium. The method comprises the steps of obtaining document data from a server,initializing a document state, and judging whether a data unit is obtained or not; if the data unit is not acquired, executing the operation by a user, and calling the service provided by a data intermediate layer to update the data intermediate layer; when the data intermediate layer changes, triggering a monitoring service, and notifying an application to update; acquiring all data units of thedata intermediate layer by the application and judging whether the data units are changed or not in a polling manner; rendering all changed data units in the data intermediate layer into real document nodes according to rendering logic customized by the application; and updating the real document nodes into the document view.

Description

technical field [0001] The present invention relates to the technical field of online document data processing, and in particular to a method, device, electronic device and storage medium for realizing online document editing and display based on enterprise WeChat. Background technique [0002] Enterprise WeChat is an enterprise communication and office tool created by Tencent's WeChat team. It has the same communication experience as WeChat, rich OA applications, and the ability to connect to the WeChat ecosystem. It can help companies connect internally, connect with ecological partners, and connect with consumers. Professional collaboration, security management, people as a service. At present, Enterprise WeChat has covered more than 50 industries such as retail, education, finance, manufacturing, Internet, and medical care, and is continuing to export smart solutions to all walks of life. The outstanding feature of WeChat Work is that it is more secure in terms of atten...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/166G06F9/451G06Q10/10
CPCG06Q10/101G06F9/451G06F40/166
Inventor 肖凯
Owner BEIJING MININGLAMP SOFTWARE SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products