Information processing method and apparatus, terminal and storage medium

By identifying and replacing the preset identifiers in the document with reference blocks in the knowledge management tool, the problem of missing link relationships when importing documents between different tools is solved, and the efficiency and consistency of document import are achieved.

CN114706998BActive Publication Date: 2025-10-17BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210342259.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2025-10-17
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

It is impossible to effectively import components and links in documents between different knowledge management tools, resulting in excessively high user migration costs.

Method used

By identifying the preset identifiers in the document and replacing them with reference blocks corresponding to the document identifiers, a link relationship between documents is established to form a knowledge graph.

Benefits of technology

Effectively retain the link relationship of documents to ensure that importing documents has the same effect as copying and pasting, reducing user operations and improving import efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114706998B_ABST
    Figure CN114706998B_ABST
Patent Text Reader

Abstract

The present disclosure provides an information processing method and device, a terminal and a storage medium. The information processing method comprises: receiving a first document and / or a second document; identifying whether a preset identifier exists in the first document; when the preset identifier exists in the first document, obtaining a document identifier in the preset identifier, and replacing the preset identifier with a reference block corresponding to the document identifier, wherein the document identifier and the reference block are both associated with the content of the second document. The information processing method of the present disclosure can effectively retain the existing link relationship of the imported document, and can form a knowledge graph according to the link relationship or reference relationship, so that the imported document has the same document importing effect as the copy and paste.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of information technology, and in particular, to an information processing method and device, a terminal, and a storage medium. BACKGROUND

[0002] There are various knowledge management tools at present, and sometimes it is necessary to copy or import documents between various tools. However, since different knowledge management tools are not interconnected, only the text content of the document can be imported when importing, and some unique content contained in the document, such as components, links, etc., cannot be imported, resulting in high document migration cost between different knowledge management tools for users. SUMMARY

[0003] To solve the existing problems, the present disclosure provides an information processing method and device, a terminal, and a storage medium.

[0004] The present disclosure adopts the following technical solutions.

[0005] An embodiment of the present disclosure provides an information processing method, which comprises: receiving a first document and / or a second document; identifying whether a preset identifier exists in the first document; when the preset identifier exists in the first document, determining a document identifier in the preset identifier, and replacing the preset identifier with a reference block corresponding to the document identifier, wherein the document identifier and the reference block are both associated with the second document.

[0006] Another embodiment of the present disclosure provides an information processing device, which comprises: a document receiving module configured to receive a first document and / or a second document; an identifier identifying module configured to identify whether a preset identifier exists in the first document; and an identifier replacing module configured to, when the preset identifier exists in the first document, determine a document identifier in the preset identifier, and replace the preset identifier with a reference block corresponding to the document identifier, wherein the document identifier and the reference block are both associated with the second document.

[0007] In some embodiments, the present disclosure provides a terminal, comprising: at least one memory and at least one processor; wherein the memory is configured to store program code, and the processor is configured to call the program code stored in the memory to execute the above-mentioned information processing method.

[0008] In some embodiments, the present disclosure provides a storage medium, which is configured to store program code, and the program code is configured to execute the above-mentioned information processing method.

[0009] Embodiments of the present disclosure can effectively retain the existing link relationship of the document by determining the document identification in the preset identifier when the preset identifier exists in the first document, and replacing the preset identifier with a reference block corresponding to the document identification, and can form a knowledge graph according to the link relationship or reference relationship, so that the imported document has the same document importing effect as the copy and paste. BRIEF DESCRIPTION OF DRAWINGS

[0010] The above-described and other features and advantages of various embodiments of the present disclosure will be more apparent from the following detailed description taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals are used to refer to the same or similar elements. It should be understood that the drawings are schematic and elements and features are not necessarily to scale.

[0011] Figure 1 is a flowchart of an information processing method according to embodiments of the present disclosure.

[0012] Figure 2 A schematic diagram of a document importing interface according to some embodiments is shown.

[0013] Figure 3 A schematic diagram of a document importing interface according to some embodiments is shown.

[0014] Figure 4 A schematic diagram of a document importing interface according to some embodiments is shown.

[0015] Figure 5 is a partial module for an information processing device according to some embodiments of the present disclosure.

[0016] Figure 6 is a structural schematic diagram of an electronic device according to embodiments of the present disclosure. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail by referring to the attached drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein, but rather, these embodiments are provided so as to more completely and thoroughly understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only and are not intended to limit the scope of protection of the present disclosure.

