CN119739316A - Interface display method, device, equipment, medium and product - Google Patents
Interface display method, device, equipment, medium and productInfo
- Publication number
- CN119739316A CN119739316A CN202411835278.0A CN202411835278A CN119739316A CN 119739316 A CN119739316 A CN 119739316A CN 202411835278 A CN202411835278 A CN 202411835278A CN 119739316 A CN119739316 A CN 119739316A
- Authority
- CN
- China
- Prior art keywords
- level
- interface
- node
- label
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The application discloses an interface display method, an interface display device, interface display equipment, interface display media and interface display products, and belongs to the technical field of electronic equipment. The interface display method comprises the steps of receiving a second input under the condition of displaying a second level interface of the knowledge graph interface, responding to the second input, displaying a third level interface of the knowledge graph interface, receiving a third input to a third target node in the third level interface, responding to the third input, and displaying a classified object corresponding to the third target node, wherein the second level interface comprises a second level node, the third level interface comprises a third level node, and classification levels of the second level node and the third level node are different.
Description
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to an interface display method, an interface display device, interface display equipment, interface display media and interface display products.
Background
When a user needs to search for content related to a certain topic on an electronic device, there are often multiple types of files related to the topic in the electronic device, and the different types of files are often located in different applications, which results in that the user needs to search for a file corresponding to the topic in each application, and the searching efficiency is low.
Disclosure of Invention
The embodiment of the application aims to provide an interface display method, device, equipment, medium and product, which can improve the information searching efficiency.
In a first aspect, an embodiment of the present application provides an interface display method, including:
Receiving a second input under the condition of displaying a second level interface of the knowledge graph interface;
in response to the second input, displaying a third level interface of the knowledge-graph interface;
receiving a third input to a third target node in a third hierarchical interface;
responding to the third input, and displaying a classification object corresponding to the third target node;
The second hierarchical interface comprises a second hierarchical node, the third hierarchical interface comprises a third hierarchical node, and classification hierarchies of the second hierarchical node and the third hierarchical node are different.
In a second aspect, an embodiment of the present application provides an interface display device, which is characterized by comprising a receiving module and a display module;
The receiving module is used for receiving a second input under the condition of displaying a second level interface of the knowledge graph interface;
The display module is used for responding to the second input and displaying a third level interface of the knowledge graph interface;
The receiving module is further used for receiving a third input to a third target node in a third hierarchical interface;
The display module is also used for responding to the third input and displaying the classified object corresponding to the third target node;
The second hierarchical interface comprises a second hierarchical node, the third hierarchical interface comprises a third hierarchical node, and classification hierarchies of the second hierarchical node and the third hierarchical node are different.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executed by at least one processor to carry out the steps of the method according to the first aspect.
In the embodiment of the application, under the condition of displaying a second level interface of the knowledge graph interface, receiving a second input, responding to the second input, displaying a third level interface of the knowledge graph interface, receiving a third input to a third target node in the third level interface, responding to the third input, and displaying a classified object corresponding to the third target node, wherein the second level interface comprises a second level node, the third level interface comprises a third level node, and classification levels of the second level node and the third level node are different. That is, the embodiment of the application can classify the object in the electronic device according to different classification levels, and the user can quickly find the object based on each classification level of a certain object without searching in each application program, so that the searching efficiency of the classified object is improved.
Drawings
FIG. 1 is a flowchart of an interface display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a second hierarchical interface according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a third level interface according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a detail interface provided by an embodiment of the present application;
FIG. 5 is a flowchart of another method for displaying an interface according to an embodiment of the present application;
FIG. 6a is a schematic diagram of a first hierarchical interface according to an embodiment of the present application;
FIG. 6b is a schematic diagram of another first level interface provided by an embodiment of the present application;
FIG. 7 is a flowchart of another interface display method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of another second level interface provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of another third level interface provided by an embodiment of the present application;
fig. 10 is a schematic diagram of a process for determining a third label corresponding to a classified object according to an embodiment of the present application;
FIG. 11 is a schematic diagram of another process for determining a third label corresponding to a classified object according to an embodiment of the present application;
FIG. 12a is a schematic view of a first region according to an embodiment of the present application;
FIG. 12b is a schematic view of a second region according to an embodiment of the present application;
FIG. 12c is a schematic diagram of an analysis interface according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an interface display device according to an embodiment of the present application;
Fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 15 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms "first," "second," and the like in the description of the present application, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. In addition, "and/or" in the specification means at least one of the connected objects, and the character "/", generally means a relationship in which the associated objects are one kind of "or".
When a user needs to search or browse all types of files related to a certain theme on an electronic device, the user needs to search and browse through a plurality of applications. For example, if a user needs to search for content related to "xx tour" in an electronic device, such as a photo of xx tour, a tapping document of xx tour, a video of xx tour, a travel record of xx tour, a collection link of xx tour, etc., then related keywords need to be searched for and browsed in each corresponding application to find files or records of various types related to the subject of xx tour, which is complicated in process and has low searching efficiency.
Therefore, the embodiment of the application provides an interface display method, an interface display device, interface display equipment, interface display media and interface display products, objects in electronic equipment can be classified according to different classification levels, a user can quickly find the object based on each classification level of a certain object, and the user does not need to find the object in each application program, so that the searching efficiency of the classified objects is improved.
The interface display method, device, equipment, medium and product provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart of an interface display method according to an embodiment of the present application, where the interface display method may be applied to electronic devices such as a mobile phone, a tablet, a notebook computer, etc., as shown in fig. 1, and the interface display method may include the following steps:
And S110, receiving a second input under the condition of displaying a second hierarchical interface of the knowledge graph interface.
And S120, responding to the second input, and displaying a third-level interface of the knowledge graph interface.
S130, receiving a third input to a third target node in a third level interface.
And S140, responding to the third input, and displaying the classified object corresponding to the third target node.
The second hierarchical interface comprises a second hierarchical node, the third hierarchical interface comprises a third hierarchical node, and classification hierarchies of the second hierarchical node and the third hierarchical node are different.
The following describes the above steps in detail, as follows:
In S110, a knowledge graph may be generated according to the objects in the electronic device and the association relationship between different objects.
The object may be an object stored in the electronic device, or may be an object collected by the user in the electronic device, such as a link, a record, etc. of collection. The object may include at least two modalities, which may include, for example, a modality such as a picture, audio, video, word document, PDF document, collection record, etc. Through the knowledge graph, a user can quickly find out required objects, and can intuitively know the relation among the objects, so that convenience is provided for subsequent use.
For example, the electronic device may periodically acquire the object in the electronic device to periodically update the knowledge graph, thereby improving accuracy of the knowledge graph.
In the embodiment of the application, the knowledge graph can comprise a plurality of levels. Taking the example that the knowledge graph includes three layers, the second-level interface may be a second-level knowledge graph, which is also referred to as a second-level knowledge graph, for example. The second-level interface may also be a third-level knowledge-graph, also referred to as a third-level knowledge-graph, for example. The second-level interface may also be a first-level knowledge-graph, also referred to as a first-level knowledge-graph, for example.
The first-level knowledge-graph may include first-level nodes, the second-level knowledge-graph may include second-level nodes, and the third-level knowledge-graph may include third-level nodes, taking the first-level knowledge-graph, the second-level knowledge-graph, and the third-level knowledge-graph as the first-level knowledge-graph, the second-level knowledge-graph, and the third-level knowledge-graph, respectively, as examples, each of the first-level nodes may include at least one of the second-level nodes, and each of the second-level nodes may include at least one of the third-level nodes.
Taking the first-level knowledge-graph, the second-level knowledge-graph and the third-level knowledge-graph as the third-level knowledge-graph, the second-level knowledge-graph and the first-level knowledge-graph, respectively, as an example, each third-level node may include at least one second-level node, and each second-level node may include at least one first-level node.
Taking the example that the knowledge graph includes four levels, the second level interface may be any one of the first level knowledge graph, the second level knowledge graph, the third level knowledge graph, and the fourth level knowledge graph, for example.
The second input is used for displaying a third-level interface, which can be the previous interface or the next interface of the second-level interface, that is, through the knowledge graph provided by the embodiment of the application, a user can acquire the classified objects corresponding to each low level according to the order of the levels from high to low, and can know the high-level classified objects to which the classified objects of each low level belong according to the order of the levels from low to high, so that the flexibility of the knowledge graph is improved.
Taking the second hierarchical interface as a second level knowledge-graph, the second input may be used to display a knowledge-graph adjacent to the second level knowledge-graph, for example, a third level knowledge-graph or a first level knowledge-graph.
Illustratively, the second input may include, but is not limited to, a user touch input to the second hierarchical interface, a voice input, a gesture input, etc., and the touch input may include, but is not limited to, a zoom input, a single click input, a double click input, etc.
Taking the second level interface as the second level knowledge graph and the third level interface as the first level knowledge graph as an example, in some embodiments, the second input may be a user's zoom-out input to the second level interface. That is, the user may display the first level knowledge-graph by zooming out the second level interface.
Taking the second level interface as the second level knowledge graph and the third level interface as the third level knowledge graph as an example, in some embodiments, the second input may be an enlarged input of the second level interface by the user. That is, the user may display the next hierarchical interface by zooming in on the second hierarchical interface.
In S120, the electronic device may display a third level interface, illustratively, upon receiving the second input.
Taking the second level interface corresponding to the second level knowledge graph as an example, the electronic device may display a next level knowledge graph of the second level knowledge graph, that is, a third level knowledge graph, when receiving the second input.
In S130, the third target node may be one or more of third level nodes, where the third level node is a node included in a knowledge graph corresponding to the third level interface.
The third level node is different from the classification level of the second level node, and in some embodiments, the second level node may include the third level node, and in some embodiments, the third level node may also include the second level node, specifically related to the inclusion relationship of the level knowledge maps to which the second level node and the third level node belong.
The third input is used to select a third target node, which may include, but is not limited to, a user's touch input, voice input, gesture input, etc., to the third target node, for example.
In S140, the electronic device may display, for example, a classification object corresponding to the third target node when receiving the third input of the user to the third target node.
Taking the third level interface corresponding to the third level knowledge graph as an example, the classification object corresponding to the third target node may include, but is not limited to, an identity card, a property card, a social security card, etc., the same third target node may correspond to one or more classification objects, and when there are multiple classification objects, the multiple classification objects may correspond to the same data form, for example, all of the data forms may be pictures, or may correspond to multiple data forms, for example, a part of the classification objects corresponds to a picture, a part of the classification objects corresponds to a document, a part of the classification objects corresponds to a video, etc. In this way, a user may obtain one or more classification objects through a node.
The above-described interface display process is described below by way of one embodiment.
Fig. 2 exemplarily illustrates a schematic diagram of a second hierarchical interface, as shown in fig. 2, where the second hierarchical interface 200 is exemplified by a second level knowledge graph, and the second hierarchical interface 200 is exemplified by three second levels, namely, a second hierarchical node 201, a second hierarchical node 202 and a second hierarchical node 203, where the second hierarchical node 201 includes two nodes of a gardening maintenance 2011 and a plant type 2012, the second hierarchical node 202 includes one node of an animal type 2021, and the second hierarchical node 203 includes two nodes of a food material seasoning 2031 and a food product 2032.
Taking the second hierarchical interface 200 enlarged by the user as an example, for example, as shown in fig. 3, the electronic device may display a third hierarchical interface 300, fig. 3 taking a third hierarchical knowledge graph corresponding to the third hierarchical interface as an example, the third hierarchical interface 300 exemplarily enumerates a part of third hierarchical nodes, and in actual application, the user may view other third hierarchical nodes by dragging the third hierarchical interface 300.
For example, in fig. 3, the horticulture maintenance 2011 of the second-level node 201 may include flowerpots and potted plants, and the plant species 2012 of the second-level node 201 may include lotus, petals, bouquet, sunflower, tree, and the like. Animal species 2021 of the second tier node 202 may include pandas, insects, lions, cats, rabbits, swans, and penguins. That is, the user can display the third hierarchical interface 300 by enlarging the second hierarchical interface 200, and can quickly and intuitively obtain the third hierarchical node included in each second hierarchical node through the third hierarchical interface 300, without searching each application one by one, so that the operation of the user is simplified, and the searching efficiency of information is improved.
In the third level interface 300, taking the example that the user selects the insect node as the third target node, for example, as shown in fig. 4, when the user clicks on the insect node, the electronic device may display a detail interface 400, and the detail interface 400 may display insects corresponding to the insect node, and fig. 4 illustrates three types of insects corresponding to the insect node. The insects shown in the detail interface 400 are insects stored in the electronic device, and fig. 4 takes three kinds of insects as pictures as examples, that is, three kinds of classified objects correspond to the same data form and are all pictures.
It will be appreciated that the user may also switch from the third level interface to the second level interface for viewing through an input operation, e.g., the user performs a zoom-out operation on the third level interface.
Thus, with reference to fig. 2-4, a user can quickly acquire the classified objects corresponding to a certain node by simply performing input operation on the second-level node and the third-level interface without searching each application one by one, so that the operation of the user is greatly simplified, the time is saved, and the searching efficiency of information is improved.
Fig. 5 is a flowchart of another interface display method according to an embodiment of the present application, where fig. 5 is different from fig. 1 in that fig. 5 further includes S510-S520.
S510, under the condition that a first hierarchical interface of the knowledge graph interface is displayed, receiving a first input.
In some embodiments, the first hierarchical interface may be a previous hierarchical interface of the second hierarchical interface, for example, the second hierarchical interface corresponds to a second level knowledge-graph, and illustratively, the first hierarchical interface may correspond to a first level knowledge-graph. At this time, the user can search for the required information in order from the coarse-grained classification level to the fine-grained classification level.
In some embodiments, the first hierarchical interface may also be a next hierarchical interface of the second hierarchical interface, where the second hierarchical interface corresponds to a second level knowledge-graph, and illustratively the first hierarchical interface may correspond to a third level knowledge-graph. At this time, the user can search for the required information in order from the fine-granularity classification hierarchy to the coarse-granularity classification hierarchy.
The first input is used to display a second hierarchical interface, and illustratively, the first input may include, but is not limited to, a user's touch input, voice input, gesture input, and the like to the first hierarchical interface. Taking the second level interface corresponding to the second level knowledge graph and the first level interface corresponding to the first level knowledge graph as an example, the first input may be an enlarged input of the first level interface by the user. Taking the second level interface corresponding to the second level knowledge graph and the first level interface corresponding to the third level knowledge graph as an example, the first input may be a user's zoom-out input to the first level interface.
And S520, responding to the first input, and displaying a second level interface of the knowledge graph interface.
The first hierarchical interface comprises a first hierarchical node, and classification hierarchies of the first hierarchical node, the second hierarchical node and the third hierarchical node are different.
Illustratively, the first level node, the second level node, and the third level node may be sequentially involved, i.e., one first level node may include at least one second level node, and one second level node may include at least one third level node.
For example, the first level node, the second level node and the third level node may be sequentially involved, i.e., one third level node may include at least one second level node, and one second level node may include at least one first level node.
In the embodiment of the application, the user can check the knowledge graphs from the fine granularity classification level to the coarse granularity classification level, and can check the knowledge graphs from the coarse granularity classification level to the fine granularity classification level, so that the personalized requirements of the user can be met, and the user can more intuitively know the implicit relationship between the data through the knowledge graphs of different levels, thereby providing a basis for the use of the data.
Taking the example that the first level node belongs to a first level knowledge graph, in some embodiments, node parameters of the second level nodes belonging to the same first level node are the same, where the node parameters may include at least one of color, shape, and size.
Taking the example that the first level node includes two second level nodes, the node parameters of the two second level nodes are the same. Taking the example that the node parameters include colors, the colors of the second-level nodes are the same, that is, the colors of the second-level nodes belonging to the same first-level node in the second-level knowledge-graph are the same for the second-level knowledge-graph.
Fig. 6a illustrates an exemplary first hierarchical interface, as shown in fig. 6a, wherein the first hierarchical interface 600 includes three first hierarchical nodes, first hierarchical node 601, first hierarchical node 602, and first hierarchical node 603, respectively. Wherein the first level node 601 comprises the second level node 201, the first level node 602 comprises the second level node 202, and the first level node 603 comprises the second level node 203. When the first-level nodes are actually displayed, the first-level nodes can display different colors, so that the user can distinguish the first-level nodes conveniently. For example, when a certain first level node is located in a target area of the screen, a corresponding color may be displayed, and if the first level node is located in an area other than the target area, the first level node may be displayed transparently.
For example, as shown in fig. 6b, when the first level node 602 is located in the central area of the screen, the first level node 602 displays purple, and when the first level node 601 and the first level node 603 are both located in other areas, the first level node 601 and the first level node 603 may display transparent colors, and only when the first level node 601 is located in the central area, the color as shown in fig. 6a may be the color, and the first level node 603 is similar.
Taking the example that the node parameters include color, since both the horticultural care 2011 and the plant species 2012 belong to the same first level node 601, the node colors of the horticultural care 2011 and the plant species 2012 are the same. Similarly, the nodes of the food material flavor 2031 and the food product 2032 are the same color.
The second hierarchical region is a region included in the second hierarchical interface and is used for displaying the second hierarchical nodes, and in the embodiment of the application, the second hierarchical interface may include at least two second hierarchical regions so as to display at least two second hierarchical nodes, so that the display effect of the knowledge graph can be improved.
Each second hierarchical region may include at least one second hierarchical node, and when a certain second hierarchical region includes a plurality of second hierarchical nodes, the plurality of second hierarchical nodes belong to the same first hierarchical node.
Taking fig. 2 as an example, it is assumed that the area where the second level node 201 is located is a second level area, where the second level area includes two second level nodes, namely, a horticultural maintenance 2011 and a plant species 2012, and the horticultural maintenance 2011 and the plant species 2012 belong to the same first level node 601.
The embodiment of the application limits the number of the second-level nodes contained in the second-level interface, and the node parameters of the second-level nodes belonging to the same first-level node are the same, so that the display effect of the knowledge graph can be improved, and the user can more intuitively know the association relation of different nodes through the node parameters.
In some embodiments, the attractive force between second tier nodes belonging to the same first tier node is greater than the attractive force between second tier nodes belonging to different first tier nodes.
The gravitation between different nodes can be determined through a force guide diagram, the force guide diagram can be understood as a force model, grouping force can be added to the nodes according to the level to which the nodes belong, so that the different nodes belonging to the same class are close to each other, and the nodes under different classes are far away from each other.
Illustratively, as shown in fig. 2, horticultural care 2011 and plant species 2012 belong to the same first level node, plant 601, animal species 2021 belongs to the first level node, animal loving pet 602, plant 601 and animal loving pet 602 belong to different first level nodes, therefore, the attractive force between horticultural care 2011 and plant species 2012 is greater than the attractive force between horticultural care 2011 and animal species 2021, and the attractive force between horticultural care 2011 and plant species 2012 is greater than the attractive force between plant species 2012 and animal species 2021. The attraction between different nodes may be represented by a distance, with a smaller distance representing a larger attraction and a larger distance representing a smaller attraction. That is, the distance between the horticultural care 2011 and the plant species 2012 is smaller than the distance between the plant species 2012 and the animal species 2021, and the distance between the horticultural care 2011 and the plant species 2012 is smaller than the distance between the plant species 2012 and the animal species 2021.
Therefore, the second-level nodes belonging to the same first-level node can be mutually close, the second-level nodes belonging to different first-level nodes are mutually far away, the second-level nodes belonging to different first-level nodes can be prevented from mutually crossing, and the display effect of the knowledge graph is improved.
In some embodiments, the node parameters of the third level nodes belonging to the same second level node are the same, the node parameters comprising at least one of color, shape, size. Taking the node parameters as colors, shapes and sizes as examples, exemplarily, as shown in fig. 3, the flower pot and the pot plant belong to a gardening maintenance 2011, and the gardening maintenance 2011 is a second-level node, and the colors, shapes and sizes of the nodes corresponding to the flower pot and the pot plant are the same.
The third level interface comprises at least two third level regions, each third level region comprising third level nodes belonging to the same second level node. The layout of the third level interface is similar to that of the second level interface, that is, the third level interface comprises at least two third level nodes, so that the number of the third level nodes is prevented from being too small, and the display effect of the knowledge graph is ensured.
The embodiment of the application limits the number of the third level nodes contained in the third level interface, and the node parameters of the third level nodes belonging to the same second level node are the same, so that the display effect of the knowledge graph can be improved, and the user can more intuitively know the association relation of different nodes through the node parameters.
In some embodiments, the attractive force between third tier nodes belonging to the same second tier node is greater than the attractive force between third tier nodes belonging to different second tier nodes. Illustratively, as shown in fig. 3, the flowerpot and the pot both belong to a second level node, namely, gardening maintenance 2011, and the panda belongs to a second level node, namely, animal species 2021, and since gardening maintenance 2011 and animal species 2021 belong to different second level nodes, the attraction between the flowerpot and the pot is greater than the attraction between the flowerpot and the panda, and is also greater than the attraction between the pot and the panda. That is, the distance between the flowerpot and the pot is smaller than the distance between the flowerpot and the panda, and also smaller than the distance between the pot and the panda.
Therefore, the third level nodes belonging to the same second level node are close to each other, the third level nodes belonging to different second level nodes are far away from each other, the third level nodes belonging to different second level nodes can be prevented from crossing each other, and the display effect of the knowledge graph is improved.
Fig. 7 is a flowchart of another interface display method provided in the embodiment of the present application, where the difference between fig. 7 and fig. 1 is that S110 in fig. 1 may be refined to S710 in fig. 7, and S120 in fig. 1 may be refined to S720 in fig. 7.
S710, receiving a second input under the condition that a second hierarchical interface of the knowledge graph interface is displayed and the second target node is in a selected state.
The second target node is a node in the second hierarchical interface in a selected state, and may be considered to be in the selected state when the second target node is located in a designated area of a screen of the electronic device, for example. The designated area may be, for example, a central area of the screen, or may be other areas than the central area.
Taking the designated area as the central area of the screen as an example, the user may drag the second hierarchical interface to locate the second target node in the central area, thereby placing the second target node in the selected state, as illustrated in fig. 8. Fig. 8 illustrates an example of the gardening maintenance 2011 as the second target node, and the gardening maintenance 2011 is located in the central area of the screen, that is, in the selected state. That is, the user may drag the second hierarchical interface to locate the second target node in the central area of the screen, thereby providing a basis for further viewing of the third hierarchical node of the second target node.
For example, the user may perform the second input when the second target node is in the selected state. If the second target node is not in the selected state, the electronic device cannot respond to the second input even if the user performs the second input, so that misoperation of the knowledge graph interface by the user can be avoided.
S720, responding to the second input, and displaying a third level interface of the knowledge graph interface, wherein the third level node belonging to the second target node is in the target area.
The target area here may be a central area of the screen. For example, the electronic device may display a third level interface if the second target node is in the selected state and the second input is received. Since the second target node is located in the central area of the screen, the third level node of the second target node is also located in the central area of the screen.
Taking the second target node as a gardening maintenance 2011 as an example, as shown in fig. 9, for example, when the electronic device receives the second input, the third level interface 300 may be displayed, and the flowerpot and the pot plant included in the gardening maintenance 2011 are located in the central area of the screen.
According to the embodiment of the application, the electronic equipment can display the third-level interface only when the second target node is in the selection state and the second input is received, so that misoperation of a user on the knowledge graph interface can be avoided, and the accuracy of interface display is improved. And the third level node belonging to the second target node is positioned in the target area, so that a user can more intuitively acquire the third level node belonging to the second target node, the searching time of the third level node is saved, and the searching efficiency is improved.
Taking the case that the classified object corresponds to the third label and the third label corresponds to the third level node as an example, as shown in fig. 10, fig. 10 is a schematic diagram of a process of determining the third label corresponding to the classified object according to an embodiment of the present application.
S1010, determining an initial label of the classified object by using the first classification model.
The first classification model is used to determine labels of classified objects, and may be an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) model, for example. The initial label is a label directly output by the first classification model.
For example, the first classification model may extract keywords of the classification object, and set corresponding tags for the classification object based on the keywords, to obtain an initial tag. One classified object may correspond to one or more initial tags.
In some embodiments, in consideration of higher power consumption and higher temperature rise in the labeling process, in order not to affect the use of a user, in the case of screen extinction or charging of electronic equipment, the first classification model may be used to perform labeling processing on the classification object, so as to obtain an initial label of the classification object.
In some embodiments, when outputting the initial label of each classified object, the first classification model may further output a confidence level of each initial label, where the confidence level is used to characterize the accuracy of the initial label to the classified object.
S1020, determining a third label corresponding to the classified object according to the matching relation between the reference label and the initial label in the label library.
The tag library is used for storing a plurality of standard classification tags, and the classification tags stored in the tag library can correspond to a plurality of classification levels, for example, a standard first-level tag, a standard second-level tag and a standard third-level tag are included in the tag library, that is, each third-level tag has a corresponding standard second-level tag, and each second-level tag has a corresponding standard first-level tag. The label library is helpful for determining the attribution node of each level, and provides accurate basis for subsequent knowledge graph construction.
The matching relationship between the reference tag and the initial tag is used to characterize whether the initial tag and the reference tag match. Illustratively, when an initial tag is the same as a reference tag, the initial tag may be considered to match the reference tag. For example, whether the initial tag matches the reference tag may also be determined based on the similarity of the initial tag to the reference tag, e.g., if the initial tag is greater than a similarity threshold, the initial tag may be considered to match the reference tag.
The third label is a label determined by the classification object, and may be a label of a fine-grained level, such as a label corresponding to a third-level node. The number of third tags of the classified object may be more than one. After the third label is determined, other labels with hierarchical relation with the third label can be further obtained by combining the label library.
According to the embodiment of the application, the first classification model can be utilized to carry out labeling treatment on the classified objects to obtain the initial labels of the classified objects, the third labels of the classified objects can be accurately determined according to the matching relation between the reference labels in the label library and the initial labels, and then the plurality of classification levels stored in the label library are combined to obtain other labels with hierarchical relation with the third labels, so that accurate basis is provided for constructing a knowledge graph.
Taking the number of initial labels as at least two as an example, as shown in fig. 11, fig. 11 is different from fig. 10 in that S1020 in fig. 10 may be refined to S1110-S1120 in fig. 11.
S1110, for the initial label with the matched reference label in the label library, determining the reference label matched with the initial label as a third label corresponding to the classification object.
For example, for an initial tag, if there is a reference tag matching the initial tag in the tag library, the reference tag matching the initial tag may be directly determined as a third tag corresponding to the classification object. Because the standard labels are stored in the label library, and the label library is provided with the standard classification labels with a plurality of classification levels, the reference label matched with the initial label in the label library is determined to be the third label of the classification object, the accuracy of the third label can be ensured, and the attribution node of the third label can be more accurately determined by combining the label library, so that the accuracy of the knowledge graph is improved.
S1120, when the number of the reference labels matched with the initial labels is smaller than the number threshold, for the initial labels without the matched reference labels in the label library, determining a supplementary label according to the confidence of each initial label, and determining the supplementary label as a third label corresponding to the classification object.
For a certain classified object, it needs to have a specified number of third tags, and in case the number of reference tags matching the initial tags is smaller than the number threshold, it needs to further determine a supplementary tag according to the remaining initial tags.
Taking the example that the initial tag includes four, assuming that there are 1 reference tags matching the initial tag 1 and 1 reference tag matching the initial tag 2, the number of reference tags matching the initial tag may be denoted as 2.
For example, if the number of reference tags that match the initial tag is less than the number threshold, indicating that at least a portion of the initial tag does not match all of the reference tags in the tag library, for initial tags for which no matching reference tag exists in the tag library, a supplemental tag may be determined from the initial tags further based on the confidence of the initial tag. The content of the confidence level can be referred to the above embodiments, and for brevity, the description is omitted here.
For example, supplemental tags may be determined from the initial tags based on the confidence of each initial tag until the number of supplemental tags and matching reference tags equals a number threshold. The magnitude of the number threshold may be set according to actual needs, and may be set to 3, for example.
In the above example, the number of reference tags matched with the initial tag is 2, and assuming that the confidence of the initial tag 3 is greater than the confidence of the initial tag 4, the initial tag 3 with the greatest confidence may be used as a supplementary tag, and the initial tag 3 may also be determined as the third tag of the classification object.
For example, if the number of reference tags that match the initial tag is greater than or equal to the number threshold, then the supplemental tag need not be determined.
According to the embodiment of the application, the third labels of the classified objects can be determined according to whether the initial labels are matched with the reference labels in the label library or not and the matching quantity, meanwhile, the quantity and the accuracy of the third labels are considered, and the accuracy of the knowledge graph is improved while the display effect of the knowledge graph is improved.
In some embodiments, the interface display method may further include the steps of:
And determining a second-level node to which the third-level node corresponding to the supplementary label belongs by using the second classification model.
The second classification model is used for classifying the supplementary label so as to determine a second-level node to which a third-level node corresponding to the supplementary label belongs. The second classification model may be, for example, an AI model.
For the supplementary label, the initial label may be classified by using a second classification model, so as to obtain a second level node corresponding to the initial label.
That is, the embodiment of the application can further classify the initial label by using the second classification model to obtain the second level node to which the third level node corresponding to the supplementary label belongs, thereby determining the level relation among different nodes and providing a basis for constructing the knowledge graph.
In some embodiments, the tag library includes reference tags and previous level tags of the reference tags;
the interface display method may further include the steps of:
and determining a second-level node to which a third-level node corresponding to the initial tag matched with the reference tag belongs by utilizing the hierarchical relation between the reference tag and the previous-level tag in the tag library.
For example, if a certain initial label has a matched reference label in the label library, the hierarchical relationship between the reference label and the previous-stage label in the label library can be combined to determine the second-stage node to which the third-stage node corresponding to the initial label belongs, that is, if a certain initial label has a matched reference label in the label library, the second-stage node to which the third-stage node corresponding to the initial label belongs can be determined by combining with the label library, so that the accuracy of the hierarchical relationship is ensured.
Table 1 exemplifies a part of the tags of a tag library, and table 1 exemplifies three levels of tags, namely a primary tag, a secondary tag and a tertiary tag, and the tertiary tag may be the reference tag mentioned in the above embodiment. In some embodiments, the tertiary labels may correspond to third level nodes, the secondary labels may correspond to second level nodes, and the primary labels may correspond to first level nodes.
TABLE 1
In some embodiments, for the tertiary labels, the links between the third level nodes corresponding to the different tertiary labels can be further established, so that the user can conveniently view and discover the links between the knowledge and the knowledge.
The association relationship between the different third-level nodes can be established according to an association rule, wherein the association rule comprises at least one item of information including the number of classified objects of the different third-level nodes and the number of the same third-level nodes contained in the different classified objects.
Taking the example that the association rule includes the number of classification objects (rule 1) to which different third-level nodes belong, for example, when different third-level nodes belong to a plurality of classification objects at the same time, a connection relationship between every two nodes in the different third-level nodes may be established.
Taking the second number threshold value as 2, the classification object 1 corresponds to the third level node a, the third level node B, the third level node C and the third level node D, and the classification object 2 corresponds to the third level node B, the third level node C, the third level node E and the third level node F as an example, since the third level node B and the third level node C belong to the classification object 1 and the classification object 2 at the same time, the connection relationship between the third level node B and the third level node C can be established. That is, when the third level interface is displayed, in addition to the third level node B and the third level node C, a connection line between the third level node B and the third level node C may be displayed to indicate that the third level node B and the third level node C have an association relationship.
For another example, the classification object 3 corresponds to the third level node B, the third level node C, the third level node E, and the third level node F, and since the third level node B, the third level node C, and the third level node E belong to the classification object 2 and the classification object 3 at the same time, a connection relationship between two nodes in the third level node B, the third level node C, and the third level node E can be established. For example, a connection relationship between the third level node B and the third level node C, a connection relationship between the third level node B and the third level node E, and a connection relationship between the third level node C and the third level node E may be established.
Taking the example that the linking rule includes the number of identical third level nodes (rule 2) contained in different classified objects, for example, when two classified objects have a plurality of identical third level nodes and the different third level nodes belong to the same second level node, a connection relationship between the different third level nodes of the two classified objects may be established.
Taking the classification object 1 and the classification object 2 as examples, 3 identical third level nodes exist in the classification object 1 and the classification object 2, and the third level node a and the third level node D corresponding to the classification object 1 and the third level node E and the third level node F corresponding to the classification object 2 belong to the same second level node, then a connection relationship between the third level node a and the third level node E, a connection relationship between the third level node a and the third level node F, a connection relationship between the third level node D and the third level node E, and a connection relationship between the third level node D and the third level node F may be established.
In some embodiments, when the number of the connection lines between the different third-level nodes obtained based on the rule 1 is smaller, the connection relationship between the different third-level nodes may be further established based on the rule 2, so that the number of the connection lines between the different third-level nodes may be ensured to be uniform.
When the connection is established according to rule 2, the same third-level node can establish an association relationship with other three third-level nodes at most, so that the number of connection lines among the different third-level nodes is ensured to be uniform. Of course, the quantitative relationship may also be adjusted according to actual needs.
After determining the hierarchical relationships between each hierarchical node and the nodes of different hierarchical levels, the knowledge graph in the above embodiment can be constructed, and three layers of knowledge graphs are taken as an example.
Illustratively, the location of the second level node may be determined based on information of the location, number, size, etc. of the third level node.
For example, if the number of third level nodes included under the same second level node is greater than or equal to the first number threshold and the total number of third level nodes is greater than or equal to the second number threshold, the second level node may be displayed in the second level interface, otherwise, the second level node is not displayed on the second level interface. That is, not all of the determined second-level nodes may be displayed on the second-level interface. Illustratively, the first number threshold may be set to 4 and the second number threshold may be set to 30. The total number of third level nodes here may be the total number of third level nodes that all second level nodes contain. Therefore, the phenomenon that the display effect of the knowledge graph is affected due to the fact that the number of nodes on the second-level interface is too small can be avoided.
Similarly, if the number of second level nodes included under the same first level node is greater than or equal to the third number and the total number of second level nodes is greater than or equal to the fourth number threshold, the first level node may be displayed in the first level interface, otherwise, the first level node is not displayed on the first level interface. That is, not all first level nodes determined may be displayed on the first level interface. Illustratively, the third number threshold may be set to 3 and the fourth number threshold may be set to 10. Therefore, the phenomenon that the display effect of the knowledge graph is affected due to the fact that the number of nodes on the first-level interface is too small can be avoided.
After determining which second level nodes and which first level nodes need to be displayed, the locations of the second level nodes and the first level nodes may be further determined. The locations of the second level node and the first level node may be determined from the locations of the third level node, which may be determined from the force graph.
Illustratively, the first area may be determined from the locations of the third hierarchical nodes comprised by the second hierarchical node, the first area comprising the third hierarchical node comprised by the second hierarchical node, the target point and the distance between the target point and the target edge of the first area being determined from the first area, the second area being determined from the target point and the distance, and the location of the second area being determined as the location of the second hierarchical node.
For each second level node to be displayed, the boundaries of each third level node included in the second level node along the horizontal direction and the vertical direction can be determined. As shown in fig. 12a, the second level node S includes 5 third level nodes 1201, 1202, 1203, 1204 and 1205, respectively, and in some embodiments, boundaries of each third level node along the horizontal direction and the vertical direction may be determined, and a rectangular area 1200 may be obtained based on the horizontal boundary and the vertical boundary, where the rectangular area 1200 is the first area in the foregoing embodiment.
After the first region is determined, a target point may be determined from the first region, which may be any point in the first region, and in some embodiments, as shown in fig. 12a, may be the center point P of the first region 1200.
The target edge may be any edge of the first region 1200, for example, the target edge may be a left edge L, a right edge R, an upper edge U, or a lower edge D of the first region 1200. In some embodiments, the distances of the center point P from the left edge L, the right edge R, the upper edge U, and the lower edge D may be calculated, respectively, and the edge having the largest distance may be determined as the target edge. Fig. 12a exemplifies a target edge as a left edge L.
After the target edge is determined, the distance between the target point and the target edge can be calculated, and still taking fig. 12a as an example, the distance R between the center point P and the left edge L can be calculated. And determining a second area according to the center point P and the distance R, wherein the position of the second area is the position of the second-level node.
Illustratively, the second region may be generated with a center point P as a center and a radius R. As shown in fig. 12b, the circular region 1206 is a second region, i.e. the location of the second level node.
In some embodiments, if the areas of the different second-level nodes actually determined have overlapping conditions, the radius of the overlapping area can be reduced to ensure that a certain gap exists between the different second-level nodes, so that the display effect of the knowledge graph is improved. For example, if the areas where the second level node M and the second level node N are located are partially overlapped, the radius of the areas where the second level node M and the second level node N are located may be reduced.
The embodiment of the application can adaptively determine the position of the second-level node based on the position of the third-level node, fully considers the inclusion relationship among the nodes of different levels and improves the display effect of the knowledge graph.
A second hierarchical interface may be generated based on the location of the second hierarchical node.
For each first level node to be displayed, all third level nodes included in the first level node may be determined, and the position of the first level node may be determined according to the positions of all third level nodes, and the specific determining process may refer to the second level node, which is not described herein for brevity.
A first hierarchical interface may be generated based on the locations of the first hierarchical nodes.
Illustratively, the first hierarchical interface, the second hierarchical interface and the third hierarchical interface are fused to obtain a knowledge graph.
For example, when the electronic device displays the knowledge graph, the first hierarchical interface may be preferentially displayed, at which time the user may zoom in or click on the first hierarchical interface, switch to the second hierarchical interface, and similarly, zoom in or click on the second hierarchical interface, switch to the third hierarchical interface. Taking the example of switching the first hierarchical interface to the second hierarchical interface, the first hierarchical interface may be switched to the second hierarchical interface when the first hierarchical interface is enlarged to a certain magnification.
Taking the first level node corresponding to the first level label, the second level node corresponding to the second level label, and the third level node corresponding to the third level label as examples, in some embodiments, the coloring of all the second level nodes corresponding to the same first level node and the first level node may be the same, and the coloring of the third level node under different second level nodes corresponding to the same first level node may be performed by adopting a rule similar to the color of the first level node. For example, the first level node A has a color a and the defined similar color pool ordering is a, b, c, d. The different second level nodes under the first level node A are B1, B2 and B3, the second level nodes are all colored with a color, and a plurality of third level nodes C11-C1n, B21-B2m and C31-C3j under the classification of B1, B2 and B3 are colored by a, B and C respectively. The coloring mode can ensure the continuity of the first, second and third-level colors, and enhances the grouping association feeling of users for checking different-level maps.
Taking the example that the classified object corresponding to the third level node includes a file, the interface display method may further include the following steps:
receiving a fourth input of the target classification object;
And responding to the fourth input, and displaying an analysis result of the target classified object, wherein the analysis result comprises at least one of a abstract of the target classified object and a key problem pair, and the key problem pair is obtained by analyzing the target classified object.
The fourth input is used for displaying the analysis result of the target classified object, and illustratively, the fourth input may include, but is not limited to, a touch input of the user to the target classified object through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasibility inputs, and may be specifically determined according to actual use requirements, which is not limited by the embodiment of the present application. The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture, and the click input in the embodiment of the application can be single-click input, double-click input or any-time click input, and the like, and can also be long-press input or short-press input. For example, the fourth input may be a user click input to the target classification object.
The abstract and the key question pairs are obtained by analyzing the target classification object, the key question pairs comprise questions and answers, and the reading interest of the user can be improved by extracting the key question pairs.
Illustratively, as shown in fig. 12c, the third level interface further includes a "master paper" node 1207, when the user clicks on the "master paper" node 1207, the electronic device may display 4 documents related to the master paper in the electronic device, that is, document 1, document 2, document 3 and document 4, respectively, and when the user clicks on document 1, the electronic device may display a parsing interface 1208, where the parsing interface 1208 includes summary, outline, key problem and other information obtained by parsing the document 1. Therefore, the method can quickly help the user to build knowledge of the context of the document 1, so that the user can quickly know key points of the document 1, the reading difficulty of the user is reduced, the reading efficiency is improved, and the user is facilitated to generate the effect of memory enhancement on related contents.
According to the embodiment of the application, the classified objects in the electronic equipment are subjected to labeling treatment, the classified objects in different modes are combined and sorted from the dimension of the content label, and are visually presented in a map mode, so that a user can find the hidden relation among the different classified objects through the map, meanwhile, the classified objects in different modes can be rapidly checked, and the searching efficiency of the classified objects is improved.
It should be noted that, in the interface display method provided by the embodiment of the present application, the execution body may be an interface display device, or a processing module in the interface display device for executing the interface display method. In the embodiment of the application, an interface display device executing an interface display method is taken as an example, and the interface display device provided by the embodiment of the application is described.
Fig. 13 is a schematic structural diagram of an interface display device according to an embodiment of the present application.
As shown in fig. 13, the interface display apparatus 1300 may include 1301 a receiving module and 1302 a display module;
a receiving module 1301, configured to receive a second input in a case where a second hierarchical interface of the knowledge graph interface is displayed;
a display module 1302 for displaying a third level interface of the knowledge-graph interface in response to the second input;
The receiving module 1301 is further configured to receive a third input to a third target node in a third hierarchical interface;
The display module 1302 is further configured to display, in response to the third input, a classification object corresponding to the third target node;
The second hierarchical interface comprises a second hierarchical node, the third hierarchical interface comprises a third hierarchical node, and classification hierarchies of the second hierarchical node and the third hierarchical node are different.
In the embodiment of the application, under the condition of displaying a second level interface of the knowledge graph interface, receiving a second input, responding to the second input, displaying a third level interface of the knowledge graph interface, receiving a third input to a third target node in the third level interface, responding to the third input, and displaying a classified object corresponding to the third target node, wherein the second level interface comprises a second level node, the third level interface comprises a third level node, and classification levels of the second level node and the third level node are different. That is, the embodiment of the application can classify the object in the electronic device according to different classification levels, and the user can quickly find the object based on each classification level of a certain object without searching in each application program, so that the searching efficiency of the classified object is improved.
In some possible implementations of the embodiments of the present application, the receiving module 1301 is further configured to receive, before receiving the second input, the first input in a case of displaying a first hierarchical interface of the knowledge-graph interface;
the display module 1302 is further configured to display a second hierarchical interface of the knowledge-graph interface in response to the first input;
The first hierarchical interface comprises a first hierarchical node, and classification hierarchies of the first hierarchical node, the second hierarchical node and the third hierarchical node are different.
In some possible implementations of the embodiments of the present application, the node parameters of the second level nodes belonging to the same first level node are the same, the node parameters including at least one of color, shape, size, and the second level interface including at least two second level regions, each second level region including a second level node belonging to the same first level node.
In some possible implementations of embodiments of the application, the attractive force between second level nodes belonging to the same first level node is greater than the attractive force between second level nodes belonging to different first level nodes.
In some possible implementations of the embodiments of the present application, the node parameters of the third level nodes belonging to the same second level node are the same, the node parameters including at least one of color, shape, size, and the third level interface including at least two third level regions, each third level region including a third level node belonging to the same second level node.
In some possible implementations of embodiments of the application, the attractive force between third tier nodes belonging to the same second tier node is greater than the attractive force between third tier nodes belonging to different second tier nodes.
In some possible implementations of the embodiments of the present application, the receiving module 1301 is specifically configured to:
Receiving a second input under the condition that a second hierarchical interface of the knowledge graph interface is displayed and a second target node is in a selected state;
the display module 1302 is specifically configured to:
And responding to the second input, and displaying a third-level interface of the knowledge graph interface, wherein the third-level node belonging to the second target node is in the target area.
In some possible implementations of the embodiments of the present application, the classification object corresponds to a third label, the third label corresponding to a third level node;
the interface display apparatus 1300 may further include:
the determining module is used for determining an initial label of the classified object by using the first classification model;
And determining a third label corresponding to the classified object according to the matching relation between the reference label and the initial label in the label library.
In some possible implementations of embodiments of the application, the number of initial tags is at least two;
The determining module is specifically configured to:
for an initial tag with a matched reference tag in a tag library, determining the reference tag matched with the initial tag as a third tag corresponding to the classification object;
And when the number of the reference labels matched with the initial labels is smaller than the number threshold, determining a supplementary label according to the confidence of each initial label for the initial labels of which the matched reference labels do not exist in the label library, and determining the supplementary label as a third label corresponding to the classification object.
In some possible implementations of the embodiment of the present application, the determining module is further configured to determine, using the second classification model, a second level node to which the third level node corresponding to the supplemental label belongs.
In some possible implementations of embodiments of the application, the tag library includes a reference tag and a previous level tag of the reference tag;
The determining module is further configured to determine a second level node to which a third level node corresponding to the initial tag matched with the reference tag belongs, by using a hierarchical relationship between the reference tag and the previous level tag in the tag library.
According to the embodiment of the application, the classified objects in the electronic equipment are subjected to labeling treatment, the classified objects in different modes are combined and sorted from the dimension of the content label, and are visually presented in a map mode, so that a user can find the hidden relation among the different classified objects through the map, meanwhile, the classified objects in different modes can be rapidly checked, and the searching efficiency of the classified objects is improved.
The interface display device in the embodiment of the application can be a device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a Mobile internet device (Mobile INTERNET DEVICE, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a robot, a wearable device, an ultra-Mobile personal computer (UMPC), a netbook or a user digital assistant (PDA), etc., and may also be a server, a network attached storage (Network Attached Storage, NAS), a user computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., which are not particularly limited in the embodiments of the present application.
The electronic device in the embodiment of the application can be a terminal with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The interface display device provided by the embodiment of the application can realize each process in the embodiment of the interface display method and achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
As shown in fig. 14, the embodiment of the present application further provides an electronic device 1400, which includes a processor 1401 and a memory 1402, where the memory 1402 stores a program or instructions executable on the processor 1401, and the program or instructions implement the steps of the above-mentioned embodiment of the interface display method when executed by the processor 1401, and achieve the same technical effects, and are not repeated herein.
The electronic device in the embodiment of the application includes the mobile terminal and the non-mobile terminal.
Fig. 15 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
The electronic device 1500 includes, but is not limited to, radio frequency units 1501, network modules 1502, audio output units 1503, input units 1504, sensors 1505, display units 1506, user input units 1507, interface units 1508, memory 1509, and a processor 1510.
Those skilled in the art will appreciate that the electronic device 1500 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1510 via a power management system so as to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device 1500 structure shown in fig. 15 does not constitute a limitation of the electronic device 1500, and the electronic device 1500 may include more or less components than illustrated, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the user input unit 1507 is configured to receive a second input when the display unit 1506 displays a second level interface of the knowledge graph interface;
A display unit 1506 for displaying a third level interface of the knowledge-graph interface in response to the second input;
A user input unit 1507 for receiving a third input to a third target node in a third hierarchical interface;
The display unit 1506 is further configured to display, in response to the third input, a classification object corresponding to the third target node;
The second hierarchical interface comprises a second hierarchical node, the third hierarchical interface comprises a third hierarchical node, and classification hierarchies of the second hierarchical node and the third hierarchical node are different.
In the embodiment of the application, under the condition of displaying a second level interface of the knowledge graph interface, receiving a second input, responding to the second input, displaying a third level interface of the knowledge graph interface, receiving a third input to a third target node in the third level interface, responding to the third input, and displaying a classified object corresponding to the third target node, wherein the second level interface comprises a second level node, the third level interface comprises a third level node, and classification levels of the second level node and the third level node are different. That is, the embodiment of the application can classify the object in the electronic device according to different classification levels, and the user can quickly find the object based on each classification level of a certain object without searching in each application program, so that the searching efficiency of the classified object is improved.
In some possible implementations of embodiments of the application, the user input unit 1507 is further configured to, prior to receiving the second input, receive the first input in the case that the display unit 1506 displays the first hierarchical interface of the knowledge-graph interface;
the display unit 1506 is further configured to display a second hierarchical interface of the knowledge-graph interface in response to the first input;
The first hierarchical interface comprises a first hierarchical node, and classification hierarchies of the first hierarchical node, the second hierarchical node and the third hierarchical node are different.
In some possible implementations of the embodiments of the present application, the node parameters of the second level nodes belonging to the same first level node are the same, the node parameters including at least one of color, shape, size, and the second level interface including at least two second level regions, each second level region including a second level node belonging to the same first level node.
In some possible implementations of embodiments of the application, the attractive force between second level nodes belonging to the same first level node is greater than the attractive force between second level nodes belonging to different first level nodes.
In some possible implementations of the embodiments of the present application, the node parameters of the third level nodes belonging to the same second level node are the same, the node parameters including at least one of color, shape, size, and the third level interface including at least two third level regions, each third level region including a third level node belonging to the same second level node.
In some possible implementations of embodiments of the application,
The attraction between third level nodes belonging to the same second level node is greater than the attraction between third level nodes belonging to different second level nodes.
In some possible implementations of embodiments of the application, the user input unit 1507 is specifically configured to:
receiving a second input when the display unit 1506 displays a second hierarchical interface of the knowledge-graph interface and the second target node is in the selected state;
The display unit 1506 specifically is configured to:
And responding to the second input, and displaying a third-level interface of the knowledge graph interface, wherein the third-level node belonging to the second target node is in the target area.
In some possible implementations of the embodiments of the present application, the classification object corresponds to a third label, the third label corresponding to a third level node;
A processor 1510 for determining an initial tag of the classified object using the first classification model;
And determining a third label corresponding to the classified object according to the matching relation between the reference label and the initial label in the label library.
In some possible implementations of embodiments of the application, the number of initial tags is at least two;
The processor 1510 is specifically configured to:
for an initial tag with a matched reference tag in a tag library, determining the reference tag matched with the initial tag as a third tag corresponding to the classification object;
And when the number of the reference labels matched with the initial labels is smaller than the number threshold, determining a supplementary label according to the confidence of each initial label for the initial labels of which the matched reference labels do not exist in the label library, and determining the supplementary label as a third label corresponding to the classification object.
In some possible implementations of the embodiments of the present application, the processor 1510 is further configured to determine, using the second classification model, a second level node to which the third level node to which the supplemental label corresponds belongs.
In some possible implementations of the embodiments of the present application, the tag library includes a reference tag and a previous level tag of the reference tag;
The processor 1510 is further configured to determine a second level node to which a third level node corresponding to the initial tag matched with the reference tag belongs, using a hierarchical relationship between the reference tag and the previous level tag in the tag library.
According to the embodiment of the application, the classified objects in the electronic equipment are subjected to labeling treatment, the classified objects in different modes are combined and sorted from the dimension of the content label, and are visually presented in a map mode, so that a user can find the hidden relation among the different classified objects through the map, meanwhile, the classified objects in different modes can be rapidly checked, and the searching efficiency of the classified objects is improved.
It should be appreciated that in embodiments of the present application, the input unit 1504 may include a graphics processor (Graphics Processing Unit, GPU) 15041 and a microphone 15042, the graphics processor 15041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1506 may include a display panel 15061, and the display panel 15061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1507 includes at least one of a touch panel 15071 and other input devices 15072. The touch panel 15071 is also referred to as a touch screen. The touch panel 15071 may include two parts, a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 1509 may be used to store software programs as well as various data. The memory 1509 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1509 may include volatile memory or nonvolatile memory, or the memory 1509 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA RATE SDRAM, DDRSDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCH LINK DRAM, SLDRAM), and Direct random access memory (DRRAM). Memory 1509 in embodiments of the application include, but are not limited to, these and any other suitable types of memory.
The processor 1510 may include one or more processing units, and optionally, the processor 1510 integrates an application processor that primarily processes operations involving an operating system, user interfaces, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1510.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, implements each process of the above-mentioned interface display method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a computer readable memory ROM, a random access memory RAM, a magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the interface display method embodiment can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-described interface display method embodiment, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.
Claims (15)
Publications (1)
Publication Number | Publication Date |
---|---|
CN119739316A true CN119739316A (en) | 2025-04-01 |
Family
ID=
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7528156B2 (en) | Browser for mixed reality systems | |
US9690831B2 (en) | Computer-implemented system and method for visual search construction, document triage, and coverage tracking | |
US8683389B1 (en) | Method and apparatus for dynamic information visualization | |
CN1804838B (en) | File management system employing time-line based representation of data | |
CN115087984A (en) | Method, computer-readable medium, and system for creating, organizing, viewing, and connecting annotations | |
KR102110700B1 (en) | Mobile user interface | |
WO2012176317A1 (en) | Image recognition system-equipped interest graph collection system using relationship search | |
US9639518B1 (en) | Identifying entities in a digital work | |
US10768421B1 (en) | Virtual monocle interface for information visualization | |
CN105045796A (en) | Intent based search results associated with a modular search object framework | |
US10572769B2 (en) | Automatic image piling | |
US20180285965A1 (en) | Multi-dimensional font space mapping and presentation | |
US20180349820A1 (en) | Topic-based place of interest discovery feed | |
WO2022108890A1 (en) | Dynamic collection-based content presentation | |
US20220269380A1 (en) | Method and system for structuring, displaying, and navigating information | |
US10345990B2 (en) | Graphically representing content relationships on a surface of graphical object | |
Khanwalkar et al. | Exploration of large image corpuses in virtual reality | |
US20090132967A1 (en) | Linked-media narrative learning system | |
TW201523421A (en) | Determining images of article for extraction | |
CN104135529B (en) | INFORMATION DISCOVERY, share system based on full-time empty label net | |
US11636148B2 (en) | Method, system, and non-transitory computer readable record medium for providing comparison result by comparing common features of products | |
CN119739316A (en) | Interface display method, device, equipment, medium and product | |
CN114416664A (en) | Information display method, information display device, electronic apparatus, and readable storage medium | |
CN111797257B (en) | Picture recommendation method and related equipment based on word vector | |
CN119718152A (en) | Method, device and electronic device for displaying points of interest |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication |