WO2022184037A1 - 文档处理方法、装置、设备和介质 - Google Patents
文档处理方法、装置、设备和介质 Download PDFInfo
- Publication number
- WO2022184037A1 WO2022184037A1 PCT/CN2022/078526 CN2022078526W WO2022184037A1 WO 2022184037 A1 WO2022184037 A1 WO 2022184037A1 CN 2022078526 W CN2022078526 W CN 2022078526W WO 2022184037 A1 WO2022184037 A1 WO 2022184037A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- document
- information
- content block
- content
- block
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 39
- 238000000034 method Methods 0.000 claims abstract description 31
- 238000003780 insertion Methods 0.000 claims abstract description 11
- 230000037431 insertion Effects 0.000 claims abstract description 11
- 238000009877 rendering Methods 0.000 claims description 55
- 238000012545 processing Methods 0.000 claims description 41
- 230000004044 response Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 11
- 230000002452 interceptive effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
Definitions
- the embodiments of the present disclosure relate to the technical field of data processing, and in particular, to a document processing method, apparatus, device, and medium.
- Embodiments of the present disclosure provide a document processing method, apparatus, device, and medium, so that a user can intuitively know the reference relationship between a content block and a source document in a first document.
- an embodiment of the present disclosure provides a document processing method, including:
- the information of the second document and the information of the content block are displayed in the first document; wherein, the content block is preset by the online document software, or set by the user.
- an embodiment of the present disclosure further provides a document processing apparatus, including:
- a receiving module configured to receive an insert instruction of a content block in the first document, wherein the content block belongs to the second document;
- the first display module is configured to display the information of the second document and the information of the content block in the first document; wherein, the content block is preset by the online document software, or set by the user.
- an embodiment of the present disclosure further provides a document processing device, including:
- processors one or more processors
- memory for storing one or more programs
- the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the document processing method according to any one of the embodiments of the present disclosure.
- an embodiment of the present disclosure further provides a medium, where the medium stores a computer program, and when the computer program is executed by a processor, implements the document processing method according to any one of the embodiments of the present disclosure.
- the document processing method includes: receiving an insertion instruction of a content block in a first document, wherein the content block belongs to the second document; displaying the second document in the first document
- the information of the document and the information of the content block, wherein the content block is preset by the online document software, or set by the user.
- the technical solutions of the embodiments of the present disclosure display the information of the second document and the information of the content block in the first document after receiving the instruction for inserting the content block in the first document, so that the user can intuitively display the information of the content block in the first document. Understand the reference relationship between the content block and the source document, thereby improving the user's convenience.
- FIG. 1 is a flowchart of a document processing method provided by an embodiment of the present disclosure
- FIG. 2 is a flowchart of another document processing method provided by an embodiment of the present disclosure.
- FIG. 3 is a schematic diagram of displaying information of a content block and information of a second document provided by an embodiment of the present disclosure
- FIG. 5 is a schematic structural diagram of a document processing apparatus provided by an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a document processing device provided by an embodiment of the present disclosure.
- the term “including” and variations thereof are open-ended inclusions, ie, "including but not limited to”.
- the term “based on” is “based at least in part on.”
- the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
- FIG. 1 is a flow chart of a document processing method provided by an embodiment of the present disclosure. This embodiment is applicable to the case where the reference relationship between the content block and the source document is visually displayed in the first document.
- the method may be performed by a document processing apparatus, and the document processing apparatus may be implemented by means of software and/or hardware. Among them, the document processing method is applied in the document processing device.
- the document processing device may be a computer device.
- the document processing method provided in this embodiment can be specifically used on computer equipment, and can be considered to be specifically executed by a document processing device integrated on the computer equipment, wherein the computer equipment may specifically include a processor, Computer equipment with memory, input devices, and output devices.
- the computer equipment may specifically include a processor, Computer equipment with memory, input devices, and output devices.
- the document processing method provided by this embodiment mainly includes steps S110 and S120.
- the content block belongs to the second document.
- the first document may be an editable document displayed on the display interface of the document processing device.
- the type of the first document is not limited.
- the first document may be any editable document such as a Word document, a txt document, an Excel document, and a PDF document.
- the content block is a piece of data that can be independently collaborated and recorded.
- the definition of the content block can be preset by the online document software, or can be customized by the user.
- the content block can be distinguished based on the content type, such as text, pictures, tables, etc. Separators distinguish content blocks, such as "carriage return", “paragraph separator", “section break”, etc.; the separation boundary of content blocks can also be set by user operations.
- the content block belongs to the second document. It can be understood that the content block in the second document is referenced in the first document. In an embodiment, the block of content in the second document is inserted into the first document. Of course, in the actual operation process, it is determined that the user has the reference authority (reading authority and sharing authority) and editing authority for the source document of the content block, before the content block in the second document can be inserted into the first document.
- the reference authority reading authority and sharing authority
- editing authority for the source document of the content block
- the information of the second document includes one of the following: a title of the second document; a label of the second document; information of a content block in the second document.
- the title of the second document refers to the subject name of the second document; the label of the second document may be keywords or descriptive information extracted based on the content in the second document.
- the information of the second document may also be directly represented by the information of one of the content blocks in the second document.
- the information of the second document and the information of the content block are displayed in the first document.
- displaying the information of the second document in the first document can be understood as displaying the reference source of the content block (that is, the information of the second document) in the first document.
- displaying the information of the content block in the first document can be understood as displaying the referenced content block in the first document.
- the information of the second document and the information of the content block are displayed in the first document, so that the user can intuitively display the information of the content block in the first document. Understand the reference relationship between the content block and the source document, thereby improving the user's convenience.
- FIG. 2 is a flowchart of another document processing method provided by an embodiment of the present disclosure. This embodiment further describes the document processing method on the basis of the above-mentioned embodiment. As shown in FIG. 2, the document processing method in this embodiment includes the following steps:
- the content block belongs to the second document.
- S220 specifically includes: displaying the information of the second document in the content block of the first document or in the associated area of the content block.
- the first document by displaying the information of the second document and the information of the content block in the content block of the first document or in the associated area of the content block, it is shown that the content block is not the original content in the first document , but referenced from other documents (such as the second document).
- the reference source of the content block is displayed.
- the associated area of the content block refers to the surrounding area of the content block.
- S220 specifically includes: displaying the information of the content block and/or the information of the second document in the first display mode.
- the information of the content block is displayed by the first display module, which is used to reflect that the content block is not the original content in the first document, but is referenced from other documents (such as the second document).
- the information of the second document may also be displayed to display the reference source of the content block.
- FIG. 3 is a schematic diagram of displaying information of a content block and information of a second document provided by an embodiment of the present disclosure. As shown in FIG. 3 , the content block displayed in the form of a vertical line on the left is the quoted content, not the original content in the first document. At the same time, "From XXX" is displayed above the content block as the reference source of the content block, so that the user can intuitively see the reference source of the content block.
- the triggering operation on the information of the content block or the information of the second document refers to a click operation on the information of the content block or the information of the second document; it may also be the information of the content block or the information of the second document information focusing operation.
- S240 Locate and display content block information or information of the second document in the second document.
- the second document is popped up on the display interface of the first document, and the positioning mark of the content block information is positioned to the content block information or information of the second document.
- the mouse cursor can be positioned on the content block information of the second document, or directly positioned on the information of the second document. It can be understood that the information of the second document and the information of the content block can be interacted, that is, after receiving the click operation on the information of the second document or the information of the content block, the second document is automatically opened, and the jump to the first The location where the information of the content block in the second document or the information of the second document is located.
- FIG. 4 is a flowchart of another document processing method provided by an embodiment of the present disclosure. This embodiment further describes the document processing method on the basis of the above-mentioned embodiment. As shown in FIG. 4 , the document processing method in this embodiment includes the following steps:
- the content block belongs to the second document.
- the document processing device after receiving an instruction for inserting a content block in the first document, the document processing device automatically acquires all rendering mode options corresponding to the content block from its own database. It can be understood that all rendering mode options corresponding to each content block are pre-stored in the document processing device. Of course, when the first document is an online document, all rendering mode options corresponding to the content block may also be directly obtained from the server corresponding to the document processing device. It should be noted here that the rendering mode options contained in each content block may be the same or different, which is not limited, that is, the rendering mode options corresponding to the content block and the type of the content block Or form related, can be adjusted according to the type or form of the content block.
- each content block contains the same rendering mode options, which can be the same number of rendering mode options, or the same rendering mode corresponding to the rendering mode options, or the number of rendering mode options, and each The rendering modes corresponding to the rendering mode options are all the same. It should be noted that each rendering mode option corresponds to a rendering mode, that is, there is a one-to-one correspondence between the rendering mode options and the rendering mode.
- the first interactive area is used to carry and display the rendering mode options of the content block.
- the rendering mode options are displayed in the first interaction area according to the preset priority order for the user to select the corresponding rendering mode. It can be understood that the priority set for the rendering mode option is related to the document software used for the first document, and details are not repeated here.
- the user clicks one of the rendering mode options in the first interaction area according to his own needs, and highlights the rendering mode option clicked by the user to distinguish User-selected render mode options and unselected render mode options.
- the selection instruction refers to the user's operation on the rendering mode option.
- the selection operation corresponding to the selection instruction may include a click operation and a switch operation.
- the user can switch the rendering mode options through the direction keys on the keyboard (for example, the up key, the down key, the left key or the right key); or directly move the cursor to the user's desired selection through the mouse. Above the rendering mode option, and click the rendering mode corresponding to the rendering mode option with the mouse.
- rendering the information of the second document and the information of the content block into the first document for display includes: in response to selecting the first rendering mode, rendering the information and the content block of the second document in the first display mode information, wherein, in the first display mode, the information of the second document and the information of the content block are different from the display style of the content in the first document; in response to selecting the second rendering mode, the second display mode is used to render the first The information of the two documents and the information of the content block, wherein, in the second display mode, the information of the second document and the information of the content block have the same display style as the content in the first document.
- the first display mode refers to a special form, that is, the information used to distinguish the information of the second document and the information of the content block, which is different from the display style of the content in the first document. For example, as shown in FIG. 3 , in the content block A vertical line is added to the left of the information.
- the second display module refers to the same display mode as the first document, that is, in the second display mode, the information of the second document and the information of the content block are the same as the display style of the content in the first document.
- the method further includes: in response to triggering an operation on a preset component associated with the content block, acquiring and displaying the document into which the content block has been inserted. Information.
- the preset component triggers the operation to obtain the information of the document associated with the content block.
- the information of the document associated with the content block may be the source document of the content block, or may be the reference document of the content block.
- the acquisition channels of all referenced documents of the content block may include: a server or a local database.
- the document name and document identifier of the associated document of the first document may be displayed on the interface.
- the referenced documents may have the same document name.
- referenced document identifiers may be used to distinguish them.
- FIG. 5 is a schematic structural diagram of a document processing apparatus provided by an embodiment of the present disclosure. This embodiment can be applied to the case where the reference source corresponding to the content block is visually displayed in the first document.
- the document processing apparatus can use software and/or hardware. way to achieve.
- the document processing device is integrated into the computer device.
- the document processing apparatus mainly includes: a receiving module 410 and a first display module 420 .
- the receiving module 410 is configured to receive an insertion instruction of a content block in the first document, wherein the content block belongs to the second document;
- the first display module 420 is configured to display the information of the second document and the information of the content block in the first document, wherein the content block is preset by the online document software, or set by the user.
- the above-mentioned apparatus is configured to perform the following operations: receiving an insertion instruction of a content block in a first document, where the content block belongs to a second document; and displaying information of the second document in the first document and information of content blocks, wherein the content blocks are preset by the online document software, or set by the user.
- the technical solutions of the embodiments of the present disclosure display the information of the second document and the information of the content block in the first document after receiving the instruction for inserting the content block in the first document, so that the user can intuitively display the information of the content block in the first document. Understand the reference relationship between the content block and the source document, thereby improving the user's convenience.
- the display module is specifically configured to: display the information of the second document in the content block of the first document or in the associated area of the content block.
- the display module is specifically configured to: display the information of the content block and/or the information of the second document in the first display mode.
- the information of the second document includes one of the following: a title of the second document; a label of the second document; information of a content block in the second document.
- the document processing apparatus further includes:
- the second display module is configured to display the second document in response to a triggering operation on the information of the content block or the information of the second document.
- a second document package is displayed, which is specifically used for:
- the content block information or information of the second document is located and displayed in the second document.
- the document processing apparatus further includes:
- a first obtaining module configured to obtain the rendering mode option corresponding to the content block after receiving the insertion instruction of the content block in the first document;
- the third display module is used for displaying the rendering mode options to the first interaction area.
- the first display module is specifically configured to: in response to the selection instruction of the rendering mode of the information of the second document and the information of the content block, render the information of the second document and the information of the content block to the displayed in the first document.
- rendering the information of the second document and the information of the content block into the first document for display including:
- the information of the second document and the information of the content block are rendered in the first display mode, wherein, in the first display mode, the information of the second document and the information of the content block are the same as those in the first document.
- the display style of the content is different;
- the information of the second document and the information of the content block are rendered in the second display mode, wherein, in the second display mode, the information of the second document and the information of the content block are the same as those in the first document.
- the content is displayed in the same style.
- the document processing apparatus further includes:
- the second acquiring module is configured to acquire and display the information of the document into which the content block has been inserted in response to triggering an operation on a preset component associated with the content block after displaying the information of the second document and the information of the content block in the first document .
- the information of the document includes one of the following: a document name and a document identifier.
- the document processing apparatus provided in this embodiment can execute the document processing method provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to executing the document processing method.
- FIG. 6 is a schematic structural diagram of a document processing device provided by an embodiment of the present disclosure.
- a document processing device eg, a terminal device or a server in FIG. 6
- Terminal devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (eg, mobile terminals such as in-vehicle navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, and the like.
- the document processing apparatus shown in FIG. 6 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present disclosure.
- a document processing apparatus 500 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 501, which may be loaded into a random Various appropriate actions and processes are executed by accessing the program in the memory (RAM) 503 .
- RAM memory
- various programs and data necessary for the operation of the document processing apparatus 500 are also stored.
- the processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504.
- An input/output (I/O) interface 505 is also connected to bus 504 .
- the following devices may be connected to the I/O interface 505: input devices 508 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 507 such as a computer; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509 .
- Communication means 509 may allow document processing device 500 to communicate wirelessly or by wire with other devices to exchange data.
- FIG. 6 shows the document processing apparatus 500 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
- the computer program may be downloaded and installed from the network via the communication device 509, or from the storage device 508, or from the ROM 502.
- the processing apparatus 501 When the computer program is executed by the processing apparatus 501, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
- Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
- the client and server can use any currently known or future developed network protocols such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium.
- Data communications eg, communications networks
- Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
- LAN local area networks
- WAN wide area networks
- the Internet eg, the Internet
- peer-to-peer networks eg, ad hoc peer-to-peer networks
- the above-mentioned computer-readable medium may be included in the above-mentioned document processing apparatus; or may exist alone without being incorporated into the document processing apparatus.
- the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the document processing device, the document processing device:
- the information of the second document and the information of the content block are displayed in the first document, wherein the content block is preset by the online document software or set by the user.
- Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
- LAN local area network
- WAN wide area network
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
- the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
- the units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Among them, the name of the unit does not constitute a limitation of the unit itself under certain circumstances.
- exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
- FPGAs Field Programmable Gate Arrays
- ASICs Application Specific Integrated Circuits
- ASSPs Application Specific Standard Products
- SOCs Systems on Chips
- CPLDs Complex Programmable Logical Devices
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
- machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
- RAM random access memory
- ROM read only memory
- EPROM or flash memory erasable programmable read only memory
- CD-ROM compact disk read only memory
- magnetic storage or any suitable combination of the foregoing.
- document processing methods, apparatuses, devices, and media including:
- the information of the second document and the information of the content block are displayed in the first document; wherein, the content block is preset by the online document software, or set by the user.
- a document processing method, apparatus, device, and medium are provided, and the displaying of the information of the second document and the information of the content block in the first document includes:
- the information of the second document is displayed in the content block of the first document or in an associated area of the content block.
- a document processing method, apparatus, device, and medium are provided, and the displaying of the information of the second document and the information of the content block in the first document includes:
- the information of the content block and/or the information of the second document is displayed in a first display mode.
- a document processing method, apparatus, device, and medium are provided, and the information of the second document includes one of the following: a title of the second document; the second document The tag of the document; information about a content block in the second document.
- a document processing method, apparatus, device and medium further comprising:
- the second document is displayed in response to a triggering operation on the information of the content block or the information of the second document.
- a document processing method, apparatus, device, and medium wherein the displaying the second document includes:
- the content block information or the information of the second document is located and displayed in the second document.
- a document processing method, apparatus, device, and medium After receiving an instruction for inserting a content block in the first document, the method further includes: acquiring a rendering mode corresponding to the content block options;
- a document processing method, apparatus, device, and medium wherein the information of the second document and the information of the content block are displayed in the first document, include:
- the information of the second document and the information of the content block is rendered into the first document for display.
- a document processing method, apparatus, device and medium for rendering information of the second document and information of the content block into the first document display including:
- rendering the information of the second document and the information of the content block in a first display mode wherein, in the first display mode, the information of the second document and the information of the content block are rendered in a first display mode.
- the information of the content block is different from the display style of the content in the first document;
- the information of the second document and the information of the content block are rendered in a second display mode, wherein in the second display mode, the information of the second document and the information of the content block are rendered in a second display mode.
- the information of the content block is the same as the display style of the content in the first document.
- a document processing method, apparatus, device and medium after displaying the information of the second document and the information of the content block in the first document, further include:
- a document processing method, apparatus, device, and medium are provided, and the information of the document includes one of the following: a document name and a document identifier.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Document Processing Apparatus (AREA)
Abstract
提供一种文档处理方法、装置、设备和介质。方法包括:在第一文档中接收内容块的***指令(S110),其中,内容块属于第二文档;在第一文档中显示第二文档的信息和内容块的信息(S120);其中,内容块由在线文档软件预先设置,或者由用户自定义设置。通过在第一文档中接收到内容块的***指令之后,在第一文档中显示第二文档的信息和内容块的信息,实现了用户在第一文档中可以直观地了解到内容块与源文档之间的引用关系,从而提升了用户的使用便利性。
Description
本公开要求于2021年03月01日提交中国专利局、申请号为202110227791.1、发明名称为“文档处理方法、装置、设备和介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
本公开实施例涉及数据处理技术领域,尤其涉及一种文档处理方法、装置、设备和介质。
随着科技的不断发展,电子文档的使用越来越广泛。在用户将一个文档中的部分内容复制到另一个文档时,可执行如下操作:用户打开源文档,并从中查找到需要的部分内容,然后执行复制操作;接着再打开目标文档,在目标文档中执行粘贴的操作,从而完成在目标文档中添加该部分内容的功能。但对于用户来说,在目标文档中难以对复制内容进行溯源。
发明内容
本公开实施例提供一种文档处理方法、装置、设备和介质,实现了用户在第一文档中可以直观地了解到内容块与源文档之间的引用关系。
第一方面,本公开实施例提供了一种文档处理方法,包括:
在第一文档中接收内容块的***指令,其中,所述内容块属于第二文档;
在所述第一文档中显示所述第二文档的信息和所述内容块的信息;其中,所述内容块由在线文档软件预先设置,或者由用户自定义设置。
第二方面,本公开实施例还提供了一种文档处理装置,包括:
接收模块,用于在第一文档中接收内容块的***指令,其中,所述内容块属于第二文档;
第一显示模块,用于在所述第一文档中显示所述第二文档的信息和所述内容块的信息;其中,所述内容块由在线文档软件预先设置,或者由用户自定义设置。
第三方面,本公开实施例还提供了一种文档处理设备,包括:
一个或多个处理器;
存储器,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开实施例中任一项所述的文档处理方法。
第四方面,本公开实施例还提供了一种介质,所述介质存储有计算机程序,所述计算机程序被处理器执行时实现如本公开实施例中任一项所述的文档处理方法。
本公开实施例提供的文档处理方法、装置、设备和介质,文档处理方法包括:在第一文档中接收内容块的***指令,其中,内容块属于第二文档;在第一文档中显示第二文档 的信息和所述内容块的信息,其中,内容块由在线文档软件预先设置,或者由用户自定义设置,。本公开实施例的技术方案通过在第一文档中接收到内容块的***指令之后,在第一文档中显示第二文档的信息和内容块的信息,实现了用户在第一文档中可以直观地了解到内容块与源文档之间的引用关系,从而提升了用户的使用便利性。
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1是本公开实施例提供的一种文档处理方法的流程图;
图2是本公开实施例提供的另一种文档处理方法的流程图;
图3是本公开实施例提供的一种内容块的信息和第二文档的信息的显示示意图;
图4是本公开实施例提供的又一种文档处理方法的流程图;
图5是本公开实施例提供的一种文档处理装置的结构示意图;
图6是本公开实施例提供的一种文档处理设备的结构示意图。
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
在一实施例中,图1是本公开实施例提供的一种文档处理方法的流程图,本实施例可适用于在第一文档直观地展示内容块与源文档之间引用关系的情况,该方法可以由文档处理装置来执行,文档处理装置可以通过软件和/或硬件的方式来实现。其中,文档处理方法 应用于文档处理设备中。示例性地,文档处理设备可以为计算机设备。
需要说明的是,本实施例所提供的文档处理方法具体可以在计算机设备上使用,并可认为具体由集成在计算机设备上的文档处理装置执行,其中,计算机设备具体可以是包括了处理器、存储器、输入装置和输出装置的计算机设备。如笔记本电脑、台式计算机、平板电脑以及智能终端等。
如图1所示,本实施例提供的文档处理方法主要包括步骤S110和S120。
S110、在第一文档中接收内容块的***指令。
其中,内容块属于第二文档。在实施例中,第一文档可以为在文档处理设备的显示界面上所展示的可编辑的文档。在实际操作过程中,对第一文档的类型不作限定,示例性地,第一文档可以为Word文档、txt文档、Excel文档、PDF文档等任意可以编辑的文档。其中,内容块是一份具有独立可协同、可记录能力的数据。内容块的定义可以由在线文档软件预先设置,也可以由用户自定义设置,例如,可基于内容类型,区分内容块,如文字、图片、表格等为不同类型的内容;还可以基于预设的分隔符区分内容块,如“回车符”、“段落分隔符”、“分节符”等;还可以由用户操作设置内容块的分隔边界。
其中,内容块属于第二文档。可以理解为,在第一文档中引用第二文档中的内容块。在实施例中,将第二文档中的内容块***至第一文档中。当然,在实际操作过程中,确定用户具有针对内容块的源文档的引用权限(阅读权限和分享权限)和编辑权限,才可以将第二文档中的内容块***至第一文档中。
S120、在第一文档中显示第二文档的信息和内容块的信息。
在实施例中,第二文档的信息包括下述之一:第二文档的标题;第二文档的标签;第二文档中的一个内容块的信息。在实施例中,第二文档的标题指的是第二文档的主题名称;第二文档的标签可以是基于第二文档中的内容所提取的关键词或描述信息。当然,第二文档的信息也可以直接通过第二文档中的其中一个内容块的信息进行表征。
在实施例中,在第一文档中接收到对内容块的***指令之后,在第一文档中显示第二文档的信息和内容块的信息。在此需要说明的是,在第一文档中显示第二文档的信息,可以理解为,在第一文档中显示内容块的引用来源(即第二文档的信息)。相应的,在第一文档中显示内容块的信息,可以理解为,在第一文档中显示引用的内容块。
本实施例的技术方案,通过在第一文档中接收到内容块的***指令之后,在第一文档中显示第二文档的信息和内容块的信息,实现了用户在第一文档中可以直观地了解到内容块与源文档之间的引用关系,从而提升了用户的使用便利性。
图2是本公开实施例提供的另一种文档处理方法的流程图。本实施例是在上述实施例的基础上,对文档处理方法作进一步的说明。如图2所示,本实施例中的文档处理方法包括如下步骤:
S210、在第一文档中接收内容块的***指令。
其中,内容块属于第二文档。
S220、在第一文档中显示第二文档的信息和内容块的信息。
在一实施例中,S220具体包括:在第一文档的内容块中或内容块的关联区域中显示第 二文档的信息。在第一文档中,以通过将第二文档的信息和内容块的信息显示在第一文档的内容块中或内容块的关联区域中的方式,体现内容块并非该第一文档中的原文内容,而是从其它文档(比如第二文档)中引用的。相应的,在显示内容块的信息的同时,展示内容块的引用来源。其中,内容块的关联区域指的是在内容块的周边区域。
在一实施例中,S220具体包括:以第一显示模式显示内容块的信息和/或第二文档的信息。在第一文档中,以第一显示模块显示内容块的信息,用于体现内容块并非该第一文档中的原文内容,而是从其它文档(比如第二文档)中引用的。在显示内容块的信息的同时,也可以显示第二文档的信息,以显示内容块的引用来源。示例性地,图3是本公开实施例提供的一种内容块的信息和第二文档的信息的显示示意图。如图3所示,以左侧竖线的方式展示内容块为引用内容,并非该第一文档中的原文内容。同时,在内容块的上方显示“From XXX”作为内容块的引用来源,以方便用户直观地看到内容块的引用来源。
S230、响应于对内容块的信息或第二文档的信息的触发操作。
在实施例中,对内容块的信息或第二文档的信息的触发操作,指的是对内容块的信息或第二文档的信息的点击操作;也可以为对内容块的信息或第二文档的信息的聚焦操作。
S240、在第二文档中定位并显示内容块信息或第二文档的信息。
在实施例中,在接收端对内容块的信息或第二文档的信息的触发操作之后,在第一文档的显示界面之上弹出第二文档,并将内容块信息的定位标志定位到内容块信息或第二文档的信息之上。在实际操作过程中,可以将鼠标光标定位到第二文档的内容块信息,或者直接定位到第二文档的信息之上。可以理解为,第二文档的信息和内容块的信息是可以交互的,即在接收到对第二文档的信息或内容块的信息的点击操作之后,自动打开第二文档,并且跳转到第二文档中内容块的信息或第二文档的信息所处的位置。
图4是本公开实施例提供的又一种文档处理方法的流程图。本实施例是在上述实施例的基础上,对文档处理方法作进一步的说明。如图4所示,本实施例中的文档处理方法包括如下步骤:
S310、在第一文档中接收内容块的***指令。
其中,内容块属于第二文档。
S320、获取内容块对应的渲染方式选项。
在实施例中,在第一文档中接收到内容块的***指令之后,文档处理设备自动从自身数据库中获取内容块对应的所有渲染方式选项。可以理解为,每个内容块对应的所有渲染方式选项是预先存储在文档处理设备中的。当然,在第一文档为线上文档时,也可以直接从文档处理设备所对应的服务器获取内容块对应的所有渲染方式选项。在此需要说明的是,每个内容块所包含的渲染方式选项可以是相同的,也可以是不相同的,对此并不进行限定,即内容块所对应的渲染方式选项与内容块的类型或形式有关,可根据内容块的类型或形式进行调整。可以理解为,每个内容块所包含的渲染方式选项相同,可以为渲染方式选项的数量相同,也可以为渲染方式选项所对应的渲染方式相同,也可以为渲染方式选项的数量,以及每个渲染方式选项对应的渲染方式均相同。需要说明的是,每个渲染方式选项对应一个渲染方式,即渲染方式选项与渲染方式之间是一一对应关系。
S330、将渲染方式选项显示至第一交互区域。
可以理解为,第一交互区域用于承载并显示内容块的渲染方式选项。在实施例中,在获取到内容块对应的所有渲染方式选项之后,按照预先设置的优先级排序,将渲染方式选项显示至第一交互区域中,以供用户选择对应的渲染方式。可以理解为,对渲染方式选项设置的优先级,与第一文档所采用的文档软件有关,在此不再一一赘述。
S340、响应于对第二文档的信息和内容块的信息的渲染方式的选择指令,将第二文档的信息和内容块的信息渲染至第一文档中进行显示。
在实施例中,在当第一文档中弹出第一交互区域之后,用户根据自身需求点击第一交互区域中的其中一个渲染方式选项,并对用户所点击的渲染方式选项进行高亮,以区分用户选择的渲染方式选项和未选择的渲染方式选项。其中,选择指令指的是用户对渲染方式选项的操作。示例性地,选择指令对应的选择操作可以包括:点击操作、切换操作。比如,在实际操作过程中,用户可通过键盘中的方向键(比如,上键、下键、左键或右键)对渲染方式选项进行切换;也可以直接通过鼠标将光标移动到用户所要选择的渲染方式选项之上,并采用鼠标点击该渲染方式选项所对应的渲染方式。
在一实施例中,将第二文档的信息和内容块的信息渲染至第一文档中进行显示,包括:响应于选择第一渲染方式,以第一显示模式渲染第二文档的信息和内容块的信息,其中,在第一显示模式下,第二文档的信息和内容块的信息,与第一文档中的内容的显示样式不同;响应于选择第二渲染方式,以第二显示模式渲染第二文档的信息和内容块的信息,其中,在第二显示模式下,第二文档的信息和内容块的信息,与第一文档中的内容的显示样式相同。
其中,第一显示模式指的是特殊形式,即用于区分第二文档的信息和内容块的信息,与第一文档中的内容的显示样式不同,比如,如图3所示,在内容块的信息左侧增加一条竖线。第二显示模块指的是与第一文档相同的显示方式,即在第二显示模式下,第二文档的信息和内容块的信息,与第一文档中的内容的显示样式相同。
在一实施例中,在第一文档中显示第二文档的信息和内容块的信息之后,还包括:响应于对与内容块关联的预设组件触发操作,获取并显示已***内容块的文档的信息。
其中,预设组件触发操作用于获取与内容块所关联的文档的信息。当然,与内容块所关联的文档的信息,可以为内容块的源文档,也可以为内容块的引用文档。在实际操作过程中,每个内容块的引用文档可以为一个,也可以为多个,对此并不进行限定。在实施例中,内容块的所有引用文档的获取渠道可以包括:服务器或本地数据库。可以理解为,在当第一文档所在的应用软件为线上时,可以直接从服务器中获取第一文档中内容块的所有引用文档;在第一文档所在的应用软件为离线时,可以直接从本地数据库中获取第一文档中内容块的所有引用文档。
在获取到已***内容块的文档的信息之后,可以将第一文档的关联文档的文档名称和文档标识显示至界面之上。当然,在实际操作过程中,引用文档可能会存在文档名称相同的情况,为了便于区分引用文档,可采用引用文档标识进行区分。
图5是本公开实施例提供的一种文档处理装置的结构示意图,本实施例可适用于在第 一文档直观地展示内容块所对应引用来源的情况,文档处理装置可以通过软件和/或硬件的方式来实现。文档处理装置集成于计算机设备中。
如图5所示,本实施例提供的文档处理装置主要包括:接收模块410和第一显示模块420。
其中,接收模块410,用于在第一文档中接收内容块的***指令,其中,内容块属于第二文档;
第一显示模块420,用于在第一文档中显示第二文档的信息和内容块的信息,其中,内容块由在线文档软件预先设置,或者由用户自定义设置。
本公开实施例提供的文档处理装置,上述装置用于执行如下操作:在第一文档中接收内容块的***指令,其中,内容块属于第二文档;在第一文档中显示第二文档的信息和内容块的信息,其中,内容块由在线文档软件预先设置,或者由用户自定义设置。本公开实施例的技术方案通过在第一文档中接收到内容块的***指令之后,在第一文档中显示第二文档的信息和内容块的信息,实现了用户在第一文档中可以直观地了解到内容块与源文档之间的引用关系,从而提升了用户的使用便利性。
在上述实施例的基础上,显示模块,具体用于:在第一文档的内容块中或内容块的关联区域中显示第二文档的信息。
在上述实施例的基础上,显示模块,具体用于:以第一显示模式显示内容块的信息和/或第二文档的信息。
在上述实施例的基础上,第二文档的信息包括下述之一:第二文档的标题;第二文档的标签;第二文档中的一个内容块的信息。
在上述实施例的基础上,文档处理装置,还包括:
第二显示模块,用于响应于对内容块的信息或第二文档的信息的触发操作,显示第二文档。
在上述实施例的基础上,显示第二文档包,具体用于:
在第二文档中定位并显示内容块信息或第二文档的信息。
在上述实施例的基础上,文档处理装置,还包括:
第一获取模块,用于在第一文档中接收内容块的***指令之后,获取内容块对应的渲染方式选项;
第三显示模块,用于将渲染方式选项显示至第一交互区域。
在上述实施例的基础上,第一显示模块,具体用于:响应于对第二文档的信息和内容块的信息的渲染方式的选择指令,将第二文档的信息和内容块的信息渲染至第一文档中进行显示。
在上述实施例的基础上,将第二文档的信息和内容块的信息渲染至第一文档中进行显示,包括:
响应于选择第一渲染方式,以第一显示模式渲染第二文档的信息和内容块的信息,其中,在第一显示模式下,第二文档的信息和内容块的信息,与第一文档中的内容的显示样式不同;
响应于选择第二渲染方式,以第二显示模式渲染第二文档的信息和内容块的信息,其中,在第二显示模式下,第二文档的信息和内容块的信息,与第一文档中的内容的显示样式相同。
在上述实施例的基础上,文档处理装置,还包括:
第二获取模块,用于在第一文档中显示第二文档的信息和内容块的信息之后,响应于对与内容块关联的预设组件触发操作,获取并显示已***内容块的文档的信息。
在上述实施例的基础上,文档的信息包括下述之一:文档名称、文档标识。
本实施例所提供的文档处理装置可执行本公开任意实施例所提供的文档处理方法,具备执行文档处理方法相应的功能模块和有益效果。
图6是本公开实施例提供的一种文档处理设备的结构示意图。下面参考图6,其示出了适于用来实现本公开实施例的文档处理设备(例如图6中的终端设备或服务端)500的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图6示出的文档处理设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图6所示,文档处理设备500可以包括处理装置(例如中央处理器、图形处理器等)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储装置507加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有文档处理设备500操作所需的各种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。
通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置508;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许文档处理设备500与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的文档处理设备500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计 算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务端可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述文档处理设备中所包含的;也可以是单独存在,而未装配入该文档处理设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该文档处理设备执行时,使得该文档处理设备:
在第一文档中接收内容块的***指令,其中,内容块属于第二文档;
在第一文档中显示第二文档的信息和内容块的信息,其中,内容块由在线文档软件预先设置,或者由用户自定义设置。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务端上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。 也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上***(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行***、装置或设备使用或与指令执行***、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体***、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,提供了文档处理方法、装置、设备和介质,包括:
在第一文档中接收内容块的***指令,其中,所述内容块属于第二文档;
在所述第一文档中显示所述第二文档的信息和所述内容块的信息;其中,内容块由在线文档软件预先设置,或者由用户自定义设置。
根据本公开的一个或多个实施例,提供了文档处理方法、装置、设备和介质,所述在所述第一文档中显示所述第二文档的信息和所述内容块的信息,包括:
在所述第一文档的内容块中或内容块的关联区域中显示所述第二文档的信息。
根据本公开的一个或多个实施例,提供了文档处理方法、装置、设备和介质,所述在所述第一文档中显示所述第二文档的信息和所述内容块的信息,包括:
以第一显示模式显示所述内容块的信息和/或所述第二文档的信息。
根据本公开的一个或多个实施例,提供了一种文档处理方法、装置、设备和介质,所述第二文档的信息包括下述之一:所述第二文档的标题;所述第二文档的标签;所述第二文档中的一个内容块的信息。
根据本公开的一个或多个实施例,提供了一种文档处理方法、装置、设备和介质,还包括:
响应于对所述内容块的信息或第二文档的信息的触发操作,显示所述第二文档。
根据本公开的一个或多个实施例,提供了一种文档处理方法、装置、设备和介质,所述显示所述第二文档包括:
在所述第二文档中定位并显示所述内容块信息或所述第二文档的信息。
根据本公开的一个或多个实施例,提供了文档处理方法、装置、设备和介质,在所述 第一文档中接收内容块的***指令之后,还包括:获取所述内容块对应的渲染方式选项;
将所述渲染方式选项显示至第一交互区域。
根据本公开的一个或多个实施例,提供了一种文档处理方法、装置、设备和介质,所述在所述第一文档中显示所述第二文档的信息和所述内容块的信息,包括:
响应于对所述第二文档的信息和所述内容块的信息的渲染方式的选择指令,将所述第二文档的信息和所述内容块的信息渲染至所述第一文档中进行显示。
根据本公开的一个或多个实施例,提供了一种文档处理方法、装置、设备和介质,所述将所述第二文档的信息和所述内容块的信息渲染至所述第一文档中进行显示,包括:
响应于选择第一渲染方式,以第一显示模式渲染所述第二文档的信息和所述内容块的信息,其中,在所述第一显示模式下,所述第二文档的信息和所述内容块的信息,与所述第一文档中的内容的显示样式不同;
响应于选择第二渲染方式,以第二显示模式渲染所述第二文档的信息和所述内容块的信息,其中,在所述第二显示模式下,所述第二文档的信息和所述内容块的信息,与所述第一文档中的内容的显示样式相同。
根据本公开的一个或多个实施例,提供了一种文档处理方法、装置、设备和介质,在所述第一文档中显示所述第二文档的信息和所述内容块的信息之后,还包括:
响应于对与所述内容块关联的预设组件触发操作,获取并显示已***所述内容块的文档的信息。
根据本公开的一个或多个实施例,提供了一种文档处理方法、装置、设备和介质,所述文档的信息包括下述之一:文档名称、文档标识。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。
Claims (14)
- 一种文档处理方法,其特征在于,包括:在第一文档中接收内容块的***指令,其中,所述内容块属于第二文档;在所述第一文档中显示所述第二文档的信息和所述内容块的信息;其中,所述内容块由在线文档软件预先设置,或者由用户自定义设置。
- 根据权利要求1所述的方法,其特征在于,所述在所述第一文档中显示所述第二文档的信息和所述内容块的信息,包括:在所述第一文档的内容块中或内容块的关联区域中显示所述第二文档的信息。
- 根据权利要求1所述的方法,其特征在于,所述在所述第一文档中显示所述第二文档的信息和所述内容块的信息,包括:以第一显示模式显示所述内容块的信息和/或所述第二文档的信息。
- 根据权利要求1所述的方法,其特征在于,所述第二文档的信息包括下述之一:所述第二文档的标题;所述第二文档的标签;所述第二文档中的一个内容块的信息。
- 根据权利要求1所述的方法,其特征在于,所述方法,还包括:响应于对所述内容块的信息或第二文档的信息的触发操作,显示所述第二文档。
- 根据权利要求5所述的方法,其特征在于,所述显示所述第二文档包括:在所述第二文档中定位并显示所述内容块信息或所述第二文档的信息。
- 根据权利要求1所述的方法,其特征在于,在所述第一文档中接收内容块的***指令之后,还包括:获取所述内容块对应的渲染方式选项;将所述渲染方式选项显示至第一交互区域。
- 根据权利要求7所述的方法,其特征在于,所述在所述第一文档中显示所述第二文档的信息和所述内容块的信息,包括:响应于对所述第二文档的信息和所述内容块的信息的渲染方式的选择指令,将所述第二文档的信息和所述内容块的信息渲染至所述第一文档中进行显示。
- 根据权利要求8所述的方法,其特征在于,所述将所述第二文档的信息和所述内容块的信息渲染至所述第一文档中进行显示,包括:响应于选择第一渲染方式,以第一显示模式渲染所述第二文档的信息和所述内容块的信息,其中,在所述第一显示模式下,所述第二文档的信息和所述内容块的信息,与所述第一文档中的内容的显示样式不同;响应于选择第二渲染方式,以第二显示模式渲染所述第二文档的信息和所述内容块的信息,其中,在所述第二显示模式下,所述第二文档的信息和所述内容块的信息,与所述第一文档中的内容的显示样式相同。
- 根据权利要求1-9任一所述的方法,其特征在于,在所述第一文档中显示所述第二文档的信息和所述内容块的信息之后,还包括:响应于对与所述内容块关联的预设组件触发操作,获取并显示已***所述内容块的文档的信息。
- 根据权利要求8所述的方法,其特征在于,所述文档的信息包括下述之一:文档名 称、文档标识。
- 一种文档处理装置,其特征在于,包括:接收模块,用于在第一文档中接收内容块的***指令,其中,所述内容块属于第二文档;第一显示模块,用于在所述第一文档中显示所述第二文档的信息和所述内容块的信息;其中,所述内容块由在线文档软件预先设置,或者由用户自定义设置。
- 一种文档处理设备,其特征在于,包括:一个或多个处理器;存储器,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-11任一项所述的文档处理方法。
- 一种计算机存储介质,其特征在于,所述介质存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-11任一项所述的文档处理方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2023552528A JP2024508499A (ja) | 2021-03-01 | 2022-03-01 | ドキュメント処理方法、装置、機器及び媒体 |
US18/458,673 US20230409813A1 (en) | 2021-03-01 | 2023-08-30 | Document processing method, apparatus and device, and medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110227791.1A CN114997115A (zh) | 2021-03-01 | 2021-03-01 | 文档处理方法、装置、设备和介质 |
CN202110227791.1 | 2021-03-01 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/458,673 Continuation US20230409813A1 (en) | 2021-03-01 | 2023-08-30 | Document processing method, apparatus and device, and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022184037A1 true WO2022184037A1 (zh) | 2022-09-09 |
Family
ID=83018833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/078526 WO2022184037A1 (zh) | 2021-03-01 | 2022-03-01 | 文档处理方法、装置、设备和介质 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20230409813A1 (zh) |
JP (1) | JP2024508499A (zh) |
CN (1) | CN114997115A (zh) |
WO (1) | WO2022184037A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115357160B (zh) * | 2022-07-13 | 2023-10-27 | 北京庖丁科技有限公司 | 文档内容点选方法、装置、电子设备、介质和程序产品 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030229858A1 (en) * | 2002-06-06 | 2003-12-11 | International Business Machines Corporation | Method and apparatus for providing source information from an object originating from a first document and inserted into a second document |
CN101278283A (zh) * | 2005-10-07 | 2008-10-01 | 国际商业机器公司 | 将源链接到复制文本的方法和*** |
JP2009223675A (ja) * | 2008-03-17 | 2009-10-01 | Ricoh Co Ltd | 情報処理装置,情報処理方法,プログラム,および記録媒体 |
CN104765849A (zh) * | 2015-04-20 | 2015-07-08 | 三星电子(中国)研发中心 | 一种获取拷贝数据来源信息的方法和*** |
CN110633159A (zh) * | 2019-08-14 | 2019-12-31 | 视联动力信息技术股份有限公司 | 一种数据对象溯源方法及装置 |
CN111602120A (zh) * | 2018-01-14 | 2020-08-28 | 微软技术许可有限责任公司 | 显示在源处对内容所做的更改的指示 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7870502B2 (en) * | 2007-05-29 | 2011-01-11 | Microsoft Corporation | Retaining style information when copying content |
US9703763B1 (en) * | 2014-08-14 | 2017-07-11 | Google Inc. | Automatic document citations by utilizing copied content for candidate sources |
US10108615B2 (en) * | 2016-02-01 | 2018-10-23 | Microsoft Technology Licensing, Llc. | Comparing entered content or text to triggers, triggers linked to repeated content blocks found in a minimum number of historic documents, content blocks having a minimum size defined by a user |
CN106445321A (zh) * | 2016-09-13 | 2017-02-22 | 宇龙计算机通信科技(深圳)有限公司 | 一种文档内容显示的方法和终端 |
CN111078655B (zh) * | 2019-12-23 | 2023-12-26 | 腾讯科技(深圳)有限公司 | 文档内容分享方法、装置、终端及存储介质 |
EP4300359A3 (en) * | 2020-07-13 | 2024-03-20 | AI21 Labs | Controllable reading guides and natural language generation |
CN112328853A (zh) * | 2020-11-26 | 2021-02-05 | 北京字跳网络技术有限公司 | 文档信息处理方法、装置和电子设备 |
-
2021
- 2021-03-01 CN CN202110227791.1A patent/CN114997115A/zh active Pending
-
2022
- 2022-03-01 JP JP2023552528A patent/JP2024508499A/ja active Pending
- 2022-03-01 WO PCT/CN2022/078526 patent/WO2022184037A1/zh active Application Filing
-
2023
- 2023-08-30 US US18/458,673 patent/US20230409813A1/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030229858A1 (en) * | 2002-06-06 | 2003-12-11 | International Business Machines Corporation | Method and apparatus for providing source information from an object originating from a first document and inserted into a second document |
CN101278283A (zh) * | 2005-10-07 | 2008-10-01 | 国际商业机器公司 | 将源链接到复制文本的方法和*** |
JP2009223675A (ja) * | 2008-03-17 | 2009-10-01 | Ricoh Co Ltd | 情報処理装置,情報処理方法,プログラム,および記録媒体 |
CN104765849A (zh) * | 2015-04-20 | 2015-07-08 | 三星电子(中国)研发中心 | 一种获取拷贝数据来源信息的方法和*** |
CN111602120A (zh) * | 2018-01-14 | 2020-08-28 | 微软技术许可有限责任公司 | 显示在源处对内容所做的更改的指示 |
CN110633159A (zh) * | 2019-08-14 | 2019-12-31 | 视联动力信息技术股份有限公司 | 一种数据对象溯源方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
US20230409813A1 (en) | 2023-12-21 |
CN114997115A (zh) | 2022-09-02 |
JP2024508499A (ja) | 2024-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022127838A1 (zh) | 文档处理方法、装置和电子设备 | |
EP4050499A1 (en) | Feedback method and apparatus based on online document comment, and device and storage medium | |
CN110389807B (zh) | 一种界面翻译方法、装置、电子设备及存储介质 | |
WO2022053004A1 (zh) | 邮件处理方法、装置、电子设备及计算机可读介质 | |
WO2022218034A1 (zh) | 交互方法、装置和电子设备 | |
WO2022111591A1 (zh) | 页面生成方法和装置、存储介质和电子设备 | |
CN111400625B (zh) | 页面处理方法、装置、电子设备及计算机可读存储介质 | |
WO2022148485A1 (zh) | 信息展示方法、装置和电子设备 | |
WO2022022619A1 (zh) | 一种文档编辑方法、装置和电子设备 | |
WO2022095942A1 (zh) | 信息显示方法、装置、电子设备及计算机可读存储介质 | |
WO2022183977A1 (zh) | 文档更新方法、装置、设备和介质 | |
WO2022184034A1 (zh) | 一种文档处理方法、装置、设备和介质 | |
CN110083768B (zh) | 一种信息分享方法、装置、设备和介质 | |
US20230409813A1 (en) | Document processing method, apparatus and device, and medium | |
WO2024087922A1 (zh) | 收藏管理方法、装置、设备及介质 | |
US12008219B2 (en) | User interface presentation method and apparatus, computer-readable medium and electronic device | |
US20230409809A1 (en) | Electronic document processing method and apparatus, terminal, and storage medium | |
WO2023160578A1 (zh) | 信息处理方法、装置、终端和存储介质 | |
WO2023131263A1 (zh) | 一种群成员添加方法、装置、设备及介质 | |
CN115113787B (zh) | 一种消息处理方法、装置、设备及介质 | |
WO2022184012A1 (zh) | 一种文档创建方法、装置、设备及存储介质 | |
CN112307393A (zh) | 信息发布方法、装置和电子设备 | |
WO2022057581A1 (zh) | 内容显示方法、装置、电子设备及计算机可读存储介质 | |
WO2022095932A1 (zh) | 直播间页面跳转方法、返回方法、装置及电子设备 | |
CN112084441A (zh) | 信息检索方法、装置和电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22762502 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2023552528 Country of ref document: JP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22762502 Country of ref document: EP Kind code of ref document: A1 |