[0018] It should be understood that each of the steps recited in the method embodiments of the present disclosure can be executed in series and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the execution of the steps shown. The scope of the present disclosure is not limited in this respect.

[0019] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "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," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

[0020] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0021] It should be noted that the modification of “one” mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as “one or more”.

[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0023] Markdown is a lightweight markup language that allows people to write documents in an easy-to-read, easy-to-write plain text format, which can then be converted into valid XHTML (or HTML) documents. Markdown incorporates many features of plain text markup already used in email. However, many current document importing tools do not support asynchronous importing, requiring you to wait for the import to complete before using other functions. Furthermore, links or references between the original documents cannot be preserved after importing.

[0024] Figure 1 A flowchart of an information processing method according to an embodiment of the present disclosure is provided. The information processing method according to the present disclosure may include step 101, receiving a first document and / or a second document. In some embodiments, the information processing method according to the present disclosure is applied to a knowledge management tool application. In some embodiments, the first document and the second document may each independently be an online document, a cloud document, or a local document.

[0025] In some embodiments, the method of the present disclosure can further include step 102 of identifying whether the preset identifier exists in the first document. In some embodiments, one document can refer to another document, and in this case, the identifier of the reference relationship between the documents exists in the document, for example, when the keyword [[document B]] exists in document A, it indicates that document A refers to document B, and [[]] is the reference identifier or identifier. Of course, the identifier [[]] is only exemplary and is not used to limit the present disclosure, and other suitable identifiers can also be used. For example, in some embodiments, the identifier can be an underscore or a different font color from other text, as long as it can help the user to identify that there is a reference relationship or link relationship here, it can become an identifier. It should be understood that the identifier is identifiable or visible in the document, so that the user knows that there is a reference relationship or link relationship between the documents.

[0026] In some embodiments, the method of the present disclosure can further include step 103 of determining the document identifier in the preset identifier when the preset identifier exists in the first document, and replacing the preset identifier with the reference block corresponding to the document identifier. In some embodiments, when the preset identifier exists in the first document, it indicates that the first document refers to the second document, that is, there is a reference and referenced relationship between the first document and the second document. At this time, the document identifier in the preset identifier is obtained, which is usually the storage address of the referenced document (for example, the second document) in the previous knowledge management tool or system. By identifying the document identifier, the corresponding document content (for example, the content of the second document) can be read in the corresponding knowledge management tool or system. However, after being imported into the current knowledge management tool or application, the storage address of the document or the document identifier will also change accordingly. If it is imported directly, the document corresponding to the document identifier cannot be identified, that is, it cannot be used in the current knowledge management tool, so that the import process misses the reference relationship or link relationship between the documents, so it cannot achieve the same effect as copying and pasting.

[0027] In some embodiments, the reference block refers to the content in the preset identifier (for example, the reference identifier), which usually includes the storage address or the document identifier. In some embodiments, the correspondence between the document title and the reference block can be recorded in the corresponding knowledge management tool, so that the reference block corresponds to the corresponding document. In the present disclosure, by replacing the preset identifier with the reference block corresponding to the document identifier, that is, replacing the storage address or document identifier used in other knowledge management tools or applications with the storage address or document identifier used in the current knowledge management tool or application, the reference relationship between the documents is re-established in the current knowledge management tool or application, so that the document can be normally used, and the document cannot be normally used due to the missing reference relationship between the documents in the import process.

[0028] In some embodiments, the document identifier and the reference block are both associated with the content of the second document. In some embodiments, the document identifier of the present disclosure is used to link the content of the second document in the previous knowledge management tool, and the reference block is used to link the content of the second document in the current knowledge management tool. By replacing the preset identifier with the reference block, the reference and referenced relationship between the first document and the second document can be correctly identified in the current knowledge management tool, thereby ensuring the normal opening and use of the document.

[0029] Therefore, the information processing method of the present disclosure can effectively retain the existing link relationship or reference relationship of the imported document, and can form a knowledge graph according to the link relationship or reference relationship, so that the imported document has the same document import effect as the copied and pasted document. Logically, import is a replacement of the user's multiple copy and paste logic. However, many knowledge management tools or systems will have different results in processing import and copy and paste, because import is performed on the server side, while copy and paste is performed on the client side, and the running logic of the two is different. In the present disclosure, the isomorphic processing of the conversion logic of the imported and copied key parts (for example, the part where the document identifier exists) is realized, which ensures the consistency of the processing of the server and the client, and also ensures the good restoration effect of the import.

