WO2022184033A1 - 文档关系的查询方法、搜索方法、装置和电子设备 - Google Patents

文档关系的查询方法、搜索方法、装置和电子设备 Download PDF

Info

Publication number
WO2022184033A1
WO2022184033A1 PCT/CN2022/078514 CN2022078514W WO2022184033A1 WO 2022184033 A1 WO2022184033 A1 WO 2022184033A1 CN 2022078514 W CN2022078514 W CN 2022078514W WO 2022184033 A1 WO2022184033 A1 WO 2022184033A1
Authority
WO
WIPO (PCT)
Prior art keywords
document
area
relationship
display
node
Prior art date
Application number
PCT/CN2022/078514
Other languages
English (en)
French (fr)
Inventor
林诗苑
蔡煜圳
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202110227774.8A external-priority patent/CN115080685A/zh
Priority claimed from CN202110227784.1A external-priority patent/CN114995692A/zh
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Priority to US18/279,788 priority Critical patent/US20240134508A1/en
Publication of WO2022184033A1 publication Critical patent/WO2022184033A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • G06F3/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • G06F3/04842Selection of displayed objects or displayed text elements

Definitions

  • Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a method, apparatus, electronic device, and storage medium for searching documents.
  • the existing document management application software generally only displays the document that the user wants to view to the user, and the displayed content is relatively simple, and the user cannot know the relationship between the document viewed by the user and other documents.
  • Document management application software can provide users with the ability to search documents by keywords.
  • the prior art generally, only the document information of the document searched by the user is displayed to the user, and the display method is single, so that the user cannot understand the relationship between the searched document and other documents.
  • Embodiments of the present disclosure provide a document relationship query method, apparatus, electronic device, and storage medium, which can improve the convenience for a user to view the association relationship between different documents.
  • an embodiment of the present disclosure provides a method for querying document relationships, including:
  • the relationship diagram of the first document and the second document is displayed in the first area of the target page, and the content of the first document is displayed in the second area of the target page, wherein the first document and the second document are displayed in the second area of the target page.
  • the second document has a first association relationship or a second association relationship.
  • an embodiment of the present disclosure further provides an apparatus for querying document relationships, including:
  • a determining module configured to determine a first document displayed in the target page in response to a user's query operation of document relationship in the target page, wherein the content of the first document is displayed in the target page;
  • a first display module configured to display the relationship diagram of the first document and the second document in the first area of the target page, and display the content of the first document in the second area of the target page, wherein, The first document and the second document have a first association relationship or a second association relationship.
  • an embodiment of the present disclosure provides a method for searching a document, including:
  • a relationship diagram of the first document and the second document is displayed in the first area of the page, and first information of the first document and/or second information of the second document is displayed in the second area of the page , wherein the first document and the second document have a first association relationship or a second association relationship.
  • an embodiment of the present disclosure further provides a device for searching documents, including:
  • an obtaining module configured to obtain the first document corresponding to the search request in response to the search request
  • a display module configured to display the relationship diagram of the first document and the second document in the first area of the page, and display the first information of the first document and/or the second document in the second area of the page The second information, wherein the first document and the second document have a first association relationship or a second association relationship.
  • an embodiment of the present disclosure further provides an electronic 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 relationship query method according to the embodiment of the present disclosure, or, the one or more processors A plurality of processors implement the document search method according to the embodiment of the present disclosure.
  • an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the document relationship query method according to the embodiment of the present disclosure, or, When the program is executed by the processor, the document search method according to the embodiment of the present disclosure is implemented.
  • the document relationship query method, device, electronic device, and storage medium determine the first document displayed in the target page in response to the user's document relationship query operation in the target page where the content of the first document is displayed , display the relationship diagram of the first document and the second document with the first or second association relationship with the first document in the first area of the target page, and display the content of the first document in the second area of the target page .
  • the association relationship between the corresponding document and other documents can be displayed at the same time as the content of the document, so that the user can read the document associated with the first document in a targeted manner based on the association relationship. user experience.
  • Embodiments of the present disclosure provide a method, apparatus, electronic device, and storage medium for searching documents, so as to show users the documents they search for and the associations between the searched documents and other documents.
  • the document search method, apparatus, electronic device, and storage medium provided by the embodiments of the present disclosure, in response to a search request, obtain a first document corresponding to the search request, and display the first document and the first document in a first area on a page in response to a search request.
  • the first document has a first association relationship or a relationship diagram between second documents in the second association relationship, and displays the first information of the first document and the second information of the second document in the second area of the page.
  • the embodiment of the present disclosure simultaneously displays the information of the document, the association relationship between the document and other documents, and the information of the document that has an association relationship with the document, so that the user can search for a certain document. While viewing the searched document, the association between the searched document and other documents can be viewed, so that the user can view other documents related to the searched document in a targeted manner based on the association, thereby improving the user's user experience. experience.
  • FIG. 1 is a schematic flowchart of a method for querying a document relationship according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a display mode of a target page provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a display mode of another target page provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a display mode of a node according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of another method for querying document relationships according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of a display manner of another target page provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a display manner of another node provided by an embodiment of the present disclosure.
  • FIG. 8 is a structural block diagram of an apparatus for querying document relationships according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic flowchart of a method for searching a document according to an embodiment of the present disclosure
  • FIG. 11 is a schematic diagram of a page provided by an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of a display mode of a node according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic flowchart of another method for searching documents according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic diagram of a relationship diagram provided by an embodiment of the present disclosure.
  • FIG. 15 is a schematic diagram of a display manner of another node provided by an embodiment of the present disclosure.
  • FIG. 16 is another schematic diagram of a page provided by an embodiment of the present disclosure.
  • FIG. 17 is a structural block diagram of an apparatus for searching documents according to an embodiment of the present disclosure.
  • FIG. 18 is a schematic structural diagram of an electronic device according to 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 schematic flowchart of a method for querying a document relationship according to an embodiment of the present disclosure.
  • the method may be performed by a document relationship query apparatus, wherein the apparatus may be implemented by software and/or hardware, and may be configured in an electronic device, typically, a computer device.
  • the method for querying the document relationship provided by the embodiment of the present disclosure may be applicable to the scenario of querying the document relationship of the currently viewed document.
  • the query method for document relationship provided by this embodiment may include:
  • S101 Determine a first document displayed in the target page in response to a user's query operation of a document relationship in a target page, where the content of the first document is displayed in the target page.
  • the document relationship query operation may be understood as a trigger operation for querying the association relationship between a certain document and other documents, such as an operation of clicking on a relationship graph control displayed on the target page.
  • the target page may be a page on which a user performs a document relationship query operation, which may be a document display page; the first document is a document displayed in the target page.
  • the electronic device displays the target page based on the user's trigger operation, and displays the content of the first document whose content the user wants to view on the target page; the user views the content of the first document through the target page, And when you want to view the document relationship of the first document, you can perform a document relationship query operation, such as clicking the relationship diagram control (not shown in FIG.
  • the electronic device detects that the user clicks the target page.
  • the relationship diagram control in the target page it can be determined that a document relationship query operation is received, and in response to the document relationship query operation, the document currently displayed in the target page is determined, that is, the first document is determined.
  • the first area and the second area may be two display areas in the page, the first area may be an area for displaying the relationship diagram of the first document and the second document, and the second area may be an area for displaying the first document and the second document.
  • the second document may be a document having a first association relationship or a second association relationship with the first document, and the number of the documents may be one or more.
  • the relationship graph of the first document and the second document can be understood as a graph used to represent the association relationship between the first document and the second document, and only the association between the first document and the second document can be displayed in the relationship graph The relationship between the first document and other documents can also be further displayed.
  • the relationship diagram can be a document map of the document space to which the first document belongs, and the document map can display the documents in the document space to which the first document belongs.
  • the nodes of the documents with the association relationship can be connected by connecting lines. The following takes this situation as an example for description.
  • the relationship graph of the first document and the second document may further display the document name of the document corresponding to each node, so that the user can distinguish the document to which each node in the relationship graph belongs.
  • the first association relationship and the second association relationship can be any two different association relationships, such as a recommendation relationship, a reference relationship, a matching relationship, and so on.
  • the first association relationship and the second association relationship can be recommended.
  • relationship and reference relationship at this time, optionally, the first relationship is a reference relationship, and the second relationship is a recommendation relationship; or, the first relationship is a recommendation relationship, and the second relationship is a recommendation relationship.
  • the forward reference relationship can be understood as the first document citing other documents.
  • first document When a certain document is referenced in the first document, it can be considered that there is a forward reference relationship between the first document and the document; a reverse reference relationship It can be understood that the first document is referenced in other documents, that is, the first document is referenced by other documents, and when a certain document references the first document, it can be considered that there is a back-reference relationship between the first document and the document.
  • the electronic device may further determine the second document with the first association relationship or the second association relationship with it, and display the first document in the first area 30 of the target page In the relationship diagram with the second document, the content of the first document is displayed in the second area 31 of the target page, as shown in FIG. 3 .
  • the electronic device may create a new area (ie, the first area) in the target page, and display the first document and the second document in the first area.
  • the relationship diagram of the document ie, the first area
  • the relationship diagram of the first document and the second document is displayed in the first area of the target page, and the content of the first document is displayed in the second area of the target page, Including: creating a first area in the target page, displaying the relationship diagram of the first document and the second document in the first area, and adjusting the first area according to the display range of the first area The display range of the second area where the document is located in the target page.
  • the electronic device may create the first area based on a preset shape and/or size, and adjust the display area of the second area (that is, the display area of the document content) according to the display area of the first area, for example, according to the display area of the first area.
  • the first area and the second area may have the same or different display ranges.
  • the same display range can be used to ensure that the user can clearly view the relationship diagram and document content.
  • the The display range of the second area in the target page includes: simultaneously displaying the first area and the second area in the displayable area of the page, and the first area and the second area have the same display range.
  • the displayable area of the page may be the area where the entire page is located, or may be an area other than a border, a function bar, and the like in the page.
  • the first document and the second document have a first association relationship
  • the displaying the relationship diagram of the first document and the second document in the first area of the target page includes: Display the nodes of the first document in the relationship graph as the first display state, display the nodes of the second document as the second display state, and display the nodes of the first document and the first document as the second display state. Nodes other than the nodes of the second document are displayed in the third display state.
  • the first display state, the second display state and the third display state may be different, not all the same or the same display state, and may be three different display states, and the following takes this situation as an example for description .
  • nodes with different display states can be distinguished by different shapes and/or colors.
  • the first display state can be highlighted in the form of a non-circle point (such as a circle outside a circle, etc.) (such as display blue)
  • the second display state may be highlighted in the form of dots
  • the third display state may be non-highlighted (eg, displayed in gray) in the form of dots.
  • different display states can be used to display the nodes of the first document, the nodes of the second document, and the nodes of the relationship diagram except the first document.
  • the electronic device can display the content of the first document in the second area, display the relationship diagram in the first region, and use the first relationship diagram in the relationship diagram.
  • the display state displays the nodes of the first document
  • the second display state is used to display the nodes of each second document that has a reference relationship with the first document
  • the third display state is used to display the nodes except the first document and the second document. other nodes.
  • the first document and the second document have a second association relationship
  • the displaying a relationship diagram of the first document and the second document in the first area of the target page includes: : Display the nodes of the first document in the relationship graph as the first display state, display the nodes of the fourth document as the second display state, and display the nodes of the first document and the fourth document as the second display state.
  • Other nodes other than the node of the document are displayed in a third display state, wherein the first document and the fourth document have the first association relationship, and the other nodes include the nodes of the second document.
  • the fourth document when there is a second association relationship between the first document and the second document, that is, when the second document is a document that has a second association relationship with the first document, the fourth document may be a document that has the first association relationship with the first document. Documentation of the relationship.
  • the other nodes may be nodes other than the nodes of the first document and the nodes of the fourth document in the relationship graph, which may include nodes of the second document that have a second association relationship with the first document, and may further include nodes in the document space. A node of a document that has neither the first association nor the second association with the first document.
  • the nodes of the first document and the nodes of the second document may be displayed in different display states, and may be further displayed in other display states A node of a fourth document that has a first association relationship with the first document, so that the user can determine documents that have different association relationships with the documents viewed by the user.
  • the electronic device can display the content of the first document in the second area, display the relationship diagram in the first region, and use the first display in the relationship diagram.
  • the state displays the node of the first document
  • the second display state is used to display the node of the fourth document that has a reference relationship with the first document
  • the third display state is used to display the node except the first document and the fourth document in the relationship graph. Nodes of other documents (including the second document) other than .
  • the method for determining the second document that has a recommendation relationship with the first document can be selected according to needs, for example, according to the degree of association (such as similarity) of the content of the document, whether it has been browsed by the publisher of the first document Calculate the recommendation degree of each document in the document space to which the first document belongs, and whether it is a document published by the publisher of the first document, etc., and determine the second document that has a recommendation relationship with the first document according to the recommendation degree, For example, a document with a recommendation degree greater than a preset recommendation degree threshold is determined as a second document with a recommendation relationship with the first document, and/or, according to the order of recommendation degree from high to low, a preset number of documents are selected as the first document and the first document. A document has a second document with a recommendation relationship, and so on.
  • the similarity between two documents may be determined by character matching and/or semantic matching. Contents, etc. are matched to obtain the similarity between the two documents.
  • the second document that has a recommendation relationship with the first document may or may not include documents that have a reference relationship with the first document, such as documents other than the first document and the fourth document in the document space.
  • the second document that has a recommended relationship with the first document is selected from the document, and the second document that has a recommended relationship with the first document can also be selected from documents (including the fourth document) other than the first document in the document space.
  • the embodiment does not limit this.
  • the displaying the relationship diagram of the first document and the second document in the first area of the target page further includes: connecting a node of the first document and a node of the second document
  • the first associated path is displayed as a first connection state, wherein the first connection state includes path direction information of the first associated path, and the first connection state has a first path display state.
  • the first relationship path may be understood as a relationship path between the nodes of the first document and the nodes of the second document.
  • the first connection state may be understood as a connection state having a first path display state, and the first path display state may be a state of being highlighted in a certain color (eg, blue).
  • the path direction information of the first relationship path may be identified by arrows.
  • the first document and the second document may be further identified by the path direction of the first relationship path between the nodes of the first document and the nodes of the second document.
  • the association direction of the association relationship between the second documents For example, when there is a recommendation relationship between the first document and the second document, the path direction of the first association path may point from the first document to the second document (or from the second document to the second document).
  • the path direction of the first associated path can be from the referenced document to the referenced document (or from the referenced document to the referenced document), such as when a second document is referenced in the first document , the association path between the first document and the second document can point from the first document to the second document (or from the second document to the first document), when a certain second document references the first document , the association path between the first document and the second document can be from the second document to the first document (or from the first document to the second document) to identify the document that has a forward reference relationship with the first document and the node of the document that has a back-reference relationship with the first document, so as to facilitate the user to distinguish.
  • the method further includes: in response to the focus moving to a node other than the first document the node of any second document, display the node of the second document as the second display state, and display the second association path between the node of the second document and the node of the fifth document as A second connection state, wherein the second document and the fifth document have the first association relationship or the second association relationship, and the second connection state includes a path of the second association path Direction information, the second connection state has a second path display state.
  • the second document may be understood as a document corresponding to the node to which the cursor is moved
  • the fifth document may be a document having a first association relationship or a second association relationship with the second document.
  • the second association path can be understood as the association path between the second document and each fifth document.
  • the second connection state may be a state in which the associated path is displayed in the second path display state.
  • the second path display state may be the same or different from the first path display state, and may be a path display state different from the first path display state. In the highlight display state, the second path display state may be a non-high brightness display state including path direction information.
  • the user can view the fifth document and the first document associated with the document by controlling the focus (such as the cursor) to move to the position of the node of a document (ie, the second document) in the relational graph.
  • the direction of association between the second document and each fifth document is controlled.
  • the electronic device displays the association relationship between the first document and the second document in the relationship diagram; the user wants to view the association relationship and/or association between a certain other document (ie, the second document) and other documents.
  • the focus can be controlled to move to the display position of the node of the second document; correspondingly, when the electronic device detects that the focus moves to the display position of the node of the second document, if the node of the second document is not in the first document If the node of the first document in the display state is displayed, the node of the second document can be displayed as the second display state, and the association direction between the second document and the fifth document that has an associated relationship with it can be displayed, for example, the document is associated with each The second associated path between the fifth documents is displayed as the second path display state.
  • the electronic device when the electronic device detects that the focus moves to the node of the first document, it can continue to display the node of the first document in the first display state, and display the node of the first document in the second display state that has the first association relationship with the first document.
  • the node of the document displaying the nodes other than the node of the first document and the node of the second document in the third display state, and connecting the node of the first document with the node of the document having the first association relationship with the first document
  • the associated path is displayed in the first display state; when the electronic device detects that the focus moves to a node in the second display state, it can continue to display the node in the second display state, and display the node in the first path display state
  • the association path with the node of the first document, and the second path display state displays the association path between the node and other nodes of the document that has the first association relationship or the second association relationship with the document to which it belongs; the electronic device is in the When it is detected that the focus moves to a node in the third display state, the display state of the node can be switched from the third display state to the second display state, and the node has a first association relationship with the document to which it belongs or The association paths between the nodes of the documents in the second association relationship are switched to
  • the electronic device can also directly display the node in the second display state regardless of whether the node to which the focus moves is a node of the second document, and display the node as having a first association relationship with the document to which it belongs, or The association paths between the nodes of the documents in the second association relationship are displayed as the second path display state.
  • the method for querying document relationships determines, in response to a user's query operation on document relationships in a target page displaying the content of the first document, the first document displayed in the target page, which is in the first area of the target page.
  • a relationship diagram of the first document and the second document having the first association relationship or the second association relationship with the first document is displayed, and the content of the first document is displayed in the second area of the target page.
  • FIG. 5 is a schematic flowchart of another method for querying document relationships according to an embodiment of the present disclosure.
  • the scheme in this embodiment may be combined with one or more schemes in the above-mentioned embodiments.
  • the method further includes: in response to a click operation on a node of any first document displayed in the first area, creating a third area, where the first document is displayed in the third area The first information and the second information of the third document, the first document and the third document have the first association relationship or the second association relationship; based on the display range of the third area, update The display range of the first area in the target page.
  • the method further includes: in response to a click operation on a node of any first document displayed in the first area, updating the display range of the first area and the display range of the second area , and update the display content of the second area to the first information of the first document and the second information of the third document, and the first document and the third document have the first association relationship or the second association relationship.
  • the method further includes: updating the display content of the first area, so that the display content of the first area is associated with the display content of the target area where the first information and the second information are displayed , the target area is the second area or the third area.
  • the method further includes: simultaneously displaying the first area and the target area in a displayable area of the target page.
  • the method further includes: in response to a trigger operation for the second information of any third document, updating the display state of the node of the corresponding third document.
  • the query method for document relationship provided by this embodiment includes:
  • S201 Determine a first document displayed in the target page in response to a user's query operation of a document relationship in a target page, where the content of the first document is displayed in the target page.
  • the first information can be understood as the document information of the first document
  • the second information can be the document information of the third document
  • the first information and the second information can be the information with the same content, or the content can be different.
  • the same information, such as the first information and the second information may both contain the document name, document cover and/or document introduction (such as document abstract, document content introduction or part or all of the document content of the document, etc.) of the corresponding document, etc.
  • the first information may include information such as the document name, document introduction, and/or document cover of the first document
  • the second information may include information such as the document name and/or document cover of the corresponding third document, which is not correct in this embodiment. This is restricted.
  • the user can instruct the electronic device to display the information of the document and the information of the document with the first association relationship or the second association relationship with the document by clicking on the node of the document in the relationship graph; thus, the electronic device
  • a click operation on a node in the relationship graph is received, a new area (ie, a third area) may be created, and the information of the above-mentioned documents is displayed in the third area.
  • a user wants to view information about a document to which a node in the relationship graph belongs, or wants to view information about a document that has a first or second association relationship with a document to which a node in the relationship graph belongs, he or she can click the relationship. the node in the graph.
  • the electronic device can obtain the first information of the document to which the node belongs and the third document that has the first association relationship or the second association relationship with the node. the second information, create a third area, display the acquired first information and second information in the third area, and further stop displaying the second area.
  • the third area may be created based on a preset shape and/or size, and the display area of the first area may be further adjusted according to the display area of the third area, such as increasing the first area according to the display area of the third area.
  • the display area of the first area may be further adjusted according to the display area of the third area, such as increasing the first area according to the display area of the third area.
  • the electronic device when receiving a click operation on a node displayed in the relationship diagram, may also directly display the node in the second area and the first associated relationship or the first relationship with the document to which the node belongs. Information about the document of the second association relationship.
  • the electronic device when monitoring the user's click on a node (ie, the first target node) in the relationship graph, the electronic device can obtain the first information of the document to which the first target node belongs and the first association relationship with the first target enclosure or The second information of the third document in the second association relationship, the display range of the first area and the display range of the second area are updated, and the first information of the first document and the second information of the third document are displayed in the second area .
  • a node ie, the first target node
  • S206 Update the display content of the first area, so that the display content of the first area is associated with the display content of the target area where the first information and the second information are displayed, and the target area is the the second area or the third area.
  • the target area can be understood as the area in the target page where the first information of the first document and the second information of the third document are displayed. For example, when the first information and the second information of the first document are displayed in the created third area When the second information of the third document is displayed, the target area may be the third area; when the first information of the first document and the second information of the third document are displayed in the second area, the target area may be the second area.
  • the electronic device may further update the display content of the first area, such as updating the size of the relational graph displayed in the first area, the first area The number of nodes displayed in and/or the display status of corresponding nodes in the first area, so that the display content of the first area is associated with the displayed first information and second information, so as to facilitate the user to view.
  • the electronic device may adjust the size of the relational graph to completely display the relational graph in the first area, or only display the relational graph in the first area that includes the first document.
  • the node of the first document may be further displayed in the first display state, the fourth display state or other display states, and will be displayed with Documents in which the first document has the first association relationship/second association relationship are displayed in the second display state/third display state.
  • the first area 30 and the target area 32 may be displayed on the target page at the same time, that is, they are displayed on the target page at the same time
  • the relationship diagram of the association relationship between the first document and the third document, the first information of the first document and the second information of the third document are included, so as to facilitate viewing by the user.
  • the trigger operation can be understood as an operation of triggering the second information of a third document displayed in the target area, such as an operation of moving the focus to a certain second information or an operation of clicking a certain second information, etc. .
  • the user when the user wants to view the association relationship between a third document and other documents, the user can trigger the second information of the third document by executing a corresponding trigger operation;
  • the node of the third document can be switched to the corresponding display state, for example, the third document is displayed in a state different from the first display state, the second display state and the third display state.
  • the display state of the display state for example, in a different color (eg, yellow) than the color of the nodes in the first display state, the second display state, and the third display state and/or different from the first display state, the second display state and other shapes of the node shape in the third display state (such as a ring) to display the node clicked by the user, and can further use a preset path display mode, such as using a dotted line that does not contain path direction information, display the first document and The relationship path between the third documents, so that the user can distinguish the triggered second document, as shown in FIG. 7 (FIG. 7 takes the user triggering the first second information as an example).
  • a different color eg, yellow
  • the second display state and other shapes of the node shape in the third display state such as a ring
  • the electronic device may further display the reading control of the third document, so that the user can view the third document by triggering the reading control of the third document.
  • the method for querying the document relationship provided by this embodiment may further include: in response to the trigger operation, displaying the first reading control of the corresponding third document in the relationship diagram; and/or, In response to the triggering operation, a second reading control corresponding to the third document is displayed in the target area.
  • the electronic device displays the reading control 70 of the first document in the target area, and when receiving a trigger operation for the second information of a third document, displays the first document in the first area.
  • Read Control 72 displays the reading control 70 of the first document in the target area, and when receiving a trigger operation for the second information of a third document, displays the first document in the first area.
  • the electronic device when the electronic device detects that the user clicks on the reading control 70 of the first document, it displays the second area 31 on the page, and displays the content of the first document in the second area 31;
  • the first reading control 71 or the second reading control 72 of the third document is used, the second area 31 is displayed on the page, and the content of the third document is displayed in the second area 31, as shown in FIG. 3 .
  • the association relationship between the first document corresponding to the node and the third document that has an associated relationship and the first information of the first document are displayed.
  • the second information of the third document and when the user performs a triggering operation on the displayed first information of the first document or the second information of the third document, the content displayed in the relationship diagram is updated synchronously, which can not only serve the user Viewing the information of the document provides convenience, and also enables the user to view the association relationship of the document synchronously when viewing the information of the document, thereby improving the user experience.
  • FIG. 8 is a structural block diagram of an apparatus for querying document relationships according to an embodiment of the present disclosure.
  • the apparatus may be implemented by software and/or hardware, and may be configured in an electronic device, typically, a computer device, and may query the association relationship between documents by executing a document relationship query method.
  • the apparatus for querying document relationships provided in this embodiment may include: a determination module 801 and a first display module 802, wherein:
  • a determination module 801 configured to determine a first document displayed in the target page in response to a user's query operation of document relationship in the target page, wherein the content of the first document is displayed in the target page;
  • the first display module 802 is configured to display the relationship diagram of the first document and the second document in the first area of the target page, and display the content of the first document in the second area of the target page, wherein , the first document and the second document have a first association relationship or a second association relationship.
  • the first document displayed in the target page is determined by the determining module in response to the user's query operation of the document relationship in the target page displaying the content of the first document, and the first display module is used to determine the first document displayed in the target page.
  • a relationship diagram of a first document and a second document having a first or second relationship with the first document is displayed in the first area of the target page, and the content of the first document is displayed in the second area of the target page.
  • the device for querying document relationships may further include: an area creation module, configured to create a third area in response to a click operation on a node of any first document displayed in the first area, The first information of the first document and the second information of the third document are displayed in the third area, and the first document and the third document have the first association relationship or the second association relationship; a range update module, configured to update the display range of the first area in the target page based on the display range of the third area.
  • the apparatus for querying document relationships may further include: an area update module, configured to update the first document in response to a click operation on a node of any first document displayed in the first area the display range of the area and the display range of the second area, and update the display content of the second area to the first information of the first document and the second information of the third document, the first document and the second information of the third document.
  • the third document has the first association relationship or the second association relationship.
  • the apparatus for querying document relationships may further include: a content update module, configured to update the display content of the first area, so that the display content of the first area is the same as the display of the first information It is associated with the display content of the target area of the second information, and the target area is the second area or the third area.
  • a content update module configured to update the display content of the first area, so that the display content of the first area is the same as the display of the first information It is associated with the display content of the target area of the second information, and the target area is the second area or the third area.
  • the apparatus for querying document relationships may further include: a second display module, configured to display the first area and the target area simultaneously in the displayable area of the target page.
  • the device for querying document relationships may further include: a state update module, configured to update the display state of the node of the corresponding third document in response to a trigger operation for the second information of any third document .
  • the first document and the second document may have a first association relationship
  • the first display module 802 may be configured to: display the nodes of the first document in the relationship graph as In the first display state, the nodes of the second document are displayed as the second display state, and the nodes other than the nodes of the first document and the nodes of the second document are displayed as the third display state.
  • the first document and the second document may have a second association relationship
  • the first display module 802 may be configured to: display the nodes of the first document in the relationship graph as In the first display state, the nodes of the fourth document are displayed as the second display state, and other nodes except the nodes of the first document and the nodes of the fourth document are displayed as the third display state, wherein, The first document and the fourth document have the first association relationship, and the other nodes include nodes of the second document.
  • the first display module 802 may be further configured to: display the first association path between the node of the first document and the node of the second document as a first connection state, wherein all The first connection state includes path direction information of the first associated path, and the first connection state has a first path display state.
  • the apparatus for querying document relationship may further include: a response module, configured to respond to the display of the relationship diagram of the first document and the second document in the first area of the target page.
  • a response module configured to respond to the display of the relationship diagram of the first document and the second document in the first area of the target page.
  • the first association relationship may be a reference relationship
  • the second association relationship may be a recommendation relationship
  • the first association relationship may be a recommendation relationship
  • the second association relationship may be a reference relationship
  • the reference relationship may include a forward reference relationship and/or a reverse reference relationship.
  • the first display module 802 may be configured to: create a first area in the target page, display the relationship diagram of the first document and the second document in the first area, and display the relationship diagram of the first document and the second document in the first area. For the display range of the first area, adjust the display range of the second area where the first document is located in the target page.
  • the device for querying document relationships provided by the embodiments of the present disclosure can execute the query methods for document relationships provided in any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the query methods for executing document relationships.
  • the query method for document relationship provided by any embodiment of the present disclosure.
  • FIG. 9 it shows a schematic structural diagram of an electronic device (eg, a terminal device) 900 suitable for implementing an embodiment of the present disclosure.
  • 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 electronic device shown in FIG. 9 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • an electronic device 900 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 901 that may be loaded into random access according to a program stored in a read only memory (ROM) 902 or from a storage device 906 Various appropriate actions and processes are executed by the programs in the memory (RAM) 903 . In the RAM 903, various programs and data necessary for the operation of the electronic device 900 are also stored.
  • the processing device 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904.
  • An input/output (I/O) interface 905 is also connected to bus 904 .
  • the following devices can be connected to the I/O interface 905: input devices 906 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 907 such as a computer; a storage device 906 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909 .
  • the communication means 909 may allow the electronic device 900 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 9 shows an electronic device 900 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 909, or from the storage device 906, or from the ROM 902.
  • the processing apparatus 901 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 can 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 protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
  • HTTP HyperText Transfer Protocol
  • 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.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: in response to a user's document relationship query operation in the target page, determine the target page The first document displayed in the target page, wherein the content of the first document is displayed in the target page; the relationship diagram between the first document and the second document is displayed in the first area of the target page, and the content of the first document is displayed in the target page.
  • the second area of the target page displays the content of the first document, wherein the first document and the second document have a first association relationship or a second association relationship.
  • 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 module 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.
  • Example 1 provides a method for querying document relationships, including:
  • the relationship diagram of the first document and the second document is displayed in the first area of the target page, and the content of the first document is displayed in the second area of the target page, wherein the first document and the second document are displayed in the second area of the target page.
  • the second document has a first association relationship or a second association relationship.
  • Example 2 is according to the method of Example 1, the method further comprising:
  • a third area is created, and the first information of the first document and the first information of the third document are displayed in the third area.
  • Second information, the first document and the third document have the first association relationship or the second association relationship;
  • the display range of the first area in the target page is updated.
  • Example 3 is the method of Example 1, the method further comprising:
  • the display range of the first area and the display range of the second area are updated, and the display range of the second area is updated.
  • the content is updated to the first information of the first document and the second information of the third document, and the first document and the third document have the first association relationship or the second association relationship.
  • Example 4 is the method of Example 2 or 3, the method further comprising:
  • Example 5 is according to the method of Example 4, the method further comprising:
  • the first area and the target area are simultaneously displayed in a displayable area of the target page.
  • Example 6 is the method of Example 2 or 3, the method further comprising:
  • the display state of the node of the corresponding third document is updated.
  • Example 7 According to the method of Example 1, the first document and the second document have a first association relationship, and the display in the first area of the target page
  • the relationship diagram of the first document and the second document including:
  • Example 8 According to the method of Example 1, the first document and the second document have a second association relationship, and the display in the first area of the target page
  • the relationship diagram of the first document and the second document including:
  • Example 9 According to the method of Example 7 or 8, the displaying the relationship diagram of the first document and the second document in the first area of the target page, further comprising: :
  • the first connection state has a first path display state.
  • Example 10 in Example 10, according to the method of Example 7 or 8, after the relationship diagram of the first document and the second document is displayed in the first area of the target page, also includes:
  • the second association path between the nodes of the fifth document is displayed as a second connection state, wherein the second document and the fifth document have the first association relationship or the second association relationship, so
  • the second connection state includes path direction information of the second associated path, and the second connection state has a second path display state.
  • Example 11 in Example 11, according to the method described in any one of Examples 1-3 and 7-8, the first association relationship is a reference relationship, and the second association relationship is a recommendation relationship; or , the first association relationship is a recommendation relationship, and the second association relationship is a reference relationship; the reference relationship includes a forward reference relationship and/or a reverse reference relationship.
  • Example 12 According to the method of any one of Examples 1-3 and 7-8, the displaying the first document and the second document in the first area of the target page The relationship diagram of the first document is displayed in the second area of the target page, including:
  • a first area is created in the target page, a relationship diagram of the first document and the second document is displayed in the first area, and the first document is adjusted according to the display range of the first area.
  • Example 13 provides an apparatus for querying document relationships, including:
  • a determining module configured to determine a first document displayed in the target page in response to a user's query operation of document relationship in the target page, wherein the content of the first document is displayed in the target page;
  • a first display module configured to display the relationship diagram of the first document and the second document in the first area of the target page, and display the content of the first document in the second area of the target page, wherein, The first document and the second document have a first association relationship or a second association relationship.
  • Example 14 provides an electronic device comprising:
  • 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 relationship query method as described in any one of Examples 1-12.
  • Example 15 provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the document as described in any of Examples 1-12 The query method for the relationship.
  • FIG. 10 is a schematic flowchart of a method for searching a document according to an embodiment of the present disclosure.
  • the method may be performed by a document searching apparatus, wherein the apparatus may be implemented by software and/or hardware, and may be configured in an electronic device, typically, a computer device.
  • the document search method provided by the embodiment of the present disclosure is suitable for a document search scenario. As shown in FIG. 10 , the search method for documents provided in this embodiment may include:
  • the search request may be understood as a request for searching a certain document, which may be generated based on a user's search operation.
  • the first document may be the document requested by the search request.
  • the trigger operation for searching the document is performed; accordingly,
  • the electronic device may generate a search request when monitoring a triggering operation of a user searching for a certain document, and perform a search in response to the search request to determine the document corresponding to the search request, that is, determine the first document corresponding to the search request.
  • the search request can also be generated and sent by other devices.
  • the user can perform a search operation on another device that establishes a communication connection with the electronic device, and generates a search request for the document he wants to search through the other device.
  • Information such as document name, document ID or keywords, etc., is searched to determine the first document corresponding to the search request.
  • the second document may be a document having a first association relationship or a second association relationship with the first document, and the number of the second document may be one or more.
  • the relationship graph of the first document and the second document can be understood as a graph used to represent the association relationship between the first document and the second document, and only the association between the first document and the second document can be displayed in the relationship graph
  • the relationship between the first document and other documents can also be further displayed.
  • the relationship diagram can be a document map of the document space to which the first document belongs, and the document map can display the documents in the document space to which the first document belongs.
  • the nodes of the documents with the association relationship can be connected by connecting lines. The following takes this situation as an example for description.
  • the relationship graph of the first document and the second document may further display the document name of the document corresponding to each node, so that the user can distinguish the document to which each node in the relationship graph belongs.
  • the first association relationship and the second association relationship can be any two different association relationships, such as a recommendation relationship, a reference relationship, a matching relationship, etc.
  • the first association relationship and the second association relationship can be a recommendation relationship.
  • reference relationship in this case, preferably, the first relationship is a reference relationship, and the second relationship is a recommendation relationship; or, the first relationship is a recommendation relationship, and the second relationship is a reference relationship relationship; the reference relationship includes a forward reference relationship and/or a reverse reference relationship.
  • the forward reference relationship can be understood as the first document citing other documents.
  • first document When a certain document is referenced in the first document, it can be considered that there is a forward reference relationship between the first document and the document; a reverse reference relationship It can be understood that the first document is referenced in other documents, that is, the first document is referenced by other documents, and when a certain document references the first document, it can be considered that there is a back-reference relationship between the first document and the document.
  • the first area and the second area may be two display areas in the page, the first area may be an area for displaying the relationship diagram of the first document and the second document, and the second area may be an area for displaying the first document.
  • the area of the first information and/or the second information of the second document, the second area may be displayed on the same layer as the first area, or may be located on an upper layer of the first area.
  • the first information can be understood as the document information of the first document
  • the second information can be the document information of the second document
  • the first information and the second information can be the information with the same content, or the content can be different.
  • the first information and the second information may both contain the document name of the corresponding document, the document cover, and/or the document introduction (such as the document abstract, the document content introduction, or part or all of the document content of the document, etc.), etc., or,
  • the first information may include information such as the document name, document introduction, and/or document cover of the first document;
  • the second information may include information such as the document name and/or document cover of the corresponding second document, which is not performed in this embodiment. limit.
  • the electronic device may further acquire the first information of the first document and the second information of the second document having the first association or the second association with the first document. information, and display the relationship diagram between the first document and the second document in the first area 21 of the page, and display the first information of the first document and the second information of the second document in the second area 22 of the page, as shown in Figure 11 Show.
  • the electronic device displays a relationship diagram page of a certain document space, and displays the relationship diagram of each document in the document space on the page; the user performs a search operation for a certain document in the document space on the page ;
  • the electronic device When monitoring the user's search operation for a certain document, the electronic device generates a search request, and in response to the search request, obtains the document corresponding to the search request, and displays the first document in a corresponding display state in the relationship diagram and the node of the second document that has the first association or the second association with the first document, and a preview panel pops up, in which the first information of the first document and the list of the second document are displayed.
  • the second information of each second document is displayed in the second document list.
  • the electronic device can further adjust the display position of the relationship diagram on the relationship diagram page, so as to adjust the node of the first document to the center position of the relationship diagram page or the first area, so that the user can view the first document and the second document. relationship between.
  • the first document and the second document have a first association relationship
  • the displaying the relationship diagram of the first document and the second document in the first area on the page includes: The nodes of the first document in the relationship diagram are displayed in the first display state, the nodes of the second document are displayed in the second display state, and the nodes of the first document and the second document are displayed Nodes other than the node shown in the third display state.
  • the first display state, the second display state and the third display state may be different, not all the same or the same display state, preferably three different display states, the following is an example of this situation. illustrate.
  • nodes with different display states can be distinguished by different shapes and/or colors.
  • the first display state can be highlighted in the form of a non-circle point (such as a circle outside a circle, etc.) (such as display blue)
  • the second display state may be highlighted in the form of dots
  • the third display state may be non-highlighted (eg, displayed in gray) in the form of dots.
  • different display states can be used to display the nodes of the first document, the nodes of the second document, and the nodes of the relationship diagram except the first document.
  • the electronic device before receiving the search request, that is, before the user performs the document search operation, the electronic device can display the nodes of each document in the relationship graph as the second display state; After the search request for the first document, the electronic device may display the first information of the first document and the second information of each second document that has a reference relationship with the first document in the second area, and the first document in the relationship diagram
  • the display state of the node is switched from the second display state to the first display state, and the nodes of each second document that has a reference relationship with the first document continue to be displayed in the second display state, and the nodes of the first document and the nodes of the first document are removed from the relationship graph.
  • the display states of other nodes other than the node of the second document are switched from the second display state to the third display state.
  • the first document and the second document have a second association relationship
  • the displaying the relationship diagram of the first document and the second document in the first area on the page includes: The nodes of the first document in the relationship graph are displayed in the first display state, the nodes of the third document are displayed in the second display state, and the nodes of the first document and the third document are displayed in the second display state. Other nodes other than the node are displayed in a third display state, wherein the first association relationship exists between the first document and the third document, and the other nodes include nodes of the second document.
  • the third document when there is a second association relationship between the first document and the second document, that is, when the second document is a document that has a second association relationship with the first document, the third document may be a document that has the first association relationship with the first document. Documentation of the relationship.
  • Other nodes may be nodes other than the nodes of the first document and the nodes of the third document in the relationship graph, which may include nodes of the second document that have a second association relationship with the first document, and may further include nodes in the document space. A node of a document that has neither the first association nor the second association with the first document.
  • the nodes of the first document and the nodes of the second document may be displayed in different display states, and may be further displayed in other display states A node of a third document that has a first association relationship with the first document, so that the user can determine each document that has a different association relationship with the searched document.
  • the electronic device before receiving a search request, that is, before the user performs a document search operation, the electronic device can display the nodes of each document in the relationship graph as the second relationship.
  • the electronic device can display the first information of the first document and the second information of each second document having a recommended relationship with the first document in the second area, Switch the display state of the nodes of the first document in the relationship graph from the second display state to the first display state, continue to display the nodes of the third document that has a reference relationship with the first document in the second display state, and place the nodes in the relationship graph
  • the display states of the nodes of other documents (including the second document) other than the nodes of the first document and the nodes of the third document are switched from the second display state to the third display state.
  • the method for determining the second document that has a recommendation relationship with the first document can be selected according to needs, for example, according to the degree of association (such as similarity) of the content of the document, whether it has been browsed by the publisher of the first document Calculate the recommendation degree of each document in the document space to which the first document belongs, and whether it is a document published by the publisher of the first document, etc., and determine the second document that has a recommendation relationship with the first document according to the recommendation degree, For example, a document with a recommendation degree greater than a preset recommendation degree threshold is determined as a second document with a recommendation relationship with the first document, and/or, according to the order of recommendation degree from high to low, a preset number of documents are selected as the first document and the first document. A document has a second document with a recommendation relationship, and so on.
  • the similarity between two documents may be determined by character matching and/or semantic matching. Contents, etc. are matched to obtain the similarity between the two documents.
  • the second document that has a recommendation relationship with the first document may or may not include documents that have a reference relationship with the first document, for example, documents other than the first document and the third document in the document space may be included.
  • the second document that has a recommended relationship with the first document is selected from the document, and the second document that has a recommended relationship with the first document can also be selected from the documents (including the third document) other than the first document in the document space.
  • the embodiment does not limit this.
  • the second document that has a recommendation relationship with the first document includes a document that has a reference relationship with the first document
  • the document that has a reference relationship with the first document can be displayed in the second display state
  • the document that has a reference relationship with the first document can be displayed in the second display state
  • Other documents that do not have a reference relationship are displayed in the third display state.
  • the displaying the relationship graph of the first document and the second document in the first area of the page further includes: displaying the first document between the nodes of the first document and the nodes of the second document.
  • An associated path is displayed as a first connection state, wherein the first connection state includes path direction information of the first associated path, and the first connection state has a first path display state.
  • the first relationship path may be understood as a relationship path between the nodes of the first document and the nodes of the second document.
  • the first connection state may be understood as a connection state having a first path display state, and the first path display state may be a state of being highlighted in a certain color (eg, blue).
  • the path direction information of the first relationship path may be identified by arrows.
  • the first document and the second document may be further identified by the path direction of the first relationship path between the nodes of the first document and the nodes of the second document.
  • the association direction of the association relationship between the second documents For example, when there is a recommendation relationship between the first document and the second document, the path direction of the first association path may point from the first document to the second document (or from the second document to the second document).
  • the path direction of the first associated path can be from the referenced document to the referenced document (or from the referenced document to the referenced document), such as when a second document is referenced in the first document , the association path between the first document and the second document can point from the first document to the second document (or from the second document to the first document), when a certain second document references the first document , the association path between the first document and the second document can be from the second document to the first document (or from the first document to the second document) to identify the document that has a forward reference relationship with the first document and the node of the document that has a back-reference relationship with the first document, so as to facilitate the user to distinguish.
  • the electronic device may associate the nodes of each document with the reference relationship in the relationship graph.
  • the relationship paths between them are displayed in other path display states, such as a non-highlighted path display state that does not include path direction information (for example, displayed in gray); thus, after receiving the search request for the first document, the electronic device can The display state of the first relationship path between the first document and the second document is switched to the first path display state.
  • the method further includes: moving the focus to any node except the node of the first document in response to the focus.
  • a node of a target document displaying the node of the target document as the second path display state, and displaying the second association path between the node of the target document and the node of the fourth document as the second connection state , wherein the target document and the fourth document have the first association relationship or the second association relationship, the second connection state includes path direction information of the second association path, the The second connection state has a second path display state.
  • the target document may be understood as a document corresponding to the node to which the cursor is moved
  • the fourth document may be a document having a first association relationship or a second association relationship with the target document.
  • the second association path can be understood as an association path between the target document and each fourth document.
  • the second connection state may be a state in which the associated path is displayed in the second path display state.
  • the second path display state may be the same or different from that of the first path display state, preferably it may be a path display state different from the first path display state, for example, when the first path display state contains path direction information In the highlighted display state, the second path display state may be a non-highlighted display state including path direction information.
  • the user can view the fourth document and the target document associated with the document by controlling the focus (such as the cursor) to move to the position of the node of a document (ie the target document) in the relational graph The direction of association with each fourth document.
  • the focus such as the cursor
  • the electronic device displays the association relationship between the first document and the second document in the relationship diagram; the user wants to view the association relationship and/or association direction between a certain other document (ie, the target document) and other documents.
  • a certain other document ie, the target document
  • the electronic device detects that the focus moves to the display position of the node of the target document, if the node of the target document is not in the first display state A node of a document, the node of the target document can be displayed in the second display state, and the direction of association between the target document and the fourth document that has an associated relationship with it can be displayed.
  • the second associated path is displayed as the second path display state.
  • the electronic device when the electronic device detects that the focus moves to the node of the first document, it can continue to display the node of the first document in the first display state, and display the node of the first document in the second display state that has the first association relationship with the first document.
  • the node of the document displaying the nodes other than the node of the first document and the node of the second document in the third display state, and connecting the node of the first document with the node of the document having the first association relationship with the first document
  • the associated path is displayed in the first path display state; when the electronic device detects that the focus moves to a node in the second display state, it can continue to display the node in the second display state, and display the node in the first path display state.
  • the association path between the node and the node of the first document, and the second path display state displays the association path between the node and the nodes of other documents that have the first association relationship or the second association relationship with the document to which it belongs; electronic equipment When it is detected that the focus moves to a node in the third display state, the display state of the node can be switched from the third display state to the second display state, and the node and the document to which it belongs have a first association relationship Or the association paths between the nodes of the documents in the second association relationship are switched to the second path display state, as shown in FIG. 12 .
  • the electronic device can also directly display the node in the second display state regardless of whether the node to which the focus moves is a node of the second document, and display the node as having a first association relationship with the document to which it belongs, or The association paths between the nodes of the documents in the second association relationship are displayed as the second path display state.
  • the method for searching a document in response to a search request, obtains a first document corresponding to the search request, displays the first document in a first area on the page and has a first association relationship with the first document or A relationship diagram between the second documents of the second association relationship, and the first information of the first document and the second information of the second document are displayed in the second area of the page.
  • the information of the document, the association relationship between the document and other documents, and the information of the document having an association relationship with the document are displayed at the same time, so that the user can search for a certain document at the same time.
  • the association relationship between the searched document and other documents can also be viewed, so that the user can view other documents related to the searched document based on the association relationship, and the user experience can be improved.
  • FIG. 13 is a schematic flowchart of another method for searching a document according to an embodiment of the present disclosure.
  • the solution in this embodiment can be combined with one or more optional solutions in the above-mentioned embodiments.
  • the method for searching a document provided in this embodiment further includes: in response to a first trigger operation for the second information of the second document, switching the node of the corresponding second document to a fourth display state.
  • the method for searching a document further includes: in response to a second trigger operation on the first document or the second document in the second area, creating a third area, the third area The area is used to display the corresponding content of the first document or the second document; based on the display area of the third area, the display area of the first area in the page is updated.
  • the method for searching a document further includes: updating the display content of the first area, so that the display content of the first area is associated with the display content of the third area.
  • the method for searching a document further includes: in response to a second trigger operation on the first document or the second document in the second area, updating the display range of the first area and the display range of the second area, and update the display content of the first area and/or the display content of the second area.
  • the method for searching documents provided in this embodiment further includes: in response to a click operation on any node in the relationship graph, generating a search request; and/or in response to a third trigger of a search control in the search box Action to generate a search request.
  • the search method for documents provided by this embodiment includes:
  • the user may instruct the electronic device to search for the document by clicking on the node of the document in the relationship graph.
  • the user wants to search for a document in the document space, he can control the electronic device to display the relationship diagram of the document space, and click the node of the document in the relationship diagram.
  • the electronic device detects that the user clicks the relationship diagram when the user clicks the relationship diagram.
  • a search request for the document to which the node belongs can be generated.
  • the third trigger operation may be understood as an operation of triggering a search control, such as an operation of the user clicking the search control or an operation of clicking the Enter button after the user selects a document name.
  • the user can also instruct the electronic device to search for the document selected by the user by triggering the search control.
  • the search control is triggered; correspondingly, when the electronic device detects that the user triggers the search control, it can determine to receive to a third trigger operation, and in response to the third trigger operation, generate a search operation for the document corresponding to the document identification information in the selected state.
  • the electronic device may further input the document identification information selected by the user into the search box, and stop displaying the document identification information of each matched document.
  • the electronic device may input a keyword in the search box of the relationship graph page displaying the relationship diagram or in the search box of other pages to perform document search.
  • the electronic device can also identify the document identification selected by the user in the relationship diagram.
  • the method for searching a document provided by this embodiment may further include: in response to a user's keyword input operation, displaying the keyword input by the user in the search box, and displaying the keyword matching the keyword.
  • the matching document can be understood as a document matching the keyword input by the user;
  • the fifth display state can be the same or different display state as the first display state, the second display state or the third display state, preferably the first display state A display state in which the display state, the second display state and the third display state are all different, such as a display state in which the shape and/or color of the node is different from that of the node corresponding to the first display state, the second display state and the third display state ;
  • the document identification information may include information such as a document name and/or a document ID. The following description will be given by taking the document identification information as the document name as an example.
  • a search box 50 may be provided in the relationship graph page.
  • the user can input the keyword (including inputting the name of the document) of the document to be searched into the search box 50 .
  • the electronic device uses a preset matching algorithm (such as character matching or fuzzy matching, etc.) to match each document with the keyword input by the user in the search box 50, and displays the matched documents in a preset position (such as the lower part of the search box 50).
  • the document identification information of each document can select the identification information of the document to be searched to trigger the search control to search.
  • the electronic device when monitoring the identification information of a certain document selected by the user, can switch the node of the document corresponding to the identification information selected by the user (that is, the target matching document) to the fifth display state in the relational graph, and can further display the node.
  • the node of the document that has the first or second association with the target matching document is displayed in the second display state, and the nodes except the target matching document and the document that has the first or second association with the target matching document are displayed. Nodes other than the node of the selected node are displayed in the third display state, so that the user can determine the document that has the first association relationship or the second association relationship with the document to which the selected document identification information belongs.
  • the first triggering operation can be understood as an operation that triggers the second information of a certain second document displayed in the second area, such as an operation of moving the focus to a certain second information or clicking a certain second information operation, etc.
  • the fourth display state may be the same or different display state as the first display state, the second display state or the third display state, preferably a display state different from the first display state, the second display state and the third display state , for example, may be in a different color (eg, yellow) than the color of the nodes in the first, second, and third display states and/or different from the first, second, and third display states
  • Other shapes (such as a circle) of the shape of the node in the state display the corresponding node, which is not limited in this embodiment.
  • the user when the user wants to view the association relationship between a certain second document and other documents, the user can trigger the second information of the second document by executing the first trigger operation; correspondingly, when the electronic device detects that the user targets a certain document
  • the node of the second document can be switched to the fourth display state, and a preset path display mode can be further adopted.
  • the relationship path between the first document and the second document, so that the user can distinguish the triggered second document as shown in FIG. 15 .
  • the second trigger operation may be a trigger operation for viewing the content of the first document or the content of the second document, such as an operation of clicking a reading control of a certain document, and the reading control may be displayed in the relationship diagram and/or in the second area
  • the method provided in this embodiment may preferably further include: in response to the first trigger operation, displaying the first reading control of the corresponding second document in the relationship diagram for the user to execute the first reading control. Two triggering operations; and/or, in response to the first triggering operation, displaying a second reading control of the corresponding second document in the second area for the user to perform the second triggering operation.
  • the electronic device when receiving a second trigger operation for the first document or a certain second document, the electronic device may create a new area (ie, a third area), and display the corresponding document in the third area Content.
  • a new area ie, a third area
  • the electronic device displays the reading control 60 of the first document in the second area, and after receiving a certain second document
  • the first reading control 61 of the second document is displayed in the first area and/or the second reading control 62 of the second document is displayed in the second area. Therefore, when the user wants to view the content of the first document, he can click the reading control 60 of the first document, and/or, when the user wants to view the content of the second document, he can click the first reading control 61 or the first reading control 61 Two reading controls 62.
  • FIG. 15 the user triggers the first second information as an example
  • a third area is created in the page, and the content of the first document is displayed in the third area;
  • a third area is created in the page, and the content of the second document is displayed in the third area.
  • the third area may be created based on a preset shape and/or size, and the display area of the first area may be further adjusted according to the display area of the third area, such as reducing the size of the first area according to the display area of the third area.
  • a certain node instructs the electronic device to search for the document corresponding to the node.
  • the first area and the third area may have the same or different display ranges, preferably may have the same display range, to ensure that the user can clearly view the relationship diagram and document content.
  • the updating the display range of the first area in the page based on the display range of the third area includes: simultaneously displaying the first area and the first area in a displayable area of the page Three areas, the first area and the third area have the same display range.
  • the displayable area of the page may be the area where the entire page is located, or may be an area other than a border, a function bar, and the like in the page.
  • the electronic device may further update the displayed content of the first area, such as updating the relationship displayed in the first area
  • the displayed content of the first area such as updating the relationship displayed in the first area
  • the size of the graph, the number of nodes displayed in the first area, and/or the display status of the corresponding nodes in the first area so that the display content of the first area is associated with the display content of the third area, so that the user can view the display content in the first area. Nodes corresponding to the documents in the first area and their associations in the first area of the document to which the displayed content of the three areas belongs.
  • the electronic device may adjust the size of the relational graph to completely display the relational graph in the first area, or only display the relational graph in the first area that includes the first document.
  • the node of the document, and the document with the first association relationship/second association relationship with the document corresponding to the display content of the third area is displayed as the second display state/third display state.
  • the electronic device when receiving a second trigger operation for the first document or a certain second document, may also directly display the content of the corresponding document in the second area.
  • the electronic device displays the reading control 60 of the first document in the second area, and after receiving a certain second document
  • the first reading control 61 of the second document is displayed in the first area and/or the second reading control 62 of the second document is displayed in the second area. Therefore, when the user wants to view the content of the first document, he can click the reading control 60 of the first document, and/or, when the user wants to view the content of the second document, he can click the first reading control 61 or the first reading control 61 Two reading controls 62.
  • FIG. 15 the user triggers the first second information as an example
  • the electronic device when the electronic device detects that the user clicks on the reading control 60 of the first document, it can update the display range of the first area and the display range of the second area, and display the first document in the second area. and/or, update the display content of the first area; when the electronic device detects that the user clicks on the first reading control 61 or the second reading control 62 of the second document, the display range of the first area and the The display range of the second area, and the content of the second document is displayed in the second area, and/or the display content of the first area is updated.
  • the electronic device may update the display content of the first area, such as updating the size of the relationship diagram displayed in the first area, the number of nodes displayed in the first area, and/or the corresponding nodes in the first area , so that the display content of the first area is associated with the updated display content of the second area, so that the user can view the corresponding nodes and their associations in the first area of the document to which the display content in the third area belongs.
  • updating the display content of the first area includes: updating the display content of the first area, so that the display content of the first area is associated with the display content of the second area.
  • the electronic device may adjust the size of the relational graph so as to complete the display of the relational graph in the first area, or only display the relational graph in the first area that includes the first document.
  • the node of the document, and the document that has the first association relationship/second association relationship with the document corresponding to the display content of the second area is displayed as the second display state/third display state.
  • the electronic device may update the display range of the first area and the display range of the second area based on the preset shape and/or size, such as increasing the display range of the second area, and according to the enlarged first area
  • the display range of the second area reduces the display range of the first area, so that the first area and the second area are displayed on the page at the same time, that is, the relationship diagram and the content of the corresponding document are displayed on the page at the same time, so that the user can view the content of each document. or by clicking on a node in the relationship graph to instruct the electronic device to search for the document corresponding to the node.
  • the first area and the second area may have the same or different display ranges, preferably may have the same display range, so as to ensure that the user can clearly view the relationship diagram and document content.
  • the updating the display range of the first area and the display range of the second area includes: displaying the first area and the second area simultaneously in the displayable area of the page, The first area and the second area have the same display range.
  • the display state of each node in the relationship graph is not switched, and only the second document is displayed in the second area.
  • the second reading control of the second document when the user clicks the display position of the second information of the second document, the node of the second document is switched to the fourth display state and the first reading control of the second document is displayed; when the user triggers
  • the first reading control or the second reading control of the second document it is determined that a second trigger operation of the second document is received, and the second trigger operation is responded to.
  • the method for searching a document performs a document search based on a click operation on a node in a relationship graph and/or a trigger operation on a search control, and displays the searched first document and a second document that has an associated relationship with it. and the first information of the first document and the second information of the second document, and the user performs different triggers on the first information of the first document or the second information of the second document displayed in the second area
  • the content displayed in the relationship diagram is updated synchronously, which not only provides users with a variety of convenient search methods, but also enables users to view the association relationship of documents synchronously when triggering the information of documents or viewing the content of documents, improving the user's experience. experience.
  • FIG. 17 is a structural block diagram of an apparatus for searching documents according to an embodiment of the present disclosure.
  • the apparatus may be implemented by software and/or hardware, may be configured in electronic equipment, typically, may be configured in computer equipment, and may perform document search through a search device pointing to a document.
  • the apparatus for searching documents provided in this embodiment may include: an acquisition module 801 and a display module 802, wherein:
  • an obtaining module 801 configured to, in response to a search request, obtain a first document corresponding to the search request
  • a display module 802 configured to display the relationship diagram of the first document and the second document in the first area of the page, and display the first information and/or the second document of the first document in the second area of the page The second information, wherein the first document and the second document have a first association relationship or a second association relationship.
  • the device for searching for a document responds to a search request by an acquisition module, acquires a first document corresponding to the search request, and displays the first document and the first document in a first area of a page by a display module.
  • the first document and the second document may have a first association relationship
  • the display module 802 may be configured to: display the node of the first document in the relationship graph as the first A display state, displaying the nodes of the second document as a second display state, and displaying nodes other than the nodes of the first document and the nodes of the second document as a third display state.
  • the first document and the second document may have a second association relationship
  • the display module 802 may be configured to: display the node of the first document in the relationship graph as the first display state, displaying the nodes of the third document as the second display state, and displaying other nodes except the nodes of the first document and the nodes of the third document as the third display state, wherein the The first document and the third document have the first association relationship, and the other nodes include the nodes of the second document.
  • the display module 802 may be further configured to: display the first association path between the node of the first document and the node of the second document as a first connection state, wherein the A connection state includes path direction information of the first associated path, and the first connection state has a first path display state.
  • the apparatus for searching documents may further include: a first response module, configured to respond to the first area of the page after displaying the relationship diagram between the first document and the second document
  • the focus is moved to any node of the target document except the node of the first document, the node of the target document is displayed in the second display state, and the node of the target document and the node of the fourth document are displayed
  • the second association path between them is displayed as a second connection state, wherein the target document and the fourth document have the first association relationship or the second association relationship, and the second connection state includes The path direction information of the second associated path, and the second connection state has a second path display state.
  • the first association relationship may be a reference relationship
  • the second association relationship may be a recommendation relationship
  • the first association relationship may be a recommendation relationship
  • the second association relationship may be a reference relationship
  • the reference relationship may include a forward reference relationship and/or a reverse reference relationship.
  • the apparatus for searching a document may further include: a second response module, configured to switch the node of the corresponding second document to the first trigger operation for the second information of the second document in response to the first trigger operation Four display status.
  • the apparatus for searching documents may further include: a third response module, configured to create a response to a second trigger operation on the first document or the second document in the second area a third area, where the third area is used to display the content of the corresponding first document or the second document; a range update module, used for updating the first area based on the display range of the third area Display range in the page.
  • a third response module configured to create a response to a second trigger operation on the first document or the second document in the second area a third area, where the third area is used to display the content of the corresponding first document or the second document
  • a range update module used for updating the first area based on the display range of the third area Display range in the page.
  • the range update module may be configured to display the first area and the third area simultaneously in the displayable area of the page, and the first area and the third area have the same display range.
  • the apparatus for searching for documents may further include: a content update module, configured to update the display content of the first area, so that the display content of the first area and the display content of the third area Content related.
  • the apparatus for searching documents may further include: a fourth response module, configured to update the The display range of the first area and the display range of the second area are updated, and the display content of the first area and/or the display content of the second area is updated.
  • the fourth response module may be configured to display the first area and the second area simultaneously in the displayable area of the page, and the first area and the second area have the same display range.
  • the fourth response module may be configured to: update the display content of the first area, so that the display content of the first area is associated with the display content of the second area.
  • the apparatus for searching documents may further include: a first generating module, configured to generate a search request in response to a click operation on any node in the relational graph; and/or, a second generating module, for generating a search request in response to a third triggering operation on the search control in the search box.
  • the apparatus for searching for documents may further include: an information display module, configured to display the keyword input by the user in the search box in response to a user's keyword input operation, and display a keyword related to the keyword document identification information of the matching document matched by the word; the state switching module is configured to receive a selection operation for the document identification information of the target matching document, and switch the node of the target matching document to the fifth display state.
  • an information display module configured to display the keyword input by the user in the search box in response to a user's keyword input operation, and display a keyword related to the keyword document identification information of the matching document matched by the word
  • the state switching module is configured to receive a selection operation for the document identification information of the target matching document, and switch the node of the target matching document to the fifth display state.
  • the document search device provided by the embodiments of the present disclosure can execute the document search method provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to executing the document search method.
  • the search method for documents provided by any embodiment of the present disclosure can execute the document search method provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to executing the document search method.
  • FIG. 18 it shows a schematic structural diagram of an electronic device (eg, a terminal device) 900 suitable for implementing an embodiment of the present disclosure.
  • 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 electronic device shown in FIG. 18 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • an electronic device 900 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 901 that may be loaded into random access according to a program stored in a read only memory (ROM) 902 or from a storage device 906 Various appropriate actions and processes are executed by the programs in the memory (RAM) 903 . In the RAM 903, various programs and data necessary for the operation of the electronic device 900 are also stored.
  • the processing device 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904.
  • An input/output (I/O) interface 905 is also connected to bus 904 .
  • the following devices can be connected to the I/O interface 905: input devices 906 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 907 such as a computer; a storage device 906 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909 .
  • the communication means 909 may allow the electronic device 900 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 18 shows an electronic device 900 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 909, or from the storage device 906, or from the ROM 902.
  • the processing apparatus 901 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 can 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 protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
  • HTTP HyperText Transfer Protocol
  • 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.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, makes the electronic device: in response to a search request, obtain a first document corresponding to the search request;
  • the first area on the page displays the relationship diagram of the first document and the second document, and the second area on the page displays the first information of the first document and/or the second information of the second document, Wherein, the first document and the second document have a first association relationship or a second association relationship.
  • 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 module 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.
  • Example 1' provides a method for searching documents, including:
  • a relationship diagram of the first document and the second document is displayed in the first area of the page, and first information of the first document and/or second information of the second document is displayed in the second area of the page , wherein the first document and the second document have a first association relationship or a second association relationship.
  • Example 2' According to the method described in Example 1', there is a first association between the first document and the second document, and the display in the first area on the page
  • the relationship diagram of the first document and the second document including:
  • Example 3' According to the method described in Example 1', the first document and the second document have a second association relationship, and the display in the first area on the page
  • the relationship diagram of the first document and the second document including:
  • nodes of the first document in the relationship graph as the first display state
  • displaying the nodes of the third document as the second display state and removing the nodes of the first document and the third document
  • Other nodes other than the node of are displayed in a third display state, wherein the first association relationship exists between the first document and the third document, and the other nodes include nodes of the second document.
  • Example 4' According to the method of Example 2' or 3', the first area in the page displays a relationship diagram of the first document and the second document, and further include:
  • the first connection state has a first path display state.
  • Example 5' The method according to Example 2' or 3', after the displaying the relationship diagram of the first document and the second document in the first area in the page ,Also includes:
  • the second association path between the nodes of is displayed as a second connection state, wherein the target document and the fourth document have the first association relationship or the second association relationship, and the second connection
  • the state includes path direction information of the second associated path, and the second connection state has a second path display state.
  • Example 6' is the method according to any one of Example 1', Example 2', or Example 3', the first association relationship is a reference relationship, and the second association relationship is A recommendation relationship; or, the first association relationship is a recommendation relationship, and the second association relationship is a reference relationship; the reference relationship includes a forward reference relationship and/or a reverse reference relationship.
  • Example 7' is according to the method of Example 1', further comprising:
  • the node of the corresponding second document is switched to the fourth display state.
  • Example 8' is according to the method of any one of Example 1', Example 2' or Example 3' or Example 7', the method further comprising:
  • a third area is created, the third area is used to display the corresponding first document or the first document The content of the two documents;
  • the display range of the first area in the page is updated.
  • Example 9' according to the method of Example 8', the updating the display range of the first region in the page based on the display range of the third region include:
  • the first area and the third area are simultaneously displayed in the displayable area of the page, and the first area and the third area have the same display range.
  • Example 10' is according to the method of Example 8', the method further comprising:
  • the display content of the first area is updated so that the display content of the first area is associated with the display content of the third area.
  • Example 11' is according to the method described in any one of Example 1' or Example 2' or Example 3' or Example 7', the method further comprising:
  • the display range of the first area and the display range of the second area are updated, and the first area is updated. Display content of an area and/or display content of the second area.
  • Example 12' According to the method of Example 11', the updating the display range of the first area and the display range of the second area includes:
  • the first area and the second area are simultaneously displayed in the displayable area of the page, and the first area and the second area have the same display range.
  • Example 13' according to the method described in Example 11', updating the display content of the first area, including:
  • the display content of the first area is updated so that the display content of the first area is associated with the display content of the second area.
  • Example 14' is according to the method described in any one of Example 1' or Example 2' or Example 3' or Example 7', the method further comprising:
  • a search request is generated in response to a third trigger operation on the search control within the search box.
  • Example 15' is according to the method of Example 14', the method further comprising:
  • the keyword input by the user is displayed in the search box, and the document identification information of the matching document matching the keyword is displayed;
  • a selection operation for document identification information of the target matching document is received, and the node of the target matching document is switched to a fifth display state.
  • example 16' provides an apparatus for searching documents, including:
  • an obtaining module configured to obtain the first document corresponding to the search request in response to the search request
  • a display module configured to display the relationship diagram of the first document and the second document in the first area of the page, and display the first information of the first document and/or the second document in the second area of the page The second information, wherein the first document and the second document have a first association relationship or a second association relationship.
  • Example 17' provides an electronic device comprising:
  • processors one or more processors
  • memory for storing one or more programs
  • the one or more programs when executed by the one or more processors, cause the one or more processors to implement the method for searching a document as described in any of Examples 1'-15'.
  • Example 18' provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements any of Examples 1'-15' The search method for the document described.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开实施例提供了一种文档关系的查询方法,包括:响应于用户在目标页面内的文档关系查询操作,确定目标页面内显示的第一文档,目标页面内显示有第一文档的内容;在目标页面的第一区域显示第一文档和第二文档的关系图,在目标页面的第二区域显示第一文档的内容,第一文档和第二文档存在第一关联关系或第二关联关系。本公开实施例还提供了一种文档的搜索方法,包括:响应于搜索请求,获取与搜索请求对应的第一文档;在页面中的第一区域显示第一文档和第二文档的关系图,在页面中的第二区域显示第一文档的第一信息和/或第二文档的第二信息,其中,第一文档和第二文档存在第一关联关系或第二关联关系。

