CN115033535A - Search result display method, device, equipment and storage medium - Google Patents

Search result display method, device, equipment and storage medium Download PDF

Info

Publication number
CN115033535A
CN115033535A CN202210839805.XA CN202210839805A CN115033535A CN 115033535 A CN115033535 A CN 115033535A CN 202210839805 A CN202210839805 A CN 202210839805A CN 115033535 A CN115033535 A CN 115033535A
Authority
CN
China
Prior art keywords
target file
aggregation
items
item
aggregate
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
Application number
CN202210839805.XA
Other languages
Chinese (zh)
Inventor
李彤
张秀杰
杨熙
刘春晓
王宗辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202210839805.XA priority Critical patent/CN115033535A/en
Publication of CN115033535A publication Critical patent/CN115033535A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/156Query results presentation

Abstract

The present disclosure provides a search result display method, apparatus, device, storage medium, and program product, which relate to the field of computer technologies, and in particular, to the field of intelligent search and file management technologies. The specific implementation scheme is as follows: in response to receiving the content to be searched, determining a plurality of target file items as search results related to the content to be searched; determining an aggregation target file project with a hierarchical association relation from the target file projects according to the tree structure corresponding to the target file projects to obtain an aggregation set; determining an aggregation set ordering result of the aggregation set; and displaying the aggregation target file items according to the aggregation sequencing result.

Description