[0030] The import of the present disclosure is different from the traditional import function, and the imported document can effectively retain the existing link relationship or reference relationship, and a knowledge graph can be formed according to the reference relationship. In addition, after the user imports the document from a specific platform, the document can be directly used without the need to restore the reference relationship of the document again.

[0031] In some embodiments, when only the first document is imported, the content of the reference block of the second document of the second document can also be obtained. The way to obtain it can be that the current system determines the second document based on the preset identifier, and then obtains the content of the reference block of the second document through cross-system (for example, between different software) communication. In this way, when only the first document is imported and the first document references the second document, the content of the second document can still be obtained.

[0032] In some embodiments, the information processing method of the present disclosure further comprises: after receiving the first document and / or the second document, generating a first document identifier and a second document identifier corresponding to the first document and the second document, respectively. In some embodiments, the first document identifier and the second document identifier can be the storage address or the document identifier or the label of the corresponding document. By identifying the document identifier, the content of the corresponding document can be obtained.

[0033] In some embodiments, the information processing method of the present disclosure further comprises: after receiving the first document and / or the second document, determining a document reference relationship in the first document and / or the second document, for example, whether the first document references the second document or the second document references the first document; and then, based on the document reference relationship, generating a preset identifier corresponding to the document, wherein the preset identifier comprises a document identifier. For example, when the first document references the second document, a preset identifier corresponding to the second document is generated in the first document. It should be understood that the generated preset identifier is a preset identifier that can be recognized by the current system after the first document is imported, and generally, the current system cannot obtain the content of the second document before the preset identifier in the first document is replaced.

[0034] In some embodiments, when the preset identifier exists in the first document, the document identifier in the preset identifier is determined, and the preset identifier is replaced with a reference block corresponding to the document identifier. Specifically, when the document identifier in the preset identifier of the first document is the document identifier of the second document, the preset identifier is replaced with the document content of the second document. At this time, the first document references the second document, and by replacing the preset identifier with the document content of the second document, the relationship that the first document references the second document can be re-established after the first document and the second document are imported, so that the first document can be normally used. If the preset identifier is not processed after the first document and the second document are imported, the second document referenced in the first document cannot be normally read.

[0035] In some embodiments, when the preset identifier exists in the second document, the document identifier in the preset identifier is determined, and the preset identifier is replaced with a reference block corresponding to the document identifier. Specifically, when the document identifier in the preset identifier of the first document is the document identifier of the second document, a reference relationship between the first document and the second document is established in the first document, and a reference block is created based on the document content of the second document and the preset identifier is replaced. By establishing a reference relationship between the first document and the second document in the imported first document, the content of the second document in the first document can be recognized after being imported, specifically, by creating a reference block corresponding to the second document and replacing the previously existing preset identifier in the first document. In this way, the normal use of the first document can be ensured after the first document is imported, and the reference relationship between the first document and the second document can be maintained in the imported system.

[0036] As Figure 2As shown, in some embodiments, receiving the first document and / or the second document comprises: receiving the first document and the second document through a corresponding document import format in response to a trigger of a preset control in the document import interface 10. In some embodiments, the preset control can comprise an import tab, and the document import format can be displayed by triggering the control, for example, by hovering over the control or clicking the control, etc. In some embodiments, the document import format can include Markdown, Roam Research, etc., of course, which is only exemplary and not used to limit the present disclosure. In some embodiments, the corresponding document is received in the Markdown format, for example.

[0037] In some embodiments, as shown, Figure 3 As shown, during the document import process, the import panel 11 is displayed, and the imported documents and / or document groups, the number of documents in the document group, and the import progress are displayed in the import panel 11. In some embodiments, the import panel 11 can be displayed in the form of a floating window on the document import interface 10. In some embodiments, document group import refers to the simultaneous selection of multiple documents for import together. In some embodiments, the import panel 11 also displays a cancel import control corresponding to each document and / or document group. The user can cancel the import of the corresponding document by triggering (e.g., clicking, etc.) the cancel import control (e.g., “cancel”). In some embodiments, the import panel 11 also displays a content expansion / hidden control corresponding to the document group. Therefore, the document import interface 10 of the present disclosure supports grouped batch import of documents, supports canceling import during the import process, and supports displaying the number of contents of each group of imported documents and the progress bar. In addition, the document import interface 10 of the present disclosure also supports clicking the control on the right side of the import item to fold (or hide) and expand the import content.

[0038] In some embodiments, as shown, Figure 4 As shown, after the document import is completed, an import completion notification is sent to report the client document import situation. In addition, the import result page 12 is displayed in the document import interface 10. In some embodiments, the import completion notification includes the import result information contained in the import result page 12. In some embodiments, as shown, Figure 4 As shown, the document information of the successfully imported documents and the document information of the unsuccessfully imported documents are displayed in the import result page 12 to clearly show the user the import result situation. In addition, the import result page 12 also has a label to indicate that the import result page 12 is an import history page.

[0039] In some embodiments, the information processing method of the present disclosure can further include: creating an import tag in the first document. In some embodiments, creating the import tag in the first document includes: creating the import tag in a tag area of the first document, the tag area being in an associated area of a title of the first document, the tag area including the import tag and a tag control. For example, the tag area can be in a top area of a page of the first document.

[0040] In some embodiments, the information processing method of the present disclosure further includes: in response to a triggering operation on the import tag, displaying a third document, the third document including document information associated with the import tag. In this way, through the import tag in the first document, interaction between the associated document or viewing of the associated document information can be achieved. In some embodiments, the information processing method of the present disclosure further includes: in response to a triggering operation on the import tag, displaying a document network graph, the document network graph including a plurality of document nodes, each document node corresponding to a document containing the import tag. By displaying the document network graph, a knowledge graph is constructed, which can enable the user to understand the mutual relationship between the various documents, and play the role of a knowledge map.

[0041] In some embodiments, the preset identifier is a combination of the identifier and the document identifier. For example, as described above, the preset identifier [[document B]] includes the identifier [[ ]] and the document identifier "document B".

[0042] Embodiments of the present disclosure also provide an information processing apparatus 600. The information processing apparatus 600 includes a document receiving module 601, an identifier identifying module 602, and an identifier replacing module 603. In some embodiments, the document receiving module 601 is configured to receive a first document and / or a second document. In some embodiments, the identifier identifying module 602 is configured to identify whether a preset identifier exists in the first document. In some embodiments, the identifier replacing module 603 is configured to, when the preset identifier exists in the first document, determine a document identifier in the preset identifier, and replace the preset identifier with a reference block corresponding to the document identifier, wherein the document identifier and the reference block are both associated with the content of the second document.

[0043] It should be understood that the content described with respect to the information processing method also applies to the information processing apparatus 600 herein, which is not described in detail for the purpose of simplicity.

[0044] In some embodiments, the information processing apparatus of the present disclosure further includes: a reference relationship determination module configured to determine a document reference relationship in the first document and / or the second document after receiving the first document and / or the second document; and a identifier generation module configured to generate a preset identifier of the corresponding document based on the document reference relationship, the preset identifier including a document identifier. In some embodiments, when the preset identifier exists in the first document, the document identifier in the preset identifier is determined, and the preset identifier is replaced with a reference block corresponding to the document identifier includes: when the document identifier in the preset identifier of the first document is the document identifier of the second document, the preset identifier is replaced with the document content of the second document. In some embodiments, when the preset identifier exists in the first document, the document identifier in the preset identifier is determined, and the preset identifier is replaced with a reference block corresponding to the document identifier includes: when the document identifier in the preset identifier of the first document is the document identifier of the second document, a reference relationship with the second document is established in the first document, and a reference block is created based on the document content of the second document and the preset identifier is replaced. In some embodiments, receiving the first document and / or the second document includes: in response to triggering of a preset control in a document import interface, receiving the first document and / or the second document through a corresponding document import format. In some embodiments, the information processing apparatus of the present disclosure further includes: a display module configured to display an import panel during the document import process, the import panel displaying the imported documents and / or document groups, the number of documents of the document groups, and the import progress. In some embodiments, the import panel further displays a cancel import control corresponding to each document and / or document group. In some embodiments, the import panel further displays a content expansion / hidden control corresponding to the document groups. In some embodiments, the information processing apparatus of the present disclosure further includes: a notification sending module configured to send an import completion notification after the document import is completed, and the display module further displays an import result page, the import result page displaying document information of successfully imported documents and document information of unsuccessfully imported documents. In some embodiments, the information processing apparatus of the present disclosure further includes: an import tag creation module configured to create an import tag in the first document. In some embodiments, creating the import tag in the first document includes: creating the import tag in a tag area of the first document, the tag area being an associated area of a title of the first document, and the tag area including the import tag and a tag control. In some embodiments, the display module is further configured to display a third document in response to a triggering operation on the import tag, the third document including document information associated with the import tag. In some embodiments, the display module is further configured to display a document network graph in response to a triggering operation on the import tag, the document network graph including a plurality of document nodes, each document node corresponding to a document including the import tag. In some embodiments, the preset identifier is a combination of an identifier and a document identifier.

[0045] In addition, the present disclosure also provides a terminal, comprising: at least one memory and at least one processor; wherein the memory is configured to store program code, and the processor is configured to invoke the program code stored in the memory to execute the above-mentioned information processing method.

[0046] In addition, the present disclosure also provides a computer storage medium, which stores program code, and the program code is configured to execute the above-mentioned information processing method.

[0047] The above describes the information processing method and device of the present disclosure based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described as follows.

[0048] Reference is made below to Figure 6 which shows a structural schematic diagram of an electronic device (such as a terminal device or a server) 700 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure can include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Personal Computers), PMPs (Portable Multimedia Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. Figure 6 The electronic device shown is only an example and should not impose any limitation on the functions and use range of the embodiments of the present disclosure.

[0049] As shown in Figure 6 , the electronic device 700 can include a processing device (such as a central processor, a graphics processor, etc.) 701, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 702 or programs loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0050] Generally, the following devices can be connected to the I / O interface 705: input devices 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, and the like; output devices 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; storage devices 708 including, for example, a magnetic tape, a hard disk, and the like; and communication devices 709. The communication devices 709 can allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6The electronic device 700 is shown with various elements, but it is understood that not all of these elements are required for implementation or possession of the device. More or less elements can alternatively be implemented or possessed.

[0051] In particular, the processes described above with reference to the flow charts can be implemented as computer software programs in accordance with embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising program code for performing the methods illustrated by the flow charts. In such embodiments, the computer program can be downloaded and installed from the network via the communication device 709, or installed from the storage device 708, or installed from the ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.

[0052] It is noted that the computer readable medium described above in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination thereof. The computer readable storage medium can, for example and without limitation, be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination of the foregoing. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, the computer readable storage medium can be any tangible medium that contains or stores a program used by or in connection with an instruction execution system, apparatus or device. In the present disclosure, the computer readable signal medium can include a data signal carried in a baseband or as part of a carrier wave transporting the program code, in which the computer readable program code can be used by or in connection with an instruction execution system, apparatus or device. The computer readable signal medium can also be any computer readable medium that can transmit, propagate or transport program for use by or in connection with an instruction execution system, apparatus or device. The program code contained in the computer readable medium can be transmitted by any suitable medium, including but not limited to wire, cable, RF, infrared, or the like, or any suitable combination of the foregoing.

[0053] In some embodiments, the client, server, or other computing machines utilized by the system can communicate information using any known or future developed end-to-end communication protocol, such as the HyperText Transfer Protocol (HTTP), and can be interconnected via any form or medium of digital data communication (for example, a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet, and peer-to-peer networks (for example, ad hoc peer-to-peer networks), as well as any current or future developed network.

[0054] The computer-readable medium described above can be included within the electronic device described above; or can exist separately from the electronic device, and not be assembled into the electronic device.

[0055] The computer-readable medium described above carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the method of the present disclosure described above.

[0056] Computer program code for carrying out operations of the present disclosure can be written in any of one or more programming languages, including object or visual programming languages, such as Java, Smalltalk, C++, or conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can 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. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network ("LAN") or a wide area network ("WAN"), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0057] The computer program product of the first aspect can include one or more non-transitory computer-readable media storing instructions that, when executed, cause one or more processors to perform the operations of the method of the first aspect. The computer program product of the first aspect can include a computer-readable medium storing instructions that, when executed, cause one or more processors to perform the operations of the method of the first aspect.

[0058] The units described in the embodiments of the present disclosure can be implemented by software, or by hardware, or by a combination of software and hardware. In some cases, the names of the units do not constitute a limitation on the units themselves.

[0059] The functions described in this document can be implemented in part or in whole using one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.

[0060] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0061] According to one or more embodiments of the present disclosure, an information processing method is provided, which includes: receiving a first document and / or a second document; identifying whether a preset identifier exists in the first document; when the preset identifier exists in the first document, determining a document identifier in the preset identifier, and replacing the preset identifier with a reference block corresponding to the document identifier, wherein the document identifier and the reference block are both associated with the second document.

[0062] According to one or more embodiments of the present disclosure, further comprising: after receiving the first document and / or the second document, determining a document reference relationship in the first document and / or the second document; based on the document reference relationship, generating a preset identifier of a corresponding document, the preset identifier including a document identifier.

[0063] According to one or more embodiments of the present disclosure, when the preset identifier exists in the first document, determining the document identifier in the preset identifier, and replacing the preset identifier with the reference block corresponding to the document identifier includes: when the document identifier in the preset identifier of the first document is a document identifier of the second document, replacing the preset identifier with document content of the second document.

[0064] According to one or more embodiments of the present disclosure, when the preset identifier exists in the first document, determining the document identifier in the preset identifier, and replacing the preset identifier with the reference block corresponding to the document identifier includes: when the document identifier in the preset identifier of the first document is a document identifier of the second document, establishing a reference relationship with the second document in the first document, creating a reference block based on document content of the second document and replacing the preset identifier.

[0065] According to one or more embodiments of the present disclosure, receiving the first document and / or the second document includes: in response to triggering of a preset control in a document import interface, receiving the first document and / or the second document through a corresponding document import format.

[0066] According to one or more embodiments of the present disclosure, during a document import process, an import panel is displayed, in which imported documents and / or document groups, a number of documents of the document groups, and an import progress are displayed.

[0067] According to one or more embodiments of the present disclosure, the import panel further displays a cancel import control corresponding to each document and / or document group.

[0068] According to one or more embodiments of the present disclosure, the import panel further displays a content expansion / hidden control corresponding to the document group.

[0069] According to one or more embodiments of the present disclosure, after the document import is completed, an import completion notification is sent, and an import result page is displayed, in which document information of successfully imported documents and document information of unsuccessfully imported documents are displayed.

[0070] According to one or more embodiments of the present disclosure, the method further includes creating an import tag in the first document.

[0071] According to one or more embodiments of the present disclosure, the creating the import tag in the first document includes creating the import tag in a tag area of the first document, the tag area being an associated area of a title of the first document, the tag area including the import tag and a tag control.

[0072] According to one or more embodiments of the present disclosure, in response to a triggering operation on the import tag, a third document is displayed, the third document including document information associated with the import tag.

[0073] According to one or more embodiments of the present disclosure, in response to a triggering operation on the import tag, a document network graph is displayed, the document network graph including a plurality of document nodes, each of the document nodes corresponding to a document containing the import tag.

[0074] According to one or more embodiments of the present disclosure, the preset identifier is a combination of an identifier and a document identifier.

[0075] According to one or more embodiments of the present disclosure, an information processing apparatus is provided, including: a document receiving module configured to receive a first document and / or a second document; an identifier identifying module configured to identify whether a preset identifier exists in the first document; and an identifier replacing module configured to, when the preset identifier exists in the first document, determine a document identifier in the preset identifier, and replace the preset identifier with a reference block corresponding to the document identifier, wherein the document identifier and the reference block are both associated with the second document.

[0076] According to one or more embodiments of the present disclosure, a terminal is provided, including: at least one memory and at least one processor; wherein the at least one memory is configured to store program code, and the at least one processor is configured to invoke the program code stored in the at least one memory to execute the method of any one of the above.

[0077] According to one or more embodiments of the present disclosure, a storage medium is provided, the storage medium being configured to store program code, the program code being configured to execute the method of the above.

[0078] The above description merely illustrates the preferred embodiments of the disclosure and a principle for applying the technologies. It is understood by those skilled in the art that the disclosed scope of the disclosure is not limited to the technical solutions formed by the specific combinations of the technical features described above, and should also cover other technical solutions formed by the combinations of the technical features described above or their equivalent features without departing from the disclosed concept. For example, the technical solutions formed by the mutual replacement of the above-described features and the technical features with similar functions disclosed in the disclosure (but not limited to) can be formed.

[0079] Further, although operations are depicted in a particular, sequential order, this should not be understood as requiring or implying that the operations are performed in the order illustrated or sequentially. In certain circumstances, multitasking and parallel processing can be advantageous. Likewise, although specific implementation details are included for the purpose of providing a thorough disclosure, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.

[0080] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims

1. An information processing method, characterized in that: include: receiving a first document and a second document from a previous knowledge management tool, wherein the first document and the second document are each independently an online document, a cloud document, or a local document; Identifying whether a preset identifier exists in the first document; When the preset identifier exists in the first document, determining a document identifier in the preset identifier, and replacing the preset identifier with a reference block corresponding to the document identifier, wherein both the document identifier and the reference block are associated with the second document, the document identifier is used to link to content of the second document in a previous knowledge management tool, and the reference block is used to link to content of the second document in a current knowledge management tool, and the previous knowledge management tool and the current knowledge management tool are different knowledge management tools; After receiving the first document and the second document, determining a document reference relationship in the first document and / or the second document; Based on the document reference relationship, a preset identifier of the corresponding document is generated, and the preset identifier includes an identifier and a document identifier.

2. The information processing method according to claim 1, wherein: When the preset identifier exists in the first document, determining the document identifier in the preset identifier and replacing the preset identifier with a reference block corresponding to the document identifier includes: When the document identifier in the preset identifier of the first document is the document identifier of the second document, the preset identifier is replaced with the document content of the second document.

3. The information processing method according to claim 1, wherein: When the preset identifier exists in the first document, determining the document identifier in the preset identifier and replacing the preset identifier with a reference block corresponding to the document identifier includes: When the document identifier in the preset identifier of the first document is the document identifier of the second document, a reference relationship with the second document is established in the first document, and a reference block is created based on the document content of the second document and replaces the preset identifier.

4. The information processing method according to claim 1, wherein: Receiving the first document and the second document includes: In response to triggering of a preset control in the document import interface, the first document and the second document are received through corresponding document import formats.

5. The information processing method according to claim 4, characterized in that During the document import process, an import panel is displayed, in which the imported documents and / or document groups, the number of documents in the document group, and the import progress are displayed.

6. The information processing method according to claim 5, characterized in that The import panel also displays a cancel import control corresponding to each document and / or document group.

7. The information processing method according to claim 5, wherein: The import panel also displays a content expand / hide control corresponding to the document group.

8. The information processing method according to claim 4, wherein: After the document import is completed, an import completion notification is sent, and an import result page is displayed, in which document information of documents that were successfully imported and document information of documents that were not successfully imported are displayed.

9. The information processing method according to claim 1 or 2, characterized in that: Also includes: An import tag is created in the first document.

10. The information processing method according to claim 9, wherein: The step of creating an import tag in the first document includes: The import tag is created in a tag area of ​​the first document. The tag area is in an area associated with a title of the first document. The tag area includes the import tag and a tag control.

11. The information processing method according to claim 9, wherein: In response to a triggering operation on the import tag, a third document is displayed, wherein the third document includes document information associated with the import tag.

12. The information processing method according to claim 9, wherein: In response to a triggering operation on the import tag, a document network diagram is displayed, wherein the document network diagram includes a plurality of document nodes, and each document node corresponds to a document including the import tag.

13. The information processing method according to claim 1, wherein: The preset identifier is a combination of an identifier and a document identifier.

14. An information processing device, characterized in that include: A document receiving module is configured to receive a first document and a second document from a previous knowledge management tool, wherein the first document and the second document are each independently an online document, a cloud document, or a local document; an identifier recognition module, configured to identify whether a preset identifier exists in the first document; an identifier replacement module configured to, when the preset identifier exists in the first document, determine a document identifier in the preset identifier and replace the preset identifier with a reference block corresponding to the document identifier, wherein both the document identifier and the reference block are associated with the second document, the document identifier is used to link to the content of the second document in a previous knowledge management tool, and the reference block is used to link to the content of the second document in a current knowledge management tool, and the previous knowledge management tool and the current knowledge management tool are different knowledge management tools; a reference relationship determination module, configured to, after receiving the first document and the second document, determine a document reference relationship in the first document and / or the second document; The identifier generation module is configured to generate a preset identifier for the corresponding document based on the document reference relationship, where the preset identifier includes an identifier and a document identifier.

15. A terminal comprising: at least one memory and at least one processor; The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the information processing method according to any one of claims 1 to 13. 16 . A storage medium for storing a program code for executing the information processing method according to claim 1 .

Citation Information

Patent Citations

  • Document linking in an email system

    CN110073385A

  • Document import method and device of online collaborative knowledge base, storage medium and equipment

    CN111414331A

  • Document processing method and device and electronic equipment

    CN112528595A

  • Content association method, system and device, electronic equipment and storage medium

    CN113204579A