Description

文档关系的查询方法、搜索方法、装置和电子设备
本申请要求以下中国专利申请的优先权,其全部内容通过引用结合在本申请中。
1.于2021年3月1日提交中国国家知识产权局、申请号为202110227784.1、申请名称为“文档关系的查询方法、装置、电子设备和存储介质”;
2.于2021年3月1日提交中国国家知识产权局、申请号为202110227774.8、申请名称为“文档的搜索方法、装置、电子设备和存储介质”。
技术领域
本公开实施例涉及计算机技术领域,尤其涉及一种文档的搜索方法、装置、电子设备和存储介质。
背景技术
目前,用户能够通过文档管理类应用软件查看在线文档。然而,现有的文档管理类应用软件一般仅会向用户展示用户所欲查看的文档,展示内容较为单一,用户无法了解其所查看的文档与其他文档之间的关联关系。
文档管理类应用软件能够为用户提供通过关键词搜索文档的能力。但是,现有技术一般仅会向用户展示用户所搜索的文档的文档信息,展示方式单一,导致用户无法了解所搜索到的文档与其他文档之间的关系。
发明内容
本公开实施例提供一种文档关系的查询方法、装置、电子设备和存储介质,能够提高用户查看不同文档之间的关联关系的便利性。
第一方面,本公开实施例提供了一种文档关系的查询方法,包括:
响应于用户在目标页面内的文档关系查询操作,确定所述目标页面内显示 的第一文档,其中,所述目标页面内显示有所述第一文档的内容;
在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
第二方面,本公开实施例还提供了一种文档关系的查询装置,包括:
确定模块,用于响应于用户在目标页面内的文档关系查询操作,确定所述目标页面内显示的第一文档,其中,所述目标页面内显示有所述第一文档的内容;
第一显示模块,用于在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
第三方面,本公开实施例提供了一种文档的搜索方法,包括:
响应于搜索请求,获取与所述搜索请求对应的第一文档;
在页面中的第一区域显示所述第一文档和第二文档的关系图,在页面中的第二区域显示所述第一文档的第一信息和/或所述第二文档的第二信息,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
第四方面,本公开实施例还提供了一种文档的搜索装置,包括:
获取模块,用于响应于搜索请求,获取与所述搜索请求对应的第一文档;
显示模块,用于在页面中的第一区域显示所述第一文档和第二文档的关系图,在页面中的第二区域显示所述第一文档的第一信息和/或第二文档的第二信息,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
第五方面,本公开实施例还提供了一种电子设备,包括:
一个或多个处理器;
存储器,用于存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开实施例所述的文档关系的查询方法,或者,使得所述一个或多个处理器实现如本公开实施例所述的文档的搜索方法。
第六方面,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开实施例所述的文档关系的查询方法,或者,该程序被处理器执行时实现如本公开实施例所述的文档的搜索方法。
本公开实施例提供的文档关系的查询方法、装置、电子设备和存储介质,响应于用户在显示有第一文档的内容的目标页面内的文档关系查询操作,确定目标页面内显示的第一文档,在该目标页面的第一区域显示第一文档以及与第一文档具有第一关联关系或第二关联关系的第二文档的关系图,并在目标页面的第二区域显示第一文档的内容。本实施例通过采用上述技术方案,能够在展示文档内容的同时,展示相应文档与其他文档之前的关联关系,使得用户能够基于该关联关系有针对性的阅读与第一文档存在关联的文档,提高用户的体验。
本公开实施例提供一种文档的搜索方法、装置、电子设备和存储介质,以在向用户展示其所所搜索的文档以及其所搜索文档与其他文档之间的关联关系。本公开实施例提供的文档的搜索方法、装置、电子设备和存储介质,响应于搜索请求,获取与该搜索请求对应的第一文档,在页面中的第一区域显示该第一文档以及与该第一文档具有第一关联关系或第二关联关系的第二文档之间的关系图,并在页面的第二区域显示第一文档的第一信息以及第二文档的第 二信息。本公开实施例通过采用上述技术方案,当用户搜索某一篇文档时,同时显示该文档的信息、该文档与其他文档之间的关联关系以及与该文档具有关联关系的文档的信息,使得用户在查看其搜索的文档的同时能够查看到其所搜索的文档与其他文档之间的关联关系,从而用户能够基于该关联关系有针对性的查看与其所搜索的文档相关的其他文档,提高用户的体验。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开实施例提供的一种文档关系的查询方法的流程示意图;
图2为本公开实施例提供的一种目标页面的显示方式示意图;
图3为本公开实施例提供的另一种目标页面的显示方式示意图;
图4为本公开实施例提供的一种节点的显示方式示意图;
图5为本公开实施例提供的另一种文档关系的查询方法的流程示意图;
图6为本公开实施例提供的又一种目标页面的显示方式示意图;
图7为本公开实施例提供的另一种节点的显示方式示意图;
图8为本公开实施例提供的一种文档关系的查询装置的结构框图;
图9为本公开实施例提供的一种电子设备的结构示意图;
图10为本公开实施例提供的一种文档的搜索方法的流程示意图;
图11为本公开实施例提供的一种页面示意图;
图12为本公开实施例提供的一种节点的显示方式示意图;
图13为本公开实施例提供的另一种文档的搜索方法的流程示意图;
图14为本公开实施例提供的一种关系图示意图;
图15为本公开实施例提供的另一种节点的显示方式示意图;
图16为本公开实施例提供的另一种页面示意图;
图17为本公开实施例提供的一种文档的搜索装置的结构框图;
图18为本公开实施例提供的一种电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性 的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
图1为本公开实施例提供的一种文档关系的查询方法的流程示意图。该方法可以由文档关系的查询装置执行,其中,该装置可以由软件和/或硬件实现,可配置于电子设备中,典型的,可以配置在计算机设备中。本公开实施例提供的文档关系的查询方法可适用于查询当前所查看的文档的文档关系的场景。如图1所示,本实施例提供的文档关系的查询方法可以包括:
S101、响应于用户在目标页面内的文档关系查询操作,确定所述目标页面内显示的第一文档,其中,所述目标页面内显示有所述第一文档的内容。
其中,文档关系查询操作可以理解为查询某一篇文档与其他文档之间的关联关系的触发操作,如点击目标页面中所展示的关系图控件的操作等。目标页面可以为用户执行文档关系查询操作的页面,其可以为文档显示页面;第一文档为目标页面中所显示的文档。
在本实施例中,用户在查看某一篇文档的文档内容时,可以通过执行文档关系查询操作查询其所查看的文档与其他文档之间的关联关系和/或确定与其所查看的文档具有某中关联关系的文档。具体的,如图2所示,电子设备基于用户的触发操作显示目标页面,并在目标页面中展示用户所欲查看其内容的第一文档的内容;用户通过目标页面查看第一文档的内容,并可以在欲查看该第一文档的文档关系时,执行文档关系查询操作,如点击目标页面中的关系图控 件(图2中未给出);相应的,电子设备在监测到用户点击目标页面中的关系图控件时,可以确定接收到文档关系查询操作,并响应于该文档关系查询操作,确定目标页面中当前所显示的文档,即确定第一文档。
S102、在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
其中,第一区域和第二区域可以为页面内的两个显示区域,第一区域可以为用于显示第一文档和第二文档的关系图的区域,第二区域可以为用于显示第一文档的内容的区域。第二文档可以为与第一文档具有第一关联关系或第二关联关系的文档,其数量可以为一篇或多篇。第一文档和第二文档的关系图可以理解为用于表征第一文档与第二文档之间的关联关系的图谱,该关系图内可以仅显示有第一文档与第二文档之间的关联关系;也可以进一步显示有第一文档与其他文档之间的关联关系,如该关系图可以为第一文档所属文档空间的文档图谱,该文档图谱中可以显示有第一文档所属文档空间内的所有文档之间的关联关系,存在关联关系的文档的节点之间可以采用连接线进行连接,以下以此种情况为例进行说明。此外,第一文档和第二文档的关系图中还可以进一步显示有各节点所对应文档的文档名称,以便于用户区分关系图中的各节点所属的文档。
在此,第一关联关系和第二关联关系可以为任意两个不同的关联关系,如推荐关系、引用关系、匹配关系等等,可选的,第一关联关系和第二关联关系可以为推荐关系和引用关系,此时,可选的,所述第一关联关系为引用关系,所述第二关联关系为推荐关系;或者,所述第一关联关系为推荐关系,所述第 二关联关系为引用关系;所述引用关系包括正向引用关系和/或反向引用关系。其中,正向引用关系可以理解为第一文档引用其他文档,当第一文档中引用了某一篇文档时,可以认为第一文档与该篇文档之间具有正向引用关系;反向引用关系可以理解为其他文档中引用了第一文档,即第一文档被其他文档引用,当某一篇文档引用了第一文档时,可以认为第一文档与该文档之间具有反向引用关系。
具体的,电子设备在确定目标页面中所显示的第一文档之后,可以进一步确定与其具有第一关联关系或第二关联关系的第二文档,并在目标页面的第一区域30显示第一文档与第二文档的关系图,在目标页面的第二区域31显示第一文档的内容,如图3所示。
在本实施例中,电子设备在确定目标页面内显示的第一文档之后,可以在目标页面中创建一个新的区域(即第一区域),并在该第一区域显示第一文档和第二文档的关系图。此时,可选的,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,包括:在所述目标页面内创建第一区域,在所述第一区域内显示所述第一文档和第二文档的关系图,并根据所述第一区域的显示范围,调整所述第一文档在所述目标页面内所处的第二区域的显示范围。
示例性的,电子设备可以基于预先设置的形状和/或尺寸创建第一区域,并根据第一区域的显示范围调整第二区域(即文档内容的显示区域)的显示范围,如根据第一区域的显示范围缩小第二区域的显示范围,以在页面中同时显示第一区域和第二区域,即在页面中同时显示第一文档与第二文档的关系图以及第一文档的内容,以便于用户在查看第一文档的内容的同时,查看第一文档与其 他文档之间的关联关系或者通过点击关系图中的某一节点指示电子设备搜索该节点对应的文档。
在本实施例中,第一区域和第二区域可以具有相同或不相同的显示范围。其中,可以具有相同的显示范围,以确保用户能够清晰的查看关系图和文档内容,此时,可选的,所述根据所述第一区域的显示范围,调整所述第一文档在所述目标页面内所处的第二区域的显示范围,包括:在所述页面的可显示区域中同时显示所述第一区域和所述第二区域,所述第一区域和所述第二区域具有相同的显示范围。其中,页面的可显示区域可以为整个页面所处的区域,也可以为页面中除边框、功能栏等区域之外的区域。
在一个实施方式中,所述第一文档和所述第二文档存在第一关联关系,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,包括:将所述关系图中的所述第一文档的节点显示为第一显示状态,将所述第二文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第二文档的节点之外的节点显示为第三显示状态。
其中,第一显示状态、第二显示状态和第三显示状态可以为均不相同、不全部相同或相同的显示状态,可以为三种不相同的显示状态,以下以此种情况为例进行说明。在此,可以通过不同的形状和/或颜色区分具有不同显示状态的节点,如第一显示状态可以为以非圆点(如圆点外具有圆环等)的形式进行高亮显示(如显示为蓝色)的状态,第二显示状态可以为以圆点的形式进行高亮显示的状态,第三显示状态可以为以圆点的形式进行非高亮显示(如显示为灰色)的状态。
在上述实施方式中,当第一文档与第二文档之间存在第一关联关系时,可 以采用不同的显示状态显示第一文档的节点、第二文档的节点以及关系图中除第一文档的节点和第二文档的节点之外的节点,以便于用户区分其所查看的文档(即第一文档)的节点以及与其查看的文档具有第一关联关系或第二关联关系的文档的节点。
以第一关联关系为引用关系为例,在接收到文档关系查询操作之后,电子设备可以在第二区域显示第一文档的内容,在第一区域显示关系图,并在关系图中采用第一显示状态显示第一文档的节点,采用第二显示状态显示与第一文档具有引用关系的各第二文档的节点,并采用第三显示状态显示除第一文档的节点和第二文档的节点之外的其他节点。
在另一个实施方式中,所述第一文档和所述第二文档存在第二关联关系,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,包括:将所述关系图中的所述第一文档的节点显示为第一显示状态,将第四文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第四文档的节点之外的其他节点显示为第三显示状态,其中,所述第一文档和所述第四文档存在所述第一关联关系,所述其他节点包括所述第二文档的节点。
其中,当第一文档与第二文档之间存在第二关联关系时,即当第二文档为与第一文档存在第二关联关系的文档时,第四文档可以为与第一文档存在第一关联关系的文档。其他节点可以为关系图中除第一文档的节点和第四文档的节点之外的节点,其可以包括与第一文档存在第二关联关系的第二文档的节点,还可以进一步包括文档空间中与第一文档不存在第一关联关系也不存在第二关联关系的文档的节点。
在上述实施方式中,当第一文档与第二文档之间存在第二关联关系时,可 以采用不同的显示状态显示第一文档的节点以及第二文档的节点,还可以进一步以其他显示状态显示与第一文档存在第一关联关系的第四文档的节点,以便于用户确定与其查看的文档存在不同关联关系的各文档。
以第一关联关系为引用关系、第二关联关系为推荐关系为例,电子设备可以在第二区域显示第一文档的内容,在第一区域显示关系图,并在关系图中采用第一显示状态显示第一文档的节点,采用第二显示状态显示与第一文档具有引用关系的第四文档的节点,并采用第三显示状态显示关系图中除第一文档的节点和第四文档的节点之外的其他文档(包括第二文档)的节点。
在本实施例中,与第一文档具有推荐关系的第二文档的确定方式可以根据需要选取,如可以根据文档内容的关联程度(如相似度)、是否为第一文档的发布者所浏览过的文档以及是否为第一文档的发布者所发布的文档等计算第一文档所属文档空间中的各篇文档的推荐度,并依据该推荐度确定与第一文档具有推荐关系的第二文档,如将推荐度大于预设推荐度阈值的文档确定为与第一文档具有推荐关系的第二文档,和/或,按照推荐度由大到小的顺序,选取预设数量的文档作为与第一文档具有推荐关系的第二文档,等等。其中,某两篇文档之间的相似度可以通过字符匹配和/或语义匹配的方式进行确定,如通过字符匹配和/或语义匹配的方式对两篇文档的文档标题、文档摘要和/或文档内容等进行匹配,得到两篇文档之间的相似度。
在上述实施方式中,与第一文档具有推荐关系的第二文档中可以包含或不包含与第一文档具有引用关系的文档,如可以自文档空间中除第一文档和第四文档之外的文档中选取与第一文档具有推荐关系的第二文档,也可以自文档空间中除第一文档之外的文档(包括第四文档)中选取与第一文档具有推荐关系 的第二文档,本实施例不对此进行限制。当与第一文档具有推荐关系的第二文档中包含与第一文档具有引用关系的文档时,可以采用第二显示状态显示该与第一文档具有引用关系的文档,并采用第三显示状态显示与第一文档不具有引用关系的其他文档。
可选的,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,还包括:将所述第一文档的节点与所述第二文档的节点之间的第一关联路径显示为第一连接状态,其中,所述第一连接状态包括所述第一关联路径的路径方向信息,所述第一连接状态具有第一路径显示状态。
其中,第一关系路径可以理解为第一文档的节点与第二文档的节点之间的关系路径。第一连接状态可以理解为具有第一路径显示状态的连接状态,第一路径显示状态可以为以某一种颜色(如蓝色)进行高亮显示的状态。第一关系路径的路径方向信息可以通过箭头进行标识。
在本实施例中,当显示第一文档和第二文档的关系图时,还可以进一步通过第一文档的节点与第二文档的节点之间的第一关系路径的路径方向标识第一文档与第二文档之间的关联关系的关联方向,如当第一文档与第二文档之间存在推荐关系时,第一关联路径的路径方向可以由第一文档指向第二文档(或者由第二文档指向第一文档),以标识第二文档是与第一文档具有推荐关系的文档,即第二文档是根据第一文档确定的第一文档的推荐文档;当第一文档与第二文档之间存在引用关系时,第一关联路径的路径方向可以由引用的文档指向被引用的文档(或者由被引用的文档指向引用的文档),如当第一文档中引用了某一篇第二文档时,第一文档与该第二文档之间的关联路径可以由第一文档指向该第二文档(或者由该第二文档指向第一文档),当某一篇第二文档引 用了第一文档时,第一文档与该第二文档之间的关联路径可以由该第二文档指向第一文档(或者由第一文档指向该第二文档),以标识与第一文档具有正向引用关系的文档的节点以及与第一文档具有反向引用关系的文档的节点,以便于用户区分。
在一个实施方式中,在所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图之后,还包括:响应于焦点移动到除所述第一文档的节点外的任一第二文档的节点,将所述第二文档的节点显示为所述第二显示状态,并将所述第二文档的节点与第五文档的节点之间的第二关联路径显示为第二连接状态,其中,所述第二文档与所述第五文档之间具有所述第一关联关系或所述第二关联关系,所述第二连接状态包括所述第二关联路径的路径方向信息,所述第二连接状态具有第二路径显示状态。
其中,第二文档可以理解为光标所移动到的节点对应的文档,第五文档可以为与第二文档具有第一关联关系或第二关联关系的文档。第二关联路径可以理解为第二文档与各第五文档之间的关联路径。第二连接状态可以为以第二路径显示状态显示关联路径的状态。第二路径显示状态可以为与第一路径显示状态相同或不相同的路径显示状态,可以为第一路径显示状态不相同的路径显示状态,如当第一路径显示状态为包含路径方向信息的高亮显示状态时,第二路径显示状态可以为包含路径方向信息的非高亮度显示状态。
在上述实施方式中,用户可以通过控制焦点(如光标)移动到关系图中某一文档(即第二文档)的节点所处的位置的方式查看与该文档具有关联关系的第五文档以及第二文档与各第五文档之间的关联方向。
具体的,电子设备在关系图中显示第一文档与第二文档之间的关联关系; 用户在欲查看与其他的某一文档(即第二文档)与其他文档之间关联关系和/或关联方向时,可以控制焦点移动到该第二文档的节点的显示位置;相应的,电子设备在监测到焦点移动到第二文档的节点的显示位置时,如果第二文档的节点不为处于第一显示状态的第一文档的节点,则可以将第二文档的节点显示为第二显示状态,并显示第二文档以及与其具有关联关系的第五文档之间的关联方向,如将该文档与各第五文档之间的第二关联路径显示为第二路径显示状态。
示例性的,电子设备在监测到焦点移动到第一文档的节点上时,可以继续以第一显示状态显示第一文档的节点、以第二显示状态显示与第一文档具有第一关联关系的文档的节点、以第三显示状态显示除第一文档的节点和第二文档的节点之外的节点,并将第一文档的节点同与第一文档具有第一关联关系的文档的节点之间的关联路径显示为第一显示状态;电子设备在监测到焦点移动到某一处于第二显示状态的节点上时,可以继续以第二显示状态显示该节点,以第一路径显示状态显示该节点与第一文档的节点之间的关联路径,并以第二路径显示状态显示该节点同其他与其所属文档具有第一关联关系或第二关联关系的文档的节点之间的关联路径;电子设备在监测到焦点移动到某一处于第三显示状态的节点上时,可以将该节点的显示状态由第三显示状态切换为第二显示状态,并将该节点同与其所属文档具有第一关联关系或第二关联关系的文档的节点之间的关联路径切换为第二路径显示状态,如图4所示。
可以理解的是,电子设备也可以不考虑焦点所移动到的节点是否为第二文档的节点,直接将该节点显示为第二显示状态,并将该节点同与其所属文档具有第一关联关系或第二关联关系的文档的节点之间的关联路径显示为第二路 径显示状态。
本实施例提供的文档关系的查询方法,响应于用户在显示有第一文档的内容的目标页面内的文档关系查询操作,确定目标页面内显示的第一文档,在该目标页面的第一区域显示第一文档以及与第一文档具有第一关联关系或第二关联关系的第二文档的关系图,并在目标页面的第二区域显示第一文档的内容。本实施例通过采用上述技术方案,能够在展示文档内容的同时,展示相应文档与其他文档之前的关联关系,使得用户能够基于该关联关系有针对性的阅读与第一文档存在关联的文档,提高用户的体验。
图5为本公开实施例提供的另一种文档关系的查询方法的流程示意图。本实施例中的方案可以与上述实施例中的一个或多个方案组合。可选的,所述方法还包括:响应于对所述第一区域内显示的任一第一文档的节点的点击操作,创建第三区域,所述第三区域内显示有所述第一文档的第一信息和第三文档的第二信息,所述第一文档和所述第三文档存在所述第一关联关系或所述第二关联关系;基于所述第三区域的显示范围,更新所述第一区域在所述目标页面中的显示范围。
可选的,所述方法还包括:响应于对所述第一区域内显示的任一第一文档的节点的点击操作,更新所述第一区域的显示范围和所述第二区域的显示范围,并将所述第二区域的显示内容更新为所述第一文档的第一信息和第三文档的第二信息,所述第一文档和所述第三文档存在所述第一关联关系或所述第二关联关系。
可选的,所述方法还包括:更新所述第一区域的显示内容,以使所述第一 区域的显示内容与显示所述第一信息和所述第二信息的目标区域的显示内容关联,所述目标区域为所述第二区域或所述第三区域。
可选的,所述方法还包括:在所述目标页面的可显示区域中同时显示所述第一区域和所述目标区域。
可选的,所述方法还包括:响应于针对任一第三文档的第二信息的触发操作,更新对应的第三文档的节点的显示状态。
相应的,如图5所示,本实施例提供的文档关系的查询方法包括:
S201、响应于用户在目标页面内的文档关系查询操作,确定所述目标页面内显示的第一文档,其中,所述目标页面内显示有所述第一文档的内容。
S202、在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,执行S203或S205,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
S203、响应于对所述第一区域内显示的任一第一文档的节点的点击操作,创建第三区域,所述第三区域内显示有所述第一文档的第一信息和第三文档的第二信息,所述第一文档和所述第三文档存在所述第一关联关系或所述第二关联关系。
其中,第一信息可以理解为第一文档的文档信息,第二信息可以为第三文档的文档信息,第一信息和第二信息可以为包含的内容相同的信息,也可以为包含的内容不相同的信息,如第一信息和第二信息可以均包含有对应文档的文档名称、文档封面和/或文档简介(如文档摘要、文档内容介绍或文档的部分或全部文档内容等)等内容,或者,第一信息可以包括第一文档的文档名称、文档简介和/或文档封面等信息;第二信息可以包括有相应的第三文档的文档名 称和/或文档封面等信息,本实施例不对此进行限制。
在本实施例中,用户可以通过点击文档在关系图中的节点的方式指示电子设备显示该文档的信息以及与该文档具有第一关联关系或第二关联关系的文档的信息;从而,电子设备在接收到针对关系图中的某一节点的点击操作时,可以创建一个新的区域(即第三区域),并在该第三区域内显示上述各文档的信息。
示例性的,用户在欲查看关系图中某一个节点所属文档的信息或者在欲查看与关系图中某一个节点所属文档存在第一关联关系或第二关联关系的文档的信息时,可以点击关系图中的该节点。相应的,电子设备在监测到作用于关系图中的任一节点的点击操作时,可以获取该节点所属文档的第一信息以及与该节点存在第一关联关系或第二关联关系的第三文档的第二信息,创建第三区域,在该第三区域内显示所获取到的第一信息和第二信息,并可以进一步停止显示第二区域。
S204、基于所述第三区域的显示范围,更新所述第一区域在所述目标页面中的显示范围,执行S206。
示例性的,可以基于预先设置的形状和/或尺寸创建第三区域,并可以进一步根据第三区域的显示范围调整第一区域的显示范围,如根据第三区域的显示范围增大第一区域的显示范围,以在页面中同时显示第一区域和第三区域,即在页面中同时显示关系图以及第一文档的第一信息和第三文档的第二信息,以便于用户进行查看。
S205、响应于对所述第一区域内显示的任一第一文档的节点的点击操作,更新所述第一区域的显示范围和所述第二区域的显示范围,并将所述第二区域 的显示内容更新为所述第一文档的第一信息和第三文档的第二信息,所述第一文档和所述第三文档存在所述第一关联关系或所述第二关联关系。
在本实施例中,在接收到针对关系图中所显示的某一节点的点击操作时,电子设备也可以直接在第二区域中显示该节点以及与该节点所属文档存在第一关联关系或第二关联关系的文档的信息。
具体的,电子设备在监测用户点击关系图中的某一节点(即第一目标节点)时,可以获取第一目标节点所属文档的第一信息以及与第一目标围挡存在第一关联关系或第二关联关系的第三文档的第二信息,更新第一区域的显示范围和第二区域的显示范围,并在第二区域中显示第一文档的第一信息和第三文档的第二信息。
S206、更新所述第一区域的显示内容,以使所述第一区域的显示内容与显示所述第一信息和所述第二信息的目标区域的显示内容关联,所述目标区域为所述第二区域或所述第三区域。
其中,目标区域可以理解为目标页面中显示有第一文档的第一信息和第三文档的第二信息的区域,例如,当在创建的第三区域中显示第一文档的第一信息和第三文档的第二信息时,该目标区域可以为第三区域;当在第二区域中显示第一文档的第一信息和第三文档的第二信息时,该目标区域可以为第二区域。
在本实施例中,当用户点击关系图中的第一文档的节点时,电子设备还可以进一步更新第一区域的显示内容,如更新第一区域中所显示的关系图的尺寸、第一区域中所显示的节点的数量和/或第一区域中对应节点的显示状态,以使第一区域的显示内容与所显示的第一信息和第二信息关联,以便于用户进行查看。
示例性的,电子设备在更新第一区域的显示内容时,可以调整关系图的尺寸,以在第一区域完整显示该关系图,或者,仅在第一区域显示关系图中包含第一文档的节点和/或目标区域的显示内容所对应文档的节点在内的关系图的部分内容;还可以进一步以第一显示状态、第四显示状态或其他显示状态显示第一文档的节点,并将与第一文档具有第一关联关系/第二关联关系的文档显示为第二显示状态/第三显示状态。
S207、在所述目标页面的可显示区域中同时显示所述第一区域和所述目标区域。
在本实施例中,如图6所示(图6中以第一文档为第一文档为例),可以在目标页面中同时显示第一区域30和目标区域32,即在目标页面中同时显示包含第一文档和第三文档之间的关联关系的关系图、第一文档的第一信息和第三文档的第二信息,以便于用户进行查看。
S208、响应于针对任一第三文档的第二信息的触发操作,更新对应的第三文档的节点的显示状态。
其中,该触发操作可以理解为触发目标区域中所显示的某一第三文档的第二信息的操作,如将焦点移动到某一第二信息上的操作或者点击某一第二信息的操作等。
具体的,用户在欲查看某一第三文档与其他文档之间的关联关系时,可以通过执行相应的触发操作触发该第三文档的第二信息;相应的,电子设备在监测到用户针对某一第三文档的第二信息的触发操作时,可以将该第三文档的节点切换为相应的显示状态,如将该第三文档显示为不同于第一显示状态、第二显示状态和第三显示状态的显示状态,例如,以不同于第一显示状态、第二显 示状态和第三显示状态下节点的颜色的其他颜色(如黄色)和/或不同于第一显示状态、第二显示状态和第三显示状态下节点的形状的其他形状(如圆环)显示用户所点击的节点,并可以进一步采用预先设置的路径显示方式,如采用不包含路径方向信息的虚线,显示第一文档与该第三文档之间的关系路径,以便于用户能够区分其所触发的第二文档,如图7所示(图7以用户触发第一个第二信息为例)。
此外,电子设备在监测到用户点击某一第三文档的第二信息时,还可以进一步显示该第三文档的阅读控件,以便于用户通过触发该第三文档的阅读控件查看该第三文档。此时,可选的,本实施例提供的文档关系的查询方法还可以包括:响应于所述触发操作,在所述关系图中显示对应的第三文档的第一阅读控件;和/或,响应于所述触发操作,在所述目标区域内显示对应的第三文档的第二阅读控件。
示例性的,请继续参考图7,电子设备在目标区域显示第一文档的阅读控件70,并在接收到针对某一第三文档的第二信息的触发操作时,在第一区域显示该第三文档的第一阅读控件71和/或在目标区域显示该第三文档的第二阅读控件72。从而,用户在欲查看第一文档的内容时,可以点击第一文档的阅读控件70,和/或,用户在欲查看该第三文档的内容时,可以点击该第一阅读控件71或该第二阅读控件72。相应的,电子设备在监测到用户点击第一文档的阅读控件70时,在页面中显示第二区域31,并在该第二区域31中显示第一文档的内容;电子设备在监测到用户点击该第三文档的第一阅读控件71或第二阅读控件72时,在页面中显示第二区域31,并在该第二区域31中显示该第三文档的内容,如图3所示。
本实施例提供的文档关系的查询方法,在用户点击关系图中的节点时,显示该节点对应的第一文档与其具有关联关系的第三文档之间的关联关系以及第一文档的第一信息和第三文档的第二信息,并在用户对所显示的第一文档的第一信息或第三文档的第二信息进行触发操作时,同步更新关系图中所显示的内容,不仅能够为用户查看文档的信息提供便利,还能够使得用户在查看文档的信息时能够同步查看文档的关联关系,提高用户的体验。
图8为本公开实施例提供的一种文档关系的查询装置的结构框图。该装置可以由软件和/或硬件实现,可配置于电子设备中,典型的,可以配置在计算机设备中,可通过执行文档关系的查询方法查询文档之间的关联关系。如图8所示,本实施例提供的文档关系的查询装置可以包括:确定模块801和第一显示模块802,其中,
确定模块801,用于响应于用户在目标页面内的文档关系查询操作,确定所述目标页面内显示的第一文档,其中,所述目标页面内显示有所述第一文档的内容;
第一显示模块802,用于在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
本实施例提供的文档关系的查询装置,通过确定模块响应于用户在显示有第一文档的内容的目标页面内的文档关系查询操作,确定目标页面内显示的第一文档,通过第一显示模块在该目标页面的第一区域显示第一文档以及与第一文档具有第一关联关系或第二关联关系的第二文档的关系图,并在目标页面的 第二区域显示第一文档的内容。本实施例通过采用上述技术方案,能够在展示文档内容的同时,展示相应文档与其他文档之前的关联关系,使得用户能够基于该关联关系有针对性的阅读与第一文档存在关联的文档,提高用户的体验。
进一步地,本实施例提供的文档关系的查询装置还可以包括:区域创建模块,用于响应于对所述第一区域内显示的任一第一文档的节点的点击操作,创建第三区域,所述第三区域内显示有所述第一文档的第一信息和第三文档的第二信息,所述第一文档和所述第三文档存在所述第一关联关系或所述第二关联关系;范围更新模块,用于基于所述第三区域的显示范围,更新所述第一区域在所述目标页面中的显示范围。
进一步地,本实施例提供的文档关系的查询装置还可以包括:区域更新模块,用于响应于对所述第一区域内显示的任一第一文档的节点的点击操作,更新所述第一区域的显示范围和所述第二区域的显示范围,并将所述第二区域的显示内容更新为所述第一文档的第一信息和第三文档的第二信息,所述第一文档和所述第三文档存在所述第一关联关系或所述第二关联关系。
进一步地,本实施例提供的文档关系的查询装置还可以包括:内容更新模块,用于更新所述第一区域的显示内容,以使所述第一区域的显示内容与显示所述第一信息和所述第二信息的目标区域的显示内容关联,所述目标区域为所述第二区域或所述第三区域。
进一步地,本实施例提供的文档关系的查询装置还可以包括:第二显示模块,用于在所述目标页面的可显示区域中同时显示所述第一区域和所述目标区域。
进一步地,本实施例提供的文档关系的查询装置还可以包括:状态更新模 块,用于响应于针对任一第三文档的第二信息的触发操作,更新对应的第三文档的节点的显示状态。
在上述方案中,所述第一文档和所述第二文档可以存在第一关联关系,所述第一显示模块802可以用于:将所述关系图中的所述第一文档的节点显示为第一显示状态,将所述第二文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第二文档的节点之外的节点显示为第三显示状态。
在上述方案中,所述第一文档和所述第二文档可以存在第二关联关系,所述第一显示模块802可以用于:将所述关系图中的所述第一文档的节点显示为第一显示状态,将第四文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第四文档的节点之外的其他节点显示为第三显示状态,其中,所述第一文档和所述第四文档存在所述第一关联关系,所述其他节点包括所述第二文档的节点。
在上述方案中,所述第一显示模块802还可以用于:将所述第一文档的节点与所述第二文档的节点之间的第一关联路径显示为第一连接状态,其中,所述第一连接状态包括所述第一关联路径的路径方向信息,所述第一连接状态具有第一路径显示状态。
进一步地,本实施例提供的文档关系的查询装置还可以包括:响应模块,用于在所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图之后,响应于焦点移动到除所述第一文档的节点外的任一第二文档的节点,将所述第二文档的节点显示为所述第二显示状态,并将所述第二文档的节点与第五文档的节点之间的第二关联路径显示为第二连接状态,其中,所述第二文档与所述第五文档之间具有所述第一关联关系或所述第二关联关系,所述第二 连接状态包括所述第二关联路径的路径方向信息,所述第二连接状态具有第二路径显示状态。
在上述方案中,所述第一关联关系可以为引用关系,所述第二关联关系可以为推荐关系;或者,所述第一关联关系可以为推荐关系,所述第二关联关系可以为引用关系;所述引用关系可以包括正向引用关系和/或反向引用关系。
在上述方案中,所述第一显示模块802可以用于:在所述目标页面内创建第一区域,在所述第一区域内显示所述第一文档和第二文档的关系图,并根据所述第一区域的显示范围,调整所述第一文档在所述目标页面内所处的第二区域的显示范围。
本公开实施例提供的文档关系的查询装置可执行本公开任意实施例提供的文档关系的查询方法,具备执行文档关系的查询方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本公开任意实施例所提供的文档关系的查询方法。
下面参考图9,其示出了适于用来实现本公开实施例的电子设备(例如终端设备)900的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图9示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图9所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存 储装置906加载到随机访问存储器(RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的各种程序和数据。处理装置901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置906;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有各种装置的电子设备900,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置906被安装,或者从ROM 902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包 括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(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)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,示例1提供了一种文档关系的查询方法,包括:
响应于用户在目标页面内的文档关系查询操作,确定所述目标页面内显示 的第一文档,其中,所述目标页面内显示有所述第一文档的内容;
在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
根据本公开的一个或多个实施例,示例2根据示例1所述的方法,所述方法还包括:
响应于对所述第一区域内显示的任一第一文档的节点的点击操作,创建第三区域,所述第三区域内显示有所述第一文档的第一信息和第三文档的第二信息,所述第一文档和所述第三文档存在所述第一关联关系或所述第二关联关系;
基于所述第三区域的显示范围,更新所述第一区域在所述目标页面中的显示范围。
根据本公开的一个或多个实施例,示例3根据示例1所述的方法,所述方法还包括:
响应于对所述第一区域内显示的任一第一文档的节点的点击操作,更新所述第一区域的显示范围和所述第二区域的显示范围,并将所述第二区域的显示内容更新为所述第一文档的第一信息和第三文档的第二信息,所述第一文档和所述第三文档存在所述第一关联关系或所述第二关联关系。
根据本公开的一个或多个实施例,示例4根据示例2或3所述的方法,所述方法还包括:
更新所述第一区域的显示内容,以使所述第一区域的显示内容与显示所述第一信息和所述第二信息的目标区域的显示内容关联,所述目标区域为所述第二区域或所述第三区域。
根据本公开的一个或多个实施例,示例5根据示例4所述的方法,所述方法还包括:
在所述目标页面的可显示区域中同时显示所述第一区域和所述目标区域。
根据本公开的一个或多个实施例,示例6根据示例2或3所述的方法,所述方法还包括:
响应于针对任一第三文档的第二信息的触发操作,更新对应的第三文档的节点的显示状态。
根据本公开的一个或多个实施例,示例7根据示例1所述的方法,所述第一文档和所述第二文档存在第一关联关系,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,包括:
将所述关系图中的所述第一文档的节点显示为第一显示状态,将所述第二文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第二文档的节点之外的节点显示为第三显示状态。
根据本公开的一个或多个实施例,示例8根据示例1所述的方法,所述第一文档和所述第二文档存在第二关联关系,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,包括:
将所述关系图中的所述第一文档的节点显示为第一显示状态,将第四文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第四文档的节点之外的其他节点显示为第三显示状态,其中,所述第一文档和所述第四文档存在所述第一关联关系,所述其他节点包括所述第二文档的节点。
根据本公开的一个或多个实施例,示例9根据示例7或8所述的方法,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,还包括:
将所述第一文档的节点与所述第二文档的节点之间的第一关联路径显示为第一连接状态,其中,所述第一连接状态包括所述第一关联路径的路径方向信息,所述第一连接状态具有第一路径显示状态。
根据本公开的一个或多个实施例,示例10根据示例7或8所述的方法,在所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图之后,还包括:
响应于焦点移动到除所述第一文档的节点外的任一第二文档的节点,将所述第二文档的节点显示为所述第二显示状态,并将所述第二文档的节点与第五文档的节点之间的第二关联路径显示为第二连接状态,其中,所述第二文档与所述第五文档之间具有所述第一关联关系或所述第二关联关系,所述第二连接状态包括所述第二关联路径的路径方向信息,所述第二连接状态具有第二路径显示状态。
根据本公开的一个或多个实施例,示例11根据示例1-3和7-8任一所述的方法,所述第一关联关系为引用关系,所述第二关联关系为推荐关系;或者,所述第一关联关系为推荐关系,所述第二关联关系为引用关系;所述引用关系包括正向引用关系和/或反向引用关系。
根据本公开的一个或多个实施例,示例12根据示例1-3和7-8任一所述的方法,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,包括:
在所述目标页面内创建第一区域,在所述第一区域内显示所述第一文档和第二文档的关系图,并根据所述第一区域的显示范围,调整所述第一文档在所述目标页面内所处的第二区域的显示范围。
根据本公开的一个或多个实施例,示例13提供了一种文档关系的查询装置,包括:
确定模块,用于响应于用户在目标页面内的文档关系查询操作,确定所述目标页面内显示的第一文档,其中,所述目标页面内显示有所述第一文档的内容;
第一显示模块,用于在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
根据本公开的一个或多个实施例,示例14提供了一种电子设备,包括:
一个或多个处理器;
存储器,用于存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如示例1-12中任一所述的文档关系的查询方法。
根据本公开的一个或多个实施例,示例15提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如示例1-12中任一所述的文档关系的查询方法。
图10为本公开实施例提供的一种文档的搜索方法的流程示意图。该方法可以由文档的搜索装置执行,其中,该装置可以由软件和/或硬件实现,可配置于电子设备中,典型的,可以配置在计算机设备中。本公开实施例提供的文档的搜索方法适用于文档搜索的场景。如图10所示,本实施例提供的文档的搜索方法可以包括:
S301、响应于搜索请求,获取与所述搜索请求对应的第一文档。
其中,搜索请求可以理解为用于搜素某一文档的请求,其可以基于用户的搜索操作生成。相应的,第一文档可以为该搜索请求所请求搜索的文档。
具体的,用户在具有搜索某一篇文档的需求时,如用户在需要搜索某一篇文档以查看该文档的文档内容和/或文档信息时,执行搜素该文档的触发操作;相应的,电子设备在监测到用户搜索某一文档的触发操作时,可以生成搜索请求,并响应于该搜索请求进行搜索,确定与该搜索请求对应的文档,即确定该搜索请求对应的第一文档。
可以理解的是,搜索请求也可以由其他设备生成并发送,如用户可以在与电子设备建立通信连接的其他设备上执行搜索操作,通过该其他设备生成针对其所欲搜索的文档的搜索请求并将该搜索请求发送给电子设备,以通过该其他设备指示电子设备进行文档搜索;相应的,电子设备在接收到其他设备发送的搜索请求后,可以基于该搜索请求携带的第一文档的文档标识信息,如文档名称、文档ID或关键词等进行搜索,确定与该搜索请求对应的第一文档。
S302、在页面中的第一区域显示所述第一文档和第二文档的关系图,在页面中的第二区域显示所述第一文档的第一信息和/或所述第二文档的第二信息,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
其中,第二文档可以为与第一文档具有第一关联关系或第二关联关系的文档,其数量可以为一篇或多篇。第一文档和第二文档的关系图可以理解为用于表征第一文档与第二文档之间的关联关系的图谱,该关系图内可以仅显示有第一文档与第二文档之间的关联关系;也可以进一步显示有第一文档与其他文档之间的关联关系,如该关系图可以为第一文档所属文档空间的文档图谱,该文档图谱中可以显示有第一文档所属文档空间内的所有文档之间的关联关系,存 在关联关系的文档的节点之间可以采用连接线进行连接,以下以此种情况为例进行说明。此外,第一文档和第二文档的关系图中还可以进一步显示有各节点所对应文档的文档名称,以便于用户区分关系图中的各节点所属的文档。
在此,第一关联关系和第二关联关系可以为任意两个不同的关联关系,如推荐关系、引用关系、匹配关系等等,优选的,第一关联关系和第二关联关系可以为推荐关系和引用关系,此时,优选的,所述第一关联关系为引用关系,所述第二关联关系为推荐关系;或者,所述第一关联关系为推荐关系,所述第二关联关系为引用关系;所述引用关系包括正向引用关系和/或反向引用关系。其中,正向引用关系可以理解为第一文档引用其他文档,当第一文档中引用了某一篇文档时,可以认为第一文档与该篇文档之间具有正向引用关系;反向引用关系可以理解为其他文档中引用了第一文档,即第一文档被其他文档引用,当某一篇文档引用了第一文档时,可以认为第一文档与该文档之间具有反向引用关系。
第一区域和第二区域可以为页面内的两个显示区域,第一区域可以为用于显示第一文档和第二文档的关系图的区域,第二区域可以为用于显示第一文档的第一信息和/或第二文档的第二信息的区域,第二区域可以与第一区域在同一层显示,也可以位于第一区域的上层。第一信息可以理解为第一文档的文档信息,第二信息可以为第二文档的文档信息,第一信息和第二信息可以为包含的内容相同的信息,也可以为包含的内容不相同的信息,如第一信息和第二信息可以均包含有对应文档的文档名称、文档封面和/或文档简介(如文档摘要、文档内容介绍或文档的部分或全部文档内容等)等内容,或者,第一信息可以包括第一文档的文档名称、文档简介和/或文档封面等信息;第二信息可以包 括有相应的第二文档的文档名称和/或文档封面等信息,本实施例不对此进行限制。
具体的,电子设备在获取到搜索请求对应的第一文档之后,可以进一步获取第一文档的第一信息,以及与第一文档具有第一关联关系或第二关联关系的第二文档的第二信息,并在页面的第一区域21显示第一文档与第二文档的关系图,在页面的第二区域22显示第一文档的第一信息和第二文档的第二信息,如图11所示。
示例性的,电子设备显示某一文档空间的关系图页面,并在该页面中显示该文档空间内各文档的关系图;用户在该页面中执行针对该文档空间内的某一文档的搜索操作;电子设备在监测到用户对某一文档的搜索操作时,生成搜索请求,并响应于该搜索请求,获取该搜索请求对应的该篇文档,在关系图中以相应的显示状态显示第一文档的节点以及与该第一文档具有第一关联关系或第二关联关系的第二文档的节点,并弹出预览面板,在该预览面板中显示第一文档的第一信息以及第二文档列表,在该第二文档列表内显示各第二文档的第二信息。此外,电子设备还可以进一步调整关系图在关系图页面中的显示位置,以将第一文档的节点调整至关系图页面或第一区域的中心位置,以便于用户查看第一文档与第二文档之间的关联关系。
在一个实施方式中,所述第一文档和所述第二文档存在第一关联关系,所述在页面中的第一区域显示所述第一文档和第二文档的关系图,包括:将所述关系图中的所述第一文档的节点显示为第一显示状态,将所述第二文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第二文档的节点之外的节点显示为第三显示状态。
其中,第一显示状态、第二显示状态和第三显示状态可以为均不相同、不全部相同或相同的显示状态,优选可以为三种不相同的显示状态,以下以此种情况为例进行说明。在此,可以通过不同的形状和/或颜色区分具有不同显示状态的节点,如第一显示状态可以为以非圆点(如圆点外具有圆环等)的形式进行高亮显示(如显示为蓝色)的状态,第二显示状态可以为以圆点的形式进行高亮显示的状态,第三显示状态可以为以圆点的形式进行非高亮显示(如显示为灰色)的状态。
在上述实施方式中,当第一文档与第二文档之间存在第一关联关系时,可以采用不同的显示状态显示第一文档的节点、第二文档的节点以及关系图中除第一文档的节点和第二文档的节点之外的节点,以便于用户区分其所搜索的文档(即第一文档)的节点、与其搜索的文档具有第一关联关系或第二关联关系的文档的节点。
以第一关联关系为引用关系为例,在接收到搜索请求之前,即用户未执行文档搜索操作之前,电子设备可以将关系图中各文档的节点显示为第二显示状态;从而,在接收到针对第一文档的搜索请求之后,电子设备可以在第二区域显示第一文档的第一信息以及与第一文档具有引用关系的各第二文档的第二信息,将关系图中第一文档的节点的显示状态由第二显示状态切换为第一显示状态,继续以第二显示状态显示与第一文档具有引用关系的各第二文档的节点,并将关系图中除第一文档的节点和第二文档的节点之外的其他节点的显示状态由第二显示状态切换为第三显示状态。
在另一个实施方式中,所述第一文档和所述第二文档存在第二关联关系,所述在页面中的第一区域显示所述第一文档和第二文档的关系图,包括:将所 述关系图中的所述第一文档的节点显示为第一显示状态,将第三文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第三文档的节点之外的其他节点显示为第三显示状态,其中,所述第一文档和所述第三文档存在所述第一关联关系,所述其他节点包括所述第二文档的节点。
其中,当第一文档与第二文档之间存在第二关联关系时,即当第二文档为与第一文档存在第二关联关系的文档时,第三文档可以为与第一文档存在第一关联关系的文档。其他节点可以为关系图中除第一文档的节点和第三文档的节点之外的节点,其可以包括与第一文档存在第二关联关系的第二文档的节点,还可以进一步包括文档空间中与第一文档不存在第一关联关系也不存在第二关联关系的文档的节点。
在上述实施方式中,当第一文档与第二文档之间存在第二关联关系时,可以采用不同的显示状态显示第一文档的节点以及第二文档的节点,还可以进一步以其他显示状态显示与第一文档存在第一关联关系的第三文档的节点,以便于用户确定与其搜索的文档存在不同关联关系的各文档。
以第一关联关系为引用关系、第二关联关系为推荐关系为例,在接收到搜索请求之前,即用户未执行文档搜索操作之前,电子设备可以将关系图中各文档的节点显示为第二显示状态;从而,在接收到针对第一文档的搜索请求之后,电子设备可以在第二区域显示第一文档的第一信息以及与第一文档具有推荐关系的各第二文档的第二信息,将关系图中第一文档的节点的显示状态由第二显示状态切换为第一显示状态,继续以第二显示状态显示与第一文档具有引用关系的第三文档的节点,并将关系图中除第一文档的节点和第三文档的节点之外的其他文档(包括第二文档)的节点的显示状态由第二显示状态切换为第三 显示状态。
在本实施例中,与第一文档具有推荐关系的第二文档的确定方式可以根据需要选取,如可以根据文档内容的关联程度(如相似度)、是否为第一文档的发布者所浏览过的文档以及是否为第一文档的发布者所发布的文档等计算第一文档所属文档空间中的各篇文档的推荐度,并依据该推荐度确定与第一文档具有推荐关系的第二文档,如将推荐度大于预设推荐度阈值的文档确定为与第一文档具有推荐关系的第二文档,和/或,按照推荐度由大到小的顺序,选取预设数量的文档作为与第一文档具有推荐关系的第二文档,等等。其中,某两篇文档之间的相似度可以通过字符匹配和/或语义匹配的方式进行确定,如通过字符匹配和/或语义匹配的方式对两篇文档的文档标题、文档摘要和/或文档内容等进行匹配,得到两篇文档之间的相似度。
在上述实施方式中,与第一文档具有推荐关系的第二文档中可以包含或不包含与第一文档具有引用关系的文档,如可以自文档空间中除第一文档和第三文档之外的文档中选取与第一文档具有推荐关系的第二文档,也可以自文档空间中除第一文档之外的文档(包括第三文档)中选取与第一文档具有推荐关系的第二文档,本实施例不对此进行限制。当与第一文档具有推荐关系的第二文档中包含与第一文档具有引用关系的文档时,可以将该与第一文档具有引用关系的文档显示为第二显示状态,并将与第一文档不具有引用关系的其他文档显示为第三显示状态。
可选的,所述在页面中的第一区域显示所述第一文档和第二文档的关系图,还包括:将所述第一文档的节点与所述第二文档的节点之间的第一关联路径显示为第一连接状态,其中,所述第一连接状态包括所述第一关联路径的路径方 向信息,所述第一连接状态具有第一路径显示状态。
其中,第一关系路径可以理解为第一文档的节点与第二文档的节点之间的关系路径。第一连接状态可以理解为具有第一路径显示状态的连接状态,第一路径显示状态可以为以某一种颜色(如蓝色)进行高亮显示的状态。第一关系路径的路径方向信息可以通过箭头进行标识。
在本实施例中,当显示第一文档和第二文档的关系图时,还可以进一步通过第一文档的节点与第二文档的节点之间的第一关系路径的路径方向标识第一文档与第二文档之间的关联关系的关联方向,如当第一文档与第二文档之间存在推荐关系时,第一关联路径的路径方向可以由第一文档指向第二文档(或者由第二文档指向第一文档),以标识第二文档是与第一文档具有推荐关系的文档,即第二文档是根据第一文档确定的第一文档的推荐文档;当第一文档与第二文档之间存在引用关系时,第一关联路径的路径方向可以由引用的文档指向被引用的文档(或者由被引用的文档指向引用的文档),如当第一文档中引用了某一篇第二文档时,第一文档与该第二文档之间的关联路径可以由第一文档指向该第二文档(或者由该第二文档指向第一文档),当某一篇第二文档引用了第一文档时,第一文档与该第二文档之间的关联路径可以由该第二文档指向第一文档(或者由第一文档指向该第二文档),以标识与第一文档具有正向引用关系的文档的节点以及与第一文档具有反向引用关系的文档的节点,以便于用户区分。
以第一关联关系为引用关系、第二关联关系为推荐关系为例,在接收到搜索请求之前,即用户未执行文档搜索操作之前,电子设备可以将关系图中具有引用关系的各文档的节点之间的关系路径显示为其他路径显示状态,如不包含 路径方向信息的非高亮路径显示状态(如显示为灰色);从而,在接收到针对第一文档的搜索请求之后,电子设备可以将第一文档与第二文档之间的第一关系路径的显示状态切换为第一路径显示状态。
在一个实施方式中,在所述在页面中的第一区域显示所述第一文档和第二文档的关系图之后,还包括:响应于焦点移动到除所述第一文档的节点外的任一目标文档的节点,将所述目标文档的节点显示为所述第二路径显示状态,并将所述目标文档的节点与第四文档的节点之间的第二关联路径显示为第二连接状态,其中,所述目标文档与所述第四文档之间具有所述第一关联关系或所述第二关联关系,所述第二连接状态包括所述第二关联路径的路径方向信息,所述第二连接状态具有第二路径显示状态。
其中,目标文档可以理解为光标所移动到的节点对应的文档,第四文档可以为与目标文档具有第一关联关系或第二关联关系的文档。第二关联路径可以理解为目标文档与各第四文档之间的关联路径。第二连接状态可以为以第二路径显示状态显示关联路径的状态。第二路径显示状态可以为与第一路径显示状态相同或不相同的路径显示状态,优选可以为第一路径显示状态不相同的路径显示状态,如当第一路径显示状态为包含路径方向信息的高亮显示状态时,第二路径显示状态可以为包含路径方向信息的非高亮度显示状态。
在上述实施方式中,用户可以通过控制焦点(如光标)移动到关系图中某一文档(即目标文档)的节点所处的位置的方式查看与该文档具有关联关系的第四文档以及目标文档与各第四文档之间的关联方向。
具体的,电子设备在关系图中显示第一文档与第二文档之间的关联关系;用户在欲查看与其他的某一文档(即目标文档)与其他文档之间关联关系和/ 或关联方向时,可以控制焦点移动到该目标文档的节点的显示位置;相应的,电子设备在监测到焦点移动到目标文档的节点的显示位置时,如果目标文档的节点不为处于第一显示状态的第一文档的节点,则可以将目标文档的节点显示为第二显示状态,并显示目标文档以及与其具有关联关系的第四文档之间的关联方向,如将该文档与各第四文档之间的第二关联路径显示为第二路径显示状态。
示例性的,电子设备在监测到焦点移动到第一文档的节点上时,可以继续以第一显示状态显示第一文档的节点、以第二显示状态显示与第一文档具有第一关联关系的文档的节点、以第三显示状态显示除第一文档的节点和第二文档的节点之外的节点,并将第一文档的节点同与第一文档具有第一关联关系的文档的节点之间的关联路径显示为第一路径显示状态;电子设备在监测到焦点移动到某一处于第二显示状态的节点上时,可以继续以第二显示状态显示该节点,以第一路径显示状态显示该节点与第一文档的节点之间的关联路径,并以第二路径显示状态显示该节点同其他与其所属文档具有第一关联关系或第二关联关系的文档的节点之间的关联路径;电子设备在监测到焦点移动到某一处于第三显示状态的节点上时,可以将该节点的显示状态由第三显示状态切换为第二显示状态,并将该节点同与其所属文档具有第一关联关系或第二关联关系的文档的节点之间的关联路径切换为第二路径显示状态,如图12所示。
可以理解的是,电子设备也可以不考虑焦点所移动到的节点是否为第二文档的节点,直接将该节点显示为第二显示状态,并将该节点同与其所属文档具有第一关联关系或第二关联关系的文档的节点之间的关联路径显示为第二路径显示状态。
本实施例提供的文档的搜索方法,响应于搜索请求,获取与该搜索请求对应的第一文档,在页面中的第一区域显示该第一文档以及与该第一文档具有第一关联关系或第二关联关系的第二文档之间的关系图,并在页面的第二区域显示第一文档的第一信息以及第二文档的第二信息。本实施例通过采用上述技术方案,当用户搜索某一篇文档时,同时显示该文档的信息、该文档与其他文档之间的关联关系以及与该文档具有关联关系的文档的信息,使得用户在查看其搜索的文档的同时能够查看到其所搜索的文档与其他文档之间的关联关系,从而用户能够基于该关联关系有针对性的查看与其所搜索的文档相关的其他文档,提高用户的体验。
图13为本公开实施例提供的另一种文档的搜索方法的流程示意图。本实施例中的方案可以与上述实施例中的一个或多个可选方案组合。可选的,本实施例提供文档的搜索方法还包括:响应于针对第二文档的第二信息的第一触发操作,将对应的第二文档的节点切换为第四显示状态。
可选的,本实施例提供文档的搜索方法还包括:响应于对所述第二区域中所述第一文档或所述第二文档的第二触发操作,创建第三区域,所述第三区域用于显示对应的所述第一文档或所述第二文档的内容;基于所述第三区域的显示范围,更新所述第一区域在所述页面中的显示范围。
可选的,本实施例提供文档的搜索方法还包括:更新所述第一区域的显示内容,以使所述第一区域的显示内容与所述第三区域的显示内容相关联。
可选的,本实施例提供文档的搜索方法还包括:响应于对所述第二区域中所述第一文档或所述第二文档的第二触发操作,更新所述第一区域的显示范围 和所述第二区域的显示范围,并且更新所述第一区域的显示内容和/或所述第二区域的显示内容。
可选的,本实施例提供文档的搜索方法还包括:响应于对关系图中的任一节点的点击操作,生成搜索请求;和/或,响应于对搜索框内的搜索控件的第三触发操作,生成搜索请求。
相应的,如图13所示,本实施例提供的文档的搜索方法包括:
S401、响应于对关系图中的任一节点的点击操作,生成搜索请求,执行S403。
在本实施例中,用户可以通过点击文档在关系图中的节点的方式指示电子设备搜索该文档。具体的,用户可在欲搜索文档空间中的某一文档时,可以控制电子设备显示文档空间的关系图,并点击关系图中该文档的节点,相应的,电子设备在监测到用户点击关系图中的某一节点时,可以生成针对该节点所属文档的搜索请求。
S402、响应于对搜索框内的搜索控件的第三触发操作,生成搜索请求。
其中,第三触发操作可以理解为触发搜索控件的操作,如用户点击该搜索控件的操作或者用户在选中某一文档名称后点击回车按键的操作等。
在本实施例中,用户也可以通过触发搜索控件的方式指示电子设备搜索用户所选中的文档。具体的,用户在选中某一文档的文档标识信息或将某一文档的文档标识信息输入至搜索框中之后,触发搜索控件;相应的,电子设备在监测到用户触发搜索控件时,可以确定接收到第三触发操作,并响应于该第三触发操作,生成针对处于选中状态的文档标识信息所对应文档的搜索操作。此外,响应于第三触发操作,电子设备还可以进一步将用户所选择的文档标识信息输 入至搜索框内,并停止显示所匹配到的各文档的文档标识信息。
在本实施例中,电子设备可以在显示有关系图的关系图页面的搜索框内或其他页面的搜索框内输入关键词,以进行文档搜索。针对在关系图页面的搜索框内输入关键词进行文档搜索的情况,当用户选中与其输入的关键词匹配的某一文档标识信息时,电子设备还可以在关系图中标识用户所选中的文档标识信息所属文档的节点,以便于用户进行区分。此时,优选的,本实施例提供的文档的搜索方法还可以包括:响应于用户的关键词输入操作,在所述搜索框内显示用户输入的关键词,并显示与所述关键词匹配的匹配文档的文档标识信息;接收针对目标匹配文档的文档标识信息的选择操作,将所述目标匹配文档的节点切换为第五显示状态。其中,匹配文档可以理解为与用户输入的关键词匹配的文档;第五显示状态可以为与第一显示状态、第二显示状态或第三显示状态相同或不同的显示状态,优选为与第一显示状态、第二显示状态和第三显示状态均不相同的显示状态,如节点与第一显示状态、第二显示状态和第三显示状态所对应节点的形状和/或颜色不相同的显示状态;文档标识信息可以包括文档名称和/或文档ID等信息,以下以文档标识信息为文档名称为例进行说明。
示例性的,如图14所示,关系图页面中可以设置有搜索框50。用户在欲搜索某一文档时,可以向搜索框50中输入其所欲搜索的文档的关键词(包括输入文档名称)。电子设备采用预先设置的匹配算法(如字符匹配或模糊匹配等)将各文档与用户在搜索框50中输入的关键词进行匹配,在预设位置(如搜索框50的下方)显示所匹配到的各文档的文档标识信息。从而,用户可以选中其欲搜索的文档标识信息,以触发搜索控件进行搜索。相应的,电子设备在监测到用户选中某一文档标识信息时,可以将关系图中用户选中的标识信息 所对应的文档(即目标匹配文档)的节点切换为第五显示状态,并可以进一步将与目标匹配文档存在第一关联关系或第二关联关系的文档的节点显示为第二显示状态,并将除目标匹配文档的节点和与目标匹配文档存在第一关联关系或第二关联关系的文档的节点之外的节点显示为第三显示状态,以便于用户确定与其所选中的文档标识信息所属的文档存在第一关联关系或第二关联关系的文档。
S403、响应于搜索请求,获取与所述搜索请求对应的第一文档。
S404、在页面中的第一区域显示所述第一文档和第二文档的关系图,在页面中的第二区域显示所述第一文档的第一信息和/或所述第二文档的第二信息,执行S405、S406或S409,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
S405、响应于针对第二文档的第二信息的第一触发操作,将对应的第二文档的节点切换为第四显示状态,结束操作。
其中,第一触发操作可以理解为触发第二区域中所显示的某一第二文档的第二信息的操作,如将焦点移动到某一第二信息上的操作或者点击某一第二信息的操作等。第四显示状态可以为与第一显示状态、第二显示状态或第三显示状态相同或不相同的显示状态,优选为不同于第一显示状态、第二显示状态和第三显示状态的显示状态,例如,可以以不同于第一显示状态、第二显示状态和第三显示状态下节点的颜色的其他颜色(如黄色)和/或不同于第一显示状态、第二显示状态和第三显示状态下节点的形状的其他形状(如圆环)显示相应的节点,本实施例不对此进行限制。
具体的,用户在欲查看某一第二文档与其他文档之间的关联关系时,可以 通过执行第一触发操作触发该第二文档的第二信息;相应的,电子设备在监测到用户针对某一第二文档的第二信息的触发操作时,可以将该第二文档的节点切换为第四显示状态,并可以进一步采用预先设置的路径显示方式,如采用不包含路径方向信息的虚线,显示第一文档与该第二文档之间的关系路径,以便于用户能够区分其所触发的第二文档,如图15所示。
S406、响应于对所述第二区域中所述第一文档或所述第二文档的第二触发操作,创建第三区域,所述第三区域用于显示对应的所述第一文档或所述第二文档的内容。
其中,第二触发操作可以为查看第一文档的内容或第二文档的内容的触发操作,如点击某一文档的阅读控件的操作,该阅读控件可以显示于关系图中和/或第二区域中,此时,本实施例提供的方法优选还可以包括:响应于所述第一触发操作,在所述关系图中显示对应的第二文档的第一阅读控件,以供用户执行所述第二触发操作;和/或,响应于所述第一触发操作,在所述第二区域内显示对应的第二文档的第二阅读控件,以供用户执行所述第二触发操作。
在本实施例中,当接收到针对第一文档或某一第二文档的第二触发操作时,电子设备可以创建一个新的区域(即第三区域),并在该第三区域显示相应文档的内容。
示例性的,请继续参考图15(图15以用户触发第一个第二信息为例),电子设备在第二区域显示第一文档的阅读控件60,并在接收到针对某一第二文档的第二信息的第一触发操作时,在第一区域显示该第二文档的第一阅读控件61和/或在第二区域显示该第二文档的第二阅读控件62。从而,用户在欲查看第一文档的内容时,可以点击第一文档的阅读控件60,和/或,用户在欲查 看该第二文档的内容时,可以点击该第一阅读控件61或该第二阅读控件62。相应的,如图16所示,电子设备在监测到用户点击第一文档的阅读控件60时,在页面中创建第三区域,并在该第三区域中显示第一文档的内容;电子设备在监测到用户点击该第二文档的第一阅读控件61或第二阅读控件62时,在页面中创建第三区域,并在该第三区域中显示该第二文档的内容。
S407、基于所述第三区域的显示范围,更新所述第一区域在所述页面中的显示范围。
示例性的,可以基于预先设置的形状和/或尺寸创建第三区域,并可以进一步根据第三区域的显示范围调整第一区域的显示范围,如根据第三区域的显示范围缩小第一区域的显示范围,以在页面中同时显示第一区域和第三区域,即在页面中同时显示关系图以及对应的文档的内容,以便于用户查看各文档之间的关联关系或通过点击关系图中的某一节点指示电子设备搜索该节点对应的文档。
在本实施例中,第一区域和第三区域可以具有相同或不相同的显示范围,优选可以具有相同的显示范围,以确保用户能够清晰的查看关系图和文档内容,此时,可选的,所述基于所述第三区域的显示范围,更新所述第一区域在所述页面中的显示范围,包括:在所述页面的可显示区域中同时显示所述第一区域和所述第三区域,所述第一区域和所述第三区域具有相同的显示范围。其中,页面的可显示区域可以为整个页面所处的区域,也可以为页面中除边框、功能栏等区域之外的区域。
S408、更新所述第一区域的显示内容,以使所述第一区域的显示内容与所述第三区域的显示内容相关联,结束操作。
在本实施例中,响应于对第二区域中的第一文档或第二文档的第二触发操作,电子设备还可以进一步更新第一区域的显示内容,如更新第一区域中所显示的关系图的尺寸、第一区域中所显示的节点的数量和/或第一区域中对应节点的显示状态,以使第一区域的显示内容与第三区域的显示内容关联,以便于用户查看在第三区域的显示内容所属文档在第一区域对应的节点及其关联关系。
示例性的,电子设备在更新第一区域的显示内容时,可以调整关系图的尺寸,以在第一区域完整显示该关系图,或者,仅在第一区域显示关系图中包含第一文档的节点和/或第三区域的显示内容所对应文档的节点在内的关系图的部分内容;还可以进一步以第一显示状态、第四显示状态或其他显示状态显示第三区域的显示内容所对应文档的节点,并将与第三区域的显示内容所对应的文档具有第一关联关系/第二关联关系的文档显示为第二显示状态/第三显示状态。
S409、响应于对所述第二区域中所述第一文档或所述第二文档的第二触发操作,更新所述第一区域的显示范围和所述第二区域的显示范围,并且更新所述第一区域的显示内容和/或所述第二区域的显示内容。
在本实施例中,当接收到针对第一文档或某一第二文档的第二触发操作时,电子设备也可以直接在第二区域中显示相应文档的内容。
示例性的,请继续参考图15(图15以用户触发第一个第二信息为例),电子设备在第二区域显示第一文档的阅读控件60,并在接收到针对某一第二文档的第二信息的第一触发操作时,在第一区域显示该第二文档的第一阅读控件61和/或在第二区域显示该第二文档的第二阅读控件62。从而,用户在欲查 看第一文档的内容时,可以点击第一文档的阅读控件60,和/或,用户在欲查看该第二文档的内容时,可以点击该第一阅读控件61或该第二阅读控件62。相应的,请参考图16,电子设备在监测到用户点击第一文档的阅读控件60时,可以更新第一区域的显示范围和第二区域的显示范围,并在第二区域中显示第一文档的内容,和/或,更新第一区域的显示内容;电子设备在监测到用户点击该第二文档的第一阅读控件61或第二阅读控件62时,可以更新第一区域的显示范围和第二区域的显示范围,并在第二区域中显示该第二文档的内容,和/或,更新第一区域的显示内容。
在本实施例中,电子设备可以更新第一区域的显示内容,如更新第一区域中所显示的关系图的尺寸、第一区域中所显示的节点的数量和/或第一区域中对应节点的显示状态,以使第一区域的显示内容与第二区域更新后的显示内容关联,以便于用户查看在第三区域的显示内容所属文档在第一区域对应的节点及其关联关系,此时,优选的,更新所述第一区域的显示内容,包括:更新所述第一区域的显示内容,以使所述第一区域的显示内容与所述第二区域的显示内容相关联。
示例性的,电子设备在更新第一区域的显示内容时,可以调整关系图的尺寸,以在第一区域完成显示该关系图,或者,仅在第一区域显示关系图中包含第一文档的节点和/或第二区域的显示内容所对应文档的节点在内的关系图的部分内容;还可以进一步以第一显示状态、第四显示状态或其他显示状态显示第二区域的显示内容所对应文档的节点,并将与第二区域的显示内容所对应的文档具有第一关联关系/第二关联关系的文档显示为第二显示状态/第三显示状态。
在本实施例中,电子设备可以基于预先设置的形状和/或尺寸更新第一区域的显示范围和第二区域的显示范围,如增大第二区域的显示范围,并依据增大后的第二区域的显示范围缩小第一区域的显示范围,以在页面中同时显示第一区域和第二区域,即在页面中同时显示关系图以及对应的文档的内容,以便于用户查看各文档之间的关联关系或通过点击关系图中的某一节点指示电子设备搜索该节点对应的文档。
在本实施例中,更新后,第一区域和第二区域可以具有相同或不相同的显示范围,优选可以具有相同的显示范围,以确保用户能够清晰的查看关系图和文档内容,此时,可选的,所述更新所述第一区域的显示范围和所述第二区域的显示范围,包括:在所述页面的可显示区域中同时显示所述第一区域和所述第二区域,所述第一区域和所述第二区域具有相同的显示范围。
可以理解的时,本实施例也可以在焦点移动到某一第二文档的第二信息的显示位置处时,不切换关系图中各节点的显示状态,仅在第二区域显示该第二文档的第二阅读控件;当用户点击该第二文档的第二信息的显示位置时,将该第二文档的节点切换为第四显示状态并显示该第二文档的第一阅读控件;当用户触发该第二文档的第一阅读控件或第二阅读控件时,确定接收到对该第二文档的第二触发操作,并对该第二触发操作进行响应。
本实施例提供的文档的搜索方法,基于对关系图中的节点的点击操作和/或对搜索控件的触发操作进行文档搜索,显示所搜索到的第一文档同与其具有关联关系的第二文档的关系图以及第一文档的第一信息和第二文档的第二信息,并在用户对第二区域中所显示的第一文档的第一信息或第二文档的第二信息进行不同的触发操作时,同步更新关系图中所显示的内容,不仅能够为用户 提供多种便捷的搜索方式,还使得用户在触发文档的信息或查看文档的内容时能够同步查看文档的关联关系,提高用户的体验。
图17为本公开实施例提供的一种文档的搜索装置的结构框图。该装置可以由软件和/或硬件实现,可配置于电子设备中,典型的,可以配置在计算机设备中,可通过指向文档的搜索装置进行文档搜索。如图17所示,本实施例提供的文档的搜索装置可以包括:获取模块801和显示模块802,其中,
获取模块801,用于响应于搜索请求,获取与所述搜索请求对应的第一文档;
显示模块802,用于在页面中的第一区域显示所述第一文档和第二文档的关系图,在页面中的第二区域显示所述第一文档的第一信息和/或第二文档的第二信息,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
本实施例提供的文档的搜索装置,通过获取模块响应于搜索请求,获取与该搜索请求对应的第一文档,通过显示模块在页面中的第一区域显示该第一文档以及与该第一文档具有第一关联关系或第二关联关系的第二文档之间的关系图,并在页面的第二区域显示第一文档的第一信息以及第二文档的第二信息。本实施例通过采用上述技术方案,当用户搜索某一篇文档时,同时显示该文档的信息、该文档与其他文档之间的关联关系以及与该文档具有关联关系的文档的信息,使得用户在查看其搜索的文档的同时能够查看到其所搜索的文档与其他文档之间的关联关系,从而用户能够基于该关联关系有针对性的查看与其所搜索的文档相关的其他文档,提高用户的体验。
在上述方案中,所述第一文档和所述第二文档可以存在第一关联关系,所述显示模块802可以用于:将所述关系图中的所述第一文档的节点显示为第一显示状态,将所述第二文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第二文档的节点之外的节点显示为第三显示状态。
在上述方案中,所述第一文档和所述第二文档可以存在第二关联关系,所述显示模块802可以用于:将所述关系图中的所述第一文档的节点显示为第一显示状态,将第三文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第三文档的节点之外的其他节点显示为第三显示状态,其中,所述第一文档和所述第三文档存在所述第一关联关系,所述其他节点包括所述第二文档的节点。
在上述方案中,所述显示模块802还可以用于:将所述第一文档的节点与所述第二文档的节点之间的第一关联路径显示为第一连接状态,其中,所述第一连接状态包括所述第一关联路径的路径方向信息,所述第一连接状态具有第一路径显示状态。
进一步地,本实施例提供的文档的搜索装置还可以包括:第一响应模块,用于在所述在页面中的第一区域显示所述第一文档和第二文档的关系图之后,响应于焦点移动到除所述第一文档的节点外的任一目标文档的节点,将所述目标文档的节点显示为所述第二显示状态,并将所述目标文档的节点与第四文档的节点之间的第二关联路径显示为第二连接状态,其中,所述目标文档与所述第四文档之间具有所述第一关联关系或所述第二关联关系,所述第二连接状态包括所述第二关联路径的路径方向信息,所述第二连接状态具有第二路径显示状态。
在上述方案中,所述第一关联关系可以为引用关系,所述第二关联关系可以为推荐关系;或者,所述第一关联关系可以为推荐关系,所述第二关联关系可以为引用关系;所述引用关系可以包括正向引用关系和/或反向引用关系。
进一步地,本实施例提供的文档的搜索装置还可以包括:第二响应模块,用于响应于针对第二文档的第二信息的第一触发操作,将对应的第二文档的节点切换为第四显示状态。
进一步地,本实施例提供的文档的搜索装置还可以包括:第三响应模块,用于响应于对所述第二区域中所述第一文档或所述第二文档的第二触发操作,创建第三区域,所述第三区域用于显示对应的所述第一文档或所述第二文档的内容;范围更新模块,用于基于所述第三区域的显示范围,更新所述第一区域在所述页面中的显示范围。
在上述方案中,所述范围更新模块可以用于:在所述页面的可显示区域中同时显示所述第一区域和所述第三区域,所述第一区域和所述第三区域具有相同的显示范围。
进一步地,本实施例提供的文档的搜索装置还可以包括:内容更新模块,用于更新所述第一区域的显示内容,以使所述第一区域的显示内容与所述第三区域的显示内容相关联。
进一步地,本实施例提供的文档的搜索装置还可以包括:第四响应模块,用于响应于对所述第二区域中所述第一文档或所述第二文档的第二触发操作,更新所述第一区域的显示范围和所述第二区域的显示范围,并且更新所述第一区域的显示内容和/或所述第二区域的显示内容。
在上述方案中,所述第四响应模块可以用于:在所述页面的可显示区域中 同时显示所述第一区域和所述第二区域,所述第一区域和所述第二区域具有相同的显示范围。
在上述方案中,所述第四响应模块可以用于:更新所述第一区域的显示内容,以使所述第一区域的显示内容与所述第二区域的显示内容相关联。
进一步地,本实施例提供的文档的搜索装置还可以包括:第一生成模块,用于响应于对关系图中的任一节点的点击操作,生成搜索请求;和/或,第二生成模块,用于响应于对搜索框内的搜索控件的第三触发操作,生成搜索请求。
进一步地,本实施例提供的文档的搜索装置还可以包括:信息显示模块,用于响应于用户的关键词输入操作,在所述搜索框内显示用户输入的关键词,并显示与所述关键词匹配的匹配文档的文档标识信息;状态切换模块,用于接收针对目标匹配文档的文档标识信息的选择操作,将所述目标匹配文档的节点切换为第五显示状态。
本公开实施例提供的文档的搜索装置可执行本公开任意实施例提供的文档的搜索方法,具备执行文档的搜索方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本公开任意实施例所提供的文档的搜索方法。
下面参考图18,其示出了适于用来实现本公开实施例的电子设备(例如终端设备)900的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图18示出的 电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图18所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储装置906加载到随机访问存储器(RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的各种程序和数据。处理装置901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置906;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图18示出了具有各种装置的电子设备900,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置906被安装,或者从ROM 902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(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)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,示例1’提供了一种文档的搜索方法,包括:
响应于搜索请求,获取与所述搜索请求对应的第一文档;
在页面中的第一区域显示所述第一文档和第二文档的关系图,在页面中的第二区域显示所述第一文档的第一信息和/或所述第二文档的第二信息,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
根据本公开的一个或多个实施例,示例2’根据示例1’所述的方法,所述第一文档和所述第二文档存在第一关联关系,所述在页面中的第一区域显示所述第一文档和第二文档的关系图,包括:
将所述关系图中的所述第一文档的节点显示为第一显示状态,将所述第二文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第二文档的节点之外的节点显示为第三显示状态。
根据本公开的一个或多个实施例,示例3’根据示例1’所述的方法,所述第一文档和所述第二文档存在第二关联关系,所述在页面中的第一区域显示所述第一文档和第二文档的关系图,包括:
将所述关系图中的所述第一文档的节点显示为第一显示状态,将第三文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第三文档的节点之外的其他节点显示为第三显示状态,其中,所述第一文档和所述第三文档存在所述第一关联关系,所述其他节点包括所述第二文档的节点。
根据本公开的一个或多个实施例,示例4’根据示例2’或3’所述的方法,所述在页面中的第一区域显示所述第一文档和第二文档的关系图,还包括:
将所述第一文档的节点与所述第二文档的节点之间的第一关联路径显示为第一连接状态,其中,所述第一连接状态包括所述第一关联路径的路径方向信息,所述第一连接状态具有第一路径显示状态。
根据本公开的一个或多个实施例,示例5’根据示例2’或3’所述的方法,在所述在页面中的第一区域显示所述第一文档和第二文档的关系图之后,还包括:
响应于焦点移动到除所述第一文档的节点外的任一目标文档的节点,将所述目标文档的节点显示为所述第二显示状态,并将所述目标文档的节点与第四文档的节点之间的第二关联路径显示为第二连接状态,其中,所述目标文档与所述第四文档之间具有所述第一关联关系或所述第二关联关系,所述第二连接状态包括所述第二关联路径的路径方向信息,所述第二连接状态具有第二路径显示状态。
根据本公开的一个或多个实施例,示例6’根据示例1’或者示例2’或者示例3’任一所述的方法,所述第一关联关系为引用关系,所述第二关联关系为推荐关系;或者,所述第一关联关系为推荐关系,所述第二关联关系为引用关系;所述引用关系包括正向引用关系和/或反向引用关系。
根据本公开的一个或多个实施例,示例7’根据示例1’所述的方法,所述方法还包括:
响应于针对第二文档的第二信息的第一触发操作,将对应的第二文档的节点切换为第四显示状态。
根据本公开的一个或多个实施例,示例8’根据示例1’、示例2’或者示例3’或者示例7’任一所述的方法,所述方法还包括:
响应于对所述第二区域中所述第一文档或所述第二文档的第二触发操作,创建第三区域,所述第三区域用于显示对应的所述第一文档或所述第二文档的内容;
基于所述第三区域的显示范围,更新所述第一区域在所述页面中的显示范围。
根据本公开的一个或多个实施例,示例9’根据示例8’所述的方法,所述基于所述第三区域的显示范围,更新所述第一区域在所述页面中的显示范围,包括:
在所述页面的可显示区域中同时显示所述第一区域和所述第三区域,所述第一区域和所述第三区域具有相同的显示范围。
根据本公开的一个或多个实施例,示例10’根据示例8’所述的方法,所述方法还包括:
更新所述第一区域的显示内容,以使所述第一区域的显示内容与所述第三区域的显示内容相关联。
根据本公开的一个或多个实施例,示例11’根据示例1’或者示例2’或者示例3’或者示例7’任一所述的方法,所述方法还包括:
响应于对所述第二区域中所述第一文档或所述第二文档的第二触发操作,更新所述第一区域的显示范围和所述第二区域的显示范围,并且更新所述第一区域的显示内容和/或所述第二区域的显示内容。
根据本公开的一个或多个实施例,示例12’根据示例11’所述的方法,所述更新所述第一区域的显示范围和所述第二区域的显示范围,包括:
在所述页面的可显示区域中同时显示所述第一区域和所述第二区域,所述 第一区域和所述第二区域具有相同的显示范围。
根据本公开的一个或多个实施例,示例13’根据示例11’所述的方法,更新所述第一区域的显示内容,包括:
更新所述第一区域的显示内容,以使所述第一区域的显示内容与所述第二区域的显示内容相关联。
根据本公开的一个或多个实施例,示例14’根据示例1’或者示例2’或者示例3’或者示例7’任一所述的方法,所述方法还包括:
响应于对关系图中的任一节点的点击操作,生成搜索请求;和/或,
响应于对搜索框内的搜索控件的第三触发操作,生成搜索请求。
根据本公开的一个或多个实施例,示例15’根据示例14’所述的方法,所述方法还包括:
响应于用户的关键词输入操作,在所述搜索框内显示用户输入的关键词,并显示与所述关键词匹配的匹配文档的文档标识信息;
接收针对目标匹配文档的文档标识信息的选择操作,将所述目标匹配文档的节点切换为第五显示状态。
根据本公开的一个或多个实施例,示例16’提供了一种文档的搜索装置,包括:
获取模块,用于响应于搜索请求,获取与所述搜索请求对应的第一文档;
显示模块,用于在页面中的第一区域显示所述第一文档和第二文档的关系图,在页面中的第二区域显示所述第一文档的第一信息和/或第二文档的第二信息,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
根据本公开的一个或多个实施例,示例17’提供了一种电子设备,包括:
一个或多个处理器;
存储器,用于存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如示例1’-15’中任一所述的文档的搜索方法。
根据本公开的一个或多个实施例,示例18’提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如示例1’-15’中任一所述的文档的搜索方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题, 但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (33)

  1. 一种文档关系的查询方法,其特征在于,包括:
    响应于用户在目标页面内的文档关系查询操作,确定所述目标页面内显示的第一文档,所述目标页面内显示有所述第一文档的内容;
    在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    响应于对所述第一区域内显示的任一第一文档的节点的点击操作,创建第三区域,所述第三区域内显示有所述第一文档的第一信息和第三文档的第二信息,所述第一文档和所述第三文档存在所述第一关联关系或所述第二关联关系;
    基于所述第三区域的显示范围,更新所述第一区域在所述目标页面中的显示范围。
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    响应于对所述第一区域内显示的任一第一文档的节点的点击操作,更新所述第一区域的显示范围和所述第二区域的显示范围,并将所述第二区域的显示内容更新为所述第一文档的第一信息和第三文档的第二信息,所述第一文档和所述第三文档存在所述第一关联关系或所述第二关联关系。
  4. 根据权利要求2或3所述的方法,其特征在于,所述方法还包括:
    更新所述第一区域的显示内容,以使所述第一区域的显示内容与显示所述第一信息和所述第二信息的目标区域的显示内容关联,所述目标区域为所述第二区域或所述第三区域。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    在所述目标页面的可显示区域中同时显示所述第一区域和所述目标区域。
  6. 根据权利要求2或3所述的方法,其特征在于,所述方法还包括:
    响应于针对任一第三文档的第二信息的触发操作,更新对应的第三文档的节点的显示状态。
  7. 根据权利要求1所述的方法,其特征在于,所述第一文档和所述第二文档存在第一关联关系,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,包括:
    将所述关系图中的所述第一文档的节点显示为第一显示状态,将所述第二文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第二文档的节点之外的节点显示为第三显示状态。
  8. 根据权利要求1所述的方法,其特征在于,所述第一文档和所述第二文档存在第二关联关系,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,包括:
    将所述关系图中的所述第一文档的节点显示为第一显示状态,将第四文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第四文档的节点之外的其他节点显示为第三显示状态,其中,所述第一文档和所述第四文档存在所述第一关联关系,所述其他节点包括所述第二文档的节点。
  9. 根据权利要求7或8所述的方法,其特征在于,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,还包括:
    将所述第一文档的节点与所述第二文档的节点之间的第一关联路径显示为第一连接状态,其中,所述第一连接状态包括所述第一关联路径的路径方向 信息,所述第一连接状态具有第一路径显示状态。
  10. 根据权利要求7或8所述的方法,在所述目标页面的第一区域显示所述第一文档和第二文档的关系图之后,还包括:
    响应于焦点移动到除所述第一文档的节点外的任一第二文档的节点,将所述第二文档的节点显示为所述第二显示状态,并将所述第二文档的节点与第五文档的节点之间的第二关联路径显示为第二连接状态,其中,所述第二文档与所述第五文档之间具有所述第一关联关系或所述第二关联关系,所述第二连接状态包括所述第二关联路径的路径方向信息,所述第二连接状态具有第二路径显示状态。
  11. 根据权利要求1-3任一项或者7-8任一项所述的方法,其特征在于,所述第一关联关系为引用关系,所述第二关联关系为推荐关系;或者,所述第一关联关系为推荐关系,所述第二关联关系为引用关系;所述引用关系包括正向引用关系和/或反向引用关系。
  12. 根据权利要求1-3任一项或者7-8任一项所述的方法,其特征在于,所述在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,包括:
    在所述目标页面内创建第一区域,在所述第一区域内显示所述第一文档和第二文档的关系图,并根据所述第一区域的显示范围,调整所述第一文档在所述目标页面内所处的第二区域的显示范围。
  13. 一种文档关系的查询装置,其特征在于,包括:
    确定模块,用于响应于用户在目标页面内的文档关系查询操作,确定所述目标页面内显示的第一文档,其中,所述目标页面内显示有所述第一文档的内 容;
    第一显示模块,用于在所述目标页面的第一区域显示所述第一文档和第二文档的关系图,在所述目标页面的第二区域显示所述第一文档的内容,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
  14. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储器,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-12中任一所述的文档关系的查询方法。
  15. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-12中任一所述的文档关系的查询方法。
  16. 一种文档的搜索方法,其特征在于,包括:
    响应于搜索请求,获取与所述搜索请求对应的第一文档;
    在页面中的第一区域显示所述第一文档和第二文档的关系图,在页面中的第二区域显示所述第一文档的第一信息和/或所述第二文档的第二信息,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
  17. 根据权利要求16所述的方法,其特征在于,所述第一文档和所述第二文档存在第一关联关系,所述在页面中的第一区域显示所述第一文档和第二文档的关系图,包括:
    将所述关系图中的所述第一文档的节点显示为第一显示状态,将所述第二文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第二文档的节点之外的节点显示为第三显示状态。
  18. 根据权利要求16所述的方法,其特征在于,所述第一文档和所述第二文档存在第二关联关系,所述在页面中的第一区域显示所述第一文档和第二文档的关系图,包括:
    将所述关系图中的所述第一文档的节点显示为第一显示状态,将第三文档的节点显示为第二显示状态,并将除所述第一文档的节点和所述第三文档的节点之外的其他节点显示为第三显示状态,其中,所述第一文档和所述第三文档存在所述第一关联关系,所述其他节点包括所述第二文档的节点。
  19. 根据权利要求17或18所述的方法,其特征在于,所述在页面中的第一区域显示所述第一文档和第二文档的关系图,还包括:
    将所述第一文档的节点与所述第二文档的节点之间的第一关联路径显示为第一连接状态,其中,所述第一连接状态包括所述第一关联路径的路径方向信息,所述第一连接状态具有第一路径显示状态。
  20. 根据权利要求17或18所述的方法,其特征在于,在所述在页面中的第一区域显示所述第一文档和第二文档的关系图之后,还包括:
    响应于焦点移动到除所述第一文档的节点外的任一目标文档的节点,将所述目标文档的节点显示为所述第二显示状态,并将所述目标文档的节点与第四文档的节点之间的第二关联路径显示为第二连接状态,其中,所述目标文档与所述第四文档之间具有所述第一关联关系或所述第二关联关系,所述第二连接状态包括所述第二关联路径的路径方向信息,所述第二连接状态具有第二路径显示状态。
  21. 根据权利要求16-18任一项所述的方法,其特征在于,所述第一关联关系为引用关系,所述第二关联关系为推荐关系;或者,所述第一关联关系为 推荐关系,所述第二关联关系为引用关系;所述引用关系包括正向引用关系和/或反向引用关系。
  22. 根据权利要求16所述的方法,其特征在于,在页面中的第二区域显示所述第二文档的第二信息,所述方法还包括:
    响应于针对第二文档的第二信息的第一触发操作,将对应的第二文档的节点切换为第四显示状态。
  23. 根据权利要求22或者16-18任一项所述的方法,其特征在于,所述方法还包括:
    响应于对所述第二区域中所述第一文档或所述第二文档的第二触发操作,创建第三区域,所述第三区域用于显示对应的所述第一文档或所述第二文档的内容;
    基于所述第三区域的显示范围,更新所述第一区域在所述页面中的显示范围。
  24. 根据权利要求23所述的方法,其特征在于,所述基于所述第三区域的显示范围,更新所述第一区域在所述页面中的显示范围,包括:
    在所述页面的可显示区域中同时显示所述第一区域和所述第三区域,所述第一区域和所述第三区域具有相同的显示范围。
  25. 根据权利要求23所述的方法,其特征在于,所述方法还包括:
    更新所述第一区域的显示内容,以使所述第一区域的显示内容与所述第三区域的显示内容相关联。
  26. 根据权利要求22或者16-18任一项所述的方法,其特征在于,所述方法还包括:
    响应于对所述第二区域中所述第一文档或所述第二文档的第二触发操作,更新所述第一区域的显示范围和所述第二区域的显示范围,并且更新所述第一区域的显示内容和/或所述第二区域的显示内容。
  27. 根据权利要求26所述的方法,其特征在于,所述更新所述第一区域的显示范围和所述第二区域的显示范围,包括:
    在所述页面的可显示区域中同时显示所述第一区域和所述第二区域,所述第一区域和所述第二区域具有相同的显示范围。
  28. 根据权利要求26所述的方法,其特征在于,更新所述第一区域的显示内容,包括:
    更新所述第一区域的显示内容,以使所述第一区域的显示内容与所述第二区域的显示内容相关联。
  29. 根据权利要求22或者16-18任一项所述的方法,其特征在于,所述方法还包括:
    响应于对关系图中的任一节点的点击操作,生成搜索请求;和/或,
    响应于对搜索框内的搜索控件的第三触发操作,生成搜索请求。
  30. 根据权利要求29所述的方法,其特征在于,所述方法还包括:
    响应于用户的关键词输入操作,在所述搜索框内显示用户输入的关键词,并显示与所述关键词匹配的匹配文档的文档标识信息;
    接收针对目标匹配文档的文档标识信息的选择操作,将所述目标匹配文档的节点切换为第五显示状态。
  31. 一种文档的搜索装置,其特征在于,包括:
    获取模块,用于响应于搜索请求,获取与所述搜索请求对应的第一文档;
    显示模块,用于在页面中的第一区域显示所述第一文档和第二文档的关系图,在页面中的第二区域显示所述第一文档的第一信息和/或第二文档的第二信息,其中,所述第一文档和所述第二文档存在第一关联关系或第二关联关系。
  32. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储器,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求16-30中任一所述的文档的搜索方法。
  33. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求16-30中任一所述的文档的搜索方法。
PCT/CN2022/078514 2021-03-01 2022-03-01 文档关系的查询方法、搜索方法、装置和电子设备 WO2022184033A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/279,788 US20240134508A1 (en) 2021-03-01 2022-03-01 Document relationship query method, search method, apparatus, and electronic device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110227774.8A CN115080685A (zh) 2021-03-01 2021-03-01 文档的搜索方法、装置、电子设备和存储介质
CN202110227784.1 2021-03-01
CN202110227774.8 2021-03-01
CN202110227784.1A CN114995692A (zh) 2021-03-01 2021-03-01 文档关系的查询方法、装置、电子设备和存储介质

Publications (1)

Publication Number Publication Date
WO2022184033A1 true WO2022184033A1 (zh) 2022-09-09

Family

ID=83154699

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/078514 WO2022184033A1 (zh) 2021-03-01 2022-03-01 文档关系的查询方法、搜索方法、装置和电子设备

Country Status (2)

Country Link
US (1) US20240134508A1 (zh)
WO (1) WO2022184033A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110313985A1 (en) * 2010-06-21 2011-12-22 Jianwei Dian User adjustable ranking and presentation of search results
CN103914488A (zh) * 2013-01-08 2014-07-09 邓寅生 文档的采集、标识、关联、搜索及展现的系统
CN110134800A (zh) * 2019-04-17 2019-08-16 深圳壹账通智能科技有限公司 一种文档关系可视化处理方法及装置
CN112328853A (zh) * 2020-11-26 2021-02-05 北京字跳网络技术有限公司 文档信息处理方法、装置和电子设备
CN112528595A (zh) * 2020-12-15 2021-03-19 北京字跳网络技术有限公司 文档处理方法、装置和电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110313985A1 (en) * 2010-06-21 2011-12-22 Jianwei Dian User adjustable ranking and presentation of search results
CN103914488A (zh) * 2013-01-08 2014-07-09 邓寅生 文档的采集、标识、关联、搜索及展现的系统
CN110134800A (zh) * 2019-04-17 2019-08-16 深圳壹账通智能科技有限公司 一种文档关系可视化处理方法及装置
CN112328853A (zh) * 2020-11-26 2021-02-05 北京字跳网络技术有限公司 文档信息处理方法、装置和电子设备
CN112528595A (zh) * 2020-12-15 2021-03-19 北京字跳网络技术有限公司 文档处理方法、装置和电子设备

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ANONYMOUS: "Literature Analysis Tools Connected Papers", CSDN, 5 February 2021 (2021-02-05), XP055964275, Retrieved from the Internet <URL:https://blog.csdn.net/tszupup/article/details/113699226> *
ANONYMOUS: "National Knowledge Infrastructure Tutorial", JIANGXI UNIVERSITY OF APPLIED SCIENCE (LIBRARY), 9 September 2020 (2020-09-09), XP055964269, Retrieved from the Internet <URL:www.jxuas.edu.cn/library/info/1004/1112.htm> *
XUE DING E DE BO SHI MIAO: "[Research Tools for Scientific Research at Station B] A weapon to save literature research - ConnectedPapers", BILIBILI, BILIBILI, CN, CN, pages 1 - 1, XP055965767, Retrieved from the Internet <URL:https://www.bilibili.com/video/BV1pa4y1Y7uD?spm_id_from=333.788.top_right_bar_window_history.content.click> [retrieved on 20220928] *

Also Published As

Publication number Publication date
US20240134508A1 (en) 2024-04-25

Similar Documents

Publication Publication Date Title
CN111368185B (zh) 数据展示方法、装置、存储介质及电子设备
US20230385350A1 (en) Feedback method and apparatus based on online document comment, and non-transitory computer-readable storage medium
WO2022127838A1 (zh) 文档处理方法、装置和电子设备
US20230351032A1 (en) Document permission processing method and apparatus, electronic device, and storage medium
WO2021190129A1 (zh) 页面处理方法、装置、电子设备及计算机可读存储介质
WO2023125161A1 (zh) 直播间控制方法、装置、电子设备、介质及程序产品
WO2022111290A1 (zh) 展示方法、装置和电子设备
WO2022267902A1 (zh) 一种日程分享方法、装置及设备
US10498852B2 (en) Prediction-based caching system
WO2022183977A1 (zh) 文档更新方法、装置、设备和介质
WO2022184034A1 (zh) 一种文档处理方法、装置、设备和介质
WO2022148485A1 (zh) 信息展示方法、装置和电子设备
WO2024094174A1 (zh) 画面展示方法、装置、存储介质及电子设备
CN110825481A (zh) 页面标签对应的页面信息的展示方法、装置、电子设备
WO2024087922A1 (zh) 收藏管理方法、装置、设备及介质
US10306323B2 (en) Fast television channel change initiated from a second screen device
WO2022242302A1 (zh) 文本搜索方法, 装置, 可读介质及电子设备
WO2023088172A1 (zh) 交互方法、装置、电子设备和存储介质
WO2022184033A1 (zh) 文档关系的查询方法、搜索方法、装置和电子设备
WO2022184013A1 (zh) 一种文档的编辑方法、装置、设备及存储介质
WO2022184006A1 (zh) 文档的显示方法、装置、电子设备和存储介质
WO2022001846A1 (zh) 意图识别方法、装置、可读介质及电子设备
WO2022184012A1 (zh) 一种文档创建方法、装置、设备及存储介质
US8942534B2 (en) Information processing apparatus, information processing method, program, and information processing system
WO2022095932A1 (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: 22762498

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18279788

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 18/01/2024)