Search result display method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technology, and more particularly, to the field of intelligent search and file management technology.
Background
With the development of computer technology and internet technology, the electronization degree of file data is higher, so that how to efficiently manage file projects becomes an urgent problem to be solved.
Disclosure of Invention
The present disclosure provides a search result presentation method, apparatus, device, storage medium, and program product.
According to an aspect of the present disclosure, there is provided a search result presentation method, including: in response to receiving the content to be searched, determining a plurality of target file items as search results related to the content to be searched; determining an aggregation target file item with a hierarchical association relation from the target file items according to a tree structure corresponding to the target file items to obtain an aggregation set; determining an aggregation set ordering result of the aggregation set; and displaying the aggregation target file items according to the aggregation set sequencing result.
According to another aspect of the present disclosure, there is provided a search result presentation apparatus including: the system comprises a target file item determining module, an aggregation set sequencing result determining module and an aggregation target file item displaying module. The target file item determining module is used for responding to the received content to be searched and determining a plurality of target file items as search results related to the content to be searched; the aggregation set determining module is used for determining aggregation target file items with hierarchy association relation from the target file items according to the tree structures corresponding to the target file items to obtain an aggregation set; the aggregation set ordering result determining module is used for determining an aggregation set ordering result of the aggregation set; and the aggregation target file item display module is used for displaying the aggregation target file items according to the aggregation set sequencing result.
According to another aspect of the present disclosure, there is provided an electronic device including: at least one processor and a memory communicatively coupled to the at least one processor. Wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the disclosed embodiments.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program, the computer program being stored on at least one of a readable storage medium and an electronic device, the computer program being stored on at least one of the readable storage medium and the electronic device, the computer program, when executed by a processor, implementing the method of an embodiment of the present disclosure.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 schematically illustrates a system architecture diagram of a search result presentation method and apparatus according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow chart of a search result presentation method according to an embodiment of the present disclosure;
FIG. 3A schematically illustrates a diagram of obtaining an aggregate set according to an embodiment of the present disclosure;
FIG. 3B is a diagram schematically illustrating a tree structure corresponding to a plurality of file items;
FIG. 3C is a diagram schematically showing a tree structure corresponding to a target file item determined from the file items shown in FIG. 3A in the case where the content to be searched is "A";
FIG. 3D is a diagram schematically illustrating a tree structure corresponding to a target file item determined from the file items shown in FIG. 3A in the case where the content to be searched is "e";
FIG. 3E is a diagram schematically illustrating a tree structure corresponding to a target file item determined from the file items shown in FIG. 3A in the case where the content to be searched is "c";
FIG. 4A schematically illustrates a schematic diagram of determining an aggregate set first ordering result according to an embodiment of the present disclosure, where the aggregate set ordering result comprises an aggregate set first ordering result;
FIG. 4B is a diagram that schematically illustrates determining a second sorted result of an aggregate set, in a case where the sorted result of the aggregate set includes the second sorted result of the aggregate set, according to an embodiment of the present disclosure;
FIG. 4C is a schematic diagram showing an aggregate set ordering result for determining an aggregate set in the case where the aggregate set includes the first aggregate set determined from FIG. 3C and the second aggregate set determined from FIG. 3D;
FIG. 5 schematically shows a schematic diagram of a search result presentation method according to a further embodiment of the present disclosure;
FIG. 6 schematically shows a schematic diagram of a search result presentation method according to yet another embodiment of the present disclosure;
FIG. 7 schematically shows a block diagram of a search result presentation apparatus according to an embodiment of the present disclosure; and
fig. 8 schematically shows a block diagram of an electronic device that can implement the search result presentation method of the embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
With the development of computer technology and internet technology, the electronization degree of file data is higher, and how to efficiently manage file projects becomes an urgent problem to be solved.
For example, a user may store a file item in a hardware storage device such as a USB flash drive (USB flash drive) or a cloud such as a network disk, and may search for a related target file item according to at least a part of characters of a file name when searching for the file item. When the number of file items is large, the number of searched related target file items is also large. In some embodiments, the searched target file item is presented according to the sorted result of the ASCII code of the first character of the file item name. The user may still need to spend a significant amount of time manually looking up the desired file item from the plurality of target file items.
Fig. 1 schematically shows a system architecture of a search result presentation method and apparatus according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, a system architecture 100 according to this embodiment may include clients 101, 102, 103, a network 104, and a server 105. Network 104 is the medium used to provide communication links between clients 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use clients 101, 102, 103 to interact with server 105 over network 104 to receive or send messages, etc. Various messaging client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (examples only) may be installed on the clients 101, 102, 103.
Clients 101, 102, 103 may be a variety of electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablets, laptop and desktop computers, and the like. The clients 101, 102, 103 of the disclosed embodiments may run applications, for example.
The server 105 may be a server that provides various services, such as a back-office management server (for example only) that provides support for websites browsed by users using the clients 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the client. In addition, the server 105 may also be a cloud server, i.e., the server 105 has a cloud computing function.
It should be noted that the search result presentation method provided by the embodiment of the present disclosure may be executed by the server 105. Accordingly, the search result presentation apparatus provided by the embodiment of the present disclosure may be disposed in the server 105. The search result presentation method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster different from the server 105 and capable of communicating with the clients 101, 102, 103 and/or the server 105. Accordingly, the search result presentation device provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the clients 101, 102, 103 and/or the server 105.
In one example, the server 105 may obtain content to be searched from the clients 101, 102, 103 through the network 104.
It should be understood that the number of clients, networks, and servers in FIG. 1 is merely illustrative. There may be any number of clients, networks, and servers, as desired for an implementation.
It should be noted that in the technical solution of the present disclosure, the processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user are all in compliance with the regulations of the relevant laws and regulations, and do not violate the customs of the public order.
In the technical scheme of the disclosure, before the personal information of the user is acquired or collected, the authorization or the consent of the user is acquired.
The embodiment of the present disclosure provides a search result presentation method, and the following describes a search result presentation method according to an exemplary embodiment of the present disclosure with reference to fig. 2 to 6 in combination with the system architecture of fig. 1. The search result presentation method of the embodiment of the present disclosure may be performed by the server 105 shown in fig. 1, for example.
Fig. 2 schematically shows a flowchart of a search result presentation method according to an embodiment of the present disclosure.
As shown in fig. 2, the search result presentation method 200 according to the embodiment of the present disclosure may include, for example, operations S210 to S240.
In operation S210, in response to receiving content to be searched, a plurality of target file items are determined as search results related to the content to be searched.
The content to be searched can be understood as content characterizing the search intention of the user. The user may, for example, act as content to be searched for based on at least a portion of the characters of the file item name. For example, the user desires to search for a file item having a file item name of "ABC", for example, "a" may be used as the content to be searched.
Illustratively, the target file item may include, for example: the file item name comprises a file item of the content to be searched, and the content comprises a file item of the content to be searched. For example, in the case where the file item is a document file, the body of the document file is the content of the file item. When the file item is a picture file, the display content of the picture file is the content of the file item.
In operation S220, an aggregation target file item having a hierarchical association relationship is determined from the plurality of target file items according to the tree structure corresponding to the plurality of target file items, resulting in an aggregation set.
Illustratively, the corresponding tree structure may be determined from the saved directory of the target file item.
The tree structure is a nonlinear structure for organizing data elements according to branch relations, and the tree structure can clearly represent the hierarchical relation among the data elements.
It is to be understood that an aggregate set includes aggregate file items. Illustratively, for example, aggregation identifiers may be made for aggregate file items, and aggregate file items having the same aggregation identifier correspond to an aggregate set.
In operation S230, an aggregation sort result of the aggregation set is determined.
In operation S240, the aggregation target file item is presented according to the aggregation sort result.
It can be understood that, a user usually saves file items to the network disk according to the own classification logic, the probability of being related to file items of a parent directory is higher, the probability of being related to file items of file item names having at least partially the same characters is also higher, and the file items that the user usually desires are file items with later update time.
According to the search result display method of the embodiment of the disclosure, a plurality of target file items related to the content to be searched can be searched from file items as search results according to the content to be searched, aggregation target file items with hierarchical association relation are determined from the plurality of target file items according to the tree structure corresponding to the plurality of target file items, the obtained aggregation set can embody the hierarchical association relation of the aggregation file items corresponding to the aggregation set, accordingly, the aggregation target file items displayed according to the aggregation set ordering result of the aggregation set can clearly and intuitively deliver the hierarchical association relation of the aggregation target file items to a user, the aggregation target file items with hierarchical association relation can embody the classification logic of the user, the aggregation target file items are still related, and therefore, the search result display method of the embodiment of the disclosure has a better display effect, the efficiency of searching for the expected file item by the user can be improved.
Fig. 3A schematically illustrates a diagram of a resulting aggregate set of a search result presentation method according to another embodiment of the present disclosure. The aggregation set includes a first aggregation set and a second aggregation set.
As shown in fig. 3A, for example, the following embodiments may be used to determine an aggregate file item having a hierarchical association relationship from a plurality of target file items according to a tree structure corresponding to the plurality of target file items, so as to obtain a specific example of an aggregate set.
In operation S321, hierarchical information corresponding to each target file item is determined according to the tree structure Tr.
The hierarchical information characterizes the hierarchical position of the target file item in the tree structure.
In operation S322, the target file item with m consecutive levels of hierarchical association relationship is determined as the first aggregate target file item Tf _1 according to the hierarchical information, resulting in a first aggregate set S1. m is a positive integer of 2 or more.
In operation S323, the target file item with the hierarchical association relationship being the non-continuous hierarchy is determined as the second aggregate target file item Tf _2 according to the hierarchical information, resulting in a second aggregate set S2.
In the example of fig. 3A, operation S310 is also schematically shown.
In operation S310, a plurality of target file items are determined in response to receiving content to be searched. In the example of fig. 3A, the content Sc to be searched and a total of n target file items of the target file items Fp1 through Fpn are schematically shown.
In the example of FIG. 3A, it is schematically shown that the hierarchy information H _1 corresponding to the target file items Fp1, the hierarchy information H _2 corresponding to the target file items Fp2, and the hierarchy information H _ n corresponding to the target file items Fpn, for example, can be determined in accordance with the tree structure Tr. It is also schematically shown that, according to the hierarchy information H _1, for example, the corresponding target file item Fp1 is determined as the first target file item Tf _ 1; according to the hierarchy information H _2, the corresponding target file item Fp2 is determined as the first target file item Tf _1, for example; the corresponding target file item Fpn is determined as the second target file item Tf _2, for example, based on the hierarchy information H _ n. In the example of FIG. 3A, the first aggregate set S1 includes a target file item Fp1 and a target file item Fp2 as the first target file item Tf _ 1. The second aggregate set S2 includes a target file item Fpn as the second target file item Tf _ 2.
It should be noted that the number of the first aggregation set and the second aggregation set may be arbitrary, and fig. 3A schematically shows an example of one first aggregation set and one second aggregation set.
In the example of fig. 3B, a schematic diagram of a tree structure corresponding to all file items in a user's, e.g., a webdisk, is schematically shown. In the example of fig. 3B, the file item a includes a file item AB, a file item Ac, a file item e, and a file item AD. The file items AB include file item B1, file item B2, file item B3, file item B4, and file item ABc. The file item Ac includes a file item c. The file item AD includes a file item ADc, a file item D, a file item c1, a file item c2, and a file item c 3.
It should be noted that, in the example of fig. 3B, the file item AB is included in the file item a, and the file item AB may be taken as a child node of the file item a, and accordingly, the file item a is taken as a parent node of the file item AB, thereby obtaining the tree structure shown in fig. 3B. The tree structures of fig. 3C and 3D are similar to those of fig. 3A, and are not described again here.
In the example of fig. 3C, a schematic diagram of a tree structure Tr _ a corresponding to a target file item determined from the file items shown in fig. 3A in a case where the content to be searched is "a" is schematically shown. In the example of fig. 3C, the target file items related to the content "a" to be searched include a target file item a, a target file item AB, a target file item Ac, a target file item AD, a target file item ABc, and a target file item ADc. FIG. 3C also schematically illustrates an example of the target file item A corresponding to a first level L1, the target file item AB, the target file item Ac, the target file item AD corresponding to a second level L2, the target file item ABc, and the target file item ADc corresponding to a third level L3.
Taking the hierarchical information of the target file item ABc as an example, it may be characterized, for example, that the position of the target file item ABc in the tree structure Tr _ A is: the third level L3 is included in the target file item AB.
In the example of fig. 3C, taking the value of m as 3 as an example, and the hierarchical association relationship is "corresponding to 3 consecutive hierarchies", the target file items corresponding to the first hierarchy L1, the second hierarchy L2, and the third hierarchy L3 may be respectively used as the first aggregate target file item. The target file items shown in fig. 3C are all first aggregate target file items.
Taking the value of m as 2 as an example, the hierarchy association relationship is "corresponding to 2 consecutive levels", the first level L1 and the second level L2 are 2 consecutive levels, and the second level L2 and the third level L3 are also 2 consecutive levels, and since the coverage of the target file item close to the root node is larger, in the example of fig. 3C, for example, the target file item a, the target file item AB, the target file item Ac, and the target file item AD corresponding to the first level L1 and the second level L2 close to the root node may be used as the first aggregate target file item. In the example of fig. 3D, a schematic diagram of a tree structure Tr _ e corresponding to a target file item determined from the file items shown in fig. 3A in a case where the content to be searched is "e" is schematically shown.
In the example of FIG. 3D, where the target file item of L1 corresponding to the non-contiguous hierarchy is only target file item e, then target file item e may be considered the second aggregate target file item. It is to be understood that in the example of fig. 3D, there is only one second aggregate target file item, and in other cases, the second aggregate target file item may include a plurality.
It is to be understood that the aggregate set includes a first aggregate set and a second aggregate set, and the aggregate target file items include a first aggregate target file item and a second aggregate target file item. The first aggregate set includes first aggregate target file items and the second aggregate set includes second aggregate target file items.
According to the search result display method of the embodiment of the disclosure, according to whether the hierarchies of the target file items are continuous or not, the target file items can respectively correspond to different hierarchy association relations, according to the corresponding hierarchy association relations, the first target file item and the second target file item are respectively determined from the target file items, so that the corresponding first aggregation set and the corresponding second aggregation set are obtained, and the hierarchy association relations of the target file items corresponding to m continuous hierarchies can remove some repeated search results from the target file items, and meanwhile, the retained search results are ensured to include the file items desired by the user. The hierarchical association relationship of the "corresponding non-continuous hierarchy" may retain the target file item corresponding to the non-continuous hierarchy.
Illustratively, operations S321 to S323 may be performed between operations S210 and S230, for example.
According to a search result presentation method of a further embodiment of the present disclosure, the second aggregate target file items may have a target ratio, and a ratio of a number of target file items representing a same level to a number of full target file items is greater than or equal to a target threshold.
In the example of fig. 3E, a schematic diagram of a tree structure Tr c corresponding to a target file item determined from the file items shown in fig. 3A in a case where the content to be searched is "c" is schematically shown.
In the example of fig. 3E, taking the target threshold as 50% as an example, the 4 target file items corresponding to the non-consecutive levels and the same level L2 are respectively the target file item ADc, the target file item c1, the target file item c1 and the target file item c3, the total number of the target file items is 7, the target occupation ratio is 4/7, the target occupation ratio is greater than the target threshold, and the corresponding target file items ADc, the target file item c1, the target file item c1 and the target file item c3 can be regarded as the second aggregate target file item.
According to the search result display method provided by the embodiment of the disclosure, the hierarchical incidence relation of the 'corresponding discontinuous hierarchy and having the target proportion' can keep the target file items which correspond to the discontinuous hierarchy and belong to a certain father directory, and the relevance of the target file items is higher.
Fig. 4A to 4C schematically illustrate an aggregation ordering result of determining an aggregation set according to a search result presentation method according to another embodiment of the present disclosure.
The aggregate set ordering result comprises an aggregate set first ordering result and an aggregate set second ordering result. FIG. 4A schematically illustrates a schematic diagram of determining an aggregate set first ordering result, according to an embodiment of the present disclosure; FIG. 4B schematically illustrates a diagram for determining a second ordering result for an aggregate set according to an embodiment of the disclosure; fig. 4C schematically shows a schematic diagram of an aggregate ordering result of determining an aggregate set in a case where the aggregate set includes the first aggregate set determined from fig. 3C, and the second aggregate set determined from fig. 3D.
As shown in fig. 4A and 4B, a specific example of determining the aggregation ordering result of the aggregation set can be implemented by the following embodiments, for example.
As shown in fig. 4A, in operation S431, for each aggregate set, the sort time of the aggregate set is obtained from the update time of the aggregation target file item in the aggregate set.
In the example of fig. 4A, two aggregation sets, respectively, an aggregation set Si and an aggregation set Sj are schematically shown, where, taking the aggregation set Si as an example, the aggregation set Si corresponds to n aggregation target file items of aggregation target file items Fi _1 to aggregation target file items Fi _ n. The aggregate target file entry Fi _1 corresponds to the update time t1, the aggregate target file entry Fi _2 corresponds to the update time t2, and the aggregate target file entry Fi _ n corresponds to the update time tn. In the example of fig. 4A, the aggregation set Si corresponds to the sorting time rt _ i, the aggregation set Sj corresponds to the sorting time rt _ j, and the sorting results of both the aggregation set Si and the aggregation set Sj are the aggregation set first sorting result r1_ i.
For example, the latest update time of the aggregate target file item in the aggregate set may be used as the sorting time of the aggregate set.
In operation S432, a first ordering result r1_ i of the aggregation sets is obtained according to the ordering time of the multiple aggregation sets.
Illustratively, the aggregate first ordering result may be, for example: and displaying the corresponding aggregation sets from front to back in sequence according to the sequence from the latest to the earliest of the ordering moments of the aggregation sets.
As shown in fig. 4B, in operation S433, for each aggregate set, the aggregate target file items are sorted according to the file item names of the aggregate target file items, so as to obtain a second sorting result of the aggregate set.
For example, the aggregation target file items may be sorted according to file item names, or related aggregation target file items and non-related aggregation target file items may be determined from the aggregation target file items according to file item names of the aggregation target file items, and the related aggregation target file items and the non-related aggregation target file items may be sorted according to the file item names, so as to obtain a second sorting result of the aggregation set.
For example, in the case where file item names of a plurality of aggregation target file items have related sequence characters, for example, aggregation target file items whose file item names have the same characters and related sequence characters in sequential order may be determined as related aggregation target file items. Aggregate target file items for which the file item names do not have associated sequence characters are non-associated aggregate target file items.
Illustratively, the rank priority of the related aggregate target file items is greater than the rank priority of the non-related aggregate target file items. For example, the related aggregation target file items may be sorted according to the file item names, and the non-related aggregation target file items may be sorted according to the file item names or sorting times. The sort timing coincides with, for example, the update timing of the irrelevant aggregation target file item.
For example, in the example of fig. 3D, the second aggregate target file item c1, the second aggregate target file item c2, and the second aggregate target file item c3 are related aggregate target file items, and the second aggregate target file item ADc is a non-related aggregate target file item. The file item names of the three related aggregation target file items have the same characters and related sequence characters which are sequentially ordered, the related sequence characters are "1", "2", "3", the same characters are "c", and the same characters are consecutive to the related sequence characters.
In the example of fig. 4B, n aggregation target file items corresponding to aggregation target file items Fi _1 to Fi _ n for aggregation set Si are schematically shown. The aggregation target file item Fi _1 corresponds to a file item name N _1, the aggregation target file item Fi _2 corresponds to a file item name N _2, and the aggregation target file item Fi _ N corresponds to a file item name N _ N. In the example of fig. 4A, the ranking result of the n aggregation target file items of the aggregation set Si is an aggregation set second ranking result r2 — i.
According to the search result presentation method of the embodiment of the disclosure, for the case that multiple aggregation sets may occur, each aggregation set including corresponding multiple aggregation target file items, the aggregation sets and the ranking results of the aggregation target files corresponding to the aggregation sets can be completely determined by determining the first ranking results of the aggregation sets of the multiple aggregation sets and determining the second ranking results of the aggregation sets of the multiple aggregation target file items of each aggregation set. The first ordering result of the aggregation set obtained by ordering according to the ordering time of the aggregation set has the characteristics of latest updating and higher relevance between the aggregation target file items, and accords with the search intention of most users. Most users have partially overlapped characters for the names of the associated file items, and the second sorting result of the aggregation set obtained by sorting the aggregation target file items according to the file item names of the aggregation target file items has the characteristic that the associated aggregation target file items are concentrated at close display positions, and also meets the search intention of most users.
Illustratively, operations S431 to S433 may be performed, for example, between operations S220 and S240, or after operation S323.
Fig. 4C schematically shows a specific example where the content to be searched is "a" and "C", the aggregation set includes a first aggregation set S1 and a second aggregation set S2, the first aggregation set S1 corresponds to the search result "a", and the second aggregation set S2 corresponds to the search result "C". The first aggregate set S1 includes the (first) aggregate target file item a, (first) aggregate target file item AB, (first) aggregate file item Ac, and (first) aggregate file item AD whose corresponding hierarchical association relationship is "corresponding to two consecutive hierarchies" shown in fig. 3C. The second aggregate set S2 includes the (second) aggregate target file item ADc, the (second) aggregate target file item c1, the (second) aggregate target file item c2, and the (second) aggregate target file item c3, which have the corresponding hierarchical association relationship of "corresponding non-consecutive levels and having a target occupation ratio" as shown in fig. 3D.
In the example of FIG. 4C, "/" denotes the parent directory of the target file item.
In the example of fig. 4C, for the first aggregation S1, the latest update time T +3 of the aggregation target file corresponding to the first aggregation S1 may be taken as the sorting time of the first aggregation S1; for the second aggregate S2, the latest update time T +2 of the aggregation target file corresponding to the second aggregate S2 may be used as the sorting time of the aggregate S2. The ordering time T +3 of the first aggregation S1 later than the ordering time T +2 of the second aggregation S2 may determine that the first ordering result of the aggregation is that the first aggregation S1 is ordered before the second aggregation S2.
In the example of fig. 4C, taking the first aggregation set S1 as an example, the aggregation target file items in the first aggregation set are sorted according to the ASCII code of the first character of the file item name, and it can be determined that the second sorting results of the aggregation sets of the first aggregation set S1 are sequentially: in the front-to-rear sorting direction R, the target file item a → the target file item AB → the target file item Ac → the target file item AD. For example, the target file items of the corresponding sub-directories of the first aggregate S1 may be sorted by the names of the file items, and the target file items of the corresponding parent directory of the first aggregate S1 may be sorted before the target file items of the corresponding sub-directories.
Fig. 5 schematically shows a schematic diagram of a search result presentation method according to still another embodiment of the present disclosure.
As shown in fig. 5, the search result presentation method according to another embodiment of the present disclosure, for example, further includes the following operations.
In operation S551, in the case where the plurality of target file items further include the individual target file item, an individual ranking result is obtained according to the ranking time of the individual target file item.
In the example of fig. 5, operation S510 is also schematically shown: in response to receiving the content Sc to be searched, a plurality of target file items are determined as search results related to the content Sc to be searched. In the example of fig. 5, a total of n target file items including target file items Fp1 to Fpn are schematically shown in relation to the content Sc to be searched, the n target file items including individual target file items, e.g. target file item Fp1, target file item Fp2 being individual target file items, individual target file item Fp1 corresponding to a sorting time rt _1, individual target file item Fp2 corresponding to a sorting time rt _ 2.
The ordering time of the individual target file items is consistent with the updating time of the individual target file items.
Illustratively, the individual ranking results may be, for example: and displaying the corresponding individual target file items from front to back in sequence according to the sequence from the latest to the earliest of the sequencing time of the individual target file items.
In operation S552, the individual target file item 502 is presented according to the individual target file item sorting result 501.
In some cases, some target file items determined according to the content to be searched may be "aggregated" to an aggregation set, and there may also be some target file items that do not satisfy the "aggregated" condition, so that these target file items become individual target file items. According to the search result display method, the individual target file items in the target file items can be sorted according to the sorting time, so that the individual target file items have higher display efficiency.
Illustratively, the operations S551 to S552 may be performed after the above-described operation S240, for example.
Fig. 6 schematically shows a schematic diagram of a search result presentation method according to still another embodiment of the present disclosure. The target file item has category attributes that include files and folders.
As shown in fig. 6, the search result presentation method according to the embodiment of the present disclosure includes the following operations.
In operation S661, the aggregate set 602 and the individual target file items 603 are sorted according to the folder priority rule 601, resulting in a folder priority sorting result 604.
For an aggregate set, the folder precedence rule may be understood as: the aggregate set that includes the target file items having the folder category attribute is ordered before the aggregate set that includes only the target file items having the file category attribute. For an individual target file item, the folder priority rule may be understood as: individual target file items having a folder category attribute are arranged in front of individual target file items having a file category attribute.
The aggregate set 602 and the individual target file items 603 are presented according to the folder prioritization results.
It can be understood that the first aggregate target file item of the first aggregate set satisfies the hierarchical association relationship of "corresponding to the set number of continuous hierarchies", and a target file item Fi, which may have a certain folder category attribute corresponding to a continuous hierarchy of the target file item, includes the target file item Fij, so that the first aggregate set necessarily includes the target file item of the folder category attribute, and may be applicable to the folder prioritization rule. The second aggregate target file items of the second aggregate set satisfy "corresponding non-contiguous hierarchy and having a target occupation ratio", the target occupation ratio is for the aggregate target file items of the same hierarchy, the aggregate target file items of the same hierarchy do not necessarily include the aggregate target file items having the folder category attribute, and the corresponding second aggregate set applies the folder prioritization rule only if the aggregate target file items of the same hierarchy include the aggregate target file items having the folder category attribute. The folder prioritization rules are only applicable to the individual target file items including the individual target file items having the folder category attribute, and are not described herein again.
According to the search result display method of the embodiment of the disclosure, the following sorting results along the sorting direction can be obtained: first aggregate → second aggregate of target file items with folder category → individual target file items of folder category → second aggregate of target file items without folder category → individual target file items of file category. In the example of FIG. 6, an example is schematically illustrated of ordering in the order of first aggregate set → second aggregate set of target file items of folder-containing categories → individual target file items of folder categories in the case of target file items including a folder category, and ordering in the order of second aggregate set of target file items of non-folder-containing categories → individual target file items of folder categories in the case of target file items not including a folder category.
Illustratively, the folder priority rule has a greater sort priority than the sort priority at the time of the sort.
Compared with files, the coverage range of the folders is larger, according to the search result display method provided by the embodiment of the disclosure, the aggregate and individual target file items can be sorted by the dimensions of the folders through the folder priority rule, the folders with larger coverage ranges are sorted in the front, and the display efficiency is higher.
Exemplarily, operation S661 may be performed before operation S230 described above, for example.
The search result presentation method according to another embodiment of the present disclosure may further include at least one of the following.
And under the condition that the ordering time of the aggregation sets is the same, ordering the aggregation sets with the same ordering time according to the file item paths of the aggregation sets to obtain an aggregation set conflict ordering result.
A file item path may be understood as a save path for a file item.
For example, a plurality of aggregation sets having the same ranking time may be ranked according to the name of the parent directory of a certain aggregation target file item of the aggregation sets.
And under the condition that the sequencing time of the individual target file items is the same, sequencing the individual target file items with the same sequencing time according to the file item names of the individual target file items to obtain individual target file conflict sequencing results.
It can be understood that when a plurality of aggregation sets are ordered according to the ordering time, a conflict situation that the ordering times of the aggregation sets are the same may occur, and when a plurality of individual target file items are ordered according to the file item names, a conflict situation that the ordering times of the individual target file items are the same may occur.
The search result presentation method according to still another embodiment of the present disclosure may further include the operations of: and carrying out digital semantic processing on the file item names of the target file items to obtain target file item conversion names, wherein the target file item conversion names are used for sequencing according to the file item names.
The digital semantic processing includes at least one of: carrying out sequencing shielding treatment on digital characters appearing in proper nouns of file item names; carrying out format unification processing on the digital characters representing the digital meanings of the file item names; and performing date format conversion on the digital characters of the file item names, which represent the meaning of the dates.
It will be appreciated that some file item names include characters in a numerical sense, which may correspond to different semantics. For example, a character in a numeric sense may be part of a proper noun, or may be a date sense.
According to the search result display method of the embodiment of the disclosure, the file item names of the target file items are subjected to digital semantic processing, the obtained target file item conversion names are more consistent with the semantics of digital characters, and the accuracy of sequencing according to the target file item conversion names is higher.
For example, the file item name includes "three kingdoms," which is a proper noun and "three" which is a part of this proper noun. According to the search result display method disclosed by the embodiment of the disclosure, the sorting of the three as the sequence or the numerical meaning of the cardinal number can be avoided.
For example, a file item includes "one" or "(1)" or "r", which are different in format and identical in semantics. According to the search result display method provided by the embodiment of the disclosure, for example, the uniform format is '1', so that the digital characters with digital meanings have a uniform format, and the accurate sequencing is facilitated.
It should be noted that, the search result display method according to the embodiment of the present disclosure can accurately and efficiently display the search result meeting the search intention of the user from the search results through multiple sorting rules, and is suitable for any content to be searched by the user.
Fig. 7 schematically shows a block diagram of a search result presentation apparatus according to an embodiment of the present disclosure.
As shown in fig. 7, the search result presentation apparatus 700 according to the embodiment of the present disclosure includes, for example, a target file item determination module 710, an aggregation set determination module 720, an aggregation set ranking result determination module 730, and an aggregation target file item presentation module 740.
And a target file item determining module 710, configured to determine, in response to receiving the content to be searched, a plurality of target file items as search results related to the content to be searched.
And an aggregate set determining module 720, configured to determine, according to the tree structure corresponding to the multiple target file items, an aggregate target file item having a hierarchical association relationship from the multiple target file items, so as to obtain an aggregate set.
And an aggregation ordering result determining module 730, configured to determine an aggregation ordering result of the aggregation set.
And the aggregation target file item display module 740 is configured to display the aggregation target file items according to the aggregation set ordering result.
According to an embodiment of the present disclosure, the aggregation set includes a first aggregation set and a second aggregation set. The aggregate set determination module includes: the hierarchical information determining submodule, the first aggregation set determining submodule and the second aggregation set determining submodule.
And the hierarchy information determining submodule is used for determining the hierarchy information corresponding to each target file item according to the tree structure, and the hierarchy information represents the hierarchy position of the target file item in the tree structure.
And the first aggregation set determining submodule is used for determining the target file items with the hierarchy association relationship corresponding to m continuous hierarchies as first aggregation target file items according to the hierarchy information to obtain a first aggregation set. m is a positive integer of 2 or more.
And the second aggregation set determining submodule is used for determining the target file item with the hierarchy association relationship being the corresponding discontinuous hierarchy as a second aggregation target file item according to the hierarchy information to obtain a second aggregation set.
According to an embodiment of the present disclosure, the second aggregate target file item has a target occupancy that characterizes a ratio of a number of target file items at the same level to a number of full target file items that is greater than or equal to a target threshold.
According to an embodiment of the present disclosure, the aggregate set ordering result includes an aggregate set first ordering result and an aggregate set second ordering result. The aggregation sequencing result determining module comprises: the device comprises an aggregation set sequencing time determining submodule, an aggregation set first sequencing result determining submodule and an aggregation set second sequencing result determining submodule.
And the aggregation set ordering time determining submodule is used for obtaining the ordering time of each aggregation set according to the updating time of the aggregation target file item in the aggregation set.
And the aggregation set first sequencing result determining submodule is used for obtaining an aggregation set first sequencing result according to the sequencing time of the multiple aggregation sets.
And the aggregation set second ordering result determining submodule is used for ordering the aggregation target file items according to the file item names of the aggregation target file items aiming at each aggregation set to obtain an aggregation set second ordering result.
The search result display device according to the embodiment of the present disclosure further includes: an individual sorting result determining module and an individual target sorting result displaying module.
And the individual sorting result determining module is used for obtaining an individual sorting result according to the sorting time of the individual target file items under the condition that the plurality of target file items also comprise the individual target file items, wherein the sorting time of the individual target file items is consistent with the updating time of the individual target file items.
And the individual target ordering result display module is used for displaying the individual target file items according to the individual target file item ordering result.
According to an embodiment of the present disclosure, the target file item has category attributes, which include files and folders. The device still includes: the folder priority ordering system comprises a folder priority ordering result determining module and a display module.
And the folder priority ordering result determining module is used for ordering the aggregate set and the individual target file items according to the folder priority rule to obtain a folder priority ordering result.
And the display module is used for displaying the aggregate set and the individual target file items according to the folder priority ordering result.
According to the embodiment of the disclosure, the sorting priority of the folder priority rule is greater than the sorting priority at the sorting time.
The search result display device according to the embodiment of the present disclosure further includes at least one of the following: the aggregate conflict sorting result determining module and the individual target file conflict sorting result determining module.
And the aggregation set conflict sequencing result determining module is used for sequencing the multiple aggregation sets with the same sequencing time according to the file item paths of the aggregation sets under the condition that the sequencing time of the multiple aggregation sets is the same, so as to obtain an aggregation set conflict sequencing result.
And the individual target file conflict sequencing result determining module is used for sequencing the individual target file items with the same sequencing time according to the file item names of the individual target file items under the condition that the sequencing time of the individual target file items is the same, so as to obtain an individual target file conflict sequencing result.
The search result display device according to the embodiment of the present disclosure further includes: and a target file item conversion name determining module.
The target file item conversion name determining module is used for performing digital semantic processing on file item names of target file items to obtain target file item conversion names, and the target file item conversion names are used for sequencing according to the file item names, wherein the digital semantic processing at least comprises one of the following steps: carrying out sequencing shielding treatment on digital characters appearing in proper nouns of file item names; carrying out format unified processing on the digital characters representing the digital meanings of the file item names; and performing date format conversion on the digital characters of the file item names, which represent the meaning of the dates.
It should be understood that the embodiments of the apparatus part of the present disclosure are the same as or similar to the embodiments of the method part of the present disclosure, and the technical problems to be solved and the technical effects to be achieved are also the same as or similar to each other, and the detailed description of the present disclosure is omitted.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 8 illustrates a schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the apparatus 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the device 800 can also be stored. The calculation unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the device 800 are connected to the I/O interface 805, including: an input unit 806, such as a keyboard, a mouse, or the like; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, or the like; and a communication unit 809 such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Computing unit 801 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The computing unit 801 performs the various methods and processes described above, such as the search result presentation method. For example, in some embodiments, the search result presentation method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and/or installed onto device 800 via ROM 802 and/or communications unit 809. When loaded into RAM 803 and executed by computing unit 801, a computer program may perform one or more of the steps of the search result presentation method described above. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the search result presentation method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.

Claims (21)

1. A search result display method comprises the following steps:
in response to receiving content to be searched, determining a plurality of target file items as search results relevant to the content to be searched;
determining an aggregation target file item with a hierarchical association relation from the target file items according to the tree structure corresponding to the target file items to obtain an aggregation set;
determining an aggregate set ordering result for the aggregate set; and
and displaying the aggregation target file item according to the aggregation set sequencing result.
2. The method of claim 1, wherein the aggregation set comprises a first aggregation set and a second aggregation set; determining an aggregation target file item with a hierarchical association relationship from the plurality of target file items according to the tree structure corresponding to the plurality of target file items, and obtaining an aggregation set comprises:
according to the tree structure, determining the hierarchy information corresponding to each target file item, wherein the hierarchy information represents the hierarchy position of the target file item in the tree structure;
according to the hierarchy information, determining the target file items with the hierarchy incidence relation of m continuous hierarchies as first aggregation target file items to obtain a first aggregation set, wherein m is a positive integer greater than or equal to 2; and
and determining the target file items with the hierarchy incidence relation of corresponding discontinuous hierarchies as second aggregate target file items according to the hierarchy information to obtain the second aggregate set.
3. The method of claim 2, wherein the second aggregate target file items have a target fraction characterizing a ratio of a number of the target file items at a same level to a number of the target file items at a full amount that is greater than or equal to a target threshold.
4. The method of claim 1, wherein the aggregate set ordering result comprises an aggregate set first ordering result and an aggregate set second ordering result; the determining an aggregate set ordering result for the aggregate set comprises:
for each aggregation set, obtaining the ordering time of the aggregation set according to the updating time of the aggregation target file items in the aggregation set;
obtaining a first ordering result of the aggregation sets according to the ordering moments of the multiple aggregation sets; and
and sequencing the aggregation target file items according to the file item names of the aggregation target file items aiming at each aggregation set to obtain a second sequencing result of the aggregation sets.
5. The method of claim 4, further comprising:
under the condition that the target file items also comprise individual target file items, obtaining individual sorting results according to sorting time of the individual target file items, wherein the sorting time of the individual target file items is consistent with the updating time of the individual target file items; and
and displaying the individual target file items according to the sequencing result of the individual target file items.
6. The method of claim 5, wherein the target file item has category attributes, the category attributes including files and folders; the method further comprises the following steps:
sorting the aggregate set and the individual target file items according to a folder priority rule to obtain a folder priority sorting result; and
and displaying the aggregation set and the individual target file items according to the folder priority ordering result.
7. The method of claim 6, wherein the folder priority rule has a greater sort priority than the sort priority of the sort time.
8. The method of claim 5, further comprising at least one of:
under the condition that the sorting time of the aggregation sets is the same, sorting the aggregation sets with the same sorting time according to the file item path of the aggregation sets to obtain an aggregation set conflict sorting result;
and under the condition that the sequencing time of the individual target file items is the same, sequencing the individual target file items with the same sequencing time according to the file item names of the individual target file items to obtain individual target file conflict sequencing results.
9. The method according to any one of claims 1-8, further comprising:
performing digital semantic processing on file item names of the target file items to obtain target file item conversion names, wherein the target file item conversion names are used for sequencing according to the file item names, and the digital semantic processing at least comprises one of the following steps:
carrying out sequencing shielding processing on digital characters appearing in proper nouns of the file item names;
carrying out format unified processing on the digital characters representing the digital meanings of the file item names; and
and performing date format conversion on the digital characters of the file item names, which represent date meanings.
10. A search result presentation apparatus comprising:
the target file item determining module is used for responding to the received content to be searched and determining a plurality of target file items as search results related to the content to be searched;
the aggregation set determining module is used for determining aggregation target file items with hierarchy incidence relation from the target file items according to the tree structures corresponding to the target file items to obtain an aggregation set;
the aggregation set ordering result determining module is used for determining an aggregation set ordering result of the aggregation set; and
and the aggregation target file item display module is used for displaying the aggregation target file items according to the aggregation set sequencing result.
11. The apparatus of claim 10, wherein the aggregation set comprises a first aggregation set and a second aggregation set; the aggregate set determination module includes:
the hierarchical information determining submodule is used for determining the hierarchical information corresponding to each target file item according to the tree structure, and the hierarchical information represents the hierarchical position of the target file item in the tree structure;
a first aggregation set determining submodule, configured to determine, according to the hierarchy information, the target file item whose hierarchical association relationship is corresponding to m consecutive hierarchies as a first aggregation target file item, so as to obtain the first aggregation set, where m is a positive integer greater than or equal to 2; and
and the second aggregation set determining submodule is used for determining the target file items with the hierarchy incidence relation of corresponding non-continuous hierarchies as second aggregation target file items according to the hierarchy information to obtain a second aggregation set.
12. The apparatus of claim 11, wherein the second aggregate target file items have a target fraction characterizing a ratio of a number of the target file items at a same tier to a number of the target file items at a full scale that is greater than or equal to a target threshold.
13. The apparatus of claim 10, wherein the aggregate set ordering result comprises an aggregate set first ordering result and an aggregate set second ordering result; the aggregate set ordering result determination module includes:
the aggregation set ordering time determining submodule is used for obtaining the ordering time of each aggregation set according to the updating time of the aggregation target file items in the aggregation set;
an aggregation set first ordering result determining submodule, configured to obtain a first ordering result of the aggregation set according to the ordering time of the multiple aggregation sets; and
and the aggregate set second ordering result determining submodule is used for ordering the aggregate target file items according to the file item names of the aggregate target file items aiming at each aggregate set to obtain an aggregate set second ordering result.
14. The apparatus of claim 13, further comprising:
the individual ordering result determining module is used for obtaining an individual ordering result according to the ordering time of the individual target file item under the condition that the plurality of target file items also comprise the individual target file item, wherein the ordering time of the individual target file item is consistent with the updating time of the individual target file item; and
and the individual target ordering result display module is used for displaying the individual target file items according to the individual target file item ordering result.
15. The apparatus of claim 14, wherein the target file item has category attributes, the category attributes including files and folders; the device further comprises:
the folder priority ordering result determining module is used for ordering the aggregate set and the individual target file items according to a folder priority rule to obtain a folder priority ordering result; and
and the display module is used for displaying the aggregation set and the individual target file items according to the folder priority ordering result.
16. The apparatus of claim 15, wherein the folder priority rule has a greater sort priority than the sort priority of the sort time.
17. The apparatus of claim 14, further comprising at least one of:
an aggregation set conflict ranking result determining module, configured to rank, according to a file item path of the aggregation set, the multiple aggregation sets with the same ranking time under the condition that the ranking times of the multiple aggregation sets are the same, to obtain an aggregation set conflict ranking result;
and the individual target file conflict sequencing result determining module is used for sequencing the individual target file items with the same sequencing time according to the file item names of the individual target file items under the condition that the sequencing time of the individual target file items is the same, so as to obtain an individual target file conflict sequencing result.
18. The apparatus of any of claims 10-17, further comprising:
a target file item conversion name determining module, configured to perform digital semantic processing on a file item name of the target file item to obtain a target file item conversion name, where the target file item conversion name is used to perform sorting according to the file item name, and the digital semantic processing at least includes one of the following:
carrying out sequencing shielding processing on digital characters appearing in proper nouns of the file item names;
carrying out format unification processing on the digital characters representing the digital meanings of the file item names; and
and performing date format conversion on the digital characters of the file item names, which represent date meanings.
19. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-9.
20. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-9.
21. A computer program product comprising a computer program stored on at least one of a readable storage medium and an electronic device, the computer program, when executed by a processor, implementing the method according to any one of claims 1-9.
CN202210839805.XA 2022-07-15 2022-07-15 Search result display method, device, equipment and storage medium Pending CN115033535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210839805.XA CN115033535A (en) 2022-07-15 2022-07-15 Search result display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210839805.XA CN115033535A (en) 2022-07-15 2022-07-15 Search result display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115033535A true CN115033535A (en) 2022-09-09

Family

ID=83128924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210839805.XA Pending CN115033535A (en) 2022-07-15 2022-07-15 Search result display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115033535A (en)

Similar Documents

Publication Publication Date Title
US11163957B2 (en) Performing semantic graph search
CN109614402B (en) Multidimensional data query method and device
US11770450B2 (en) Dynamic routing of file system objects
CN113656407B (en) Data topology generation method and device, electronic equipment and storage medium
WO2019110654A1 (en) Systems and methods for querying databases using interactive search paths
CN112783887A (en) Data processing method and device based on data warehouse
CN114357187A (en) Method and device for searching regulation system, storage medium and computer equipment
CN114064925A (en) Knowledge graph construction method, data query method, device, equipment and medium
CN113590543A (en) Method, apparatus and computer program product for information processing
CN111782820A (en) Knowledge graph creating method and device, readable storage medium and electronic equipment
US9542457B1 (en) Methods for displaying object history information
CN115329150A (en) Method and device for generating search condition tree, electronic equipment and storage medium
CN111680508B (en) Text processing method and device
US11829709B2 (en) Methods and systems for generating automations for organizing and displaying documents in content collaboration platforms
CN115543428A (en) Simulated data generation method and device based on strategy template
CN115033535A (en) Search result display method, device, equipment and storage medium
CN113742321A (en) Data updating method and device
CN113760969A (en) Data query method and device based on elastic search
CN113722593A (en) Event data processing method and device, electronic equipment and medium
CN115687704A (en) Information display method and device, electronic equipment and computer readable storage medium
CN113704242A (en) Data processing method and device
CN115079873A (en) Information display method and device, electronic equipment and storage medium
US9582782B2 (en) Discovering a reporting model from an existing reporting environment
US11651030B2 (en) Delta-based conflict-free replicated data type arrays using dot stores that map dots to dot stores
US20230195689A1 (en) Managing archiving and unarchiving operations at a content collaboration system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination