CN110276056B - Document editing method, device, equipment and system - Google Patents

Document editing method, device, equipment and system Download PDF

Info

Publication number
CN110276056B
CN110276056B CN201910450448.6A CN201910450448A CN110276056B CN 110276056 B CN110276056 B CN 110276056B CN 201910450448 A CN201910450448 A CN 201910450448A CN 110276056 B CN110276056 B CN 110276056B
Authority
CN
China
Prior art keywords
editing
document
recommendation information
content
information
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
CN201910450448.6A
Other languages
Chinese (zh)
Other versions
CN110276056A (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201910450448.6A priority Critical patent/CN110276056B/en
Publication of CN110276056A publication Critical patent/CN110276056A/en
Application granted granted Critical
Publication of CN110276056B publication Critical patent/CN110276056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/169Annotation, e.g. comment data or footnotes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • G06F40/247Thesauruses; Synonyms

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the specification provides a document editing method, device, equipment and system, wherein the application concept is that when a document is acquired from a server through a terminal, the document contains editing recommendation information for the content of the document, and the content of the document and the corresponding editing recommendation information are displayed; and when receiving the editing options of the user for the editing recommendation information, editing the document content according to the editing recommendation information corresponding to the editing options.

Description

Document editing method, device, equipment and system
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a system for editing a document.
Background
Data and information transmitted over the internet may provide support for users in terms of work, learning, and life. The document is used as a form and carrier of data and is provided for a user reading interface, and the user can read the required data and information by inquiring to acquire the document.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a document editing method, apparatus, device and system for improving user reading experience.
The embodiment of the specification adopts the following technical scheme:
the embodiment of the specification provides a document editing method, which comprises the following steps:
acquiring a document from a server, wherein the document contains editing recommendation information for the document;
displaying the content of the document and editing recommendation information in the document;
receiving editing options of the user for editing the recommendation information;
and editing the document according to the editing recommendation information corresponding to the editing options.
The embodiment of the specification also provides a document editing method, which comprises the following steps:
receiving historical editing information of different users on a document at a terminal;
when the received historical editing information meets preset recommendation conditions, determining editing recommendation information according to the historical editing information;
and inserting the historical editing information into the document so that a user edits the document by using the editing recommendation information.
The embodiment of the specification also provides a document editing system, which comprises:
the server receives historical editing information of a user on a document from the terminal, determines editing recommendation information according to the historical editing information when the received historical editing information meets preset recommendation conditions, and inserts the historical editing information into the document;
and the terminal acquires the document from the server, wherein the document contains editing recommendation information for the document, displays the content of the document and the corresponding editing recommendation information, receives editing options of a user for the editing recommendation information, and edits the document according to the editing recommendation information corresponding to the editing options.
The embodiment of the specification also provides a document editing device, which comprises:
the acquisition module acquires a document from a server, wherein the document contains editing recommendation information for the document;
the display module displays the content of the document and the editing recommendation information in the document;
the receiving module is used for receiving editing options of the user on the editing recommendation information;
and the editing module edits the document according to the editing recommendation information corresponding to the editing options.
The embodiment of the specification also provides a document editing device, which comprises:
the receiving module is used for receiving historical editing information of different users on the document at the terminal;
the determining module is used for determining editing recommendation information according to the history editing information when the received history editing information meets preset recommendation conditions;
and the insertion module is used for inserting the historical editing information into the document so that a user edits the document by using the editing recommendation information.
The embodiment of the specification also provides an electronic device, including:
at least one memory;
at least one processor;
wherein the at least one memory has a program stored therein and is configured to be executed by the at least one processor to:
acquiring a document from a server, wherein the document contains editing recommendation information for the document;
displaying the content of the document and editing recommendation information in the document;
receiving editing options of the user for editing the recommendation information;
and editing the document according to the editing recommendation information corresponding to the editing options.
The embodiment of the specification also provides an electronic device, including:
at least one memory;
at least one processor;
wherein the at least one memory has a program stored therein and is configured to be executed by the at least one processor to:
receiving historical editing information of different users on a document at a terminal;
when the received historical editing information meets preset recommendation conditions, determining editing recommendation information according to the historical editing information;
and inserting the historical editing information into the document so that a user edits the document by using the editing recommendation information.
The above-mentioned at least one technical scheme that this description embodiment adopted can reach following beneficial effect:
when a document is acquired from a server through a terminal, the document contains editing recommendation information for the document, and the content of the document and the corresponding editing recommendation information are displayed; and when receiving the editing options of the user for the editing recommendation information, editing the document content according to the editing recommendation information corresponding to the editing options. At the beginning of reading by a user, the document can be edited to a certain extent by utilizing the editing recommendation information, and the obstacle content existing in the document can be edited by utilizing the concept, so that the method is helpful for improving the reading experience of the user to a certain extent.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some of the embodiments described in the present description, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a document editing system according to an embodiment of the present disclosure;
FIG. 2 is a flowchart of a document editing method provided in an embodiment of the present disclosure;
FIGS. 3 to 5 are schematic views showing an application example of a document editing method according to an embodiment of the present disclosure;
FIG. 6 is a flowchart of a document editing method provided in an embodiment of the present disclosure;
FIG. 7 is a flowchart of a document editing method provided in an embodiment of the present disclosure;
FIG. 8 is a block diagram of a document editing apparatus provided in an embodiment of the present specification;
fig. 9 is a block diagram of a document editing apparatus provided in an embodiment of the present specification.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
Analysis of the prior art finds that documents downloaded from a server, such as online documents and web documents, sometimes contain a large number of terms referring to nature and overview, and also in professional documents, there are a large number of professional terms or contents such as repeated terms, which affect reading understanding and reading experience of users. It is not well known to the user that the document is read at the beginning, where it is impractical to require the user to edit the document in real time, and this does not improve the current user's reading experience.
The embodiment of the specification provides a method, a device, equipment and a system for editing a document, wherein the application is characterized in that when the document is acquired from a server through a terminal, the document contains editing recommendation information for the document, and the content of the document and the corresponding editing recommendation information are displayed; and when receiving the editing options of the user for the editing recommendation information, editing the document according to the editing recommendation information corresponding to the editing options. At the beginning of reading by a user, the document content can be edited to a certain extent by utilizing the editing recommendation information, and the obstacle content existing in the document can be edited by utilizing the concept, so that the method is helpful for improving the reading experience of the user to a certain extent.
It should be emphasized that the solutions provided by the solutions described in the embodiments of the present disclosure provide an inventive concept for improving the reading experience, which provides a possibility for replacing or deleting ambiguous terms such as terms of art, general terms, etc. in the document. However, the solutions described in the embodiments of the present disclosure are not used solely for word replacement or deletion, and editing recommendation information may also include editing operations such as labeling specific contents in a document, which are not limited herein.
Specifically, fig. 1 is a schematic structural diagram of a document editing system according to an embodiment of the present disclosure.
The document editing system described in the embodiments of the present specification may include:
the server 101 receives historical editing information of a user on a document from a terminal, determines editing recommendation information according to the historical editing information when the received historical editing information meets preset recommendation conditions, and inserts the historical editing information into the document;
the terminal 102 obtains a document from the server 101, wherein the document contains editing recommendation information for the document, displays the content of the document and the corresponding editing recommendation information, receives editing options of a user for the editing recommendation information, and edits the document according to the editing recommendation information corresponding to the editing options.
The document editing system described in the embodiments of the present disclosure provides an inventive concept, where the server 101 not only provides a document, but also monitors or receives historical editing information of different users on the document at the same time, so that editing recommendation information corresponding to the historical editing information can be inserted into the document.
The edit recommendation information includes an edit mode recommended for a specific content in the document. On the premise that the editing recommendation information is displayed in the document page when the terminal 102 downloads the document and opens the document, so that the user can edit the document in advance by using the editing recommendation information at the beginning of reading, and the possibility of improving reading is achieved.
Specifically, if the edit recommended information in the document is a replacement or deletion of a word that is obscure in terms of a professional term, a general word, or the like, the specific word may be replaced or deleted by the edit recommended information, thereby eliminating the reading obstacle caused by these words.
In addition, the editing recommendation information in the document acquired by the terminal 102 from the server 101 may be derived from historical editing information of different users, or may be editing recommendation information automatically generated by the server 101 according to the field described by the document.
In the embodiment of the present specification, the terminal 102 may acquire and display the document through a running browser. From this perspective, the type of document may be one of a web page document or an online document. Formally classified, the document may also be a structured document, such as a patent document or a specialized paper, which has a large number of specialized terms.
The user can edit the content of the editable element in the page using the content editable attribute of the browser, which is a new attribute in HTML 5. Alternatively, the user may edit the document using a script program in the document or browser.
Fig. 2 is a schematic flow chart of a document editing method according to an embodiment of the present disclosure, where an execution body of the method according to the embodiment of the present disclosure is a terminal, and may specifically be a browser running in the terminal.
Step 201: and acquiring a document from the server, wherein the document contains editing recommendation information for the document.
In the embodiment of the present specification, the document is obtained from the server side, and may be downloaded from the server side. Specifically, the document may be obtained from the server according to the user input.
In the embodiment of the present specification, obtaining a document from a server may include:
and acquiring the document from the server through the browser, so that the content of the document and the corresponding editing recommendation information are displayed on a browser page.
Specifically, the method comprises the following steps:
the browser receives a downloading request of a user for a document;
sending a downloading request to a server;
and opening the document while receiving the document from the server, and displaying the content of the document in a browser interface.
In an application example, obtaining, by a browser, a document from a server may include:
and obtaining the structured document from the server through a browser. Documents in HTML or XML format are examples of structured documents that contain tags that identify text fields and document attributes.
In addition, the editing recommendation information can be determined by the server according to the historical editing information of different users on the document, and can also be determined by the server according to the common paraphrasing of the field described by the document.
Step 203: and displaying the content of the document and the editing recommendation information in the document.
Editing recommendation information is inserted into the document and may be presented to the user along with the content of the document.
In the embodiment of the present specification, displaying the content of the document and the editing recommendation information in the document may include:
when the appointed operation of the user on the target content in the content of the document is detected, displaying the content of the document and editing recommendation information corresponding to the target content.
Wherein the target content can be one or more of vocabulary, sentences and paragraphs in the document. When the document is opened, some or all of the editing recommendation information may be hidden. When the user is detected to perform the designated operation on the target content, editing recommendation information corresponding to the target content can be displayed.
The specified operation may be a preset action such as a display screen being clicked, touched, swiped, etc.
In one example application, detecting a user's designation of target content in a document may include:
a selection operation of a target term in the document is detected. The selected action is not particularly limited.
Step 205: and receiving editing options of the user for editing the recommended information.
In the embodiment of the present specification, the editing options may be specific editing means selected from editing recommendation information.
Specifically, the editing recommendation information may include an editing mode and an editing option for the editing mode, so that the user makes an active selection.
In another application example, if the target content in the document has been edited in advance, the editing options may include deleting the editing and accepting the editing, which are not particularly limited herein.
Specifically, when the editing recommendation information includes inserting content in the document at the target position, receiving an editing option of the editing recommendation information by the user may include:
one of deletion and acceptance of the inserted content by the user is received.
And 207, editing the document according to the editing recommendation information corresponding to the editing options.
Specifically, editing the document according to the editing recommendation information corresponding to the editing options may include:
and re-rendering the document according to the editing options, or sending a downloading request for editing the document to the server, so as to realize re-displaying the document.
In the embodiment of the present specification, if editing information of the document by the user is detected, the editing information is sent to the server. With reference to the foregoing regarding the content of the browser, the document may be edited using a script or content editable attribute in the browser.
By using the method described in the embodiment of the specification, the content of the document can be edited to a certain extent by using the editing recommendation information at the beginning of reading by a user, and the obstacle content existing in the content of the document can be edited by using the concept, so that the method is helpful for improving the reading experience of the user to a certain extent.
Fig. 3 to 4 are schematic diagrams showing an application example of a document editing method according to an embodiment of the present disclosure. FIG. 3 illustrates a piece of document content in which the word "first input" in the original text, the corresponding editing recommendation information includes highlighting or replacement or otherwise.
In fig. 4, editing the recommendation information further includes "replace with Apple watch" according to user input.
Referring to FIG. 5, if accepted by the user, the first input in the primitive is replaced with Apple watch. Alternatively, apple watch may be highlighted.
Fig. 6 is a schematic flow chart of a document editing method according to an embodiment of the present disclosure, where an execution subject of the method according to the embodiment of the present disclosure is a server.
Step 602: and receiving historical editing information of different users on the document at the terminal.
Step 604: and when the received historical editing information meets preset recommendation conditions, determining editing recommendation information according to the historical editing information.
In an application example, the preset recommendation condition may be that the editing amount of the same historical editing information reaches a threshold value, or that specific historical editing information meets the requirements of the field.
Step 606: and inserting the historical editing information into the document so that a user edits the document by using the editing recommendation information.
By using the method described in the embodiment of the specification, editing recommendation information is inserted into a document at a server side, when the terminal downloads the document, the document content can be edited to a certain extent by using the editing recommendation information at the beginning of reading by a user, and the concept can be used for editing barrier content existing in the document content, so that the method is helpful for improving the reading experience of the user to a certain extent.
FIG. 7 is a flowchart of a document editing method according to an embodiment of the present disclosure.
Step 701: the client downloads the file from the server, completes analysis, and displays at least one of replacement objects, marks, inserts and deletes of target words in the file. The replacement object may be other words, line or segment descriptions, pictures or audios and videos, and the like, which are not listed here.
Step 703: and when the editing option of the receiving user is replacement, inquiring each target word in the document.
Step 705: and replacing each target word in the document by using the replacement object.
Fig. 8 is a block diagram of a document editing apparatus according to an embodiment of the present disclosure, and the document editing apparatus according to the embodiment of the present disclosure may include:
the acquiring module 801 acquires a document from a server, wherein the document contains editing recommendation information for the document;
a display module 802 for displaying the content of the document and the editing recommendation information in the document;
a receiving module 803 for receiving editing options of the user for editing the recommended information;
and the editing module 804 edits the document according to the editing recommendation information corresponding to the editing options.
Optionally, obtaining the document from the server includes:
and acquiring the document from the server through the browser, so that the content of the document and the corresponding editing recommendation information are displayed on a browser page.
Optionally, displaying the content of the document and the corresponding editing recommendation information includes:
when the appointed operation of the user on the target content in the document is detected, displaying the content of the document and editing recommendation information corresponding to the target content.
Optionally, detecting a user's designated operation on the target content in the document includes:
a selected operation on a target term in the document is detected.
By using the document editing device disclosed by the embodiment of the specification, the document content can be edited to a certain extent by using the editing recommendation information at the beginning of reading by a user, and the obstacle content existing in the document content can be edited by using the concept, so that the document editing device is helpful for improving the reading experience of the user to a certain extent.
Based on the same inventive concept, the embodiments of the present disclosure further provide an electronic device, including:
at least one memory;
at least one processor;
wherein the at least one memory has a program stored therein and is configured to be executed by the at least one processor to:
acquiring a document from a server, wherein the document contains editing recommendation information for the document;
displaying the content of the document and editing recommendation information in the document;
receiving editing options of the user for editing the recommendation information;
and editing the document according to the editing recommendation information corresponding to the editing options.
Based on the same inventive concept, there is also provided in the embodiments of the present specification a computer-readable storage medium including a program for use in conjunction with an electronic device, the program being executable by a processor to perform the steps of:
acquiring a document from a server, wherein the document contains editing recommendation information for the document;
displaying the content of the document and editing recommendation information in the document;
receiving editing options of the user for editing the recommendation information;
and editing the document according to the editing recommendation information corresponding to the editing options.
Fig. 9 is a schematic diagram of a document editing apparatus according to an embodiment of the present disclosure, which is applied to a server, and includes:
the receiving module 901 receives historical editing information of different users on documents at the terminal;
a determining module 902, configured to determine edit recommendation information according to the history edit information when the received history edit information meets a preset recommendation condition;
the insertion module 903 inserts the history editing information into the document so that the user edits the document using the editing recommendation information.
By using the device described in the embodiment of the specification, editing recommendation information is inserted into a document at a server, when the terminal downloads the document, the document content can be edited to a certain extent by using the editing recommendation information at the beginning of reading by a user, and the concept can be used for editing barrier content existing in the document content, so that the device is helpful for improving the reading experience of the user to a certain extent.
Based on the same inventive concept, the embodiments of the present disclosure further provide an electronic device, including:
at least one memory;
at least one processor;
wherein the at least one memory has a program stored therein and is configured to be executed by the at least one processor to:
receiving historical editing information of different users on a document at a terminal;
when the received historical editing information meets preset recommendation conditions, determining editing recommendation information according to the historical editing information;
and inserting the historical editing information into the document so that a user edits the document by using the editing recommendation information.
Note that, the electronic device has the functions of the operation device, and the description thereof is omitted here.
Based on the same inventive concept, there is also provided in the embodiments of the present specification a computer-readable storage medium including a program for use in conjunction with an electronic device, the program being executable by a processor to perform the steps of:
receiving historical editing information of different users on a document at a terminal;
when the received historical editing information meets preset recommendation conditions, determining editing recommendation information according to the historical editing information;
and inserting the historical editing information into the document so that a user edits the document by using the editing recommendation information.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, devices, non-volatile computer storage medium embodiments, the description is relatively simple, as it is substantially similar to method embodiments, with reference to the section of the method embodiments being relevant.
The apparatus, the device, the nonvolatile computer storage medium and the method provided in the embodiments of the present disclosure correspond to each other, and therefore, the apparatus, the device, the nonvolatile computer storage medium also have similar advantageous technical effects as those of the corresponding method, and since the advantageous technical effects of the method have been described in detail above, the advantageous technical effects of the corresponding apparatus, device, and nonvolatile computer storage medium are not described herein again.
In the 90 s of the 20 th century, improvements to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable Gate Array, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by using "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before the compiling is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but not just one of the hdds, but a plurality of kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), lava, lola, myHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers, and embedded microcontrollers, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent change, improvement, etc. that comes within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (18)

1. A document editing method, comprising:
acquiring a document from a server, wherein the document contains editing recommendation information for the document; the editing recommendation information is derived from historical editing information of different users and/or editing recommendation information automatically generated by a server according to the field described by the document;
when the appointed operation of a user on target content in the content of the document is detected, displaying the content of the document and editing recommendation information corresponding to the target content in the document;
receiving editing options of the user for editing the recommendation information;
editing the document according to the editing recommendation information corresponding to the editing options, and highlighting the edited corresponding content.
2. The method of claim 1, obtaining a document from a server, comprising:
and acquiring the document from the server through the browser, so that the content of the document and the corresponding editing recommendation information are displayed on a browser page.
3. The method of claim 2, obtaining, by the browser, the document from the server, comprising:
and obtaining the structured document from the server through a browser.
4. The method of claim 1, presenting content of the document and corresponding editing recommendation information, comprising:
when the appointed operation of the user on the target content in the document is detected, displaying the content of the document and editing recommendation information corresponding to the target content.
5. The method of claim 4, detecting a user specified operation on target content in the document, comprising:
a selected operation on a target term in the document is detected.
6. The method of claim 5, displaying editing recommendation information corresponding to the content of the document and the target content, comprising:
at least one of a replacement object and a designation of the target word is presented.
7. The method of claim 6, when the editing option is replacement, editing the document according to the editing recommendation information corresponding to the editing option, comprising:
querying each target term in the document;
and replacing each target word in the document by using the replacement object.
8. The method of claim 1, receiving user editing options for the editing-recommendation information when the editing-recommendation information includes inserting content at a target location in the document, comprising:
one of deletion and acceptance of the inserted content by the user is received.
9. The method of claim 1, further comprising:
and if the editing information of the user on the document is detected, the editing information is sent to the server.
10. A document editing method is applied to a server and comprises the following steps:
receiving historical editing information of different users on a document at a terminal;
when the received historical editing information meets preset recommendation conditions, determining editing recommendation information according to the historical editing information;
and inserting the historical editing information and/or the editing recommendation information automatically generated by the server according to the field described by the document into the document, so that after a user performs specified operation on target content in the content of the document, the document can be edited by utilizing the editing recommendation information corresponding to the target content, and the edited corresponding content is highlighted.
11. A document editing system, comprising:
the server side receives the historical editing information of the user on the document from the terminal, determines editing recommendation information according to the historical editing information when the received historical editing information meets preset recommendation conditions, and inserts the historical editing information into the document and/or automatically generates the editing recommendation information according to the field described by the document;
and the terminal acquires the document from the server, wherein the document comprises editing recommendation information of the document, when the appointed operation of a user on target content in the content of the document is detected, the content of the document and the editing recommendation information corresponding to the target content are displayed, editing options of the user on the editing recommendation information are received, the document is edited according to the editing recommendation information corresponding to the editing options, and the edited corresponding content is highlighted.
12. A document editing apparatus comprising:
the acquisition module acquires a document from a server, wherein the document contains editing recommendation information for the document; the editing recommendation information is derived from historical editing information of different users and/or editing recommendation information automatically generated by a server according to the field described by the document;
the display module is used for displaying the content of the document and editing recommendation information corresponding to the target content in the document when the appointed operation of a user on the target content in the content of the document is detected;
the receiving module is used for receiving editing options of the user on the editing recommendation information;
and the editing module edits the document according to the editing recommendation information corresponding to the editing options, and highlights the edited corresponding content.
13. The apparatus of claim 12, obtaining a document from a server, comprising:
and acquiring the document from the server through the browser, so that the content of the document and the corresponding editing recommendation information are displayed on a browser page.
14. The apparatus of claim 12, presenting content of the document and corresponding editing recommendation information, comprising:
when the appointed operation of the user on the target content in the document is detected, displaying the content of the document and editing recommendation information corresponding to the target content.
15. The apparatus of claim 14, detecting a user-specified operation on target content in the document, comprising:
a selected operation on a target term in the document is detected.
16. A document editing apparatus applied to a server side, comprising:
the receiving module is used for receiving historical editing information of different users on the document at the terminal;
the determining module is used for determining editing recommendation information according to the history editing information when the received history editing information meets preset recommendation conditions;
and the insertion module is used for inserting the historical editing information and/or the editing recommendation information automatically generated by the server according to the field described by the document into the document, so that after a user performs specified operation on target content in the content of the document, the document can be edited by utilizing the editing recommendation information corresponding to the target content, and the edited corresponding content is highlighted.
17. An electronic device, comprising:
at least one memory;
at least one processor;
wherein the at least one memory has a program stored therein and is configured to be executed by the at least one processor to:
acquiring a document from a server, wherein the document contains editing recommendation information for the document; the editing recommendation information is derived from historical editing information of different users and/or editing recommendation information automatically generated by a server according to the field described by the document;
when the appointed operation of a user on target content in the content of the document is detected, displaying the content of the document and editing recommendation information corresponding to the target content in the document;
receiving editing options of the user for editing the recommendation information;
editing the document according to the editing recommendation information corresponding to the editing options, and highlighting the edited corresponding content.
18. An electronic device, comprising:
at least one memory;
at least one processor;
wherein the at least one memory has a program stored therein and is configured to be executed by the at least one processor to:
receiving historical editing information of different users on a document at a terminal;
when the received historical editing information meets preset recommendation conditions, determining editing recommendation information according to the historical editing information;
and inserting the historical editing information and/or the editing recommendation information automatically generated by the server according to the field described by the document into the document, so that after a user performs specified operation on target content in the content of the document, the document can be edited by utilizing the editing recommendation information corresponding to the target content, and the edited corresponding content is highlighted.
CN201910450448.6A 2019-05-28 2019-05-28 Document editing method, device, equipment and system Active CN110276056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910450448.6A CN110276056B (en) 2019-05-28 2019-05-28 Document editing method, device, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910450448.6A CN110276056B (en) 2019-05-28 2019-05-28 Document editing method, device, equipment and system

Publications (2)

Publication Number Publication Date
CN110276056A CN110276056A (en) 2019-09-24
CN110276056B true CN110276056B (en) 2023-08-22

Family

ID=67959102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910450448.6A Active CN110276056B (en) 2019-05-28 2019-05-28 Document editing method, device, equipment and system

Country Status (1)

Country Link
CN (1) CN110276056B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111062192A (en) * 2019-12-17 2020-04-24 支付宝(杭州)信息技术有限公司 Information notification method, device and equipment
CN114997118A (en) * 2021-03-02 2022-09-02 北京字跳网络技术有限公司 Document processing method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106575287A (en) * 2014-06-24 2017-04-19 谷歌公司 Systems and methods for managing suggested edits in a collaborative document editing environment
CN109144954A (en) * 2018-09-18 2019-01-04 天津字节跳动科技有限公司 Edit resource recommendation method, device and the electronic equipment of document

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9785693B2 (en) * 2014-06-30 2017-10-10 Microsoft Technology Licensing, Llc Intelligent conflict detection and semantic expression of document edits

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106575287A (en) * 2014-06-24 2017-04-19 谷歌公司 Systems and methods for managing suggested edits in a collaborative document editing environment
CN109144954A (en) * 2018-09-18 2019-01-04 天津字节跳动科技有限公司 Edit resource recommendation method, device and the electronic equipment of document

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
文档协同处理***的设计与实现;高瑜蔚;侯霞;;北京信息科技大学学报(自然科学版)(01) *

Also Published As

Publication number Publication date
CN110276056A (en) 2019-09-24

Similar Documents

Publication Publication Date Title
CN105824830B (en) Method, client and equipment for displaying page
CN112364277B (en) Webpage loading method and device
CN106933887B (en) Data visualization method and device
CN108549562A (en) A kind of method and device of image load
CN111144126A (en) Training method of semantic analysis model, semantic analysis method and device
CN110276056B (en) Document editing method, device, equipment and system
US11074037B2 (en) Voice broadcast method and apparatus
CN112000329B (en) Data display method, device, equipment and medium
CN113672323A (en) Page display method and device
CN113360385A (en) Test method, device, equipment and medium
CN110262749A (en) A kind of web page operation method, apparatus, container, equipment and medium
CN107025259A (en) A kind of deployment method of details page, equipment and mobile terminal
CN107368236B (en) Method and device for displaying titles in information directory
CN107341155A (en) File designation method and device
CN111209277B (en) Data processing method, device, equipment and medium
CN112966577A (en) Method and device for model training and information providing
CN116662657A (en) Model training and information recommending method, device, storage medium and equipment
CN111538667A (en) Page testing method and device
CN116151199A (en) Method, device and equipment for generating network-connected vehicle test report
CN115081423A (en) Document editing method and device, electronic equipment and storage medium
CN111581574B (en) Method and device for displaying guide information
CN116136757A (en) Log output method and device and electronic equipment
CN113435950A (en) Bill processing method and device
CN113821437B (en) Page test method, device, equipment and medium
CN117807961B (en) Training method and device of text generation model, medium and electronic equipment

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
TA01 Transfer of patent application right

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant